Repository: mxrch/GHunt
Branch: master
Commit: e8b0669cabb4
Files: 91
Total size: 599.5 KB
Directory structure:
gitextract_eegatfp6/
├── .github/
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ └── bug_report.md
│ └── workflows/
│ └── sponsors.yml
├── .gitignore
├── LICENSE.md
├── README.md
├── examples/
│ ├── email_registered.py
│ └── get_people_name.py
├── ghunt/
│ ├── __init__.py
│ ├── apis/
│ │ ├── __init__.py
│ │ ├── accounts.py
│ │ ├── calendar.py
│ │ ├── clientauthconfig.py
│ │ ├── digitalassetslinks.py
│ │ ├── drive.py
│ │ ├── fireconsolepa.py
│ │ ├── geolocation.py
│ │ ├── identitytoolkit.py
│ │ ├── mobilesdk.py
│ │ ├── peoplepa.py
│ │ ├── playgames.py
│ │ ├── playgateway.py
│ │ └── vision.py
│ ├── cli.py
│ ├── config.py
│ ├── errors.py
│ ├── ghunt.py
│ ├── globals.py
│ ├── helpers/
│ │ ├── __init__.py
│ │ ├── auth.py
│ │ ├── banner.py
│ │ ├── calendar.py
│ │ ├── drive.py
│ │ ├── gcp.py
│ │ ├── gmail.py
│ │ ├── gmaps.py
│ │ ├── ia.py
│ │ ├── iam.py
│ │ ├── knowledge.py
│ │ ├── listener.py
│ │ ├── playgames.py
│ │ ├── playstore.py
│ │ └── utils.py
│ ├── knowledge/
│ │ ├── __init__.py
│ │ ├── drive.py
│ │ ├── iam.py
│ │ ├── keys.py
│ │ ├── maps.py
│ │ ├── people.py
│ │ ├── services.py
│ │ └── sig.py
│ ├── lib/
│ │ ├── __init__.py
│ │ └── httpx.py
│ ├── modules/
│ │ ├── __init__.py
│ │ ├── drive.py
│ │ ├── email.py
│ │ ├── gaia.py
│ │ ├── geolocate.py
│ │ ├── login.py
│ │ └── spiderdal.py
│ ├── objects/
│ │ ├── __init__.py
│ │ ├── apis.py
│ │ ├── base.py
│ │ ├── encoders.py
│ │ ├── session.py
│ │ └── utils.py
│ ├── parsers/
│ │ ├── __init__.py
│ │ ├── calendar.py
│ │ ├── clientauthconfig.py
│ │ ├── digitalassetslinks.py
│ │ ├── drive.py
│ │ ├── geolocate.py
│ │ ├── identitytoolkit.py
│ │ ├── mobilesdk.py
│ │ ├── people.py
│ │ ├── playgames.py
│ │ ├── playgateway.py
│ │ └── vision.py
│ ├── protos/
│ │ ├── __init__.py
│ │ └── playgatewaypa/
│ │ ├── __init__.py
│ │ ├── definitions/
│ │ │ ├── get_player.proto
│ │ │ ├── get_player_response.proto
│ │ │ ├── search_player.proto
│ │ │ └── search_player_results.proto
│ │ ├── get_player_pb2.py
│ │ ├── get_player_response_pb2.py
│ │ ├── search_player_pb2.py
│ │ └── search_player_results_pb2.py
│ └── version.py
├── main.py
└── pyproject.toml
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/FUNDING.yml
================================================
github: mxrch
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**System (please complete the following information):**
- OS
- Python version
**Additional context**
Add any other context about the problem here.
================================================
FILE: .github/workflows/sponsors.yml
================================================
name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- cron: 30 15 * * 0-6
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
template: '
'
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: '.'
================================================
FILE: .gitignore
================================================
.DS_Store
build/
dist/
__pycache__/
ghunt.egg-info/
================================================
FILE: LICENSE.md
================================================
### For easier reading : https://choosealicense.com/licenses/agpl-3.0/
\
GNU Affero General Public License
=================================
_Version 3, 19 November 2007_
_Copyright © 2007 Free Software Foundation, Inc. <>_
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
## Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: **(1)** assert copyright on the software, and **(2)** offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
## TERMS AND CONDITIONS
### 0. Definitions
“This License” refers to version 3 of the GNU Affero General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this
License. Each licensee is addressed as “you”. “Licensees” and
“recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a “modified version” of the
earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based
on the Program.
To “propagate” a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices”
to the extent that it includes a convenient and prominently visible
feature that **(1)** displays an appropriate copyright notice, and **(2)**
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
### 1. Source Code
The “source code” for a work means the preferred form of the work
for making modifications to it. “Object code” means any non-source
form of a work.
A “Standard Interface” means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other
than the work as a whole, that **(a)** is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and **(b)** serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
“Major Component”, in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
### 2. Basic Permissions
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
### 3. Protecting Users' Legal Rights From Anti-Circumvention Law
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
### 4. Conveying Verbatim Copies
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
### 5. Conveying Modified Source Versions
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
* **a)** The work must carry prominent notices stating that you modified
it, and giving a relevant date.
* **b)** The work must carry prominent notices stating that it is
released under this License and any conditions added under section 7.
This requirement modifies the requirement in section 4 to
“keep intact all notices”.
* **c)** You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
* **d)** If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
“aggregate” if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
### 6. Conveying Non-Source Forms
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
* **a)** Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
* **b)** Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either **(1)** a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or **(2)** access to copy the
Corresponding Source from a network server at no charge.
* **c)** Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
* **d)** Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
* **e)** Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A “User Product” is either **(1)** a “consumer product”, which means any
tangible personal property which is normally used for personal, family,
or household purposes, or **(2)** anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, “normally used” refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
“Installation Information” for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
### 7. Additional Terms
“Additional permissions” are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
* **a)** Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
* **b)** Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
* **c)** Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
* **d)** Limiting the use for publicity purposes of names of licensors or
authors of the material; or
* **e)** Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
* **f)** Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered “further
restrictions” within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
### 8. Termination
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated **(a)**
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and **(b)** permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
### 9. Acceptance Not Required for Having Copies
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
### 10. Automatic Licensing of Downstream Recipients
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
### 11. Patents
A “contributor” is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, “control” includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a “patent license” is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To “grant” such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either **(1)** cause the Corresponding Source to be so
available, or **(2)** arrange to deprive yourself of the benefit of the
patent license for this particular work, or **(3)** arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. “Knowingly relying” means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is “discriminatory” if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license **(a)** in connection with copies of the covered work
conveyed by you (or copies made from those copies), or **(b)** primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
### 12. No Surrender of Others' Freedom
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
### 13. Remote Network Interaction; Use with the GNU General Public License
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
### 14. Revised Versions of this License
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License “or any later version” applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
### 15. Disclaimer of Warranty
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
### 16. Limitation of Liability
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
### 17. Interpretation of Sections 15 and 16
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
_END OF TERMS AND CONDITIONS_
## How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the “copyright” line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a “Source” link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a “copyright disclaimer” for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<>.
================================================
FILE: README.md
================================================

#### 🌐 GHunt Online version : https://osint.industries
#### 🐍 Now Python 3.13 compatible !

# 😊 Description
GHunt (v2) is an offensive Google framework, designed to evolve efficiently.\
It's currently focused on OSINT, but any use related with Google is possible.
Features :
- CLI usage and modules
- Python library usage
- Fully async
- JSON export
- Browser extension to ease login
# ✔️ Requirements
- Python >= 3.10
# ⚙️ Installation
```bash
$ pip3 install pipx
$ pipx ensurepath
$ pipx install ghunt
```
It will automatically use venvs to avoid dependency conflicts with other projects.
# 💃 Usage
## Login
First, launch the listener by doing `ghunt login` and choose between 1 of the 2 first methods :
```bash
$ ghunt login
[1] (Companion) Put GHunt on listening mode (currently not compatible with docker)
[2] (Companion) Paste base64-encoded cookies
[3] Enter manually all cookies
Choice =>
```
Then, use GHunt Companion to complete the login.
The extension is available on the following stores :\
\
[](https://addons.mozilla.org/en-US/firefox/addon/ghunt-companion/) [](https://chrome.google.com/webstore/detail/ghunt-companion/dpdcofblfbmmnikcbmmiakkclocadjab)
## Modules
Then, profit :
```bash
Usage: ghunt [-h] {login,email,gaia,drive,geolocate} ...
Positional Arguments:
{login,email,gaia,drive,geolocate}
login Authenticate GHunt to Google.
email Get information on an email address.
gaia Get information on a Gaia ID.
drive Get information on a Drive file or folder.
geolocate Geolocate a BSSID.
spiderdal Find assets using Digital Assets Links.
Options:
-h, --help show this help message and exit
```
📄 You can also use --json with email, gaia, drive and geolocate modules to export in JSON ! Example :
```bash
$ ghunt email --json user_data.json
```
**Have fun 🥰💞**
# 🧑💻 Developers
📕 I started writing some docs [here](https://github.com/mxrch/GHunt/wiki) and examples [here](https://github.com/mxrch/GHunt/tree/master/examples), feel free to contribute !
To use GHunt as a lib, you can't use pipx because it uses a venv.\
So you should install GHunt with pip :
```bash
$ pip3 install ghunt
```
And now, you should be able to `import ghunt` in your projects !\
You can right now play with the [examples](https://github.com/mxrch/GHunt/tree/master/examples).
# 📮 Details
## Obvious disclaimer
This tool is for educational purposes only, I am not responsible for its use.
## Less obvious disclaimer
This project is under [AGPL Licence](https://choosealicense.com/licenses/agpl-3.0/), and you have to respect it.\
**Use it only in personal, criminal investigations, pentesting, or open-source projects.**
## Thanks
- [novitae](https://github.com/novitae) for being my Python colleague
- All the people on [Malfrats Industries](https://discord.gg/sg2YcrC6x9) and elsewhere for the beta test !
- The HideAndSec team 💗 (blog : https://hideandsec.sh)
- [Med Amine Jouini](https://dribbble.com/jouiniamine) for his beautiful rework of the Google logo, which I was inspired by *a lot*.
## Sponsors
Thanks to these awesome people for supporting me !
\
You like my work ?\
[Sponsor me](https://github.com/sponsors/mxrch) on GitHub ! 🤗
================================================
FILE: examples/email_registered.py
================================================
import os
import httpx
import asyncio
import sys
from ghunt.helpers.gmail import is_email_registered
async def main():
if not sys.argv[1:]:
print("Please give an email address.")
exit()
as_client = httpx.AsyncClient() # Async Client
email = sys.argv[1]
is_registered = await is_email_registered(as_client, email)
print("Registered on Google :", is_registered)
asyncio.run(main()) # running our async code in a non-async code
================================================
FILE: examples/get_people_name.py
================================================
import httpx
import asyncio
import sys
from ghunt.apis.peoplepa import PeoplePaHttp
from ghunt.objects.base import GHuntCreds
async def main():
if not sys.argv[1:]:
exit("Please give an email address.")
email = sys.argv[1]
ghunt_creds = GHuntCreds()
ghunt_creds.load_creds() # Check creds (but it doesn't crash if they are invalid)
as_client = httpx.AsyncClient() # Async client
people_api = PeoplePaHttp(ghunt_creds)
found, person = await people_api.people_lookup(as_client, email, params_template="just_name")
# You can have multiple "params_template" for the GHunt APIs,
# for example, on this endpoint, you have "just_gaia_id" by default,
# "just_name" or "max_details" which is used in the email CLI module.
print("Found :", found)
if found:
if "PROFILE" in person.names: # A specification of People API, there are different containers
# A target may not exists globally, but only in your contacts,
# so it will show you only the CONTACT container,
# with the informations you submitted.
# What we want here is the PROFILE container, with public infos.
print("Name :", person.names["PROFILE"].fullname)
else:
print("Not existing globally.")
asyncio.run(main()) # running our async code in a non-async code
================================================
FILE: ghunt/__init__.py
================================================
from ghunt import globals as gb; gb.init_globals()
================================================
FILE: ghunt/apis/__init__.py
================================================
================================================
FILE: ghunt/apis/accounts.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
import httpx
from typing import *
import inspect
class Accounts(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
# Android OAuth fields
self.api_name = "chrome"
self.package_name = "com.android.chrome"
self.scopes = [
"https://www.google.com/accounts/OAuthLogin"
]
self.hostname = "accounts.google.com"
self.scheme = "https"
self.authentication_mode = "oauth" # sapisidhash, cookies_only, oauth or None
self.require_key = None # key name, or None
self._load_api(creds, headers)
async def OAuthLogin(self, as_client: httpx.AsyncClient) -> str:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
key_origin = None
)
self._load_endpoint(endpoint)
base_url = f"/OAuthLogin"
params = {
"source": "ChromiumBrowser",
"issueuberauth": 1
}
req = await self._query(endpoint.name, as_client, base_url, params)
# Parsing
uber_auth = req.text
return True, uber_auth
================================================
FILE: ghunt/apis/calendar.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.calendar import Calendar, CalendarEvents
import httpx
from typing import *
import inspect
import json
from datetime import datetime, timezone
class CalendarHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "clients6.google.com"
self.scheme = "https"
self._load_api(creds, headers)
async def get_calendar(self, as_client: httpx.AsyncClient, calendar_id: str) -> Tuple[bool, Calendar]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "calendar", # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/calendar/v3/calendars/{calendar_id}"
req = await self._query(endpoint.name, as_client, base_url)
# Parsing
data = json.loads(req.text)
calendar = Calendar()
if "error" in data:
return False, calendar
calendar._scrape(data)
return True, calendar
async def get_events(self, as_client: httpx.AsyncClient, calendar_id: str, params_template="next_events",
time_min=datetime.today().replace(tzinfo=timezone.utc).isoformat(), max_results=250, page_token="") -> Tuple[bool, CalendarEvents]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "calendar", # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/calendar/v3/calendars/{calendar_id}/events"
params_templates = {
"next_events": {
"calendarId": calendar_id,
"singleEvents": True,
"maxAttendees": 1,
"maxResults": max_results,
"timeMin": time_min # ISO Format
},
"from_beginning": {
"calendarId": calendar_id,
"singleEvents": True,
"maxAttendees": 1,
"maxResults": max_results
},
"max_from_beginning": {
"calendarId": calendar_id,
"singleEvents": True,
"maxAttendees": 1,
"maxResults": 2500 # Max
}
}
if not params_templates.get(params_template):
raise GHuntParamsTemplateError(f"The asked template {params_template} for the endpoint {endpoint.name} wasn't recognized by GHunt.")
params = params_templates[params_template]
if page_token:
params["pageToken"] = page_token
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
events = CalendarEvents()
if not data:
return False, events
events._scrape(data)
return True, events
================================================
FILE: ghunt/apis/clientauthconfig.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.clientauthconfig import CacBrand
import httpx
from typing import *
import inspect
import json
class ClientAuthConfigHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "clientauthconfig.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def get_brand(self, as_client: httpx.AsyncClient, project_number: int) -> Tuple[bool, CacBrand]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = None, # sapisidhash, cookies_only, oauth or None
require_key = "pantheon", # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/v1/brands/lookupkey/brand/{project_number}"
params = {
"readMask": "*",
"$outputDefaults": True
}
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
brand = CacBrand()
if "error" in data:
return False, brand
brand._scrape(data)
return True, brand
================================================
FILE: ghunt/apis/digitalassetslinks.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.digitalassetslinks import DalStatements
import httpx
from typing import *
import inspect
import json
class DigitalAssetsLinksHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "digitalassetlinks.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def list_statements(self, as_client: httpx.AsyncClient, website: str="",
android_package_name: str="", android_cert_fingerprint: str="") -> Tuple[bool, DalStatements]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = None, # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = "/v1/statements:list"
# Inputs checks
if website and (android_package_name or android_cert_fingerprint):
raise GHuntParamsInputError(f"[DigitalAssetsLinks API list statements] website and {android_package_name if android_package_name else android_cert_fingerprint} can't be both put at the same time.")
elif not website and not (android_package_name and android_cert_fingerprint):
raise GHuntParamsInputError("[DigitalAssetsLinks API list statements] Please , android_package_name and android_cert_ingerprint.")
elif not (website or android_package_name or android_cert_fingerprint):
raise GHuntParamsInputError("[DigitalAssetsLinks API list statements] Please choose at least one parameter between website, android_package_name and android_cert_ingerprint.")
params = {}
if website:
params["source.web.site"] = website
if android_package_name:
params["source.androidApp.packageName"] = android_package_name
if android_cert_fingerprint:
params["source.androidApp.certificate.sha256Fingerprint"] = android_cert_fingerprint
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
statements = DalStatements()
if "error" in data:
return False, statements
statements._scrape(data)
found = bool(statements.statements)
return found, statements
================================================
FILE: ghunt/apis/drive.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.drive import DriveCommentList, DriveFile, DriveChildList
from ghunt.knowledge import drive as drive_knowledge
import httpx
from typing import *
import inspect
import json
class DriveHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
# Android OAuth fields
self.api_name = "drive"
self.package_name = "com.google.android.apps.docs"
self.scopes = [
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.file"
]
self.hostname = "www.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def get_file(self, as_client: httpx.AsyncClient, file_id: str) -> Tuple[bool, DriveFile]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/drive/v2internal/files/{file_id}"
params = {
"fields": ','.join(drive_knowledge.request_fields),
"supportsAllDrives": True
}
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
drive_file = DriveFile()
if "error" in data:
return False, drive_file
drive_file._scrape(data)
return True, drive_file
async def get_comments(self, as_client: httpx.AsyncClient, file_id: str, page_token: str="") -> Tuple[bool, str, DriveCommentList]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/drive/v2internal/files/{file_id}/comments"
params = {
"supportsAllDrives": True,
"maxResults": 100
}
if page_token:
params["pageToken"] = page_token
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
drive_comments = DriveCommentList()
if "error" in data:
return False, "", drive_comments
next_page_token = data.get("nextPageToken", "")
drive_comments._scrape(data)
return True, next_page_token, drive_comments
async def get_childs(self, as_client: httpx.AsyncClient, file_id: str, page_token: str="") -> Tuple[bool, str, DriveChildList]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/drive/v2internal/files/{file_id}/children"
params = {
"supportsAllDrives": True,
"maxResults": 1000
}
if page_token:
params["pageToken"] = page_token
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
drive_childs = DriveChildList()
if "error" in data:
return False, "", drive_childs
next_page_token = data.get("nextPageToken", "")
drive_childs._scrape(data)
return True, next_page_token, drive_childs
================================================
FILE: ghunt/apis/fireconsolepa.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.clientauthconfig import CacBrand
import httpx
from typing import *
import inspect
import json
class FireconsolePaHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "fireconsole-pa.clients6.google.com"
self.scheme = "https"
self._load_api(creds, headers)
async def is_project_valid(self, as_client: httpx.AsyncClient, project_identifier: str) -> Tuple[bool, CacBrand]:
"""
Returns if the given project identifier is valid.
The project identifier can be a project ID or a project number.
"""
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "json", # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "firebase_console", # key name, or None
)
self._load_endpoint(endpoint)
base_url = "/v1/analytics:checkAccess"
params = {
"alt": "json"
}
post_data = {
"entityKey": {},
"firebaseProjectId": project_identifier
}
req = await self._query(endpoint.name, as_client, base_url, params=params, data=post_data)
return req.status_code != 404
================================================
FILE: ghunt/apis/geolocation.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.geolocate import GeolocationResponse
import httpx
from typing import *
import inspect
import json
class GeolocationHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "www.googleapis.com"
self.scheme = "https"
self.authentication_mode = None # sapisidhash, cookies_only, oauth or None
self.require_key = "geolocation" # key name, or None
self._load_api(creds, headers)
async def geolocate(self, as_client: httpx.AsyncClient, bssid: str, body: dict) -> Tuple[bool, GeolocationResponse]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "json", # json, data or None
authentication_mode = None, # sapisidhash, cookies_only, oauth or None
require_key = "geolocation", # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/geolocation/v1/geolocate"
if bssid:
payload = {
"considerIp": False,
"wifiAccessPoints": [
{
"macAddress": "00:25:9c:cf:1c:ad"
},
{
"macAddress": bssid
},
]
}
else:
payload = body
req = await self._query(endpoint.name, as_client, base_url, data=payload)
# Parsing
data = json.loads(req.text)
resp = GeolocationResponse()
if "error" in data:
return False, resp
resp._scrape(data)
return True, resp
================================================
FILE: ghunt/apis/identitytoolkit.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.identitytoolkit import ITKProjectConfig
import httpx
from typing import *
import inspect
import json
class IdentityToolkitHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "www.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def get_project_config(self, as_client: httpx.AsyncClient, api_key: str) -> Tuple[bool, ITKProjectConfig]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = None, # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = "/identitytoolkit/v3/relyingparty/getProjectConfig"
params = {
"key": api_key
}
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
project_config = ITKProjectConfig()
if "error" in data:
return False, project_config
project_config._scrape(data)
return True, project_config
================================================
FILE: ghunt/apis/mobilesdk.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.mobilesdk import MobileSDKDynamicConfig
import httpx
from typing import *
import inspect
import json
class MobileSDKPaHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
self.hostname = "mobilesdk-pa.clients6.google.com"
self.scheme = "https"
self._load_api(creds, headers)
async def test_iam_permissions(self, as_client: httpx.AsyncClient, project_identifier: str, permissions: List[str]) -> Tuple[bool, List[str]]:
"""
Returns the permissions you have against a project.
The project identifier can be a project ID or a project number.
"""
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "json", # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "firebase_console", # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/v1/projects/{project_identifier}:testIamPermissions"
post_data = {
"permissions": permissions
}
req = await self._query(endpoint.name, as_client, base_url, data=post_data)
# Parsing
data = json.loads(req.text)
if "error" in data:
return False, []
return True, data.get("permissions", [])
async def get_webapp_dynamic_config(self, as_client: httpx.AsyncClient, app_id: str) -> Tuple[bool, MobileSDKDynamicConfig]:
"""
Returns the dynamic config of a web app.
:param app_id: The app id
"""
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None,
key_origin="firebase_console", # key name, or None
# require_key = "firebase_console", # key name, or None
)
self._load_endpoint(endpoint)
# Android OAuth fields
self.api_name = "mobilesdk"
self.package_name = "com.android.chrome"
self.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"
]
base_url = f"/v1/config/webApps/{app_id}/dynamicConfig"
req = await self._query(endpoint.name, as_client, base_url)
# Parsing
data = json.loads(req.text)
dynamic_config = MobileSDKDynamicConfig()
if "error" in data:
return False, dynamic_config
dynamic_config._scrape(data)
return True, dynamic_config
================================================
FILE: ghunt/apis/peoplepa.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.people import Person
import httpx
from typing import *
import inspect
import json
class PeoplePaHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {
"Host": "people-pa.clients6.google.com",
}
headers = {**headers, **base_headers}
self.hostname = "googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def people_lookup(self, as_client: httpx.AsyncClient, email: str, params_template="just_gaia_id") -> Tuple[bool, Person]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "photos", # key name, or None
# key_origin="photos"
)
# Android OAuth fields
self.api_name = "people"
self.package_name = "com.google.android.gms"
self.scopes = [
"https://www.googleapis.com/auth/profile.agerange.read",
"https://www.googleapis.com/auth/profile.language.read",
"https://www.googleapis.com/auth/contacts",
"https://www.googleapis.com/auth/peopleapi.legacy.readwrite"
]
self._load_endpoint(endpoint)
base_url = "/v2/people/lookup"
params_templates = {
"just_gaia_id": {
"id": email,
"type": "EMAIL",
"matchType": "EXACT",
"requestMask.includeField.paths": "person.metadata"
},
"just_name": {
"id": email,
"type": "EMAIL",
"matchType": "EXACT",
"requestMask.includeField.paths": "person.name",
"core_id_params.enable_private_names": True
},
"max_details": {
"id": email,
"type": "EMAIL",
"match_type": "EXACT",
"extension_set.extension_names": [
"DYNAMITE_ADDITIONAL_DATA",
"DYNAMITE_ORGANIZATION_INFO"
],
"request_mask.include_field.paths": [
"person.metadata.best_display_name",
"person.photo",
"person.cover_photo",
"person.interaction_settings",
"person.legacy_fields",
"person.metadata",
"person.in_app_reachability",
"person.name",
"person.read_only_profile_info",
"person.sort_keys",
"person.email"
],
"request_mask.include_container": [
"AFFINITY",
"PROFILE",
"DOMAIN_PROFILE",
"ACCOUNT",
"EXTERNAL_ACCOUNT",
"CIRCLE",
"DOMAIN_CONTACT",
"DEVICE_CONTACT",
"GOOGLE_GROUP",
"CONTACT"
],
"core_id_params.enable_private_names": True
}
}
if not params_templates.get(params_template):
raise GHuntParamsTemplateError(f"The asked template {params_template} for the endpoint {endpoint.name} wasn't recognized by GHunt.")
params = params_templates[params_template]
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
person = Person()
if not data:
return False, person
person_data = list(data["people"].values())[0]
await person._scrape(as_client, person_data)
return True, person
async def people(self, as_client: httpx.AsyncClient, gaia_id: str, params_template="just_name") -> Tuple[bool, Person]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "sapisidhash", # sapisidhash, cookies_only, oauth or None
require_key = "photos", # key name, or None
# key_origin="photos"
)
self._load_endpoint(endpoint)
# Android OAuth fields
self.api_name = "people"
self.package_name = "com.google.android.gms"
self.scopes = [
"https://www.googleapis.com/auth/profile.agerange.read",
"https://www.googleapis.com/auth/profile.language.read",
"https://www.googleapis.com/auth/contacts",
"https://www.googleapis.com/auth/peopleapi.legacy.readwrite"
]
base_url = "/v2/people"
params_templates = {
"just_name": {
"person_id": gaia_id,
"requestMask.includeField.paths": "person.name",
"core_id_params.enable_private_names": True
},
"max_details": {
"person_id": gaia_id,
"extension_set.extension_names": [
"DYNAMITE_ADDITIONAL_DATA",
"DYNAMITE_ORGANIZATION_INFO"
],
"request_mask.include_field.paths": [
"person.metadata.best_display_name",
"person.photo",
"person.cover_photo",
"person.interaction_settings",
"person.legacy_fields",
"person.metadata",
"person.in_app_reachability",
"person.name",
"person.read_only_profile_info",
"person.sort_keys",
"person.email"
],
"request_mask.include_container": [
"AFFINITY",
"PROFILE",
"DOMAIN_PROFILE",
"ACCOUNT",
"EXTERNAL_ACCOUNT",
"CIRCLE",
"DOMAIN_CONTACT",
"DEVICE_CONTACT",
"GOOGLE_GROUP",
"CONTACT"
],
"core_id_params.enable_private_names": True
}
}
if not params_templates.get(params_template):
raise GHuntParamsTemplateError(f"The asked template {params_template} for the endpoint {endpoint.name} wasn't recognized by GHunt.")
params = params_templates[params_template]
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
person = Person()
if data["personResponse"][0]["status"] == "NOT_FOUND":
return False, person
person_data = data["personResponse"][0]["person"]
await person._scrape(as_client, person_data)
return True, person
================================================
FILE: ghunt/apis/playgames.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.playgames import PlayedGames, PlayerAchievements, PlayerProfile
import httpx
from typing import *
import inspect
import json
class PlayGames(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {}
headers = {**headers, **base_headers}
# Android OAuth fields
self.api_name = "playgames"
self.package_name = "com.google.android.play.games"
self.scopes = [
"https://www.googleapis.com/auth/games.firstparty",
"https://www.googleapis.com/auth/googleplay"
]
self.hostname = "www.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def get_profile(self, as_client: httpx.AsyncClient, player_id: str) -> Tuple[bool, PlayerProfile]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/games/v1whitelisted/players/{player_id}"
req = await self._query(endpoint.name, as_client, base_url)
# Parsing
data = json.loads(req.text)
player_profile = PlayerProfile()
if not "displayPlayer" in data:
return False, player_profile
player_profile._scrape(data["displayPlayer"])
player_profile.id = player_id
return True, player_profile
async def get_played_games(self, as_client: httpx.AsyncClient, player_id: str, page_token: str="") -> Tuple[bool, str, PlayedGames]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "GET",
data_type = None, # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/games/v1whitelisted/players/{player_id}/applications/played"
params = {}
if page_token:
params = {"pageToken": page_token}
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
played_games = PlayedGames()
if not "items" in data:
return False, "", played_games
next_page_token = data.get("nextPageToken", "")
played_games._scrape(data["items"])
return True, next_page_token, played_games
async def get_achievements(self, as_client: httpx.AsyncClient, player_id: str, page_token: str="") -> Tuple[bool, str, PlayerAchievements]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "json", # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
)
self._load_endpoint(endpoint)
base_url = f"/games/v1whitelisted/players/{player_id}/achievements"
params = {
"state": "UNLOCKED",
"returnDefinitions": True,
"sortOrder": "RECENT_FIRST"
}
if page_token:
params["pageToken"] = page_token
req = await self._query(endpoint.name, as_client, base_url, params=params)
# Parsing
data = json.loads(req.text)
achievements = PlayerAchievements()
if not "items" in data:
return False, "", achievements
next_page_token = ""
if "nextPageToken" in data:
next_page_token = data["nextPageToken"]
achievements._scrape(data)
return True, next_page_token, achievements
================================================
FILE: ghunt/apis/playgateway.py
================================================
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.objects.base import GHuntCreds
from ghunt import globals as gb
from ghunt.protos.playgatewaypa.search_player_pb2 import PlayerSearchProto
from ghunt.protos.playgatewaypa.search_player_results_pb2 import PlayerSearchResultsProto
from ghunt.protos.playgatewaypa.get_player_pb2 import GetPlayerProto
from ghunt.protos.playgatewaypa.get_player_response_pb2 import GetPlayerResponseProto
from ghunt.parsers.playgateway import PlayerSearchResults
from ghunt.parsers.playgateway import PlayerProfile
import httpx
from typing import *
from struct import pack
import inspect
class PlayGatewayPaGrpc(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
# Android OAuth fields
self.api_name = "playgames"
self.package_name = "com.google.android.play.games"
self.scopes = [
"https://www.googleapis.com/auth/games.firstparty",
"https://www.googleapis.com/auth/googleplay"
]
if not headers:
headers = gb.config.android_headers
headers = {**headers, **{
"Content-Type": "application/grpc",
"Te": "trailers"
}}
# Normal fields
self.hostname = "playgateway-pa.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def search_player(self, as_client: httpx.AsyncClient, query: str) -> PlayerSearchResults:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "data", # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
ext_metadata = {
"bin": {
"158709649": "CggaBgj22K2aARo4EgoI+aKnlZf996E/GhcQHhoPUkQyQS4yMTEwMDEuMDAyIgIxMToICgZJZ0pHVWdCB1BpeGVsIDU",
"173715354": "CgEx"
}
}
)
self._load_endpoint(endpoint)
base_url = "/play.gateway.adapter.interplay.v1.PlayGatewayInterplayService/GetPage"
player_search = PlayerSearchProto()
player_search.search_form.query.text = query
payload = player_search.SerializeToString()
prefix = bytes(1) + pack(">i", len(payload))
data = prefix + payload
req = await self._query(endpoint.name, as_client, base_url, data=data)
# Parsing
player_search_results = PlayerSearchResultsProto()
player_search_results.ParseFromString(req.content[5:])
parser = PlayerSearchResults()
parser._scrape(player_search_results)
return parser
async def get_player_stats(self, as_client: httpx.AsyncClient, player_id: str) -> PlayerProfile:
"""
This endpoint client isn't finished, it is only used to get total played applications & achievements count.
To get all the details about a player, please use get_player method of PlayGames (HTTP API).
"""
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "data", # json, data or None
authentication_mode = "oauth", # sapisidhash, cookies_only, oauth or None
require_key = None, # key name, or None
ext_metadata = {
"bin": {
"158709649": "CggaBgj22K2aARo4EgoI+aKnlZf996E/GhcQHhoPUkQyQS4yMTEwMDEuMDAyIgIxMToICgZJZ0pHVWdCB1BpeGVsIDU",
"173715354": "CgEx"
}
}
)
self._load_endpoint(endpoint)
base_url = "/play.gateway.adapter.interplay.v1.PlayGatewayInterplayService/GetPage"
player_profile = GetPlayerProto()
player_profile.form.query.id = player_id
payload = player_profile.SerializeToString()
prefix = bytes(1) + pack(">i", len(payload))
data = prefix + payload
req = await self._query(endpoint.name, as_client, base_url, data=data)
# Parsing
player_profile = GetPlayerResponseProto()
player_profile.ParseFromString(req.content[5:])
parser = PlayerProfile()
parser._scrape(player_profile)
return parser
================================================
FILE: ghunt/apis/vision.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
import ghunt.globals as gb
from ghunt.objects.apis import GAPI, EndpointConfig
from ghunt.parsers.vision import VisionFaceDetection
import httpx
from typing import *
import inspect
import json
class VisionHttp(GAPI):
def __init__(self, creds: GHuntCreds, headers: Dict[str, str] = {}):
super().__init__()
if not headers:
headers = gb.config.headers
base_headers = {
"X-Origin": "https://explorer.apis.google.com"
}
headers = {**headers, **base_headers}
self.hostname = "content-vision.googleapis.com"
self.scheme = "https"
self._load_api(creds, headers)
async def detect_faces(self, as_client: httpx.AsyncClient, image_url: str = "", image_content: str = "",
data_template="default") -> Tuple[bool, bool, VisionFaceDetection]:
endpoint = EndpointConfig(
name = inspect.currentframe().f_code.co_name,
verb = "POST",
data_type = "json", # json, data or None
authentication_mode = None, # sapisidhash, cookies_only, oauth or None
require_key = "apis_explorer", # key name, or None
key_origin = "https://content-vision.googleapis.com"
)
self._load_endpoint(endpoint)
base_url = "/v1/images:annotate"
# image_url can cause errors with vision_api, so we prefer using image_content
# See => https://cloud.google.com/vision/docs/detecting-faces?#detect_faces_in_a_remote_image
data_templates = {
"default": {
"requests":[
{
"features": [
{
"maxResults":100,
"type":"FACE_DETECTION"
}
],
"image": {}
}
]
}
}
if not data_templates.get(data_template):
raise GHuntParamsTemplateError(f"The asked template {data_template} for the endpoint {endpoint.name} wasn't recognized by GHunt.")
# Inputs checks
if image_url and image_content:
raise GHuntParamsInputError("[Vision API faces detection] image_url and image_content can't be both put at the same time.")
elif not image_url and not image_content:
raise GHuntParamsInputError("[Vision API faces detection] Please choose at least one parameter between image_url and image_content.")
if data_template == "default":
if image_url:
data_templates["default"]["requests"][0]["image"] = {
"source": {
"imageUri": image_url
}
}
elif image_content:
data_templates["default"]["requests"][0]["image"] = {
"content": image_content
}
data = data_templates[data_template]
req = await self._query(endpoint.name, as_client, base_url, data=data)
rate_limited = req.status_code == 429 # API Explorer sometimes rate-limit because they set their DefaultRequestsPerMinutePerProject to 1800
vision_face_detection = VisionFaceDetection()
if rate_limited:
return rate_limited, False, vision_face_detection
# Parsing
data = json.loads(req.text)
if not data["responses"][0]:
return rate_limited, False, vision_face_detection
vision_data = data["responses"][0]
vision_face_detection._scrape(vision_data)
return rate_limited, True, vision_face_detection
================================================
FILE: ghunt/cli.py
================================================
from rich_argparse import RichHelpFormatter
import argparse
from typing import *
import sys
from pathlib import Path
def parse_and_run():
RichHelpFormatter.styles["argparse.groups"] = "misty_rose1"
RichHelpFormatter.styles["argparse.metavar"] = "light_cyan1"
RichHelpFormatter.styles["argparse.args"] = "light_steel_blue1"
RichHelpFormatter.styles["argparse.prog"] = "light_pink1 bold italic"
parser = argparse.ArgumentParser(formatter_class=RichHelpFormatter)
subparsers = parser.add_subparsers(dest="module")
### Login module
parser_login = subparsers.add_parser('login', help="Authenticate GHunt to Google.", formatter_class=RichHelpFormatter)
parser_login.add_argument('--clean', action='store_true', help="Clear credentials local file.")
### Email module
parser_email = subparsers.add_parser('email', help="Get information on an email address.", formatter_class=RichHelpFormatter)
parser_email.add_argument("email_address")
parser_email.add_argument('--json', type=Path, help="File to write the JSON output to.")
### Gaia module
parser_gaia = subparsers.add_parser('gaia', help="Get information on a Gaia ID.", formatter_class=RichHelpFormatter)
parser_gaia.add_argument("gaia_id")
parser_gaia.add_argument('--json', type=Path, help="File to write the JSON output to.")
### Drive module
parser_drive = subparsers.add_parser('drive', help="Get information on a Drive file or folder.", formatter_class=RichHelpFormatter)
parser_drive.add_argument("file_id", help="Example: 1N__vVu4c9fCt4EHxfthUNzVOs_tp8l6tHcMBnpOZv_M")
parser_drive.add_argument('--json', type=Path, help="File to write the JSON output to.")
### Geolocate module
parser_geolocate = subparsers.add_parser('geolocate', help="Geolocate a BSSID.", formatter_class=RichHelpFormatter)
geolocate_group = parser_geolocate.add_mutually_exclusive_group(required=True)
geolocate_group.add_argument("-b", "--bssid", help="Example: 30:86:2d:c4:29:d0")
geolocate_group.add_argument("-f", "--file", type=Path, help="File containing a raw request body, useful to put many BSSIDs. ([italic light_steel_blue1][link=https://developers.google.com/maps/documentation/geolocation/requests-geolocation?#sample-requests]Reference format[/link][/italic light_steel_blue1])")
parser_geolocate.add_argument('--json', type=Path, help="File to write the JSON output to.")
### Spiderdal module
parser_spiderdal = subparsers.add_parser('spiderdal', help="Find assets using Digital Assets Links.", formatter_class=RichHelpFormatter)
parser_spiderdal.add_argument("-p", "--package", help="Example: com.squareup.cash")
parser_spiderdal.add_argument("-f", "--fingerprint", help="Example: 21:A7:46:75:96:C1:68:65:0F:D7:B6:31:B6:54:22:EB:56:3E:1D:21:AF:F2:2D:DE:73:89:BA:0D:5D:73:87:48")
parser_spiderdal.add_argument("-u", "--url", help="Example: https://cash.app. If a domain is given, it will convert it to a URL, and also try the \"www\" subdomain.")
parser_spiderdal.add_argument("-s", "--strict", action='store_true', help="Don't attempt to convert the domain to a URL, and don't try the \"www\" subdomain.")
parser_spiderdal.add_argument('--json', type=Path, help="File to write the JSON output to.")
### Parsing
args = None
if not sys.argv[1:]:
parser.parse_args(["--help"])
else:
for mod in ["email", "gaia", "drive", "geolocate", "spiderdal"]:
if sys.argv[1] == mod and not sys.argv[2:]:
parser.parse_args([mod, "--help"])
args = parser.parse_args(args)
process_args(args)
def process_args(args: argparse.Namespace):
import asyncio
match args.module:
case "login":
from ghunt.modules import login
asyncio.run(login.check_and_login(None, args.clean))
case "email":
from ghunt.modules import email
asyncio.run(email.hunt(None, args.email_address, args.json))
case "gaia":
from ghunt.modules import gaia
asyncio.run(gaia.hunt(None, args.gaia_id, args.json))
case "drive":
from ghunt.modules import drive
asyncio.run(drive.hunt(None, args.file_id, args.json))
case "geolocate":
from ghunt.modules import geolocate
asyncio.run(geolocate.main(None, args.bssid, args.file, args.json))
case "spiderdal":
if any([args.package, args.fingerprint]) and not all([args.package, args.fingerprint]):
exit("[!] You must provide both a package name and a certificate fingerprint.")
from ghunt.modules import spiderdal
asyncio.run(spiderdal.main(args.url, args.package, args.fingerprint, args.strict, args.json))
================================================
FILE: ghunt/config.py
================================================
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0',
'Connection': 'Keep-Alive'
}
android_headers = {
'User-Agent': '{}/323710070 (Linux; U; Android 11; fr_FR; Pixel 5; Build/RD2A.211001.002; Cronet/97.0.4692.70) grpc-java-cronet/1.44.0-SNAPSHOT', # android package name
'Connection': 'Keep-Alive'
}
templates = {
"gmaps_pb":{
"stats": "!1s{}!2m3!1sYE3rYc2rEsqOlwSHx534DA!7e81!15i14416!6m2!4b1!7b1!9m0!16m4!1i100!4b1!5b1!6BQ0FFU0JrVm5TVWxEenc9PQ!17m28!1m6!1m2!1i0!2i0!2m2!1i458!2i736!1m6!1m2!1i1868!2i0!2m2!1i1918!2i736!1m6!1m2!1i0!2i0!2m2!1i1918!2i20!1m6!1m2!1i0!2i716!2m2!1i1918!2i736!18m12!1m3!1d806313.5865720833!2d150.19484835!3d-34.53825215!2m3!1f0!2f0!3f0!3m2!1i1918!2i736!4f13.1",
"reviews": {
"first": "!1s{}!2m3!1s_2zAZ5CJDouBi-gPpJ7biAg!7e81!15i14416!6m2!4b1!7b1!9m0!17m28!1m6!1m2!1i0!2i0!2m2!1i530!2i1279!1m6!1m2!1i3390!2i0!2m2!1i3440!2i1279!1m6!1m2!1i0!2i0!2m2!1i3440!2i20!1m6!1m2!1i0!2i1259!2m2!1i3440!2i1279!18m15!1m3!1d2834470.167608874!2d150.05636185!3d-33.57307085!2m3!1f0!2f0!3f0!3m2!1i3440!2i1279!4f13.1!6m2!1f0!2f0!41m15!1i20!2m9!2b1!3b1!5b1!7b1!12m4!1b1!2b1!4m1!1e1!3sCAESA0VnQQ%3D%3D!7m2!1m1!1e1",
"page": "!1s{}!2m3!1s_2zAZ5CJDouBi-gPpJ7biAg!7e81!15i14416!6m2!4b1!7b1!9m0!17m28!1m6!1m2!1i0!2i0!2m2!1i530!2i1279!1m6!1m2!1i3390!2i0!2m2!1i3440!2i1279!1m6!1m2!1i0!2i0!2m2!1i3440!2i20!1m6!1m2!1i0!2i1259!2m2!1i3440!2i1279!18m15!1m3!1d2834470.167608874!2d150.05636185!3d-33.57307085!2m3!1f0!2f0!3f0!3m2!1i3440!2i1279!4f13.1!6m2!1f0!2f0!41m15!1i20!2m9!2b1!3b1!5b1!7b1!12m4!1b1!2b1!4m1!1e1!3s{}!7m2!1m1!1e1"
},
"photos": {
"first": "!1s{}!2m3!1spQUAYoPQLcOTlwT9u6-gDA!7e81!15i18404!9m0!14m69!1m57!1m4!1m3!1e3!1e2!1e4!3m5!2m4!3m3!1m2!1i260!2i365!4m1!3i10!10b1!11m42!1m3!1e1!2b0!3e3!1m3!1e2!2b1!3e2!1m3!1e2!2b0!3e3!1m3!1e8!2b0!3e3!1m3!1e10!2b0!3e3!1m3!1e10!2b1!3e2!1m3!1e9!2b1!3e2!1m3!1e10!2b0!3e3!1m3!1e10!2b1!3e2!1m3!1e10!2b0!3e4!2b1!4b1!2m5!1e1!1e4!1e3!1e5!1e2!3b1!4b1!5m1!1e1!7b1",
"page": "!1s{}!2m3!1spQUAYoPQLcOTlwT9u6-gDA!7e81!15i14415!9m0!14m68!1m58!1m4!1m3!1e3!1e2!1e4!3m5!2m4!3m3!1m2!1i260!2i365!4m2!2s{}!3i100!10b1!11m42!1m3!1e1!2b0!3e3!1m3!1e2!2b1!3e2!1m3!1e2!2b0!3e3!1m3!1e8!2b0!3e3!1m3!1e10!2b0!3e3!1m3!1e10!2b1!3e2!1m3!1e9!2b1!3e2!1m3!1e10!2b0!3e3!1m3!1e10!2b1!3e2!1m3!1e10!2b0!3e4!2b1!4b1!2m5!1e1!1e4!1e3!1e5!1e2!5m1!1e1!7b1!17m28!1m6!1m2!1i0!2i0!2m2!1i458!2i595!1m6!1m2!1i950!2i0!2m2!1i1000!2i595!1m6!1m2!1i0!2i0!2m2!1i1000!2i20!1m6!1m2!1i0!2i575!2m2!1i1000!2i595!18m12!1m3!1d1304345.2752527467!2d149.32871599857805!3d-34.496155324132545!2m3!1f0!2f0!3f0!3m2!1i1000!2i595!4f13.1"
}
}
}
gmaps_radius = 30 # in km. The radius distance to create groups of gmaps reviews.
# Cookies
default_consent_cookie = "YES+cb.20220118-08-p0.fr+FX+510"
default_pref_cookie = "tz=Europe.Paris&f6=40000000&hl=en" # To set the lang settings to english
================================================
FILE: ghunt/errors.py
================================================
class GHuntKnowledgeError(Exception):
pass
class GHuntCorruptedHeadersError(Exception):
pass
class GHuntUnknownVerbError(Exception):
pass
class GHuntUnknownRequestDataTypeError(Exception):
pass
class GHuntInsufficientCreds(Exception):
pass
class GHuntParamsTemplateError(Exception):
pass
class GHuntParamsInputError(Exception):
pass
class GHuntAPIResponseParsingError(Exception):
pass
class GHuntObjectsMergingError(Exception):
pass
class GHuntAndroidMasterAuthError(Exception):
pass
class GHuntAndroidAppOAuth2Error(Exception):
pass
class GHuntOSIDAuthError(Exception):
pass
class GHuntCredsNotLoaded(Exception):
pass
class GHuntInvalidSession(Exception):
pass
class GHuntNotAuthenticated(Exception):
pass
class GHuntInvalidTarget(Exception):
pass
class GHuntLoginError(Exception):
pass
================================================
FILE: ghunt/ghunt.py
================================================
import os
import sys
def main():
version = sys.version_info
if (version < (3, 10)):
print('[-] GHunt only works with Python 3.10+.')
print(f'Your current Python version : {version.major}.{version.minor}.{version.micro}')
sys.exit(os.EX_SOFTWARE)
from ghunt.cli import parse_and_run
from ghunt.helpers.banner import show_banner
from ghunt.helpers.utils import show_version
show_banner()
show_version()
print()
parse_and_run()
================================================
FILE: ghunt/globals.py
================================================
# This file is only intended to serve global variables at a project-wide level.
def init_globals():
from ghunt.objects.utils import TMPrinter
from rich.console import Console
global config, tmprinter, rc
from ghunt import config
tmprinter = TMPrinter()
rc = Console(highlight=False) # Rich Console
================================================
FILE: ghunt/helpers/__init__.py
================================================
================================================
FILE: ghunt/helpers/auth.py
================================================
import asyncio
import json
import base64
import os
from typing import *
import httpx
from bs4 import BeautifulSoup as bs
from ghunt import globals as gb
from ghunt.objects.base import GHuntCreds
from ghunt.errors import *
from ghunt.helpers.utils import *
from ghunt.helpers import listener
from ghunt.helpers.knowledge import get_domain_of_service, get_package_sig
from ghunt.knowledge.services import services_baseurls
from ghunt.helpers.auth import *
async def android_master_auth(as_client: httpx.AsyncClient, oauth_token: str) -> Tuple[str, List[str], str, str]:
"""
Takes an oauth_token to perform an android authentication
to get the master token and other informations.
Returns the master token, connected services, account email and account full name.
"""
data = {
"Token": oauth_token,
"service": "ac2dm",
"get_accountid": 1,
"ACCESS_TOKEN": 1,
"add_account": 1,
"callerSig": "38918a453d07199354f8b19af05ec6562ced5788",
"droidguard_results": "dummy123", # https://github.com/simon-weber/gpsoauth/blob/429b7f99fa268315cef7a981408a612fb424a79b/gpsoauth/__init__.py#L153
}
req = await as_client.post("https://android.googleapis.com/auth", data=data)
resp = parse_oauth_flow_response(req.text)
for keyword in ["Token", "Email", "services", "firstName", "lastName"]:
if keyword not in resp:
raise GHuntAndroidMasterAuthError(f'Expected "{keyword}" in the response of the Android Master Authentication.\nThe oauth_token may be expired.')
return resp["Token"], resp["services"].split(","), resp["Email"], f'{resp["firstName"]} {resp["lastName"]}'
async def android_oauth_app(as_client: httpx.AsyncClient, master_token: str,
package_name: str, scopes: List[str]) -> Tuple[str, List[str], int]:
"""
Uses the master token to ask for an authorization token,
with specific scopes and app package name.
Returns the authorization token, granted scopes and expiry UTC timestamp.
"""
client_sig = get_package_sig(package_name)
data = {
"app": package_name,
"service": f"oauth2:{' '.join(scopes)}",
"client_sig": client_sig,
"Token": master_token
}
req = await as_client.post("https://android.googleapis.com/auth", data=data)
resp = parse_oauth_flow_response(req.text)
for keyword in ["Expiry", "grantedScopes", "Auth"]:
if keyword not in resp:
raise GHuntAndroidAppOAuth2Error(f'Expected "{keyword}" in the response of the Android App OAuth2 Authentication.\nThe master token may be revoked.')
return resp["Auth"], resp["grantedScopes"].split(" "), int(resp["Expiry"])
async def gen_osid(as_client: httpx.AsyncClient, cookies: Dict[str, str], generated_osids: dict[str, str], service: str) -> None:
domain = get_domain_of_service(service)
params = {
"service": service,
"osid": 1,
"continue": f"https://{domain}/",
"followup": f"https://{domain}/",
"authuser": 0
}
req = await as_client.get(f"https://accounts.google.com/ServiceLogin", params=params, cookies=cookies, headers=gb.config.headers)
body = bs(req.text, 'html.parser')
params = {x.attrs["name"]:x.attrs["value"] for x in body.find_all("input", {"type":"hidden"})}
headers = {**gb.config.headers, **{"Content-Type": "application/x-www-form-urlencoded"}}
req = await as_client.post(f"https://{domain}/accounts/SetOSID", cookies=cookies, data=params, headers=headers)
if not "OSID" in req.cookies:
raise GHuntOSIDAuthError("[-] No OSID header detected, exiting...")
generated_osids[service] = req.cookies["OSID"]
async def gen_osids(as_client: httpx.AsyncClient, cookies: Dict[str, str], osids: List[str]) -> Dict[str, str]:
"""
Generate OSIDs of given services names,
contained in the "osids" dict argument.
"""
generated_osids = {}
tasks = [gen_osid(as_client, cookies, generated_osids, service) for service in osids]
await asyncio.gather(*tasks)
return generated_osids
async def check_cookies(as_client: httpx.AsyncClient, cookies: Dict[str, str]) -> bool:
"""Checks the validity of given cookies."""
continue_url = "https://www.google.com/robots.txt"
params = {"continue": continue_url}
req = await as_client.get("https://accounts.google.com/CheckCookie", params=params, cookies=cookies)
return req.status_code == 302 and not req.headers.get("Location", "").startswith(("https://support.google.com", "https://accounts.google.com/CookieMismatch"))
async def check_osid(as_client: httpx.AsyncClient, cookies: Dict[str, str], service: str) -> bool:
"""Checks the validity of given OSID."""
domain = get_domain_of_service(service)
wanted = ["authuser", "continue", "osidt", "ifkv"]
req = await as_client.get(f"https://accounts.google.com/ServiceLogin?service={service}&osid=1&continue=https://{domain}/&followup=https://{domain}/&authuser=0",
cookies=cookies, headers=gb.config.headers)
body = bs(req.text, 'html.parser')
params = [x.attrs["name"] for x in body.find_all("input", {"type":"hidden"})]
if not all([param in wanted for param in params]):
return False
return True
async def check_osids(as_client: httpx.AsyncClient, cookies: Dict[str, str], osids: Dict[str, str]) -> bool:
"""Checks the validity of given OSIDs."""
tasks = [check_osid(as_client, cookies, service) for service in osids]
results = await asyncio.gather(*tasks)
return all(results)
async def check_master_token(as_client: httpx.AsyncClient, master_token: str) -> str:
"""Checks the validity of the android master token."""
try:
await android_oauth_app(as_client, master_token, "com.google.android.play.games", ["https://www.googleapis.com/auth/games.firstparty"])
except GHuntAndroidAppOAuth2Error:
return False
return True
async def gen_cookies_and_osids(as_client: httpx.AsyncClient, ghunt_creds: GHuntCreds, osids: list[str]=[*services_baseurls.keys()]):
from ghunt.apis.accounts import Accounts
accounts_api = Accounts(ghunt_creds)
is_logged_in, uber_auth = await accounts_api.OAuthLogin(as_client)
if not is_logged_in:
raise GHuntLoginError("[-] Not logged in.")
params = {
"uberauth": uber_auth,
"continue": "https://www.google.com",
"source": "ChromiumAccountReconcilor",
"externalCcResult": "doubleclick:null,youtube:null"
}
req = await as_client.get("https://accounts.google.com/MergeSession", params=params)
cookies = dict(req.cookies)
ghunt_creds.cookies = cookies
osids = await gen_osids(as_client, cookies, osids)
ghunt_creds.osids = osids
async def check_and_gen(as_client: httpx.AsyncClient, ghunt_creds: GHuntCreds):
"""Checks the validity of the cookies and generate new ones if needed."""
if not await check_cookies(as_client, ghunt_creds.cookies):
await gen_cookies_and_osids(as_client, ghunt_creds)
if not await check_cookies(as_client, ghunt_creds.cookies):
raise GHuntLoginError("[-] Can't generate cookies after multiple retries. Exiting...")
ghunt_creds.save_creds(silent=True)
gb.rc.print("[+] Authenticated !\n", style="sea_green3")
def auth_dialog() -> Tuple[Dict[str, str], str] :
"""
Launch the dialog that asks the user
how he want to generate its credentials.
"""
choices = ("You can facilitate configuring GHunt by using the GHunt Companion extension on Firefox, Chrome, Edge and Opera here :\n"
"=> https://github.com/mxrch/ghunt_companion\n\n"
"[1] (Companion) Put GHunt on listening mode (currently not compatible with docker)\n"
"[2] (Companion) Paste base64-encoded authentication\n"
"[3] Enter the oauth_token (starts with \"oauth2_4/\")\n"
"[4] Enter the master token (starts with \"aas_et/\")\n"
"Choice => ")
oauth_token = ""
master_token = ""
choice = input(choices)
if choice in ["1", "2"]:
if choice == "1":
received_data = listener.run()
elif choice == "2":
received_data = input("Paste the encoded credentials here => ")
data = json.loads(base64.b64decode(received_data))
oauth_token = data["oauth_token"]
elif choice == "3":
oauth_token = input(f"OAuth token => ").strip('" ')
elif choice == "4":
master_token = input(f"Master token => ").strip('" ')
else:
print("Please choose a valid choice. Exiting...")
exit()
return oauth_token, master_token
async def load_and_auth(as_client: httpx.AsyncClient, help=True) -> GHuntCreds:
"""Returns an authenticated GHuntCreds object."""
creds = GHuntCreds()
try:
creds.load_creds()
except GHuntInvalidSession as e:
if help:
raise GHuntInvalidSession(f"Please generate a new session by doing => ghunt login") from e
else:
raise e
await check_and_gen(as_client, creds)
return creds
================================================
FILE: ghunt/helpers/banner.py
================================================
from ghunt import globals as gb
def show_banner():
banner = """
[red] .d8888b. [/][blue]888 888[/][red] 888
[/][red]d88P Y88b [/][blue]888 888[/][red] 888
[/][yellow]888 [/][red]888 [/][blue]888 888[/][red] 888
[/][yellow]888 [/][blue]8888888888[/][green] 888 888[/][yellow] 88888b. [/][red] 888888
[/][yellow]888 [/][blue]88888 [/][blue]888 888[/][green] 888 888[/][yellow] 888 "88b[/][red] 888
[/][yellow]888 [/][blue]888 [/][blue]888 888[/][green] 888 888[/][yellow] 888 888[/][red] 888
[/][green]Y88b d88P [/][blue]888 888[/][green] Y88b 888[/][yellow] 888 888[/][red] Y88b.
[/][green] "Y8888P88 [/][blue]888 888[/][green] "Y88888[/][yellow] 888 888[/][red] "Y888[/red] v2
[bold]By: mxrch (🐦 [deep_sky_blue1][link=https://x.com/mxrchreborn]@mxrchreborn[/link][/deep_sky_blue1])
[indian_red1]Support my work on GitHub Sponsors ! 💖[/indian_red1][/bold]
"""
gb.rc.print(banner)
================================================
FILE: ghunt/helpers/calendar.py
================================================
from xmlrpc.client import Boolean
from dateutil.relativedelta import relativedelta
from beautifultable import BeautifulTable
import httpx
from typing import *
from copy import deepcopy
from ghunt.parsers.calendar import Calendar, CalendarEvents
from ghunt.objects.base import GHuntCreds
from ghunt.objects.utils import TMPrinter
from ghunt.apis.calendar import CalendarHttp
async def fetch_all(ghunt_creds: GHuntCreds, as_client: httpx.AsyncClient, email_address: str) -> Tuple[Boolean, Calendar, CalendarEvents]:
calendar_api = CalendarHttp(ghunt_creds)
found, calendar = await calendar_api.get_calendar(as_client, email_address)
if not found:
return False, None, None
tmprinter = TMPrinter()
_, events = await calendar_api.get_events(as_client, email_address, params_template="max_from_beginning")
next_page_token = deepcopy(events.next_page_token)
while next_page_token:
tmprinter.out(f"[~] Dumped {len(events.items)} events...")
_, new_events = await calendar_api.get_events(as_client, email_address, params_template="max_from_beginning", page_token=next_page_token)
events.items += new_events.items
next_page_token = deepcopy(new_events.next_page_token)
tmprinter.clear()
return True, calendar, events
def out(calendar: Calendar, events: CalendarEvents, email_address: str, display_name="", limit=5):
"""
Output fetched calendar events.
if limit = 0, = all events are shown
"""
### Calendar
print(f"Calendar ID : {calendar.id}")
if calendar.summary != calendar.id:
print(f"[+] Calendar Summary : {calendar.summary}")
print(f"Calendar Timezone : {calendar.time_zone}\n")
### Events
target_events = events.items[-limit:]
if target_events:
print(f"[+] {len(events.items)} event{'s' if len(events.items) > 1 else ''} dumped ! Showing the last {len(target_events)} one{'s' if len(target_events) > 1 else ''}...\n")
table = BeautifulTable()
table.set_style(BeautifulTable.STYLE_GRID)
table.columns.header = ["Name", "Datetime (UTC)", "Duration"]
for event in target_events:
title = "/"
if event.summary:
title = event.summary
duration = "?"
if event.end.date_time and event.start.date_time:
duration = relativedelta(event.end.date_time, event.start.date_time)
if duration.days or duration.hours or duration.minutes:
duration = (f"{(str(duration.days) + ' day' + ('s' if duration.days > 1 else '')) if duration.days else ''} "
f"{(str(duration.hours) + ' hour' + ('s' if duration.hours > 1 else '')) if duration.hours else ''} "
f"{(str(duration.minutes) + ' minute' + ('s' if duration.minutes > 1 else '')) if duration.minutes else ''}").strip()
date = "?"
if event.start.date_time:
date = event.start.date_time.strftime("%Y/%m/%d %H:%M:%S")
table.rows.append([title, date, duration])
print(table)
print(f"\n🗃️ Download link :\n=> https://calendar.google.com/calendar/ical/{email_address}/public/basic.ics")
else:
print("[-] No events dumped.")
### Names
names = set()
for event in events.items:
if event.creator.email == email_address and (name := event.creator.display_name) and name != display_name:
names.add(name)
if names:
print("\n[+] Found other names used by the target :")
for name in names:
print(f"- {name}")
================================================
FILE: ghunt/helpers/drive.py
================================================
from typing import *
from ghunt.parsers.drive import DriveComment, DriveCommentList, DriveCommentReply, DriveFile
from ghunt.objects.base import DriveExtractedUser
from ghunt.helpers.utils import oprint # TEMP
def get_users_from_file(file: DriveFile) -> List[DriveExtractedUser]:
"""
Extracts the users from the permissions of a Drive file,
and the last modifying user.
"""
users: Dict[str, DriveExtractedUser] = {}
for perms in [file.permissions, file.permissions_summary.select_permissions]:
for perm in perms:
if not perm.email_address:
continue
#oprint(perm)
user = DriveExtractedUser()
user.email_address = perm.email_address
user.gaia_id = perm.user_id
user.name = perm.name
user.role = perm.role
users[perm.email_address] = user
# Last modifying user
target_user = file.last_modifying_user
if target_user.id:
email = target_user.email_address
if not email:
email = target_user.email_address_from_account
if not email:
return users
if email in users:
users[email].is_last_modifying_user = True
return list(users.values())
def get_comments_from_file(comments: DriveCommentList) -> List[Tuple[str, Dict[str, any]]]:
"""
Extracts the comments and replies of a Drive file.
"""
def update_stats(authors: List[Dict[str, Dict[str, any]]], comment: DriveComment|DriveCommentReply):
name = comment.author.display_name
pic_url = comment.author.picture.url
key = f"{name}${pic_url}" # Two users can have the same name, not the same picture URL (I hope so)
# So we do this to make users "unique"
if key not in authors:
authors[key] = {
"name": name,
"pic_url": pic_url,
"count": 0
}
authors[key]["count"] += 1
authors: Dict[str, Dict[str, any]] = {}
for comment in comments.items:
update_stats(authors, comment)
for reply in comment.replies:
update_stats(authors, reply)
return sorted(authors.items(), key=lambda k_v: k_v[1]['count'], reverse=True)
================================================
FILE: ghunt/helpers/gcp.py
================================================
import dns.message
import dns.asyncquery
import httpx
from ghunt.objects.base import GHuntCreds
from ghunt.apis.identitytoolkit import IdentityToolkitHttp
async def is_cloud_functions_panel_existing(project_id: str):
q = dns.message.make_query(f"endpoints.{project_id}.cloud.goog", "A")
r = await dns.asyncquery.tcp(q, "8.8.8.8")
return bool(r.answer)
async def project_nb_from_key(as_client: httpx.AsyncClient, ghunt_creds: GHuntCreds, api_key: str, fallback=True) -> str|None:
identitytoolkit_api = IdentityToolkitHttp(ghunt_creds)
found, project_config = await identitytoolkit_api.get_project_config(as_client, api_key)
if found:
return project_config.project_id
if fallback:
# Fallback on fetching the project number by producing an error
import json
import re
req = await as_client.get("https://blobcomments-pa.clients6.google.com/$discovery/rest", params={"key": api_key})
try:
data = json.loads(req.text)
return re.findall(r'\d{12}', data["error"]["message"])[0]
except Exception:
pass
return None
================================================
FILE: ghunt/helpers/gmail.py
================================================
import httpx
async def is_email_registered(as_client: httpx.AsyncClient, email: str) -> bool:
"""
Abuse the gxlu endpoint to check if any email address
is registered on Google. (not only gmail accounts)
"""
req = await as_client.get(f"https://mail.google.com/mail/gxlu", params={"email": email})
return "Set-Cookie" in req.headers
================================================
FILE: ghunt/helpers/gmaps.py
================================================
from dateutil.relativedelta import relativedelta
from datetime import datetime
import json
from geopy import distance
from geopy.geocoders import Nominatim
from typing import *
import httpx
from alive_progress import alive_bar
from ghunt import globals as gb
from ghunt.objects.base import *
from ghunt.helpers.utils import *
from ghunt.objects.utils import *
from ghunt.helpers.knowledge import get_gmaps_type_translation
def get_datetime(datepublished: str):
"""
Get an approximative date from the maps review date
Examples : 'last 2 days', 'an hour ago', '3 years ago'
"""
if datepublished.split()[0] in ["a", "an"]:
nb = 1
else:
if datepublished.startswith("last"):
nb = int(datepublished.split()[1])
else:
nb = int(datepublished.split()[0])
if "minute" in datepublished:
delta = relativedelta(minutes=nb)
elif "hour" in datepublished:
delta = relativedelta(hours=nb)
elif "day" in datepublished:
delta = relativedelta(days=nb)
elif "week" in datepublished:
delta = relativedelta(weeks=nb)
elif "month" in datepublished:
delta = relativedelta(months=nb)
elif "year" in datepublished:
delta = relativedelta(years=nb)
else:
delta = relativedelta()
return (datetime.today() - delta).replace(microsecond=0, second=0)
async def get_reviews(as_client: httpx.AsyncClient, gaia_id: str) -> Tuple[str, Dict[str, int]]:
"""Extracts the target's statistics, reviews and photos."""
stats = {}
print("Getting statistics")
req = await as_client.get(f"https://www.google.com/locationhistory/preview/mas?authuser=0&hl=en&gl=us&pb={gb.config.templates['gmaps_pb']['stats'].format(gaia_id)}")
if req.status_code == 302 and req.headers["Location"].startswith("https://www.google.com/sorry/index"):
return "failed", stats
data = json.loads(req.text[5:])
if not data[16][8]:
return "empty", stats
stats = {sec[6]:sec[7] for sec in data[16][8][0]}
total_reviews = stats["Reviews"] + stats["Ratings"] + stats["Photos"]
if not total_reviews:
return "empty", stats
# # with alive_bar(total_reviews, receipt=False) as bar:
# for category in ["reviews", "photos"]:
# first = True
# while True:
# if first:
# print(f"Getting {category} (first)")
# req = await as_client.get(f"https://www.google.com/locationhistory/preview/mas?authuser=0&hl=en&gl=us&pb={gb.config.templates['gmaps_pb'][category]['first'].format(gaia_id)}")
# first = False
# else:
# print(f"Getting {category} (next)")
# req = await as_client.get(f"https://www.google.com/locationhistory/preview/mas?authuser=0&hl=en&gl=us&pb={gb.config.templates['gmaps_pb'][category]['page'].format(gaia_id, next_page_token)}")
# data = json.loads(req.text[5:])
# new_reviews = []
# new_photos = []
# next_page_token = ""
# # Reviews
# if category == "reviews":
# if not data[45]:
# return "private", stats, [], []
# reviews_data = data[45][0]
# if not reviews_data:
# break
# for review_data in reviews_data:
# review = MapsReview()
# # from pprint import pprint; import pdb; pdb.set_trace()
# review.id = review_data[2][0]
# review.date = datetime.utcfromtimestamp(review_data[2][1][3] / 1000000)
# if len(review_data[2][2]) > 15 and review_data[2][2][15]:
# review.comment = review_data[2][2][15][0][0]
# review.rating = review_data[2][2][0][0]
# review.location.id = review_data[4][14][0]
# review.location.name = review_data[4][2]
# review.location.address = review_data[4][3]
# review.location.tags = review_data[4][4] if review_data[4][4] else []
# review.location.types = [x for x in review_data[4][8] if x]
# if review_data[4][0]:
# review.location.position.latitude = review_data[4][0][2]
# review.location.position.longitude = review_data[4][0][3]
# # if len(review_data[1]) > 31 and review_data[1][31]:
# # print(f"Cost level : {review_data[1][31]}")
# # review.location.cost_level = len(review_data[1][31])
# new_reviews.append(review)
# # bar()
# agg_reviews += new_reviews
# if not new_reviews or len(data[45]) < 2 or not data[45][1]:
# # from pprint import pprint; import pdb; pdb.set_trace()
# break
# next_page_token = data[45][1].strip("=")
# # Photos
# elif category == "photos" :
# if not data[22]:
# return "private", stats, [], []
# photos_data = data[22][1]
# if not photos_data:
# break
# for photo_data in photos_data:
# photos = MapsPhoto()
# photos.id = photo_data[0][10]
# photos.url = photo_data[0][6][0].split("=")[0]
# date = photo_data[0][21][6][8]
# photos.date = datetime(date[0], date[1], date[2], date[3]) # UTC
# # photos.approximative_date = get_datetime(date[8][0]) # UTC
# if len(photo_data) > 1:
# photos.location.id = photo_data[1][14][0]
# photos.location.name = photo_data[1][2]
# photos.location.address = photo_data[1][3]
# photos.location.tags = photo_data[1][4] if photo_data[1][4] else []
# photos.location.types = [x for x in photo_data[1][8] if x] if photo_data[1][8] else []
# if photo_data[1][0]:
# photos.location.position.latitude = photo_data[1][0][2]
# photos.location.position.longitude = photo_data[1][0][3]
# if len(photo_data[1]) > 31 and photo_data[1][31]:
# photos.location.cost_level = len(photo_data[1][31])
# new_photos.append(photos)
# # bar()
# agg_photos += new_photos
# if not new_photos or len(data[22]) < 4 or not data[22][3]:
# break
# next_page_token = data[22][3].strip("=")
return "", stats
def avg_location(locs: Tuple[float, float]):
"""
Calculates the average location
from a list of (latitude, longitude) tuples.
"""
latitude = []
longitude = []
for loc in locs:
latitude.append(loc[0])
longitude.append(loc[1])
latitude = sum(latitude) / len(latitude)
longitude = sum(longitude) / len(longitude)
return latitude, longitude
def translate_confidence(percents: int):
"""Translates the percents number to a more human-friendly text"""
if percents >= 100:
return "Extremely high"
elif percents >= 80:
return "Very high"
elif percents >= 60:
return "Little high"
elif percents >= 40:
return "Okay"
elif percents >= 20:
return "Low"
elif percents >= 10:
return "Very low"
else:
return "Extremely low"
def sanitize_location(location: Dict[str, str]):
"""Returns the nearest place from a Nomatim location response."""
not_country = False
not_town = False
town = "?"
country = "?"
if "city" in location:
town = location["city"]
elif "village" in location:
town = location["village"]
elif "town" in location:
town = location["town"]
elif "municipality" in location:
town = location["municipality"]
else:
not_town = True
if not "country" in location:
not_country = True
location["country"] = country
if not_country and not_town:
return False
location["town"] = town
return location
def calculate_probable_location(geolocator: Nominatim, reviews_and_photos: List[MapsReview|MapsPhoto], gmaps_radius: int):
"""Calculates the probable location from a list of reviews and the max radius."""
tmprinter = TMPrinter()
radius = gmaps_radius
locations = {}
tmprinter.out(f"Calculation of the distance of each review...")
for nb, review in enumerate(reviews_and_photos):
if not review.location.position.latitude or not review.location.position.longitude:
continue
if review.location.id not in locations:
locations[review.location.id] = {"dates": [], "locations": [], "range": None, "score": 0}
location = (review.location.position.latitude, review.location.position.longitude)
for review2 in reviews_and_photos:
location2 = (review2.location.position.latitude, review2.location.position.longitude)
dis = distance.distance(location, location2).km
if dis <= radius:
locations[review.location.id]["dates"].append(review2.date)
locations[review.location.id]["locations"].append(location2)
maxdate = max(locations[review.location.id]["dates"])
mindate = min(locations[review.location.id]["dates"])
locations[review.location.id]["range"] = maxdate - mindate
tmprinter.out(f"Calculation of the distance of each review ({nb}/{len(reviews_and_photos)})...")
tmprinter.clear()
locations = {k: v for k, v in
sorted(locations.items(), key=lambda k: len(k[1]["locations"]), reverse=True)} # We sort it
tmprinter.out("Identification of redundant areas...")
to_del = []
for id in locations:
if id in to_del:
continue
for id2 in locations:
if id2 in to_del or id == id2:
continue
if all([loc in locations[id]["locations"] for loc in locations[id2]["locations"]]):
to_del.append(id2)
for hash in to_del:
del locations[hash]
tmprinter.out("Calculating confidence...")
maxrange = max([locations[hash]["range"] for hash in locations])
maxlen = max([len(locations[hash]["locations"]) for hash in locations])
minreq = 3
mingroups = 3
score_steps = 4
for hash, loc in locations.items():
if len(loc["locations"]) == maxlen:
locations[hash]["score"] += score_steps * 4
if loc["range"] == maxrange:
locations[hash]["score"] += score_steps * 3
if len(locations) >= mingroups:
others = sum([len(locations[h]["locations"]) for h in locations if h != hash])
if len(loc["locations"]) > others:
locations[hash]["score"] += score_steps * 2
if len(loc["locations"]) >= minreq:
locations[hash]["score"] += score_steps
panels = sorted(set([loc["score"] for loc in locations.values()]), reverse=True)
maxscore = sum([p * score_steps for p in range(1, score_steps + 1)])
for panel in panels:
locs = [loc for loc in locations.values() if loc["score"] == panel]
if len(locs[0]["locations"]) == 1:
panel /= 2
if len(reviews_and_photos) < 4:
panel /= 2
confidence = translate_confidence(panel / maxscore * 100)
for nb, loc in enumerate(locs):
avg = avg_location(loc["locations"])
while True:
try:
location = geolocator.reverse(f"{avg[0]}, {avg[1]}", timeout=10).raw["address"]
break
except:
pass
location = sanitize_location(location)
locs[nb]["avg"] = location
del locs[nb]["locations"]
del locs[nb]["score"]
del locs[nb]["range"]
del locs[nb]["dates"]
tmprinter.clear()
return confidence, locs
def output(err: str, stats: Dict[str, int], gaia_id: str):
"""Pretty print the Maps results, and do some guesses."""
print(f"\nProfile page : https://www.google.com/maps/contrib/{gaia_id}/reviews")
if err == "failed":
print("\n[-] Your IP has been blocked by Google. Try again later.")
return
elif err == "empty":
print("\n[-] No reviews, ratings or photos found.")
return
print("\n[Statistics]")
for section, number in stats.items():
if number:
print(f"{section} : {number}")
if err == "private":
print("\n[-] Reviews are private.")
return
# I removed the costs calculation because of a Google update : https://github.com/mxrch/GHunt/issues/529
# costs_table = {
# 1: "Inexpensive",
# 2: "Moderately expensive",
# 3: "Expensive",
# 4: "Very expensive"
# }
# total_costs = 0
# costs_stats = {x:0 for x in range(1,5)}
# for review in reviews_and_photos:
# if review.location.cost_level:
# costs_stats[review.location.cost_level] += 1
# total_costs += 1
# costs_stats = dict(sorted(costs_stats.items(), key=lambda item: item[1], reverse=True)) # We sort the dict by cost popularity
# if total_costs:
# print("[Costs]")
# for cost, desc in costs_table.items():
# line = f"> {ppnb(round(costs_stats[cost]/total_costs*100, 1))}% {desc} ({costs_stats[cost]})"
# style = ""
# if not costs_stats[cost]:
# style = "bright_black"
# elif costs_stats[cost] == list(costs_stats.values())[0]:
# style = "spring_green1"
# gb.rc.print(line, style=style)
# avg_costs = round(sum([x*y for x,y in costs_stats.items()]) / total_costs)
# print(f"\n[+] Average costs : {costs_table[avg_costs]}")
# else:
# print("[-] No costs data.")
# types = {}
# for review in reviews_and_photos:
# for type in review.location.types:
# if type not in types:
# types[type] = 0
# types[type] += 1
# types = dict(sorted(types.items(), key=lambda item: item[1], reverse=True))
# types_and_tags = {}
# for review in reviews_and_photos:
# for type in review.location.types:
# if type not in types_and_tags:
# types_and_tags[type] = {}
# for tag in review.location.tags:
# if tag not in types_and_tags[type]:
# types_and_tags[type][tag] = 0
# types_and_tags[type][tag] += 1
# types_and_tags[type] = dict(sorted(types_and_tags[type].items(), key=lambda item: item[1], reverse=True))
# types_and_tags = dict(sorted(types_and_tags.items()))
# if types_and_tags:
# print("\nTarget's locations preferences :")
# unknown_trads = []
# for type, type_count in types.items():
# tags_counts = types_and_tags[type]
# translation = get_gmaps_type_translation(type)
# if not translation:
# unknown_trads.append(type)
# gb.rc.print(f"\n🏨 [underline]{translation if translation else type.title()} [{type_count}]", style="bold")
# nb = 0
# for tag, tag_count in list(tags_counts.items()):
# if nb >= 7:
# break
# elif tag.lower() == type:
# continue
# print(f"- {tag} ({tag_count})")
# nb += 1
# if unknown_trads:
# print(f"\n⚠️ The following gmaps types haven't been found in GHunt\'s knowledge.")
# for type in unknown_trads:
# print(f"- {type}")
# print("Please open an issue on the GHunt Github or submit a PR to add it !")
# geolocator = Nominatim(user_agent="nominatim")
# confidence, locations = calculate_probable_location(geolocator, reviews_and_photos, gb.config.gmaps_radius)
# print(f"\n[+] Probable location (confidence => {confidence}) :")
# loc_names = []
# for loc in locations:
# loc_names.append(
# f"- {loc['avg']['town']}, {loc['avg']['country']}"
# )
# loc_names = set(loc_names) # delete duplicates
# for loc in loc_names:
# print(loc)
================================================
FILE: ghunt/helpers/ia.py
================================================
import os
from ghunt import globals as gb
from ghunt.apis.vision import VisionHttp
import httpx
from base64 import b64encode
import asyncio
async def detect_face(vision_api: VisionHttp, as_client: httpx.AsyncClient, image_url: str) -> None:
req = await as_client.get(image_url)
encoded_image = b64encode(req.content).decode()
are_faces_found = False
faces_results = None
for retry in range(5):
rate_limited, are_faces_found, faces_results = await vision_api.detect_faces(as_client, image_content=encoded_image)
if not rate_limited:
break
await asyncio.sleep(0.5)
else:
print("\n[-] Vision API keeps rate-limiting.")
exit(os.EX_UNAVAILABLE)
if are_faces_found:
if len(faces_results.face_annotations) > 1:
gb.rc.print(f"🎭 {len(faces_results.face_annotations)} faces detected !", style="italic")
else:
gb.rc.print(f"🎭 [+] Face detected !", style="italic bold")
else:
gb.rc.print(f"🎭 No face detected.", style="italic bright_black")
return faces_results
================================================
FILE: ghunt/helpers/iam.py
================================================
import httpx
import asyncio
from ghunt.objects.base import GHuntCreds
from ghunt.apis.mobilesdk import MobileSDKPaHttp
from ghunt.knowledge import iam
from ghunt.helpers.utils import chunkify
from typing import *
async def test_all_permissions(as_client: httpx.AsyncClient, ghunt_creds: GHuntCreds, project_identifier: str):
async def test_permission(as_client: httpx.AsyncClient, mobilesdk_api: MobileSDKPaHttp, limiter: asyncio.Semaphore,
project_identifier: str, permissions: List[str], results: List[str]):
async with limiter:
_, perms = await mobilesdk_api.test_iam_permissions(as_client, project_identifier, permissions)
results.extend(perms)
mobilesdk_api = MobileSDKPaHttp(ghunt_creds)
results: List[str] = []
limiter = asyncio.Semaphore(20)
tasks = []
for perms_chunk in chunkify(iam.permissions, 100): # Max 100 permissions per request
tasks.append(test_permission(as_client, mobilesdk_api, limiter, project_identifier, perms_chunk, results))
await asyncio.gather(*tasks)
results = list(set(results))
print(results)
================================================
FILE: ghunt/helpers/knowledge.py
================================================
from ghunt.knowledge.services import services_baseurls
from ghunt.knowledge.keys import keys
from ghunt.knowledge.maps import types_translations
from ghunt.knowledge.people import user_types
from ghunt.knowledge.sig import sigs
from ghunt.errors import GHuntKnowledgeError
from typing import *
def get_domain_of_service(service: str) -> str:
if service not in services_baseurls:
raise GHuntKnowledgeError(f'The service "{service}" has not been found in GHunt\'s services knowledge.')
return services_baseurls.get(service)
def get_origin_of_key(key_name: str) -> str:
if key_name not in keys:
raise GHuntKnowledgeError(f'The key "{key_name}" has not been found in GHunt\'s API keys knowledge.')
return keys.get(key_name, {}).get("origin")
def get_api_key(key_name: str) -> str:
if key_name not in keys:
raise GHuntKnowledgeError(f'The key "{key_name}" has not been found in GHunt\'s API keys knowledge.')
return keys.get(key_name, {}).get("key")
def get_gmaps_type_translation(type_name: str) -> str:
if type_name not in types_translations:
raise GHuntKnowledgeError(f'The gmaps type "{type_name}" has not been found in GHunt\'s knowledge.\nPlease open an issue on the GHunt Github or submit a PR to add it !')
return types_translations.get(type_name)
def get_user_type_definition(type_name: str) -> str:
if type_name not in user_types:
raise GHuntKnowledgeError(f'The user type "{type_name}" has not been found in GHunt\'s knowledge.\nPlease open an issue on the GHunt Github or submit a PR to add it !')
return user_types.get(type_name)
def get_package_sig(package_name: str) -> str:
if package_name not in sigs:
raise GHuntKnowledgeError(f'The package name "{package_name}" has not been found in GHunt\'s SIGs knowledge.')
return sigs.get(package_name)
================================================
FILE: ghunt/helpers/listener.py
================================================
import os
from http.server import BaseHTTPRequestHandler, HTTPServer
from typing import *
from ghunt.objects.base import SmartObj
class DataBridge(SmartObj):
def __init__(self):
self.data = None
class Server(BaseHTTPRequestHandler):
def _set_response(self):
self.send_response(200)
self.send_header('Content-type', 'text/html')
self.send_header('Access-Control-Allow-Origin','*')
self.end_headers()
def do_GET(self):
if self.path == "/ghunt_ping":
self._set_response()
self.wfile.write(b"ghunt_pong")
def do_POST(self):
if self.path == "/ghunt_feed":
content_length = int(self.headers['Content-Length']) # <--- Gets the size of data
post_data = self.rfile.read(content_length) # <--- Gets the data itself
self.data_bridge.data = post_data.decode('utf-8')
self._set_response()
self.wfile.write(b"ghunt_received_ok")
def log_message(self, format, *args):
return
def run(server_class=HTTPServer, handler_class=Server, port=60067):
server_address = ('127.0.0.1', port)
handler_class.data_bridge = DataBridge()
server = server_class(server_address, handler_class)
try:
print(f"GHunt is listening on port {port}...")
while True:
server.handle_request()
if handler_class.data_bridge.data:
break
except KeyboardInterrupt:
print("[-] Exiting...")
exit(os.CLD_KILLED)
else:
if handler_class.data_bridge.data:
print("[+] Received cookies !")
return handler_class.data_bridge.data
================================================
FILE: ghunt/helpers/playgames.py
================================================
from ghunt.objects.base import GHuntCreds
from ghunt.apis.playgames import PlayGames
from ghunt.apis.playgateway import PlayGatewayPaGrpc
from ghunt.parsers.playgames import Player, PlayerProfile
from ghunt.parsers.playgateway import PlayerSearchResult
from ghunt.objects.utils import TMPrinter
import httpx
from alive_progress import alive_bar
from typing import *
async def get_player(ghunt_creds: GHuntCreds, as_client: httpx.AsyncClient, player_id: str):
playgames = PlayGames(ghunt_creds)
tmprinter = TMPrinter()
tmprinter.out("[~] Getting player profile...")
is_found, player_profile = await playgames.get_profile(as_client, player_id)
tmprinter.clear()
if not is_found or not player_profile.profile_settings.profile_visible:
return is_found, Player()
playgateway_pa = PlayGatewayPaGrpc(ghunt_creds)
player_stats = await playgateway_pa.get_player_stats(as_client, player_id)
with alive_bar(player_stats.played_games_count, title="🚎 Fetching played games...", receipt=False) as bar:
_, next_page_token, played_games = await playgames.get_played_games(as_client, player_id)
bar(len(played_games.games))
while next_page_token:
_, next_page_token, new_played_games = await playgames.get_played_games(as_client, player_id, next_page_token)
played_games.games += new_played_games.games
bar(len(new_played_games.games))
with alive_bar(player_stats.achievements_count, title="🚎 Fetching achievements...", receipt=False) as bar:
_, next_page_token, achievements = await playgames.get_achievements(as_client, player_id)
bar(len(achievements.achievements))
while next_page_token:
_, next_page_token, new_achievements = await playgames.get_achievements(as_client, player_id, next_page_token)
achievements.achievements += new_achievements.achievements
bar(len(new_achievements.achievements))
player = Player(player_profile, played_games.games, achievements.achievements)
return is_found, player
async def search_player(ghunt_creds: GHuntCreds, as_client: httpx.AsyncClient, query: str) -> List[PlayerSearchResult]:
playgateway_pa = PlayGatewayPaGrpc(ghunt_creds)
player_search_results = await playgateway_pa.search_player(as_client, query)
return player_search_results.results
def output(player: Player):
if not player.profile.profile_settings.profile_visible:
print("\n[-] Profile is private.")
return
print("\n[+] Profile is public !")
print(f"\n[+] Played to {len(player.played_games)} games")
print(f"[+] Got {len(player.achievements)} achievements")
if player.played_games:
print(f"\n[+] Last played game : {player.profile.last_played_app.app_name} ({player.profile.last_played_app.timestamp_millis} UTC)")
if player.achievements:
app_ids_count = {}
for achievement in player.achievements:
if (app_id := achievement.app_id) not in app_ids_count:
app_ids_count[app_id] = 0
app_ids_count[app_id] += 1
app_ids_count = dict(sorted(app_ids_count.items(), key=lambda item: item[1], reverse=True))
achiv_nb = list(app_ids_count.values())[0]
target_game = None
for game in player.played_games:
if game.game_data.id == list(app_ids_count.keys())[0]:
target_game = game
break
print(f"[+] Game with the most achievements : {target_game.game_data.name} ({achiv_nb})")
================================================
FILE: ghunt/helpers/playstore.py
================================================
import httpx
async def app_exists(as_client: httpx.AsyncClient, package: str) -> bool:
params = {
"id": package
}
req = await as_client.head(f"https://play.google.com/store/apps/details", params=params)
return req.status_code == 200
================================================
FILE: ghunt/helpers/utils.py
================================================
from pathlib import Path
from PIL import Image
import hashlib
from typing import *
from time import time
from datetime import datetime, timezone
from dateutil.parser import isoparse
from copy import deepcopy
import jsonpickle
import json
from packaging.version import parse as parse_version
import httpx
import imagehash
from io import BytesIO
from ghunt import globals as gb
from ghunt import version as current_version
from ghunt.lib.httpx import AsyncClient
def get_httpx_client() -> httpx.AsyncClient:
"""
Returns a customized to better support the needs of GHunt CLI users.
"""
return AsyncClient(http2=True, timeout=15)
# return AsyncClient(http2=True, timeout=15, proxies="http://127.0.0.1:8282", verify=False)
def oprint(obj: any) -> str:
serialized = jsonpickle.encode(obj)
pretty_output = json.dumps(json.loads(serialized), indent=2)
print(pretty_output)
def chunkify(lst, n):
"""
Cut a given list to chunks of n items.
"""
k, m = divmod(len(lst), n)
for i in range(n):
yield lst[i*k+min(i, m):(i+1)*k+min(i+1, m)]
def within_docker() -> bool:
return Path('/.dockerenv').is_file()
def gen_sapisidhash(sapisid: str, origin: str, timestamp: str = str(int(time()))) -> str:
return f"{timestamp}_{hashlib.sha1(' '.join([timestamp, sapisid, origin]).encode()).hexdigest()}"
def inject_osid(cookies: Dict[str, str], osids: Dict[str, str], service: str) -> Dict[str, str]:
cookies_with_osid = deepcopy(cookies)
cookies_with_osid["OSID"] = osids[service]
return cookies_with_osid
def is_headers_syntax_good(headers: Dict[str, str]) -> bool:
try:
httpx.Headers(headers)
return True
except:
return False
async def get_url_image_flathash(as_client: httpx.AsyncClient, image_url: str) -> str:
req = await as_client.get(image_url)
img = Image.open(BytesIO(req.content))
flathash = imagehash.average_hash(img)
return str(flathash)
async def is_default_profile_pic(as_client: httpx.AsyncClient, image_url: str) -> Tuple[bool, str]:
"""
Returns a boolean which indicates if the image_url
is a default profile picture, and the flathash of
the image.
"""
flathash = await get_url_image_flathash(as_client, image_url)
if imagehash.hex_to_flathash(flathash, 8) - imagehash.hex_to_flathash("000018183c3c0000", 8) < 10 :
return True, str(flathash)
return False, str(flathash)
def get_class_name(obj) -> str:
return str(obj).strip("<>").split(" ")[0]
def get_datetime_utc(date_str):
"""Converts ISO to datetime object in UTC"""
date = isoparse(date_str)
margin = date.utcoffset()
return date.replace(tzinfo=timezone.utc) - margin
def ppnb(nb: float|int) -> float:
"""
Pretty print float number
Ex: 3.9 -> 3.9
4.0 -> 4
4.1 -> 4.1
"""
try:
return int(nb) if nb % int(nb) == 0.0 else nb
except ZeroDivisionError:
if nb == 0.0:
return 0
else:
return nb
def parse_oauth_flow_response(body: str):
"""
Correctly format the response sent by android.googleapis.com
during the Android OAuth2 Login Flow.
"""
return {sp[0]:'='.join(sp[1:]) for x in body.split("\n") if (sp := x.split("="))}
def humanize_list(array: List[any]):
"""
Transforms a list to a human sentence.
Ex : ["reader", "writer", "owner"] -> "reader, writer and owner".
"""
if len(array) <= 1:
return ''.join(array)
final = ""
for nb, item in enumerate(array):
if nb == 0:
final += f"{item}"
elif nb+1 < len(array):
final += f", {item}"
else:
final += f" and {item}"
return final
def unicode_patch(txt: str):
bad_chars = {
"é": "e",
"è": "e",
"ç": "c",
"à": "a"
}
return txt.replace(''.join([*bad_chars.keys()]), ''.join([*bad_chars.values()]))
def show_version():
new_version, new_metadata = check_new_version()
print()
gb.rc.print(f"> GHunt {current_version.metadata.get('version', '')} ({current_version.metadata.get('name', '')}) <".center(53), style="bold")
print()
if new_version:
gb.rc.print(f"🥳 New version {new_metadata.get('version', '')} ({new_metadata.get('name', '')}) is available !", style="bold red")
gb.rc.print(f"🤗 Run 'pipx upgrade ghunt' to update.", style="bold light_pink3")
else:
gb.rc.print("🎉 You are up to date !", style="light_pink3")
def check_new_version() -> tuple[bool, dict[str, str]]:
"""
Checks if there is a new version of GHunt available.
"""
req = httpx.get("https://raw.githubusercontent.com/mxrch/GHunt/master/ghunt/version.py")
if req.status_code != 200:
return False, {}
raw = req.text.strip().removeprefix("metadata = ")
data = json.loads(raw)
new_version = data.get("version", "")
new_name = data.get("name", "")
if parse_version(new_version) > parse_version(current_version.metadata.get("version", "")):
return True, {"version": new_version, "name": new_name}
return False, {}
================================================
FILE: ghunt/knowledge/__init__.py
================================================
================================================
FILE: ghunt/knowledge/drive.py
================================================
default_file_capabilities = [
'can_block_owner',
'can_copy',
'can_download',
'can_print',
'can_read',
'can_remove_my_drive_parent'
]
default_folder_capabilities = [
'can_block_owner',
'can_download',
'can_list_children',
'can_print',
'can_read',
'can_remove_my_drive_parent'
]
request_fields = [
'copyRequiresWriterPermission',
'sourceAppId',
'authorizedAppIds',
'linkShareMetadata',
'teamDriveId',
'primaryDomainName',
'approvalMetadata',
'md5Checksum',
'resourceKey',
'quotaBytesUsed',
'hasChildFolders',
'fullFileExtension',
'isAppAuthorized',
'iconLink',
'trashingUser',
'title',
'recency',
'detectors',
'exportLinks',
'modifiedDate',
'copyable',
'description',
'mimeType',
'passivelySubscribed',
'videoMediaMetadata',
'headRevisionId',
'customerId',
'fileExtension',
'originalFilename',
'parents',
'imageMediaMetadata',
'recencyReason',
'folderColorRgb',
'createdDate',
'labels',
'abuseNoticeReason',
'webViewLink',
'driveId',
'ownedByMe',
'flaggedForAbuse',
'lastModifyingUser',
'thumbnailLink',
'capabilities',
'sharedWithMeDate',
'primarySyncParentId',
'sharingUser',
'version',
'permissionsSummary',
'actionItems',
'labelInfo',
'explicitlyTrashed',
'shared',
'subscribed',
'ancestorHasAugmentedPermissions',
'writersCanShare',
'permissions',
'alternateLink',
'hasLegacyBlobComments',
'id',
'userPermission',
'hasThumbnail',
'lastViewedByMeDate',
'fileSize',
'kind',
'thumbnailVersion',
'spaces',
'organizationDisplayName',
'abuseIsAppealable',
'trashedDate',
'folderFeatures',
'webContentLink',
'contentRestrictions',
'shortcutDetails',
'folderColor',
'hasAugmentedPermissions'
]
mime_types = {
"application/vnd.google-apps.audio": "Audio 🎧",
"application/vnd.google-apps.document": "Google Docs 📝",
"application/vnd.google-apps.drive-sdk": "3rd party shortcut ↪️",
"application/vnd.google-apps.drawing": "Google Drawing ✏️",
"application/vnd.google-apps.file": "Google Drive file 📄",
"application/vnd.google-apps.folder": "Google Drive folder 🗂️",
"application/vnd.google-apps.form": "Google Forms 👨🏫",
"application/vnd.google-apps.fusiontable": "Google Fusion Tables 🌶️",
"application/vnd.google-apps.jam": "Google Jamboard 🖍️",
"application/vnd.google-apps.map": "Google My Maps 📍",
"application/vnd.google-apps.photo": "Photo 📷",
"application/vnd.google-apps.presentation": "Google Slides ❇️",
"application/vnd.google-apps.script": "Google Apps Scripts 📜",
"application/vnd.google-apps.shortcut": "Shortcut ↩️",
"application/vnd.google-apps.site": "Google Sites 🌐",
"application/vnd.google-apps.spreadsheet": "Google Sheets 📟",
"application/vnd.google-apps.unknown": "Unknown ❔",
"application/vnd.google-apps.video": "Video 📼",
"application/pdf": "PDF Document 📕",
"application/msword": "Microsoft Word document 📝",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "OpenXML Word document 📝",
"application/vnd.ms-powerpoint.presentation.macroEnabled.12": "Microsoft Powerpoint with macros ❇️",
"application/vnd.ms-excel": "Microsoft Excel spreadsheet 📟",
"image/jpeg": "JPEG Image 🖼️",
"audio/mpeg": "MPEG Audio 🎧",
"video/mpeg": "MPEG Video 📼",
"application/zip": "ZIP Archive 🗃️",
"text/plain": "Plain Text 📃",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "OpenXML Spreadsheet document ❇️",
"application/vnd.android.package-archive": "Android Package 📱",
"application/vnd.google-apps.kix": "Google Apps 🈸"
}
================================================
FILE: ghunt/knowledge/iam.py
================================================
permissions = [
"accessapproval.requests.approve",
"accessapproval.requests.dismiss",
"accessapproval.requests.get",
"accessapproval.requests.invalidate",
"accessapproval.requests.list",
"accessapproval.serviceAccounts.get",
"accessapproval.settings.delete",
"accessapproval.settings.get",
"accessapproval.settings.update",
"actions.agent.claimContentProvider",
"actions.agent.get",
"actions.agent.update",
"actions.agentVersions.create",
"actions.agentVersions.delete",
"actions.agentVersions.deploy",
"actions.agentVersions.get",
"actions.agentVersions.list",
"aiplatform.annotationSpecs.create",
"aiplatform.annotationSpecs.delete",
"aiplatform.annotationSpecs.get",
"aiplatform.annotationSpecs.list",
"aiplatform.annotationSpecs.update",
"aiplatform.annotations.create",
"aiplatform.annotations.delete",
"aiplatform.annotations.get",
"aiplatform.annotations.list",
"aiplatform.annotations.update",
"aiplatform.artifacts.create",
"aiplatform.artifacts.delete",
"aiplatform.artifacts.get",
"aiplatform.artifacts.list",
"aiplatform.artifacts.update",
"aiplatform.batchPredictionJobs.cancel",
"aiplatform.batchPredictionJobs.create",
"aiplatform.batchPredictionJobs.delete",
"aiplatform.batchPredictionJobs.get",
"aiplatform.batchPredictionJobs.list",
"aiplatform.contexts.addContextArtifactsAndExecutions",
"aiplatform.contexts.addContextChildren",
"aiplatform.contexts.create",
"aiplatform.contexts.delete",
"aiplatform.contexts.get",
"aiplatform.contexts.list",
"aiplatform.contexts.queryContextLineageSubgraph",
"aiplatform.contexts.update",
"aiplatform.customJobs.cancel",
"aiplatform.customJobs.create",
"aiplatform.customJobs.delete",
"aiplatform.customJobs.get",
"aiplatform.customJobs.list",
"aiplatform.dataItems.create",
"aiplatform.dataItems.delete",
"aiplatform.dataItems.get",
"aiplatform.dataItems.list",
"aiplatform.dataItems.update",
"aiplatform.dataLabelingJobs.cancel",
"aiplatform.dataLabelingJobs.create",
"aiplatform.dataLabelingJobs.delete",
"aiplatform.dataLabelingJobs.get",
"aiplatform.dataLabelingJobs.list",
"aiplatform.datasets.create",
"aiplatform.datasets.delete",
"aiplatform.datasets.export",
"aiplatform.datasets.get",
"aiplatform.datasets.import",
"aiplatform.datasets.list",
"aiplatform.datasets.update",
"aiplatform.deploymentResourcePools.create",
"aiplatform.deploymentResourcePools.delete",
"aiplatform.deploymentResourcePools.get",
"aiplatform.deploymentResourcePools.list",
"aiplatform.deploymentResourcePools.queryDeployedModels",
"aiplatform.deploymentResourcePools.update",
"aiplatform.edgeDeploymentJobs.create",
"aiplatform.edgeDeploymentJobs.delete",
"aiplatform.edgeDeploymentJobs.get",
"aiplatform.edgeDeploymentJobs.list",
"aiplatform.edgeDeviceDebugInfo.get",
"aiplatform.edgeDevices.create",
"aiplatform.edgeDevices.delete",
"aiplatform.edgeDevices.get",
"aiplatform.edgeDevices.list",
"aiplatform.edgeDevices.update",
"aiplatform.endpoints.create",
"aiplatform.endpoints.delete",
"aiplatform.endpoints.deploy",
"aiplatform.endpoints.explain",
"aiplatform.endpoints.get",
"aiplatform.endpoints.list",
"aiplatform.endpoints.predict",
"aiplatform.endpoints.undeploy",
"aiplatform.endpoints.update",
"aiplatform.entityTypes.create",
"aiplatform.entityTypes.delete",
"aiplatform.entityTypes.deleteFeatureValues",
"aiplatform.entityTypes.exportFeatureValues",
"aiplatform.entityTypes.get",
"aiplatform.entityTypes.getIamPolicy",
"aiplatform.entityTypes.importFeatureValues",
"aiplatform.entityTypes.list",
"aiplatform.entityTypes.readFeatureValues",
"aiplatform.entityTypes.setIamPolicy",
"aiplatform.entityTypes.streamingReadFeatureValues",
"aiplatform.entityTypes.update",
"aiplatform.entityTypes.writeFeatureValues",
"aiplatform.executions.addExecutionEvents",
"aiplatform.executions.create",
"aiplatform.executions.delete",
"aiplatform.executions.get",
"aiplatform.executions.list",
"aiplatform.executions.queryExecutionInputsAndOutputs",
"aiplatform.executions.update",
"aiplatform.features.create",
"aiplatform.features.delete",
"aiplatform.features.get",
"aiplatform.features.list",
"aiplatform.features.update",
"aiplatform.featurestores.batchReadFeatureValues",
"aiplatform.featurestores.create",
"aiplatform.featurestores.delete",
"aiplatform.featurestores.exportFeatures",
"aiplatform.featurestores.get",
"aiplatform.featurestores.getIamPolicy",
"aiplatform.featurestores.importFeatures",
"aiplatform.featurestores.list",
"aiplatform.featurestores.readFeatures",
"aiplatform.featurestores.setIamPolicy",
"aiplatform.featurestores.update",
"aiplatform.featurestores.writeFeatures",
"aiplatform.humanInTheLoops.create",
"aiplatform.humanInTheLoops.delete",
"aiplatform.humanInTheLoops.get",
"aiplatform.humanInTheLoops.list",
"aiplatform.humanInTheLoops.queryAnnotationStats",
"aiplatform.humanInTheLoops.send",
"aiplatform.humanInTheLoops.update",
"aiplatform.hyperparameterTuningJobs.cancel",
"aiplatform.hyperparameterTuningJobs.create",
"aiplatform.hyperparameterTuningJobs.delete",
"aiplatform.hyperparameterTuningJobs.get",
"aiplatform.hyperparameterTuningJobs.list",
"aiplatform.indexEndpoints.create",
"aiplatform.indexEndpoints.delete",
"aiplatform.indexEndpoints.deploy",
"aiplatform.indexEndpoints.get",
"aiplatform.indexEndpoints.list",
"aiplatform.indexEndpoints.undeploy",
"aiplatform.indexEndpoints.update",
"aiplatform.indexes.create",
"aiplatform.indexes.delete",
"aiplatform.indexes.get",
"aiplatform.indexes.list",
"aiplatform.indexes.update",
"aiplatform.locations.get",
"aiplatform.locations.list",
"aiplatform.metadataSchemas.create",
"aiplatform.metadataSchemas.delete",
"aiplatform.metadataSchemas.get",
"aiplatform.metadataSchemas.list",
"aiplatform.metadataStores.create",
"aiplatform.metadataStores.delete",
"aiplatform.metadataStores.get",
"aiplatform.metadataStores.list",
"aiplatform.migratableResources.migrate",
"aiplatform.migratableResources.search",
"aiplatform.modelDeploymentMonitoringJobs.create",
"aiplatform.modelDeploymentMonitoringJobs.delete",
"aiplatform.modelDeploymentMonitoringJobs.get",
"aiplatform.modelDeploymentMonitoringJobs.list",
"aiplatform.modelDeploymentMonitoringJobs.pause",
"aiplatform.modelDeploymentMonitoringJobs.resume",
"aiplatform.modelDeploymentMonitoringJobs.searchStatsAnomalies",
"aiplatform.modelDeploymentMonitoringJobs.update",
"aiplatform.modelEvaluationSlices.get",
"aiplatform.modelEvaluationSlices.list",
"aiplatform.modelEvaluations.exportEvaluatedDataItems",
"aiplatform.modelEvaluations.get",
"aiplatform.modelEvaluations.list",
"aiplatform.models.delete",
"aiplatform.models.export",
"aiplatform.models.get",
"aiplatform.models.list",
"aiplatform.models.update",
"aiplatform.models.upload",
"aiplatform.nasJobs.cancel",
"aiplatform.nasJobs.create",
"aiplatform.nasJobs.delete",
"aiplatform.nasJobs.get",
"aiplatform.nasJobs.list",
"aiplatform.nasTrialDetails.get",
"aiplatform.nasTrialDetails.list",
"aiplatform.operations.list",
"aiplatform.pipelineJobs.cancel",
"aiplatform.pipelineJobs.create",
"aiplatform.pipelineJobs.delete",
"aiplatform.pipelineJobs.get",
"aiplatform.pipelineJobs.list",
"aiplatform.specialistPools.create",
"aiplatform.specialistPools.delete",
"aiplatform.specialistPools.get",
"aiplatform.specialistPools.list",
"aiplatform.specialistPools.update",
"aiplatform.studies.create",
"aiplatform.studies.delete",
"aiplatform.studies.get",
"aiplatform.studies.list",
"aiplatform.studies.update",
"aiplatform.tensorboardExperiments.create",
"aiplatform.tensorboardExperiments.delete",
"aiplatform.tensorboardExperiments.get",
"aiplatform.tensorboardExperiments.list",
"aiplatform.tensorboardExperiments.update",
"aiplatform.tensorboardExperiments.write",
"aiplatform.tensorboardRuns.batchCreate",
"aiplatform.tensorboardRuns.create",
"aiplatform.tensorboardRuns.delete",
"aiplatform.tensorboardRuns.get",
"aiplatform.tensorboardRuns.list",
"aiplatform.tensorboardRuns.update",
"aiplatform.tensorboardRuns.write",
"aiplatform.tensorboardTimeSeries.batchCreate",
"aiplatform.tensorboardTimeSeries.batchRead",
"aiplatform.tensorboardTimeSeries.create",
"aiplatform.tensorboardTimeSeries.delete",
"aiplatform.tensorboardTimeSeries.get",
"aiplatform.tensorboardTimeSeries.list",
"aiplatform.tensorboardTimeSeries.read",
"aiplatform.tensorboardTimeSeries.update",
"aiplatform.tensorboards.create",
"aiplatform.tensorboards.delete",
"aiplatform.tensorboards.get",
"aiplatform.tensorboards.list",
"aiplatform.tensorboards.recordAccess",
"aiplatform.tensorboards.update",
"aiplatform.trainingPipelines.cancel",
"aiplatform.trainingPipelines.create",
"aiplatform.trainingPipelines.delete",
"aiplatform.trainingPipelines.get",
"aiplatform.trainingPipelines.list",
"aiplatform.trials.create",
"aiplatform.trials.delete",
"aiplatform.trials.get",
"aiplatform.trials.list",
"aiplatform.trials.update",
"alloydb.backups.create",
"alloydb.backups.delete",
"alloydb.backups.get",
"alloydb.backups.list",
"alloydb.backups.update",
"alloydb.clusters.create",
"alloydb.clusters.delete",
"alloydb.clusters.generateClientCertificate",
"alloydb.clusters.get",
"alloydb.clusters.list",
"alloydb.clusters.update",
"alloydb.instances.connect",
"alloydb.instances.create",
"alloydb.instances.delete",
"alloydb.instances.failover",
"alloydb.instances.get",
"alloydb.instances.list",
"alloydb.instances.restart",
"alloydb.instances.update",
"alloydb.locations.get",
"alloydb.locations.list",
"alloydb.operations.cancel",
"alloydb.operations.delete",
"alloydb.operations.get",
"alloydb.operations.list",
"alloydb.supportedDatabaseFlags.get",
"alloydb.supportedDatabaseFlags.list",
"analyticshub.dataExchanges.create",
"analyticshub.dataExchanges.delete",
"analyticshub.dataExchanges.get",
"analyticshub.dataExchanges.getIamPolicy",
"analyticshub.dataExchanges.list",
"analyticshub.dataExchanges.setIamPolicy",
"analyticshub.dataExchanges.update",
"analyticshub.listings.create",
"analyticshub.listings.delete",
"analyticshub.listings.get",
"analyticshub.listings.getIamPolicy",
"analyticshub.listings.list",
"analyticshub.listings.setIamPolicy",
"analyticshub.listings.subscribe",
"analyticshub.listings.update",
"androidmanagement.enterprises.manage",
"apigateway.apiconfigs.create",
"apigateway.apiconfigs.delete",
"apigateway.apiconfigs.get",
"apigateway.apiconfigs.getIamPolicy",
"apigateway.apiconfigs.list",
"apigateway.apiconfigs.setIamPolicy",
"apigateway.apiconfigs.update",
"apigateway.apis.create",
"apigateway.apis.delete",
"apigateway.apis.get",
"apigateway.apis.getIamPolicy",
"apigateway.apis.list",
"apigateway.apis.setIamPolicy",
"apigateway.apis.update",
"apigateway.gateways.create",
"apigateway.gateways.delete",
"apigateway.gateways.get",
"apigateway.gateways.getIamPolicy",
"apigateway.gateways.list",
"apigateway.gateways.setIamPolicy",
"apigateway.gateways.update",
"apigateway.locations.get",
"apigateway.locations.list",
"apigateway.operations.cancel",
"apigateway.operations.delete",
"apigateway.operations.get",
"apigateway.operations.list",
"apigee.apiproductattributes.createOrUpdateAll",
"apigee.apiproductattributes.delete",
"apigee.apiproductattributes.get",
"apigee.apiproductattributes.list",
"apigee.apiproductattributes.update",
"apigee.apiproducts.create",
"apigee.apiproducts.delete",
"apigee.apiproducts.get",
"apigee.apiproducts.list",
"apigee.apiproducts.update",
"apigee.appkeys.create",
"apigee.appkeys.delete",
"apigee.appkeys.get",
"apigee.appkeys.manage",
"apigee.apps.get",
"apigee.apps.list",
"apigee.archivedeployments.create",
"apigee.archivedeployments.delete",
"apigee.archivedeployments.download",
"apigee.archivedeployments.get",
"apigee.archivedeployments.list",
"apigee.archivedeployments.update",
"apigee.archivedeployments.upload",
"apigee.caches.delete",
"apigee.caches.list",
"apigee.canaryevaluations.create",
"apigee.canaryevaluations.get",
"apigee.datacollectors.create",
"apigee.datacollectors.delete",
"apigee.datacollectors.get",
"apigee.datacollectors.list",
"apigee.datacollectors.update",
"apigee.datalocation.get",
"apigee.datastores.create",
"apigee.datastores.delete",
"apigee.datastores.get",
"apigee.datastores.list",
"apigee.datastores.update",
"apigee.deployments.create",
"apigee.deployments.delete",
"apigee.deployments.get",
"apigee.deployments.list",
"apigee.deployments.update",
"apigee.developerappattributes.createOrUpdateAll",
"apigee.developerappattributes.delete",
"apigee.developerappattributes.get",
"apigee.developerappattributes.list",
"apigee.developerappattributes.update",
"apigee.developerapps.create",
"apigee.developerapps.delete",
"apigee.developerapps.get",
"apigee.developerapps.list",
"apigee.developerapps.manage",
"apigee.developerattributes.createOrUpdateAll",
"apigee.developerattributes.delete",
"apigee.developerattributes.get",
"apigee.developerattributes.list",
"apigee.developerattributes.update",
"apigee.developerbalances.adjust",
"apigee.developerbalances.get",
"apigee.developerbalances.update",
"apigee.developermonetizationconfigs.get",
"apigee.developermonetizationconfigs.update",
"apigee.developers.create",
"apigee.developers.delete",
"apigee.developers.get",
"apigee.developers.list",
"apigee.developers.update",
"apigee.developersubscriptions.create",
"apigee.developersubscriptions.get",
"apigee.developersubscriptions.list",
"apigee.developersubscriptions.update",
"apigee.endpointattachments.create",
"apigee.endpointattachments.delete",
"apigee.endpointattachments.get",
"apigee.endpointattachments.list",
"apigee.envgroupattachments.create",
"apigee.envgroupattachments.delete",
"apigee.envgroupattachments.get",
"apigee.envgroupattachments.list",
"apigee.envgroups.create",
"apigee.envgroups.delete",
"apigee.envgroups.get",
"apigee.envgroups.list",
"apigee.envgroups.update",
"apigee.environments.create",
"apigee.environments.delete",
"apigee.environments.get",
"apigee.environments.getDataLocation",
"apigee.environments.getIamPolicy",
"apigee.environments.getStats",
"apigee.environments.list",
"apigee.environments.manageRuntime",
"apigee.environments.setIamPolicy",
"apigee.environments.update",
"apigee.exports.create",
"apigee.exports.get",
"apigee.exports.list",
"apigee.flowhooks.attachSharedFlow",
"apigee.flowhooks.detachSharedFlow",
"apigee.flowhooks.getSharedFlow",
"apigee.flowhooks.list",
"apigee.hostqueries.create",
"apigee.hostqueries.get",
"apigee.hostqueries.list",
"apigee.hostsecurityreports.create",
"apigee.hostsecurityreports.get",
"apigee.hostsecurityreports.list",
"apigee.hoststats.get",
"apigee.ingressconfigs.get",
"apigee.instanceattachments.create",
"apigee.instanceattachments.delete",
"apigee.instanceattachments.get",
"apigee.instanceattachments.list",
"apigee.instances.create",
"apigee.instances.delete",
"apigee.instances.get",
"apigee.instances.list",
"apigee.instances.reportStatus",
"apigee.instances.update",
"apigee.keystorealiases.create",
"apigee.keystorealiases.delete",
"apigee.keystorealiases.exportCertificate",
"apigee.keystorealiases.generateCSR",
"apigee.keystorealiases.get",
"apigee.keystorealiases.list",
"apigee.keystorealiases.update",
"apigee.keystores.create",
"apigee.keystores.delete",
"apigee.keystores.export",
"apigee.keystores.get",
"apigee.keystores.list",
"apigee.keyvaluemapentries.create",
"apigee.keyvaluemapentries.delete",
"apigee.keyvaluemapentries.get",
"apigee.keyvaluemapentries.list",
"apigee.keyvaluemaps.create",
"apigee.keyvaluemaps.delete",
"apigee.keyvaluemaps.list",
"apigee.maskconfigs.get",
"apigee.maskconfigs.update",
"apigee.operations.get",
"apigee.operations.list",
"apigee.organizations.create",
"apigee.organizations.delete",
"apigee.organizations.get",
"apigee.organizations.list",
"apigee.organizations.update",
"apigee.portals.create",
"apigee.portals.delete",
"apigee.portals.get",
"apigee.portals.list",
"apigee.portals.update",
"apigee.projects.migrate",
"apigee.projects.previewMigration",
"apigee.projects.update",
"apigee.proxies.create",
"apigee.proxies.delete",
"apigee.proxies.get",
"apigee.proxies.list",
"apigee.proxies.update",
"apigee.proxyrevisions.delete",
"apigee.proxyrevisions.deploy",
"apigee.proxyrevisions.get",
"apigee.proxyrevisions.list",
"apigee.proxyrevisions.undeploy",
"apigee.proxyrevisions.update",
"apigee.queries.create",
"apigee.queries.get",
"apigee.queries.list",
"apigee.rateplans.create",
"apigee.rateplans.delete",
"apigee.rateplans.get",
"apigee.rateplans.list",
"apigee.rateplans.update",
"apigee.references.create",
"apigee.references.delete",
"apigee.references.get",
"apigee.references.list",
"apigee.references.update",
"apigee.reports.create",
"apigee.reports.delete",
"apigee.reports.get",
"apigee.reports.list",
"apigee.reports.update",
"apigee.resourcefiles.create",
"apigee.resourcefiles.delete",
"apigee.resourcefiles.get",
"apigee.resourcefiles.list",
"apigee.resourcefiles.update",
"apigee.runtimeconfigs.get",
"apigee.securityProfileEnvironments.computeScore",
"apigee.securityProfileEnvironments.create",
"apigee.securityProfileEnvironments.delete",
"apigee.securityProfiles.get",
"apigee.securityProfiles.list",
"apigee.securityStats.queryTabularStats",
"apigee.securityStats.queryTimeSeriesStats",
"apigee.securityreports.create",
"apigee.securityreports.get",
"apigee.securityreports.list",
"apigee.sharedflowrevisions.delete",
"apigee.sharedflowrevisions.deploy",
"apigee.sharedflowrevisions.get",
"apigee.sharedflowrevisions.list",
"apigee.sharedflowrevisions.undeploy",
"apigee.sharedflowrevisions.update",
"apigee.sharedflows.create",
"apigee.sharedflows.delete",
"apigee.sharedflows.get",
"apigee.sharedflows.list",
"apigee.targetservers.create",
"apigee.targetservers.delete",
"apigee.targetservers.get",
"apigee.targetservers.list",
"apigee.targetservers.update",
"apigee.traceconfig.get",
"apigee.traceconfig.update",
"apigee.traceconfigoverrides.create",
"apigee.traceconfigoverrides.delete",
"apigee.traceconfigoverrides.get",
"apigee.traceconfigoverrides.list",
"apigee.traceconfigoverrides.update",
"apigee.tracesessions.create",
"apigee.tracesessions.delete",
"apigee.tracesessions.get",
"apigee.tracesessions.list",
"apigeeconnect.connections.list",
"apigeeconnect.endpoints.connect",
"apigeeregistry.apis.create",
"apigeeregistry.apis.delete",
"apigeeregistry.apis.get",
"apigeeregistry.apis.getIamPolicy",
"apigeeregistry.apis.list",
"apigeeregistry.apis.setIamPolicy",
"apigeeregistry.apis.update",
"apigeeregistry.artifacts.create",
"apigeeregistry.artifacts.delete",
"apigeeregistry.artifacts.get",
"apigeeregistry.artifacts.getIamPolicy",
"apigeeregistry.artifacts.list",
"apigeeregistry.artifacts.setIamPolicy",
"apigeeregistry.artifacts.update",
"apigeeregistry.deployments.create",
"apigeeregistry.deployments.delete",
"apigeeregistry.deployments.get",
"apigeeregistry.deployments.list",
"apigeeregistry.deployments.update",
"apigeeregistry.instances.get",
"apigeeregistry.instances.update",
"apigeeregistry.locations.get",
"apigeeregistry.locations.list",
"apigeeregistry.operations.cancel",
"apigeeregistry.operations.delete",
"apigeeregistry.operations.get",
"apigeeregistry.operations.list",
"apigeeregistry.specs.create",
"apigeeregistry.specs.delete",
"apigeeregistry.specs.get",
"apigeeregistry.specs.getIamPolicy",
"apigeeregistry.specs.list",
"apigeeregistry.specs.setIamPolicy",
"apigeeregistry.specs.update",
"apigeeregistry.versions.create",
"apigeeregistry.versions.delete",
"apigeeregistry.versions.get",
"apigeeregistry.versions.getIamPolicy",
"apigeeregistry.versions.list",
"apigeeregistry.versions.setIamPolicy",
"apigeeregistry.versions.update",
"apikeys.keys.create",
"apikeys.keys.delete",
"apikeys.keys.get",
"apikeys.keys.getKeyString",
"apikeys.keys.list",
"apikeys.keys.lookup",
"apikeys.keys.undelete",
"apikeys.keys.update",
"appengine.applications.create",
"appengine.applications.get",
"appengine.applications.update",
"appengine.instances.delete",
"appengine.instances.get",
"appengine.instances.list",
"appengine.memcache.addKey",
"appengine.memcache.flush",
"appengine.memcache.get",
"appengine.memcache.getKey",
"appengine.memcache.list",
"appengine.memcache.update",
"appengine.operations.get",
"appengine.operations.list",
"appengine.runtimes.actAsAdmin",
"appengine.services.delete",
"appengine.services.get",
"appengine.services.list",
"appengine.services.update",
"appengine.versions.create",
"appengine.versions.delete",
"appengine.versions.get",
"appengine.versions.getFileContents",
"appengine.versions.list",
"appengine.versions.update",
"artifactregistry.aptartifacts.create",
"artifactregistry.dockerimages.get",
"artifactregistry.dockerimages.list",
"artifactregistry.files.get",
"artifactregistry.files.list",
"artifactregistry.kfpartifacts.create",
"artifactregistry.locations.get",
"artifactregistry.locations.list",
"artifactregistry.mavenartifacts.get",
"artifactregistry.mavenartifacts.list",
"artifactregistry.npmpackages.get",
"artifactregistry.npmpackages.list",
"artifactregistry.packages.delete",
"artifactregistry.packages.get",
"artifactregistry.packages.list",
"artifactregistry.projectsettings.get",
"artifactregistry.projectsettings.update",
"artifactregistry.pythonpackages.get",
"artifactregistry.pythonpackages.list",
"artifactregistry.repositories.create",
"artifactregistry.repositories.createTagBinding",
"artifactregistry.repositories.delete",
"artifactregistry.repositories.deleteArtifacts",
"artifactregistry.repositories.deleteTagBinding",
"artifactregistry.repositories.downloadArtifacts",
"artifactregistry.repositories.get",
"artifactregistry.repositories.getIamPolicy",
"artifactregistry.repositories.list",
"artifactregistry.repositories.listEffectiveTags",
"artifactregistry.repositories.listTagBindings",
"artifactregistry.repositories.setIamPolicy",
"artifactregistry.repositories.update",
"artifactregistry.repositories.uploadArtifacts",
"artifactregistry.tags.create",
"artifactregistry.tags.delete",
"artifactregistry.tags.get",
"artifactregistry.tags.list",
"artifactregistry.tags.update",
"artifactregistry.versions.delete",
"artifactregistry.versions.get",
"artifactregistry.versions.list",
"artifactregistry.yumartifacts.create",
"automl.annotationSpecs.create",
"automl.annotationSpecs.delete",
"automl.annotationSpecs.get",
"automl.annotationSpecs.list",
"automl.annotationSpecs.update",
"automl.annotations.approve",
"automl.annotations.create",
"automl.annotations.list",
"automl.annotations.manipulate",
"automl.annotations.reject",
"automl.columnSpecs.get",
"automl.columnSpecs.list",
"automl.columnSpecs.update",
"automl.datasets.create",
"automl.datasets.delete",
"automl.datasets.export",
"automl.datasets.get",
"automl.datasets.getIamPolicy",
"automl.datasets.import",
"automl.datasets.list",
"automl.datasets.setIamPolicy",
"automl.datasets.update",
"automl.examples.delete",
"automl.examples.get",
"automl.examples.list",
"automl.examples.update",
"automl.files.delete",
"automl.files.list",
"automl.humanAnnotationTasks.create",
"automl.humanAnnotationTasks.delete",
"automl.humanAnnotationTasks.get",
"automl.humanAnnotationTasks.list",
"automl.locations.get",
"automl.locations.getIamPolicy",
"automl.locations.list",
"automl.locations.setIamPolicy",
"automl.modelEvaluations.create",
"automl.modelEvaluations.get",
"automl.modelEvaluations.list",
"automl.models.create",
"automl.models.delete",
"automl.models.deploy",
"automl.models.export",
"automl.models.get",
"automl.models.getIamPolicy",
"automl.models.list",
"automl.models.predict",
"automl.models.setIamPolicy",
"automl.models.undeploy",
"automl.operations.cancel",
"automl.operations.delete",
"automl.operations.get",
"automl.operations.list",
"automl.tableSpecs.get",
"automl.tableSpecs.list",
"automl.tableSpecs.update",
"automlrecommendations.apiKeys.create",
"automlrecommendations.apiKeys.delete",
"automlrecommendations.apiKeys.list",
"automlrecommendations.catalogItems.create",
"automlrecommendations.catalogItems.delete",
"automlrecommendations.catalogItems.get",
"automlrecommendations.catalogItems.list",
"automlrecommendations.catalogItems.update",
"automlrecommendations.catalogs.getStats",
"automlrecommendations.catalogs.list",
"automlrecommendations.catalogs.update",
"automlrecommendations.eventStores.getStats",
"automlrecommendations.events.create",
"automlrecommendations.events.list",
"automlrecommendations.events.purge",
"automlrecommendations.events.rejoin",
"automlrecommendations.placements.create",
"automlrecommendations.placements.delete",
"automlrecommendations.placements.getStats",
"automlrecommendations.placements.list",
"automlrecommendations.recommendations.create",
"automlrecommendations.recommendations.delete",
"automlrecommendations.recommendations.list",
"automlrecommendations.recommendations.pause",
"automlrecommendations.recommendations.resume",
"automlrecommendations.recommendations.update",
"autoscaling.sites.getIamPolicy",
"autoscaling.sites.readRecommendations",
"autoscaling.sites.setIamPolicy",
"autoscaling.sites.writeMetrics",
"autoscaling.sites.writeState",
"axt.labels.get",
"axt.labels.set",
"backupdr.locations.get",
"backupdr.locations.list",
"backupdr.managementServers.backupAccess",
"backupdr.managementServers.create",
"backupdr.managementServers.delete",
"backupdr.managementServers.get",
"backupdr.managementServers.getIamPolicy",
"backupdr.managementServers.list",
"backupdr.managementServers.manageInternalACL",
"backupdr.managementServers.setIamPolicy",
"backupdr.operations.cancel",
"backupdr.operations.delete",
"backupdr.operations.get",
"backupdr.operations.list",
"baremetalsolution.instancequotas.list",
"baremetalsolution.instances.attachNetwork",
"baremetalsolution.instances.attachVolume",
"baremetalsolution.instances.create",
"baremetalsolution.instances.detachLun",
"baremetalsolution.instances.detachNetwork",
"baremetalsolution.instances.detachVolume",
"baremetalsolution.instances.disableInteractiveSerialConsole",
"baremetalsolution.instances.enableInteractiveSerialConsole",
"baremetalsolution.instances.get",
"baremetalsolution.instances.list",
"baremetalsolution.instances.reset",
"baremetalsolution.instances.start",
"baremetalsolution.instances.stop",
"baremetalsolution.instances.update",
"baremetalsolution.luns.create",
"baremetalsolution.luns.delete",
"baremetalsolution.luns.get",
"baremetalsolution.luns.list",
"baremetalsolution.luns.update",
"baremetalsolution.networkquotas.list",
"baremetalsolution.networks.create",
"baremetalsolution.networks.delete",
"baremetalsolution.networks.get",
"baremetalsolution.networks.list",
"baremetalsolution.networks.update",
"baremetalsolution.nfsshares.create",
"baremetalsolution.nfsshares.delete",
"baremetalsolution.nfsshares.get",
"baremetalsolution.nfsshares.list",
"baremetalsolution.nfsshares.update",
"baremetalsolution.snapshotschedulepolicies.create",
"baremetalsolution.snapshotschedulepolicies.delete",
"baremetalsolution.snapshotschedulepolicies.get",
"baremetalsolution.snapshotschedulepolicies.list",
"baremetalsolution.snapshotschedulepolicies.update",
"baremetalsolution.sshKeys.create",
"baremetalsolution.sshKeys.delete",
"baremetalsolution.sshKeys.list",
"baremetalsolution.volumequotas.list",
"baremetalsolution.volumes.create",
"baremetalsolution.volumes.delete",
"baremetalsolution.volumes.get",
"baremetalsolution.volumes.list",
"baremetalsolution.volumes.resize",
"baremetalsolution.volumes.update",
"baremetalsolution.volumesnapshots.create",
"baremetalsolution.volumesnapshots.delete",
"baremetalsolution.volumesnapshots.get",
"baremetalsolution.volumesnapshots.list",
"baremetalsolution.volumesnapshots.restore",
"batch.jobs.create",
"batch.jobs.delete",
"batch.jobs.get",
"batch.jobs.list",
"batch.locations.get",
"batch.locations.list",
"batch.operations.get",
"batch.operations.list",
"batch.states.report",
"batch.tasks.get",
"batch.tasks.list",
"beyondcorp.appConnections.create",
"beyondcorp.appConnections.delete",
"beyondcorp.appConnections.get",
"beyondcorp.appConnections.getIamPolicy",
"beyondcorp.appConnections.list",
"beyondcorp.appConnections.setIamPolicy",
"beyondcorp.appConnections.update",
"beyondcorp.appConnectors.create",
"beyondcorp.appConnectors.delete",
"beyondcorp.appConnectors.get",
"beyondcorp.appConnectors.getIamPolicy",
"beyondcorp.appConnectors.list",
"beyondcorp.appConnectors.reportStatus",
"beyondcorp.appConnectors.setIamPolicy",
"beyondcorp.appConnectors.update",
"beyondcorp.appGateways.create",
"beyondcorp.appGateways.delete",
"beyondcorp.appGateways.get",
"beyondcorp.appGateways.getIamPolicy",
"beyondcorp.appGateways.list",
"beyondcorp.appGateways.setIamPolicy",
"beyondcorp.appGateways.update",
"beyondcorp.clientConnectorServices.access",
"beyondcorp.clientConnectorServices.create",
"beyondcorp.clientConnectorServices.delete",
"beyondcorp.clientConnectorServices.get",
"beyondcorp.clientConnectorServices.getIamPolicy",
"beyondcorp.clientConnectorServices.list",
"beyondcorp.clientConnectorServices.setIamPolicy",
"beyondcorp.clientConnectorServices.update",
"beyondcorp.clientGateways.create",
"beyondcorp.clientGateways.delete",
"beyondcorp.clientGateways.get",
"beyondcorp.clientGateways.getIamPolicy",
"beyondcorp.clientGateways.list",
"beyondcorp.clientGateways.setIamPolicy",
"beyondcorp.locations.get",
"beyondcorp.locations.list",
"beyondcorp.operations.cancel",
"beyondcorp.operations.delete",
"beyondcorp.operations.get",
"beyondcorp.operations.list",
"bigquery.bireservations.get",
"bigquery.bireservations.update",
"bigquery.capacityCommitments.create",
"bigquery.capacityCommitments.delete",
"bigquery.capacityCommitments.get",
"bigquery.capacityCommitments.list",
"bigquery.capacityCommitments.update",
"bigquery.config.get",
"bigquery.config.update",
"bigquery.connections.create",
"bigquery.connections.delegate",
"bigquery.connections.delete",
"bigquery.connections.get",
"bigquery.connections.getIamPolicy",
"bigquery.connections.list",
"bigquery.connections.setIamPolicy",
"bigquery.connections.update",
"bigquery.connections.updateTag",
"bigquery.connections.use",
"bigquery.dataPolicies.create",
"bigquery.dataPolicies.delete",
"bigquery.dataPolicies.get",
"bigquery.dataPolicies.getIamPolicy",
"bigquery.dataPolicies.list",
"bigquery.dataPolicies.maskedGet",
"bigquery.dataPolicies.setIamPolicy",
"bigquery.dataPolicies.update",
"bigquery.datasets.create",
"bigquery.datasets.createTagBinding",
"bigquery.datasets.delete",
"bigquery.datasets.deleteTagBinding",
"bigquery.datasets.get",
"bigquery.datasets.getIamPolicy",
"bigquery.datasets.link",
"bigquery.datasets.listTagBindings",
"bigquery.datasets.setIamPolicy",
"bigquery.datasets.update",
"bigquery.datasets.updateTag",
"bigquery.jobs.create",
"bigquery.jobs.delete",
"bigquery.jobs.get",
"bigquery.jobs.list",
"bigquery.jobs.listAll",
"bigquery.jobs.listExecutionMetadata",
"bigquery.jobs.update",
"bigquery.models.create",
"bigquery.models.delete",
"bigquery.models.export",
"bigquery.models.getData",
"bigquery.models.getMetadata",
"bigquery.models.list",
"bigquery.models.updateData",
"bigquery.models.updateMetadata",
"bigquery.models.updateTag",
"bigquery.readsessions.create",
"bigquery.readsessions.getData",
"bigquery.readsessions.update",
"bigquery.reservationAssignments.create",
"bigquery.reservationAssignments.delete",
"bigquery.reservationAssignments.list",
"bigquery.reservationAssignments.search",
"bigquery.reservations.create",
"bigquery.reservations.delete",
"bigquery.reservations.get",
"bigquery.reservations.list",
"bigquery.reservations.update",
"bigquery.routines.create",
"bigquery.routines.delete",
"bigquery.routines.get",
"bigquery.routines.list",
"bigquery.routines.update",
"bigquery.routines.updateTag",
"bigquery.rowAccessPolicies.create",
"bigquery.rowAccessPolicies.delete",
"bigquery.rowAccessPolicies.getFilteredData",
"bigquery.rowAccessPolicies.getIamPolicy",
"bigquery.rowAccessPolicies.list",
"bigquery.rowAccessPolicies.overrideTimeTravelRestrictions",
"bigquery.rowAccessPolicies.setIamPolicy",
"bigquery.rowAccessPolicies.update",
"bigquery.savedqueries.create",
"bigquery.savedqueries.delete",
"bigquery.savedqueries.get",
"bigquery.savedqueries.list",
"bigquery.savedqueries.update",
"bigquery.tables.create",
"bigquery.tables.createIndex",
"bigquery.tables.createSnapshot",
"bigquery.tables.delete",
"bigquery.tables.deleteIndex",
"bigquery.tables.deleteSnapshot",
"bigquery.tables.export",
"bigquery.tables.get",
"bigquery.tables.getData",
"bigquery.tables.getIamPolicy",
"bigquery.tables.list",
"bigquery.tables.restoreSnapshot",
"bigquery.tables.setCategory",
"bigquery.tables.setIamPolicy",
"bigquery.tables.update",
"bigquery.tables.updateData",
"bigquery.tables.updateTag",
"bigquery.transfers.get",
"bigquery.transfers.update",
"bigquerymigration.locations.get",
"bigquerymigration.locations.list",
"bigquerymigration.subtaskTypes.executeTask",
"bigquerymigration.subtasks.create",
"bigquerymigration.subtasks.executeTask",
"bigquerymigration.subtasks.get",
"bigquerymigration.subtasks.list",
"bigquerymigration.taskTypes.orchestrateTask",
"bigquerymigration.translation.translate",
"bigquerymigration.workflows.create",
"bigquerymigration.workflows.delete",
"bigquerymigration.workflows.get",
"bigquerymigration.workflows.list",
"bigquerymigration.workflows.orchestrateTask",
"bigquerymigration.workflows.update",
"bigquerymigration.workflows.writeLogs",
"bigtable.appProfiles.create",
"bigtable.appProfiles.delete",
"bigtable.appProfiles.get",
"bigtable.appProfiles.list",
"bigtable.appProfiles.update",
"bigtable.backups.create",
"bigtable.backups.delete",
"bigtable.backups.get",
"bigtable.backups.getIamPolicy",
"bigtable.backups.list",
"bigtable.backups.read",
"bigtable.backups.restore",
"bigtable.backups.setIamPolicy",
"bigtable.backups.update",
"bigtable.clusters.create",
"bigtable.clusters.delete",
"bigtable.clusters.get",
"bigtable.clusters.list",
"bigtable.clusters.update",
"bigtable.hotTablets.list",
"bigtable.instances.create",
"bigtable.instances.createTagBinding",
"bigtable.instances.delete",
"bigtable.instances.deleteTagBinding",
"bigtable.instances.get",
"bigtable.instances.getIamPolicy",
"bigtable.instances.list",
"bigtable.instances.listEffectiveTags",
"bigtable.instances.listTagBindings",
"bigtable.instances.ping",
"bigtable.instances.setIamPolicy",
"bigtable.instances.update",
"bigtable.keyvisualizer.get",
"bigtable.keyvisualizer.list",
"bigtable.locations.list",
"bigtable.tables.checkConsistency",
"bigtable.tables.create",
"bigtable.tables.delete",
"bigtable.tables.generateConsistencyToken",
"bigtable.tables.get",
"bigtable.tables.getIamPolicy",
"bigtable.tables.list",
"bigtable.tables.mutateRows",
"bigtable.tables.readRows",
"bigtable.tables.sampleRowKeys",
"bigtable.tables.setIamPolicy",
"bigtable.tables.undelete",
"bigtable.tables.update",
"billing.resourceCosts.get",
"binaryauthorization.attestors.create",
"binaryauthorization.attestors.delete",
"binaryauthorization.attestors.get",
"binaryauthorization.attestors.getIamPolicy",
"binaryauthorization.attestors.list",
"binaryauthorization.attestors.setIamPolicy",
"binaryauthorization.attestors.update",
"binaryauthorization.attestors.verifyImageAttested",
"binaryauthorization.continuousValidationConfig.get",
"binaryauthorization.continuousValidationConfig.getIamPolicy",
"binaryauthorization.continuousValidationConfig.setIamPolicy",
"binaryauthorization.continuousValidationConfig.update",
"binaryauthorization.platformPolicies.create",
"binaryauthorization.platformPolicies.delete",
"binaryauthorization.platformPolicies.evaluatePolicy",
"binaryauthorization.platformPolicies.get",
"binaryauthorization.platformPolicies.list",
"binaryauthorization.platformPolicies.replace",
"binaryauthorization.policy.evaluatePolicy",
"binaryauthorization.policy.get",
"binaryauthorization.policy.getIamPolicy",
"binaryauthorization.policy.setIamPolicy",
"binaryauthorization.policy.update",
"carestudio.patients.get",
"carestudio.patients.list",
"certificatemanager.certissuanceconfigs.create",
"certificatemanager.certissuanceconfigs.delete",
"certificatemanager.certissuanceconfigs.get",
"certificatemanager.certissuanceconfigs.list",
"certificatemanager.certissuanceconfigs.update",
"certificatemanager.certissuanceconfigs.use",
"certificatemanager.certmapentries.create",
"certificatemanager.certmapentries.delete",
"certificatemanager.certmapentries.get",
"certificatemanager.certmapentries.getIamPolicy",
"certificatemanager.certmapentries.list",
"certificatemanager.certmapentries.setIamPolicy",
"certificatemanager.certmapentries.update",
"certificatemanager.certmaps.create",
"certificatemanager.certmaps.delete",
"certificatemanager.certmaps.get",
"certificatemanager.certmaps.getIamPolicy",
"certificatemanager.certmaps.list",
"certificatemanager.certmaps.setIamPolicy",
"certificatemanager.certmaps.update",
"certificatemanager.certmaps.use",
"certificatemanager.certs.create",
"certificatemanager.certs.delete",
"certificatemanager.certs.get",
"certificatemanager.certs.getIamPolicy",
"certificatemanager.certs.list",
"certificatemanager.certs.setIamPolicy",
"certificatemanager.certs.update",
"certificatemanager.certs.use",
"certificatemanager.dnsauthorizations.create",
"certificatemanager.dnsauthorizations.delete",
"certificatemanager.dnsauthorizations.get",
"certificatemanager.dnsauthorizations.getIamPolicy",
"certificatemanager.dnsauthorizations.list",
"certificatemanager.dnsauthorizations.setIamPolicy",
"certificatemanager.dnsauthorizations.update",
"certificatemanager.dnsauthorizations.use",
"certificatemanager.locations.get",
"certificatemanager.locations.list",
"certificatemanager.operations.cancel",
"certificatemanager.operations.delete",
"certificatemanager.operations.get",
"certificatemanager.operations.list",
"chat.bots.get",
"chat.bots.update",
"chronicle.dashboards.copy",
"chronicle.dashboards.create",
"chronicle.dashboards.delete",
"chronicle.dashboards.get",
"chronicle.dashboards.list",
"chronicle.multitenantDirectories.get",
"clientauthconfig.brands.create",
"clientauthconfig.brands.delete",
"clientauthconfig.brands.get",
"clientauthconfig.brands.list",
"clientauthconfig.brands.update",
"clientauthconfig.clients.create",
"clientauthconfig.clients.createSecret",
"clientauthconfig.clients.delete",
"clientauthconfig.clients.get",
"clientauthconfig.clients.getWithSecret",
"clientauthconfig.clients.list",
"clientauthconfig.clients.listWithSecrets",
"clientauthconfig.clients.undelete",
"clientauthconfig.clients.update",
"cloudasset.assets.analyzeIamPolicy",
"cloudasset.assets.analyzeMove",
"cloudasset.assets.exportAccessLevel",
"cloudasset.assets.exportAccessPolicy",
"cloudasset.assets.exportAiplatformBatchPredictionJobs",
"cloudasset.assets.exportAiplatformCustomJobs",
"cloudasset.assets.exportAiplatformDataLabelingJobs",
"cloudasset.assets.exportAiplatformDatasets",
"cloudasset.assets.exportAiplatformEndpoints",
"cloudasset.assets.exportAiplatformHyperparameterTuningJobs",
"cloudasset.assets.exportAiplatformMetadataStores",
"cloudasset.assets.exportAiplatformModelDeploymentMonitoringJobs",
"cloudasset.assets.exportAiplatformModels",
"cloudasset.assets.exportAiplatformPipelineJobs",
"cloudasset.assets.exportAiplatformSpecialistPools",
"cloudasset.assets.exportAiplatformTrainingPipelines",
"cloudasset.assets.exportAllAccessPolicy",
"cloudasset.assets.exportAnthosConnectedCluster",
"cloudasset.assets.exportAnthosedgeCluster",
"cloudasset.assets.exportApigatewayApi",
"cloudasset.assets.exportApigatewayApiConfig",
"cloudasset.assets.exportApigatewayGateway",
"cloudasset.assets.exportApikeysKeys",
"cloudasset.assets.exportAppengineApplications",
"cloudasset.assets.exportAppengineServices",
"cloudasset.assets.exportAppengineVersions",
"cloudasset.assets.exportArtifactregistryDockerImages",
"cloudasset.assets.exportArtifactregistryRepositories",
"cloudasset.assets.exportAssuredWorkloadsWorkloads",
"cloudasset.assets.exportBeyondCorpApiGateways",
"cloudasset.assets.exportBeyondCorpAppConnections",
"cloudasset.assets.exportBeyondCorpAppConnectors",
"cloudasset.assets.exportBeyondCorpClientConnectorServices",
"cloudasset.assets.exportBeyondCorpClientGateways",
"cloudasset.assets.exportBigqueryDatasets",
"cloudasset.assets.exportBigqueryModels",
"cloudasset.assets.exportBigqueryTables",
"cloudasset.assets.exportBigtableAppProfile",
"cloudasset.assets.exportBigtableBackup",
"cloudasset.assets.exportBigtableCluster",
"cloudasset.assets.exportBigtableInstance",
"cloudasset.assets.exportBigtableTable",
"cloudasset.assets.exportCloudAssetFeeds",
"cloudasset.assets.exportCloudDeployDeliveryPipelines",
"cloudasset.assets.exportCloudDeployReleases",
"cloudasset.assets.exportCloudDeployRollouts",
"cloudasset.assets.exportCloudDeployTargets",
"cloudasset.assets.exportCloudDocumentAIEvaluation",
"cloudasset.assets.exportCloudDocumentAIHumanReviewConfig",
"cloudasset.assets.exportCloudDocumentAILabelerPool",
"cloudasset.assets.exportCloudDocumentAIProcessor",
"cloudasset.assets.exportCloudDocumentAIProcessorVersion",
"cloudasset.assets.exportCloudbillingBillingAccounts",
"cloudasset.assets.exportCloudbillingProjectBillingInfos",
"cloudasset.assets.exportCloudfunctionsFunctions",
"cloudasset.assets.exportCloudfunctionsGen2Functions",
"cloudasset.assets.exportCloudkmsCryptoKeyVersions",
"cloudasset.assets.exportCloudkmsCryptoKeys",
"cloudasset.assets.exportCloudkmsEkmConnections",
"cloudasset.assets.exportCloudkmsImportJobs",
"cloudasset.assets.exportCloudkmsKeyRings",
"cloudasset.assets.exportCloudmemcacheInstances",
"cloudasset.assets.exportCloudresourcemanagerFolders",
"cloudasset.assets.exportCloudresourcemanagerOrganizations",
"cloudasset.assets.exportCloudresourcemanagerProjects",
"cloudasset.assets.exportCloudresourcemanagerTagBindings",
"cloudasset.assets.exportCloudresourcemanagerTagKeys",
"cloudasset.assets.exportCloudresourcemanagerTagValues",
"cloudasset.assets.exportComposerEnvironments",
"cloudasset.assets.exportComputeAddress",
"cloudasset.assets.exportComputeAutoscalers",
"cloudasset.assets.exportComputeBackendBuckets",
"cloudasset.assets.exportComputeBackendServices",
"cloudasset.assets.exportComputeCommitments",
"cloudasset.assets.exportComputeDisks",
"cloudasset.assets.exportComputeExternalVpnGateways",
"cloudasset.assets.exportComputeFirewallPolicies",
"cloudasset.assets.exportComputeFirewalls",
"cloudasset.assets.exportComputeForwardingRules",
"cloudasset.assets.exportComputeGlobalAddress",
"cloudasset.assets.exportComputeGlobalForwardingRules",
"cloudasset.assets.exportComputeHealthChecks",
"cloudasset.assets.exportComputeHttpHealthChecks",
"cloudasset.assets.exportComputeHttpsHealthChecks",
"cloudasset.assets.exportComputeImages",
"cloudasset.assets.exportComputeInstanceGroupManagers",
"cloudasset.assets.exportComputeInstanceGroups",
"cloudasset.assets.exportComputeInstanceTemplates",
"cloudasset.assets.exportComputeInstances",
"cloudasset.assets.exportComputeInterconnect",
"cloudasset.assets.exportComputeInterconnectAttachment",
"cloudasset.assets.exportComputeLicenses",
"cloudasset.assets.exportComputeNetworkEndpointGroups",
"cloudasset.assets.exportComputeNetworks",
"cloudasset.assets.exportComputeNodeGroups",
"cloudasset.assets.exportComputeNodeTemplates",
"cloudasset.assets.exportComputePacketMirrorings",
"cloudasset.assets.exportComputeProjects",
"cloudasset.assets.exportComputeRegionAutoscaler",
"cloudasset.assets.exportComputeRegionBackendServices",
"cloudasset.assets.exportComputeRegionDisk",
"cloudasset.assets.exportComputeRegionInstanceGroup",
"cloudasset.assets.exportComputeRegionInstanceGroupManager",
"cloudasset.assets.exportComputeReservations",
"cloudasset.assets.exportComputeResourcePolicies",
"cloudasset.assets.exportComputeRouters",
"cloudasset.assets.exportComputeRoutes",
"cloudasset.assets.exportComputeSecurityPolicy",
"cloudasset.assets.exportComputeServiceAttachments",
"cloudasset.assets.exportComputeSnapshots",
"cloudasset.assets.exportComputeSslCertificates",
"cloudasset.assets.exportComputeSslPolicies",
"cloudasset.assets.exportComputeSubnetworks",
"cloudasset.assets.exportComputeTargetHttpProxies",
"cloudasset.assets.exportComputeTargetHttpsProxies",
"cloudasset.assets.exportComputeTargetInstances",
"cloudasset.assets.exportComputeTargetPools",
"cloudasset.assets.exportComputeTargetSslProxies",
"cloudasset.assets.exportComputeTargetTcpProxies",
"cloudasset.assets.exportComputeTargetVpnGateways",
"cloudasset.assets.exportComputeUrlMaps",
"cloudasset.assets.exportComputeVpnGateways",
"cloudasset.assets.exportComputeVpnTunnels",
"cloudasset.assets.exportConnectorsConnections",
"cloudasset.assets.exportConnectorsConnectorVersions",
"cloudasset.assets.exportConnectorsConnectors",
"cloudasset.assets.exportConnectorsProviders",
"cloudasset.assets.exportConnectorsRuntimeConfigs",
"cloudasset.assets.exportContainerAppsDeployment",
"cloudasset.assets.exportContainerAppsReplicaSets",
"cloudasset.assets.exportContainerBatchJobs",
"cloudasset.assets.exportContainerClusterrole",
"cloudasset.assets.exportContainerClusterrolebinding",
"cloudasset.assets.exportContainerClusters",
"cloudasset.assets.exportContainerExtensionsIngresses",
"cloudasset.assets.exportContainerJobs",
"cloudasset.assets.exportContainerNamespace",
"cloudasset.assets.exportContainerNetworkingIngresses",
"cloudasset.assets.exportContainerNetworkingNetworkPolicies",
"cloudasset.assets.exportContainerNode",
"cloudasset.assets.exportContainerNodepool",
"cloudasset.assets.exportContainerPod",
"cloudasset.assets.exportContainerReplicaSets",
"cloudasset.assets.exportContainerRole",
"cloudasset.assets.exportContainerRolebinding",
"cloudasset.assets.exportContainerServices",
"cloudasset.assets.exportContainerregistryImage",
"cloudasset.assets.exportDataMigrationConnectionProfiles",
"cloudasset.assets.exportDataMigrationMigrationJobs",
"cloudasset.assets.exportDataflowJobs",
"cloudasset.assets.exportDatafusionInstance",
"cloudasset.assets.exportDataplexAssets",
"cloudasset.assets.exportDataplexLakes",
"cloudasset.assets.exportDataplexTasks",
"cloudasset.assets.exportDataplexZones",
"cloudasset.assets.exportDataprocAutoscalingPolicies",
"cloudasset.assets.exportDataprocBatches",
"cloudasset.assets.exportDataprocClusters",
"cloudasset.assets.exportDataprocJobs",
"cloudasset.assets.exportDataprocSessions",
"cloudasset.assets.exportDataprocWorkflowTemplates",
"cloudasset.assets.exportDatastreamConnectionProfile",
"cloudasset.assets.exportDatastreamPrivateConnection",
"cloudasset.assets.exportDatastreamStream",
"cloudasset.assets.exportDialogflowAgents",
"cloudasset.assets.exportDialogflowConversationProfiles",
"cloudasset.assets.exportDialogflowKnowledgeBases",
"cloudasset.assets.exportDialogflowLocationSettings",
"cloudasset.assets.exportDlpDeidentifyTemplates",
"cloudasset.assets.exportDlpDlpJobs",
"cloudasset.assets.exportDlpInspectTemplates",
"cloudasset.assets.exportDlpJobTriggers",
"cloudasset.assets.exportDlpStoredInfoTypes",
"cloudasset.assets.exportDnsManagedZones",
"cloudasset.assets.exportDnsPolicies",
"cloudasset.assets.exportDomainsRegistrations",
"cloudasset.assets.exportEventarcTriggers",
"cloudasset.assets.exportFileBackups",
"cloudasset.assets.exportFileInstances",
"cloudasset.assets.exportFirebaseAppInfos",
"cloudasset.assets.exportFirebaseProjects",
"cloudasset.assets.exportFirestoreDatabases",
"cloudasset.assets.exportGKEHubFeatures",
"cloudasset.assets.exportGKEHubMemberships",
"cloudasset.assets.exportGameservicesGameServerClusters",
"cloudasset.assets.exportGameservicesGameServerConfigs",
"cloudasset.assets.exportGameservicesGameServerDeployments",
"cloudasset.assets.exportGameservicesRealms",
"cloudasset.assets.exportGkeBackupBackupPlans",
"cloudasset.assets.exportGkeBackupBackups",
"cloudasset.assets.exportGkeBackupRestorePlans",
"cloudasset.assets.exportGkeBackupRestores",
"cloudasset.assets.exportGkeBackupVolumeBackups",
"cloudasset.assets.exportGkeBackupVolumeRestores",
"cloudasset.assets.exportHealthcareConsentStores",
"cloudasset.assets.exportHealthcareDatasets",
"cloudasset.assets.exportHealthcareDicomStores",
"cloudasset.assets.exportHealthcareFhirStores",
"cloudasset.assets.exportHealthcareHl7V2Stores",
"cloudasset.assets.exportIamPolicy",
"cloudasset.assets.exportIamRoles",
"cloudasset.assets.exportIamServiceAccountKeys",
"cloudasset.assets.exportIamServiceAccounts",
"cloudasset.assets.exportIapTunnel",
"cloudasset.assets.exportIapTunnelInstances",
"cloudasset.assets.exportIapTunnelZones",
"cloudasset.assets.exportIapWeb",
"cloudasset.assets.exportIapWebServiceVersion",
"cloudasset.assets.exportIapWebServices",
"cloudasset.assets.exportIapWebType",
"cloudasset.assets.exportIdsEndpoints",
"cloudasset.assets.exportIntegrationsAuthConfigs",
"cloudasset.assets.exportIntegrationsCertificates",
"cloudasset.assets.exportIntegrationsExecutions",
"cloudasset.assets.exportIntegrationsIntegrationVersions",
"cloudasset.assets.exportIntegrationsIntegrations",
"cloudasset.assets.exportIntegrationsSfdcChannels",
"cloudasset.assets.exportIntegrationsSfdcInstances",
"cloudasset.assets.exportIntegrationsSuspensions",
"cloudasset.assets.exportLoggingLogMetrics",
"cloudasset.assets.exportLoggingLogSinks",
"cloudasset.assets.exportManagedidentitiesDomain",
"cloudasset.assets.exportMetastoreBackups",
"cloudasset.assets.exportMetastoreMetadataImports",
"cloudasset.assets.exportMetastoreServices",
"cloudasset.assets.exportMonitoringAlertPolicies",
"cloudasset.assets.exportNetworkConnectivityHubs",
"cloudasset.assets.exportNetworkConnectivitySpokes",
"cloudasset.assets.exportNetworkManagementConnectivityTests",
"cloudasset.assets.exportNetworkServicesEndpointPolicies",
"cloudasset.assets.exportNetworkServicesGateways",
"cloudasset.assets.exportNetworkServicesGrpcRoutes",
"cloudasset.assets.exportNetworkServicesHttpRoutes",
"cloudasset.assets.exportNetworkServicesMeshes",
"cloudasset.assets.exportNetworkServicesServiceBindings",
"cloudasset.assets.exportNetworkServicesTcpRoutes",
"cloudasset.assets.exportNetworkServicesTlsRoutes",
"cloudasset.assets.exportOSConfigOSPolicyAssignmentReports",
"cloudasset.assets.exportOSConfigOSPolicyAssignments",
"cloudasset.assets.exportOSConfigVulnerabilityReports",
"cloudasset.assets.exportOSInventories",
"cloudasset.assets.exportOrgPolicy",
"cloudasset.assets.exportPatchDeployments",
"cloudasset.assets.exportPubsubSnapshots",
"cloudasset.assets.exportPubsubSubscriptions",
"cloudasset.assets.exportPubsubTopics",
"cloudasset.assets.exportRedisInstances",
"cloudasset.assets.exportResource",
"cloudasset.assets.exportSecretManagerSecretVersions",
"cloudasset.assets.exportSecretManagerSecrets",
"cloudasset.assets.exportServiceDirectoryNamespaces",
"cloudasset.assets.exportServicePerimeter",
"cloudasset.assets.exportServiceconsumermanagementConsumerProperty",
"cloudasset.assets.exportServiceconsumermanagementConsumerQuotaLimits",
"cloudasset.assets.exportServiceconsumermanagementConsumers",
"cloudasset.assets.exportServiceconsumermanagementProducerOverrides",
"cloudasset.assets.exportServiceconsumermanagementTenancyUnits",
"cloudasset.assets.exportServiceconsumermanagementVisibility",
"cloudasset.assets.exportServicemanagementServices",
"cloudasset.assets.exportServiceusageAdminOverrides",
"cloudasset.assets.exportServiceusageConsumerOverrides",
"cloudasset.assets.exportServiceusageServices",
"cloudasset.assets.exportSpannerBackups",
"cloudasset.assets.exportSpannerDatabases",
"cloudasset.assets.exportSpannerInstances",
"cloudasset.assets.exportSpeakerIdPhrases",
"cloudasset.assets.exportSpeakerIdSettings",
"cloudasset.assets.exportSpeakerIdSpeakers",
"cloudasset.assets.exportSpeechCustomClasses",
"cloudasset.assets.exportSpeechPhraseSets",
"cloudasset.assets.exportSqladminBackupRuns",
"cloudasset.assets.exportSqladminInstances",
"cloudasset.assets.exportStorageBuckets",
"cloudasset.assets.exportTpuNodes",
"cloudasset.assets.exportVpcaccessConnector",
"cloudasset.assets.listAccessLevel",
"cloudasset.assets.listAccessPolicy",
"cloudasset.assets.listAiplatformBatchPredictionJobs",
"cloudasset.assets.listAiplatformCustomJobs",
"cloudasset.assets.listAiplatformDataLabelingJobs",
"cloudasset.assets.listAiplatformDatasets",
"cloudasset.assets.listAiplatformEndpoints",
"cloudasset.assets.listAiplatformHyperparameterTuningJobs",
"cloudasset.assets.listAiplatformMetadataStores",
"cloudasset.assets.listAiplatformModelDeploymentMonitoringJobs",
"cloudasset.assets.listAiplatformModels",
"cloudasset.assets.listAiplatformPipelineJobs",
"cloudasset.assets.listAiplatformSpecialistPools",
"cloudasset.assets.listAiplatformTrainingPipelines",
"cloudasset.assets.listAllAccessPolicy",
"cloudasset.assets.listAnthosConnectedCluster",
"cloudasset.assets.listAnthosedgeCluster",
"cloudasset.assets.listApigatewayApi",
"cloudasset.assets.listApigatewayApiConfig",
"cloudasset.assets.listApigatewayGateway",
"cloudasset.assets.listApikeysKeys",
"cloudasset.assets.listAppengineApplications",
"cloudasset.assets.listAppengineServices",
"cloudasset.assets.listAppengineVersions",
"cloudasset.assets.listArtifactregistryDockerImages",
"cloudasset.assets.listArtifactregistryRepositories",
"cloudasset.assets.listAssuredWorkloadsWorkloads",
"cloudasset.assets.listBeyondCorpApiGateways",
"cloudasset.assets.listBeyondCorpAppConnections",
"cloudasset.assets.listBeyondCorpAppConnectors",
"cloudasset.assets.listBeyondCorpClientConnectorServices",
"cloudasset.assets.listBeyondCorpClientGateways",
"cloudasset.assets.listBigqueryDatasets",
"cloudasset.assets.listBigqueryModels",
"cloudasset.assets.listBigqueryTables",
"cloudasset.assets.listBigtableAppProfile",
"cloudasset.assets.listBigtableBackup",
"cloudasset.assets.listBigtableCluster",
"cloudasset.assets.listBigtableInstance",
"cloudasset.assets.listBigtableTable",
"cloudasset.assets.listCloudAssetFeeds",
"cloudasset.assets.listCloudDeployDeliveryPipelines",
"cloudasset.assets.listCloudDeployReleases",
"cloudasset.assets.listCloudDeployRollouts",
"cloudasset.assets.listCloudDeployTargets",
"cloudasset.assets.listCloudDocumentAIEvaluation",
"cloudasset.assets.listCloudDocumentAIHumanReviewConfig",
"cloudasset.assets.listCloudDocumentAILabelerPool",
"cloudasset.assets.listCloudDocumentAIProcessor",
"cloudasset.assets.listCloudDocumentAIProcessorVersion",
"cloudasset.assets.listCloudbillingBillingAccounts",
"cloudasset.assets.listCloudbillingProjectBillingInfos",
"cloudasset.assets.listCloudfunctionsFunctions",
"cloudasset.assets.listCloudfunctionsGen2Functions",
"cloudasset.assets.listCloudkmsCryptoKeyVersions",
"cloudasset.assets.listCloudkmsCryptoKeys",
"cloudasset.assets.listCloudkmsEkmConnections",
"cloudasset.assets.listCloudkmsImportJobs",
"cloudasset.assets.listCloudkmsKeyRings",
"cloudasset.assets.listCloudmemcacheInstances",
"cloudasset.assets.listCloudresourcemanagerFolders",
"cloudasset.assets.listCloudresourcemanagerOrganizations",
"cloudasset.assets.listCloudresourcemanagerProjects",
"cloudasset.assets.listCloudresourcemanagerTagBindings",
"cloudasset.assets.listCloudresourcemanagerTagKeys",
"cloudasset.assets.listCloudresourcemanagerTagValues",
"cloudasset.assets.listComposerEnvironments",
"cloudasset.assets.listComputeAddress",
"cloudasset.assets.listComputeAutoscalers",
"cloudasset.assets.listComputeBackendBuckets",
"cloudasset.assets.listComputeBackendServices",
"cloudasset.assets.listComputeCommitments",
"cloudasset.assets.listComputeDisks",
"cloudasset.assets.listComputeExternalVpnGateways",
"cloudasset.assets.listComputeFirewallPolicies",
"cloudasset.assets.listComputeFirewalls",
"cloudasset.assets.listComputeForwardingRules",
"cloudasset.assets.listComputeGlobalAddress",
"cloudasset.assets.listComputeGlobalForwardingRules",
"cloudasset.assets.listComputeHealthChecks",
"cloudasset.assets.listComputeHttpHealthChecks",
"cloudasset.assets.listComputeHttpsHealthChecks",
"cloudasset.assets.listComputeImages",
"cloudasset.assets.listComputeInstanceGroupManagers",
"cloudasset.assets.listComputeInstanceGroups",
"cloudasset.assets.listComputeInstanceTemplates",
"cloudasset.assets.listComputeInstances",
"cloudasset.assets.listComputeInterconnect",
"cloudasset.assets.listComputeInterconnectAttachment",
"cloudasset.assets.listComputeLicenses",
"cloudasset.assets.listComputeNetworkEndpointGroups",
"cloudasset.assets.listComputeNetworks",
"cloudasset.assets.listComputeNodeGroups",
"cloudasset.assets.listComputeNodeTemplates",
"cloudasset.assets.listComputePacketMirrorings",
"cloudasset.assets.listComputeProjects",
"cloudasset.assets.listComputeRegionAutoscaler",
"cloudasset.assets.listComputeRegionBackendServices",
"cloudasset.assets.listComputeRegionDisk",
"cloudasset.assets.listComputeRegionInstanceGroup",
"cloudasset.assets.listComputeRegionInstanceGroupManager",
"cloudasset.assets.listComputeReservations",
"cloudasset.assets.listComputeResourcePolicies",
"cloudasset.assets.listComputeRouters",
"cloudasset.assets.listComputeRoutes",
"cloudasset.assets.listComputeSecurityPolicy",
"cloudasset.assets.listComputeServiceAttachments",
"cloudasset.assets.listComputeSnapshots",
"cloudasset.assets.listComputeSslCertificates",
"cloudasset.assets.listComputeSslPolicies",
"cloudasset.assets.listComputeSubnetworks",
"cloudasset.assets.listComputeTargetHttpProxies",
"cloudasset.assets.listComputeTargetHttpsProxies",
"cloudasset.assets.listComputeTargetInstances",
"cloudasset.assets.listComputeTargetPools",
"cloudasset.assets.listComputeTargetSslProxies",
"cloudasset.assets.listComputeTargetTcpProxies",
"cloudasset.assets.listComputeTargetVpnGateways",
"cloudasset.assets.listComputeUrlMaps",
"cloudasset.assets.listComputeVpnGateways",
"cloudasset.assets.listComputeVpnTunnels",
"cloudasset.assets.listConnectorsConnections",
"cloudasset.assets.listConnectorsConnectorVersions",
"cloudasset.assets.listConnectorsConnectors",
"cloudasset.assets.listConnectorsProviders",
"cloudasset.assets.listConnectorsRuntimeConfigs",
"cloudasset.assets.listContainerAppsDeployment",
"cloudasset.assets.listContainerAppsReplicaSets",
"cloudasset.assets.listContainerBatchJobs",
"cloudasset.assets.listContainerClusterrole",
"cloudasset.assets.listContainerClusterrolebinding",
"cloudasset.assets.listContainerClusters",
"cloudasset.assets.listContainerExtensionsIngresses",
"cloudasset.assets.listContainerJobs",
"cloudasset.assets.listContainerNamespace",
"cloudasset.assets.listContainerNetworkingIngresses",
"cloudasset.assets.listContainerNetworkingNetworkPolicies",
"cloudasset.assets.listContainerNode",
"cloudasset.assets.listContainerNodepool",
"cloudasset.assets.listContainerPod",
"cloudasset.assets.listContainerReplicaSets",
"cloudasset.assets.listContainerRole",
"cloudasset.assets.listContainerRolebinding",
"cloudasset.assets.listContainerServices",
"cloudasset.assets.listContainerregistryImage",
"cloudasset.assets.listDataMigrationConnectionProfiles",
"cloudasset.assets.listDataMigrationMigrationJobs",
"cloudasset.assets.listDataflowJobs",
"cloudasset.assets.listDatafusionInstance",
"cloudasset.assets.listDataplexAssets",
"cloudasset.assets.listDataplexLakes",
"cloudasset.assets.listDataplexTasks",
"cloudasset.assets.listDataplexZones",
"cloudasset.assets.listDataprocAutoscalingPolicies",
"cloudasset.assets.listDataprocBatches",
"cloudasset.assets.listDataprocClusters",
"cloudasset.assets.listDataprocJobs",
"cloudasset.assets.listDataprocSessions",
"cloudasset.assets.listDataprocWorkflowTemplates",
"cloudasset.assets.listDatastreamConnectionProfile",
"cloudasset.assets.listDatastreamPrivateConnection",
"cloudasset.assets.listDatastreamStream",
"cloudasset.assets.listDialogflowAgents",
"cloudasset.assets.listDialogflowConversationProfiles",
"cloudasset.assets.listDialogflowKnowledgeBases",
"cloudasset.assets.listDialogflowLocationSettings",
"cloudasset.assets.listDlpDeidentifyTemplates",
"cloudasset.assets.listDlpDlpJobs",
"cloudasset.assets.listDlpInspectTemplates",
"cloudasset.assets.listDlpJobTriggers",
"cloudasset.assets.listDlpStoredInfoTypes",
"cloudasset.assets.listDnsManagedZones",
"cloudasset.assets.listDnsPolicies",
"cloudasset.assets.listDomainsRegistrations",
"cloudasset.assets.listEventarcTriggers",
"cloudasset.assets.listFileBackups",
"cloudasset.assets.listFileInstances",
"cloudasset.assets.listFirebaseAppInfos",
"cloudasset.assets.listFirebaseProjects",
"cloudasset.assets.listFirestoreDatabases",
"cloudasset.assets.listGKEHubFeatures",
"cloudasset.assets.listGKEHubMemberships",
"cloudasset.assets.listGameservicesGameServerClusters",
"cloudasset.assets.listGameservicesGameServerConfigs",
"cloudasset.assets.listGameservicesGameServerDeployments",
"cloudasset.assets.listGameservicesRealms",
"cloudasset.assets.listGkeBackupBackupPlans",
"cloudasset.assets.listGkeBackupBackups",
"cloudasset.assets.listGkeBackupRestorePlans",
"cloudasset.assets.listGkeBackupRestores",
"cloudasset.assets.listGkeBackupVolumeBackups",
"cloudasset.assets.listGkeBackupVolumeRestores",
"cloudasset.assets.listHealthcareConsentStores",
"cloudasset.assets.listHealthcareDatasets",
"cloudasset.assets.listHealthcareDicomStores",
"cloudasset.assets.listHealthcareFhirStores",
"cloudasset.assets.listHealthcareHl7V2Stores",
"cloudasset.assets.listIamPolicy",
"cloudasset.assets.listIamRoles",
"cloudasset.assets.listIamServiceAccountKeys",
"cloudasset.assets.listIamServiceAccounts",
"cloudasset.assets.listIapTunnel",
"cloudasset.assets.listIapTunnelInstances",
"cloudasset.assets.listIapTunnelZones",
"cloudasset.assets.listIapWeb",
"cloudasset.assets.listIapWebServiceVersion",
"cloudasset.assets.listIapWebServices",
"cloudasset.assets.listIapWebType",
"cloudasset.assets.listIdsEndpoints",
"cloudasset.assets.listIntegrationsAuthConfigs",
"cloudasset.assets.listIntegrationsCertificates",
"cloudasset.assets.listIntegrationsExecutions",
"cloudasset.assets.listIntegrationsIntegrationVersions",
"cloudasset.assets.listIntegrationsIntegrations",
"cloudasset.assets.listIntegrationsSfdcChannels",
"cloudasset.assets.listIntegrationsSfdcInstances",
"cloudasset.assets.listIntegrationsSuspensions",
"cloudasset.assets.listLoggingLogMetrics",
"cloudasset.assets.listLoggingLogSinks",
"cloudasset.assets.listManagedidentitiesDomain",
"cloudasset.assets.listMetastoreBackups",
"cloudasset.assets.listMetastoreMetadataImports",
"cloudasset.assets.listMetastoreServices",
"cloudasset.assets.listMonitoringAlertPolicies",
"cloudasset.assets.listNetworkConnectivityHubs",
"cloudasset.assets.listNetworkConnectivitySpokes",
"cloudasset.assets.listNetworkManagementConnectivityTests",
"cloudasset.assets.listNetworkServicesEndpointPolicies",
"cloudasset.assets.listNetworkServicesGateways",
"cloudasset.assets.listNetworkServicesGrpcRoutes",
"cloudasset.assets.listNetworkServicesHttpRoutes",
"cloudasset.assets.listNetworkServicesMeshes",
"cloudasset.assets.listNetworkServicesServiceBindings",
"cloudasset.assets.listNetworkServicesTcpRoutes",
"cloudasset.assets.listNetworkServicesTlsRoutes",
"cloudasset.assets.listOSConfigOSPolicyAssignmentReports",
"cloudasset.assets.listOSConfigOSPolicyAssignments",
"cloudasset.assets.listOSConfigVulnerabilityReports",
"cloudasset.assets.listOSInventories",
"cloudasset.assets.listOrgPolicy",
"cloudasset.assets.listPatchDeployments",
"cloudasset.assets.listPubsubSnapshots",
"cloudasset.assets.listPubsubSubscriptions",
"cloudasset.assets.listPubsubTopics",
"cloudasset.assets.listRedisInstances",
"cloudasset.assets.listResource",
"cloudasset.assets.listRunDomainMapping",
"cloudasset.assets.listRunRevision",
"cloudasset.assets.listRunService",
"cloudasset.assets.listSecretManagerSecretVersions",
"cloudasset.assets.listSecretManagerSecrets",
"cloudasset.assets.listServiceDirectoryNamespaces",
"cloudasset.assets.listServicePerimeter",
"cloudasset.assets.listServiceconsumermanagementConsumerProperty",
"cloudasset.assets.listServiceconsumermanagementConsumerQuotaLimits",
"cloudasset.assets.listServiceconsumermanagementConsumers",
"cloudasset.assets.listServiceconsumermanagementProducerOverrides",
"cloudasset.assets.listServiceconsumermanagementTenancyUnits",
"cloudasset.assets.listServiceconsumermanagementVisibility",
"cloudasset.assets.listServicemanagementServices",
"cloudasset.assets.listServiceusageAdminOverrides",
"cloudasset.assets.listServiceusageConsumerOverrides",
"cloudasset.assets.listServiceusageServices",
"cloudasset.assets.listSpannerBackups",
"cloudasset.assets.listSpannerDatabases",
"cloudasset.assets.listSpannerInstances",
"cloudasset.assets.listSpeakerIdPhrases",
"cloudasset.assets.listSpeakerIdSettings",
"cloudasset.assets.listSpeakerIdSpeakers",
"cloudasset.assets.listSpeechCustomClasses",
"cloudasset.assets.listSpeechPhraseSets",
"cloudasset.assets.listSqladminBackupRuns",
"cloudasset.assets.listSqladminInstances",
"cloudasset.assets.listStorageBuckets",
"cloudasset.assets.listTpuNodes",
"cloudasset.assets.listVpcaccessConnector",
"cloudasset.assets.searchAllIamPolicies",
"cloudasset.assets.searchAllResources",
"cloudasset.feeds.create",
"cloudasset.feeds.delete",
"cloudasset.feeds.get",
"cloudasset.feeds.list",
"cloudasset.feeds.update",
"cloudasset.savedqueries.create",
"cloudasset.savedqueries.delete",
"cloudasset.savedqueries.get",
"cloudasset.savedqueries.list",
"cloudasset.savedqueries.update",
"cloudbuild.builds.approve",
"cloudbuild.builds.create",
"cloudbuild.builds.get",
"cloudbuild.builds.list",
"cloudbuild.builds.update",
"cloudbuild.integrations.create",
"cloudbuild.integrations.delete",
"cloudbuild.integrations.get",
"cloudbuild.integrations.list",
"cloudbuild.integrations.update",
"cloudbuild.workerpools.create",
"cloudbuild.workerpools.delete",
"cloudbuild.workerpools.get",
"cloudbuild.workerpools.list",
"cloudbuild.workerpools.update",
"cloudbuild.workerpools.use",
"cloudconfig.configs.get",
"cloudconfig.configs.update",
"clouddebugger.breakpoints.create",
"clouddebugger.breakpoints.delete",
"clouddebugger.breakpoints.get",
"clouddebugger.breakpoints.list",
"clouddebugger.breakpoints.listActive",
"clouddebugger.breakpoints.update",
"clouddebugger.debuggees.create",
"clouddebugger.debuggees.list",
"clouddeploy.config.get",
"clouddeploy.deliveryPipelines.create",
"clouddeploy.deliveryPipelines.delete",
"clouddeploy.deliveryPipelines.get",
"clouddeploy.deliveryPipelines.getIamPolicy",
"clouddeploy.deliveryPipelines.list",
"clouddeploy.deliveryPipelines.setIamPolicy",
"clouddeploy.deliveryPipelines.update",
"clouddeploy.jobRuns.get",
"clouddeploy.jobRuns.list",
"clouddeploy.locations.get",
"clouddeploy.locations.list",
"clouddeploy.operations.cancel",
"clouddeploy.operations.delete",
"clouddeploy.operations.get",
"clouddeploy.operations.list",
"clouddeploy.releases.abandon",
"clouddeploy.releases.create",
"clouddeploy.releases.delete",
"clouddeploy.releases.get",
"clouddeploy.releases.list",
"clouddeploy.rollouts.approve",
"clouddeploy.rollouts.create",
"clouddeploy.rollouts.get",
"clouddeploy.rollouts.list",
"clouddeploy.rollouts.retryJob",
"clouddeploy.targets.create",
"clouddeploy.targets.delete",
"clouddeploy.targets.get",
"clouddeploy.targets.getIamPolicy",
"clouddeploy.targets.list",
"clouddeploy.targets.setIamPolicy",
"clouddeploy.targets.update",
"cloudfunctions.functions.call",
"cloudfunctions.functions.create",
"cloudfunctions.functions.delete",
"cloudfunctions.functions.get",
"cloudfunctions.functions.getIamPolicy",
"cloudfunctions.functions.invoke",
"cloudfunctions.functions.list",
"cloudfunctions.functions.setIamPolicy",
"cloudfunctions.functions.sourceCodeGet",
"cloudfunctions.functions.sourceCodeSet",
"cloudfunctions.functions.update",
"cloudfunctions.locations.get",
"cloudfunctions.locations.list",
"cloudfunctions.operations.get",
"cloudfunctions.operations.list",
"cloudfunctions.runtimes.list",
"cloudiot.devices.bindGateway",
"cloudiot.devices.create",
"cloudiot.devices.delete",
"cloudiot.devices.get",
"cloudiot.devices.list",
"cloudiot.devices.sendCommand",
"cloudiot.devices.unbindGateway",
"cloudiot.devices.update",
"cloudiot.devices.updateConfig",
"cloudiot.registries.create",
"cloudiot.registries.delete",
"cloudiot.registries.get",
"cloudiot.registries.getIamPolicy",
"cloudiot.registries.list",
"cloudiot.registries.setIamPolicy",
"cloudiot.registries.update",
"cloudiottoken.tokensettings.get",
"cloudiottoken.tokensettings.update",
"cloudjobdiscovery.companies.create",
"cloudjobdiscovery.companies.delete",
"cloudjobdiscovery.companies.get",
"cloudjobdiscovery.companies.list",
"cloudjobdiscovery.companies.update",
"cloudjobdiscovery.events.create",
"cloudjobdiscovery.jobs.create",
"cloudjobdiscovery.jobs.delete",
"cloudjobdiscovery.jobs.get",
"cloudjobdiscovery.jobs.search",
"cloudjobdiscovery.jobs.update",
"cloudjobdiscovery.profiles.create",
"cloudjobdiscovery.profiles.delete",
"cloudjobdiscovery.profiles.get",
"cloudjobdiscovery.profiles.search",
"cloudjobdiscovery.profiles.update",
"cloudjobdiscovery.tenants.create",
"cloudjobdiscovery.tenants.delete",
"cloudjobdiscovery.tenants.get",
"cloudjobdiscovery.tenants.update",
"cloudjobdiscovery.tools.access",
"cloudkms.cryptoKeyVersions.create",
"cloudkms.cryptoKeyVersions.destroy",
"cloudkms.cryptoKeyVersions.get",
"cloudkms.cryptoKeyVersions.list",
"cloudkms.cryptoKeyVersions.manageRawPKCS1Keys",
"cloudkms.cryptoKeyVersions.restore",
"cloudkms.cryptoKeyVersions.update",
"cloudkms.cryptoKeyVersions.useToDecrypt",
"cloudkms.cryptoKeyVersions.useToDecryptViaDelegation",
"cloudkms.cryptoKeyVersions.useToEncrypt",
"cloudkms.cryptoKeyVersions.useToEncryptViaDelegation",
"cloudkms.cryptoKeyVersions.useToSign",
"cloudkms.cryptoKeyVersions.useToVerify",
"cloudkms.cryptoKeyVersions.viewPublicKey",
"cloudkms.cryptoKeys.create",
"cloudkms.cryptoKeys.get",
"cloudkms.cryptoKeys.getIamPolicy",
"cloudkms.cryptoKeys.list",
"cloudkms.cryptoKeys.setIamPolicy",
"cloudkms.cryptoKeys.update",
"cloudkms.ekmConnections.create",
"cloudkms.ekmConnections.get",
"cloudkms.ekmConnections.getIamPolicy",
"cloudkms.ekmConnections.list",
"cloudkms.ekmConnections.setIamPolicy",
"cloudkms.ekmConnections.update",
"cloudkms.ekmConnections.use",
"cloudkms.importJobs.create",
"cloudkms.importJobs.get",
"cloudkms.importJobs.getIamPolicy",
"cloudkms.importJobs.list",
"cloudkms.importJobs.setIamPolicy",
"cloudkms.importJobs.useToImport",
"cloudkms.keyRings.create",
"cloudkms.keyRings.createTagBinding",
"cloudkms.keyRings.deleteTagBinding",
"cloudkms.keyRings.get",
"cloudkms.keyRings.getIamPolicy",
"cloudkms.keyRings.list",
"cloudkms.keyRings.listEffectiveTags",
"cloudkms.keyRings.listTagBindings",
"cloudkms.keyRings.setIamPolicy",
"cloudkms.locations.generateRandomBytes",
"cloudkms.locations.get",
"cloudkms.locations.list",
"cloudmessaging.messages.create",
"cloudmigration.velostrataendpoints.connect",
"cloudnotifications.activities.list",
"cloudoptimization.operations.create",
"cloudoptimization.operations.get",
"cloudprivatecatalog.targets.get",
"cloudprivatecatalogproducer.catalogAssociations.create",
"cloudprivatecatalogproducer.catalogAssociations.delete",
"cloudprivatecatalogproducer.catalogAssociations.get",
"cloudprivatecatalogproducer.catalogAssociations.list",
"cloudprivatecatalogproducer.producerCatalogs.attachProduct",
"cloudprivatecatalogproducer.producerCatalogs.create",
"cloudprivatecatalogproducer.producerCatalogs.delete",
"cloudprivatecatalogproducer.producerCatalogs.detachProduct",
"cloudprivatecatalogproducer.producerCatalogs.get",
"cloudprivatecatalogproducer.producerCatalogs.getIamPolicy",
"cloudprivatecatalogproducer.producerCatalogs.list",
"cloudprivatecatalogproducer.producerCatalogs.setIamPolicy",
"cloudprivatecatalogproducer.producerCatalogs.update",
"cloudprivatecatalogproducer.products.create",
"cloudprivatecatalogproducer.products.delete",
"cloudprivatecatalogproducer.products.get",
"cloudprivatecatalogproducer.products.getIamPolicy",
"cloudprivatecatalogproducer.products.list",
"cloudprivatecatalogproducer.products.setIamPolicy",
"cloudprivatecatalogproducer.products.update",
"cloudprivatecatalogproducer.targets.associate",
"cloudprivatecatalogproducer.targets.unassociate",
"cloudprofiler.profiles.create",
"cloudprofiler.profiles.list",
"cloudprofiler.profiles.update",
"cloudscheduler.jobs.create",
"cloudscheduler.jobs.delete",
"cloudscheduler.jobs.enable",
"cloudscheduler.jobs.fullView",
"cloudscheduler.jobs.get",
"cloudscheduler.jobs.list",
"cloudscheduler.jobs.pause",
"cloudscheduler.jobs.run",
"cloudscheduler.jobs.update",
"cloudscheduler.locations.get",
"cloudscheduler.locations.list",
"cloudsecurityscanner.crawledurls.list",
"cloudsecurityscanner.results.get",
"cloudsecurityscanner.results.list",
"cloudsecurityscanner.scanruns.get",
"cloudsecurityscanner.scanruns.getSummary",
"cloudsecurityscanner.scanruns.list",
"cloudsecurityscanner.scanruns.stop",
"cloudsecurityscanner.scans.create",
"cloudsecurityscanner.scans.delete",
"cloudsecurityscanner.scans.get",
"cloudsecurityscanner.scans.list",
"cloudsecurityscanner.scans.run",
"cloudsecurityscanner.scans.update",
"cloudsql.backupRuns.create",
"cloudsql.backupRuns.delete",
"cloudsql.backupRuns.get",
"cloudsql.backupRuns.list",
"cloudsql.databases.create",
"cloudsql.databases.delete",
"cloudsql.databases.get",
"cloudsql.databases.list",
"cloudsql.databases.update",
"cloudsql.instances.addServerCa",
"cloudsql.instances.clone",
"cloudsql.instances.connect",
"cloudsql.instances.create",
"cloudsql.instances.createTagBinding",
"cloudsql.instances.delete",
"cloudsql.instances.deleteTagBinding",
"cloudsql.instances.demoteMaster",
"cloudsql.instances.export",
"cloudsql.instances.failover",
"cloudsql.instances.get",
"cloudsql.instances.import",
"cloudsql.instances.list",
"cloudsql.instances.listEffectiveTags",
"cloudsql.instances.listServerCas",
"cloudsql.instances.listTagBindings",
"cloudsql.instances.login",
"cloudsql.instances.promoteReplica",
"cloudsql.instances.resetSslConfig",
"cloudsql.instances.restart",
"cloudsql.instances.restoreBackup",
"cloudsql.instances.rotateServerCa",
"cloudsql.instances.startReplica",
"cloudsql.instances.stopReplica",
"cloudsql.instances.truncateLog",
"cloudsql.instances.update",
"cloudsql.sslCerts.create",
"cloudsql.sslCerts.createEphemeral",
"cloudsql.sslCerts.delete",
"cloudsql.sslCerts.get",
"cloudsql.sslCerts.list",
"cloudsql.users.create",
"cloudsql.users.delete",
"cloudsql.users.get",
"cloudsql.users.list",
"cloudsql.users.update",
"cloudsupport.properties.get",
"cloudsupport.techCases.create",
"cloudsupport.techCases.escalate",
"cloudsupport.techCases.get",
"cloudsupport.techCases.list",
"cloudsupport.techCases.update",
"cloudtasks.locations.get",
"cloudtasks.locations.list",
"cloudtasks.queues.create",
"cloudtasks.queues.delete",
"cloudtasks.queues.get",
"cloudtasks.queues.getIamPolicy",
"cloudtasks.queues.list",
"cloudtasks.queues.pause",
"cloudtasks.queues.purge",
"cloudtasks.queues.resume",
"cloudtasks.queues.setIamPolicy",
"cloudtasks.queues.update",
"cloudtasks.tasks.create",
"cloudtasks.tasks.delete",
"cloudtasks.tasks.fullView",
"cloudtasks.tasks.get",
"cloudtasks.tasks.list",
"cloudtasks.tasks.run",
"cloudtestservice.environmentcatalog.get",
"cloudtestservice.matrices.create",
"cloudtestservice.matrices.get",
"cloudtestservice.matrices.update",
"cloudtoolresults.executions.create",
"cloudtoolresults.executions.get",
"cloudtoolresults.executions.list",
"cloudtoolresults.executions.update",
"cloudtoolresults.histories.create",
"cloudtoolresults.histories.get",
"cloudtoolresults.histories.list",
"cloudtoolresults.settings.create",
"cloudtoolresults.settings.get",
"cloudtoolresults.settings.update",
"cloudtoolresults.steps.create",
"cloudtoolresults.steps.get",
"cloudtoolresults.steps.list",
"cloudtoolresults.steps.update",
"cloudtrace.insights.get",
"cloudtrace.insights.list",
"cloudtrace.stats.get",
"cloudtrace.tasks.create",
"cloudtrace.tasks.delete",
"cloudtrace.tasks.get",
"cloudtrace.tasks.list",
"cloudtrace.traces.get",
"cloudtrace.traces.list",
"cloudtrace.traces.patch",
"cloudtranslate.generalModels.batchDocPredict",
"cloudtranslate.generalModels.batchPredict",
"cloudtranslate.generalModels.docPredict",
"cloudtranslate.generalModels.get",
"cloudtranslate.generalModels.predict",
"cloudtranslate.glossaries.batchDocPredict",
"cloudtranslate.glossaries.batchPredict",
"cloudtranslate.glossaries.create",
"cloudtranslate.glossaries.delete",
"cloudtranslate.glossaries.docPredict",
"cloudtranslate.glossaries.get",
"cloudtranslate.glossaries.list",
"cloudtranslate.glossaries.predict",
"cloudtranslate.glossaries.update",
"cloudtranslate.glossaryentries.create",
"cloudtranslate.glossaryentries.delete",
"cloudtranslate.glossaryentries.get",
"cloudtranslate.glossaryentries.list",
"cloudtranslate.glossaryentries.update",
"cloudtranslate.languageDetectionModels.predict",
"cloudtranslate.locations.get",
"cloudtranslate.locations.list",
"cloudtranslate.operations.cancel",
"cloudtranslate.operations.delete",
"cloudtranslate.operations.get",
"cloudtranslate.operations.list",
"cloudtranslate.operations.wait",
"commercebusinessenablement.leadgenConfig.get",
"commercebusinessenablement.leadgenConfig.update",
"commercebusinessenablement.paymentConfig.get",
"commercebusinessenablement.paymentConfig.update",
"commerceorggovernance.consumerSharingPolicies.get",
"commerceorggovernance.consumerSharingPolicies.update",
"commerceorggovernance.services.list",
"commerceprice.privateoffers.cancel",
"commerceprice.privateoffers.create",
"commerceprice.privateoffers.delete",
"commerceprice.privateoffers.get",
"commerceprice.privateoffers.list",
"commerceprice.privateoffers.publish",
"commerceprice.privateoffers.update",
"composer.dags.execute",
"composer.dags.get",
"composer.dags.getSourceCode",
"composer.dags.list",
"composer.environments.create",
"composer.environments.delete",
"composer.environments.get",
"composer.environments.list",
"composer.environments.update",
"composer.imageversions.list",
"composer.operations.delete",
"composer.operations.get",
"composer.operations.list",
"compute.acceleratorTypes.get",
"compute.acceleratorTypes.list",
"compute.addresses.create",
"compute.addresses.createInternal",
"compute.addresses.delete",
"compute.addresses.deleteInternal",
"compute.addresses.get",
"compute.addresses.list",
"compute.addresses.setLabels",
"compute.addresses.use",
"compute.addresses.useInternal",
"compute.autoscalers.create",
"compute.autoscalers.delete",
"compute.autoscalers.get",
"compute.autoscalers.list",
"compute.autoscalers.update",
"compute.backendBuckets.addSignedUrlKey",
"compute.backendBuckets.create",
"compute.backendBuckets.delete",
"compute.backendBuckets.deleteSignedUrlKey",
"compute.backendBuckets.get",
"compute.backendBuckets.getIamPolicy",
"compute.backendBuckets.list",
"compute.backendBuckets.setIamPolicy",
"compute.backendBuckets.setSecurityPolicy",
"compute.backendBuckets.update",
"compute.backendBuckets.use",
"compute.backendServices.addSignedUrlKey",
"compute.backendServices.create",
"compute.backendServices.delete",
"compute.backendServices.deleteSignedUrlKey",
"compute.backendServices.get",
"compute.backendServices.getIamPolicy",
"compute.backendServices.list",
"compute.backendServices.setIamPolicy",
"compute.backendServices.setSecurityPolicy",
"compute.backendServices.update",
"compute.backendServices.use",
"compute.commitments.create",
"compute.commitments.get",
"compute.commitments.list",
"compute.commitments.update",
"compute.commitments.updateReservations",
"compute.diskTypes.get",
"compute.diskTypes.list",
"compute.disks.addResourcePolicies",
"compute.disks.create",
"compute.disks.createSnapshot",
"compute.disks.createTagBinding",
"compute.disks.delete",
"compute.disks.deleteTagBinding",
"compute.disks.get",
"compute.disks.getIamPolicy",
"compute.disks.list",
"compute.disks.listEffectiveTags",
"compute.disks.listTagBindings",
"compute.disks.removeResourcePolicies",
"compute.disks.resize",
"compute.disks.setIamPolicy",
"compute.disks.setLabels",
"compute.disks.update",
"compute.disks.use",
"compute.disks.useReadOnly",
"compute.externalVpnGateways.create",
"compute.externalVpnGateways.delete",
"compute.externalVpnGateways.get",
"compute.externalVpnGateways.list",
"compute.externalVpnGateways.setLabels",
"compute.externalVpnGateways.use",
"compute.firewallPolicies.cloneRules",
"compute.firewallPolicies.create",
"compute.firewallPolicies.delete",
"compute.firewallPolicies.get",
"compute.firewallPolicies.getIamPolicy",
"compute.firewallPolicies.list",
"compute.firewallPolicies.setIamPolicy",
"compute.firewallPolicies.update",
"compute.firewallPolicies.use",
"compute.firewalls.create",
"compute.firewalls.delete",
"compute.firewalls.get",
"compute.firewalls.list",
"compute.firewalls.update",
"compute.forwardingRules.create",
"compute.forwardingRules.delete",
"compute.forwardingRules.get",
"compute.forwardingRules.list",
"compute.forwardingRules.pscCreate",
"compute.forwardingRules.pscDelete",
"compute.forwardingRules.pscSetLabels",
"compute.forwardingRules.pscSetTarget",
"compute.forwardingRules.pscUpdate",
"compute.forwardingRules.setLabels",
"compute.forwardingRules.setTarget",
"compute.forwardingRules.update",
"compute.forwardingRules.use",
"compute.globalAddresses.create",
"compute.globalAddresses.createInternal",
"compute.globalAddresses.delete",
"compute.globalAddresses.deleteInternal",
"compute.globalAddresses.get",
"compute.globalAddresses.list",
"compute.globalAddresses.setLabels",
"compute.globalAddresses.use",
"compute.globalForwardingRules.create",
"compute.globalForwardingRules.delete",
"compute.globalForwardingRules.get",
"compute.globalForwardingRules.list",
"compute.globalForwardingRules.pscCreate",
"compute.globalForwardingRules.pscDelete",
"compute.globalForwardingRules.pscGet",
"compute.globalForwardingRules.pscSetLabels",
"compute.globalForwardingRules.pscSetTarget",
"compute.globalForwardingRules.pscUpdate",
"compute.globalForwardingRules.setLabels",
"compute.globalForwardingRules.setTarget",
"compute.globalForwardingRules.update",
"compute.globalNetworkEndpointGroups.attachNetworkEndpoints",
"compute.globalNetworkEndpointGroups.create",
"compute.globalNetworkEndpointGroups.delete",
"compute.globalNetworkEndpointGroups.detachNetworkEndpoints",
"compute.globalNetworkEndpointGroups.get",
"compute.globalNetworkEndpointGroups.list",
"compute.globalNetworkEndpointGroups.use",
"compute.globalOperations.delete",
"compute.globalOperations.get",
"compute.globalOperations.getIamPolicy",
"compute.globalOperations.list",
"compute.globalOperations.setIamPolicy",
"compute.globalPublicDelegatedPrefixes.create",
"compute.globalPublicDelegatedPrefixes.delete",
"compute.globalPublicDelegatedPrefixes.get",
"compute.globalPublicDelegatedPrefixes.list",
"compute.globalPublicDelegatedPrefixes.update",
"compute.globalPublicDelegatedPrefixes.updatePolicy",
"compute.globalPublicDelegatedPrefixes.use",
"compute.healthChecks.create",
"compute.healthChecks.delete",
"compute.healthChecks.get",
"compute.healthChecks.list",
"compute.healthChecks.update",
"compute.healthChecks.use",
"compute.healthChecks.useReadOnly",
"compute.httpHealthChecks.create",
"compute.httpHealthChecks.delete",
"compute.httpHealthChecks.get",
"compute.httpHealthChecks.list",
"compute.httpHealthChecks.update",
"compute.httpHealthChecks.use",
"compute.httpHealthChecks.useReadOnly",
"compute.httpsHealthChecks.create",
"compute.httpsHealthChecks.delete",
"compute.httpsHealthChecks.get",
"compute.httpsHealthChecks.list",
"compute.httpsHealthChecks.update",
"compute.httpsHealthChecks.use",
"compute.httpsHealthChecks.useReadOnly",
"compute.images.create",
"compute.images.createTagBinding",
"compute.images.delete",
"compute.images.deleteTagBinding",
"compute.images.deprecate",
"compute.images.get",
"compute.images.getFromFamily",
"compute.images.getIamPolicy",
"compute.images.list",
"compute.images.listEffectiveTags",
"compute.images.listTagBindings",
"compute.images.setIamPolicy",
"compute.images.setLabels",
"compute.images.update",
"compute.images.useReadOnly",
"compute.instanceGroupManagers.create",
"compute.instanceGroupManagers.delete",
"compute.instanceGroupManagers.get",
"compute.instanceGroupManagers.list",
"compute.instanceGroupManagers.update",
"compute.instanceGroupManagers.use",
"compute.instanceGroups.create",
"compute.instanceGroups.delete",
"compute.instanceGroups.get",
"compute.instanceGroups.list",
"compute.instanceGroups.update",
"compute.instanceGroups.use",
"compute.instanceTemplates.create",
"compute.instanceTemplates.delete",
"compute.instanceTemplates.get",
"compute.instanceTemplates.getIamPolicy",
"compute.instanceTemplates.list",
"compute.instanceTemplates.setIamPolicy",
"compute.instanceTemplates.useReadOnly",
"compute.instances.addAccessConfig",
"compute.instances.addMaintenancePolicies",
"compute.instances.addResourcePolicies",
"compute.instances.attachDisk",
"compute.instances.create",
"compute.instances.createTagBinding",
"compute.instances.delete",
"compute.instances.deleteAccessConfig",
"compute.instances.deleteTagBinding",
"compute.instances.detachDisk",
"compute.instances.get",
"compute.instances.getEffectiveFirewalls",
"compute.instances.getGuestAttributes",
"compute.instances.getIamPolicy",
"compute.instances.getScreenshot",
"compute.instances.getSerialPortOutput",
"compute.instances.getShieldedInstanceIdentity",
"compute.instances.getShieldedVmIdentity",
"compute.instances.list",
"compute.instances.listEffectiveTags",
"compute.instances.listReferrers",
"compute.instances.listTagBindings",
"compute.instances.osAdminLogin",
"compute.instances.osLogin",
"compute.instances.removeMaintenancePolicies",
"compute.instances.removeResourcePolicies",
"compute.instances.reset",
"compute.instances.resume",
"compute.instances.sendDiagnosticInterrupt",
"compute.instances.setDeletionProtection",
"compute.instances.setDiskAutoDelete",
"compute.instances.setIamPolicy",
"compute.instances.setLabels",
"compute.instances.setMachineResources",
"compute.instances.setMachineType",
"compute.instances.setMetadata",
"compute.instances.setMinCpuPlatform",
"compute.instances.setName",
"compute.instances.setScheduling",
"compute.instances.setServiceAccount",
"compute.instances.setShieldedInstanceIntegrityPolicy",
"compute.instances.setShieldedVmIntegrityPolicy",
"compute.instances.setTags",
"compute.instances.start",
"compute.instances.startWithEncryptionKey",
"compute.instances.stop",
"compute.instances.suspend",
"compute.instances.update",
"compute.instances.updateAccessConfig",
"compute.instances.updateDisplayDevice",
"compute.instances.updateNetworkInterface",
"compute.instances.updateSecurity",
"compute.instances.updateShieldedInstanceConfig",
"compute.instances.updateShieldedVmConfig",
"compute.instances.use",
"compute.instances.useReadOnly",
"compute.interconnectAttachments.create",
"compute.interconnectAttachments.delete",
"compute.interconnectAttachments.get",
"compute.interconnectAttachments.list",
"compute.interconnectAttachments.setLabels",
"compute.interconnectAttachments.update",
"compute.interconnectAttachments.use",
"compute.interconnectLocations.get",
"compute.interconnectLocations.list",
"compute.interconnects.create",
"compute.interconnects.delete",
"compute.interconnects.get",
"compute.interconnects.list",
"compute.interconnects.setLabels",
"compute.interconnects.update",
"compute.interconnects.use",
"compute.licenseCodes.get",
"compute.licenseCodes.getIamPolicy",
"compute.licenseCodes.list",
"compute.licenseCodes.setIamPolicy",
"compute.licenseCodes.update",
"compute.licenseCodes.use",
"compute.licenses.create",
"compute.licenses.delete",
"compute.licenses.get",
"compute.licenses.getIamPolicy",
"compute.licenses.list",
"compute.licenses.setIamPolicy",
"compute.machineImages.create",
"compute.machineImages.delete",
"compute.machineImages.get",
"compute.machineImages.getIamPolicy",
"compute.machineImages.list",
"compute.machineImages.setIamPolicy",
"compute.machineImages.useReadOnly",
"compute.machineTypes.get",
"compute.machineTypes.list",
"compute.maintenancePolicies.create",
"compute.maintenancePolicies.delete",
"compute.maintenancePolicies.get",
"compute.maintenancePolicies.getIamPolicy",
"compute.maintenancePolicies.list",
"compute.maintenancePolicies.setIamPolicy",
"compute.maintenancePolicies.use",
"compute.networkAttachments.create",
"compute.networkAttachments.delete",
"compute.networkAttachments.get",
"compute.networkAttachments.list",
"compute.networkEdgeSecurityServices.create",
"compute.networkEdgeSecurityServices.delete",
"compute.networkEdgeSecurityServices.get",
"compute.networkEdgeSecurityServices.list",
"compute.networkEdgeSecurityServices.update",
"compute.networkEndpointGroups.attachNetworkEndpoints",
"compute.networkEndpointGroups.create",
"compute.networkEndpointGroups.delete",
"compute.networkEndpointGroups.detachNetworkEndpoints",
"compute.networkEndpointGroups.get",
"compute.networkEndpointGroups.getIamPolicy",
"compute.networkEndpointGroups.list",
"compute.networkEndpointGroups.setIamPolicy",
"compute.networkEndpointGroups.use",
"compute.networks.access",
"compute.networks.addPeering",
"compute.networks.create",
"compute.networks.delete",
"compute.networks.get",
"compute.networks.getEffectiveFirewalls",
"compute.networks.getRegionEffectiveFirewalls",
"compute.networks.list",
"compute.networks.listPeeringRoutes",
"compute.networks.mirror",
"compute.networks.removePeering",
"compute.networks.setFirewallPolicy",
"compute.networks.switchToCustomMode",
"compute.networks.update",
"compute.networks.updatePeering",
"compute.networks.updatePolicy",
"compute.networks.use",
"compute.networks.useExternalIp",
"compute.nodeGroups.addNodes",
"compute.nodeGroups.create",
"compute.nodeGroups.delete",
"compute.nodeGroups.deleteNodes",
"compute.nodeGroups.get",
"compute.nodeGroups.getIamPolicy",
"compute.nodeGroups.list",
"compute.nodeGroups.setIamPolicy",
"compute.nodeGroups.setNodeTemplate",
"compute.nodeGroups.update",
"compute.nodeTemplates.create",
"compute.nodeTemplates.delete",
"compute.nodeTemplates.get",
"compute.nodeTemplates.getIamPolicy",
"compute.nodeTemplates.list",
"compute.nodeTemplates.setIamPolicy",
"compute.nodeTypes.get",
"compute.nodeTypes.list",
"compute.organizations.administerXpn",
"compute.packetMirrorings.create",
"compute.packetMirrorings.delete",
"compute.packetMirrorings.get",
"compute.packetMirrorings.list",
"compute.packetMirrorings.update",
"compute.projects.get",
"compute.projects.setCommonInstanceMetadata",
"compute.projects.setDefaultNetworkTier",
"compute.projects.setDefaultServiceAccount",
"compute.projects.setUsageExportBucket",
"compute.publicAdvertisedPrefixes.create",
"compute.publicAdvertisedPrefixes.delete",
"compute.publicAdvertisedPrefixes.get",
"compute.publicAdvertisedPrefixes.list",
"compute.publicAdvertisedPrefixes.update",
"compute.publicAdvertisedPrefixes.updatePolicy",
"compute.publicAdvertisedPrefixes.use",
"compute.publicDelegatedPrefixes.create",
"compute.publicDelegatedPrefixes.delete",
"compute.publicDelegatedPrefixes.get",
"compute.publicDelegatedPrefixes.list",
"compute.publicDelegatedPrefixes.update",
"compute.publicDelegatedPrefixes.updatePolicy",
"compute.publicDelegatedPrefixes.use",
"compute.regionBackendServices.create",
"compute.regionBackendServices.delete",
"compute.regionBackendServices.get",
"compute.regionBackendServices.getIamPolicy",
"compute.regionBackendServices.list",
"compute.regionBackendServices.setIamPolicy",
"compute.regionBackendServices.setSecurityPolicy",
"compute.regionBackendServices.update",
"compute.regionBackendServices.use",
"compute.regionFirewallPolicies.cloneRules",
"compute.regionFirewallPolicies.create",
"compute.regionFirewallPolicies.delete",
"compute.regionFirewallPolicies.get",
"compute.regionFirewallPolicies.getIamPolicy",
"compute.regionFirewallPolicies.list",
"compute.regionFirewallPolicies.setIamPolicy",
"compute.regionFirewallPolicies.update",
"compute.regionFirewallPolicies.use",
"compute.regionHealthCheckServices.create",
"compute.regionHealthCheckServices.delete",
"compute.regionHealthCheckServices.get",
"compute.regionHealthCheckServices.list",
"compute.regionHealthCheckServices.update",
"compute.regionHealthCheckServices.use",
"compute.regionHealthChecks.create",
"compute.regionHealthChecks.delete",
"compute.regionHealthChecks.get",
"compute.regionHealthChecks.list",
"compute.regionHealthChecks.update",
"compute.regionHealthChecks.use",
"compute.regionHealthChecks.useReadOnly",
"compute.regionNetworkEndpointGroups.create",
"compute.regionNetworkEndpointGroups.delete",
"compute.regionNetworkEndpointGroups.get",
"compute.regionNetworkEndpointGroups.list",
"compute.regionNetworkEndpointGroups.use",
"compute.regionNotificationEndpoints.create",
"compute.regionNotificationEndpoints.delete",
"compute.regionNotificationEndpoints.get",
"compute.regionNotificationEndpoints.list",
"compute.regionNotificationEndpoints.update",
"compute.regionNotificationEndpoints.use",
"compute.regionOperations.delete",
"compute.regionOperations.get",
"compute.regionOperations.getIamPolicy",
"compute.regionOperations.list",
"compute.regionOperations.setIamPolicy",
"compute.regionSecurityPolicies.create",
"compute.regionSecurityPolicies.delete",
"compute.regionSecurityPolicies.get",
"compute.regionSecurityPolicies.list",
"compute.regionSecurityPolicies.update",
"compute.regionSecurityPolicies.use",
"compute.regionSslCertificates.create",
"compute.regionSslCertificates.delete",
"compute.regionSslCertificates.get",
"compute.regionSslCertificates.list",
"compute.regionSslPolicies.create",
"compute.regionSslPolicies.delete",
"compute.regionSslPolicies.get",
"compute.regionSslPolicies.list",
"compute.regionSslPolicies.listAvailableFeatures",
"compute.regionSslPolicies.update",
"compute.regionSslPolicies.use",
"compute.regionTargetHttpProxies.create",
"compute.regionTargetHttpProxies.delete",
"compute.regionTargetHttpProxies.get",
"compute.regionTargetHttpProxies.list",
"compute.regionTargetHttpProxies.setUrlMap",
"compute.regionTargetHttpProxies.update",
"compute.regionTargetHttpProxies.use",
"compute.regionTargetHttpsProxies.create",
"compute.regionTargetHttpsProxies.delete",
"compute.regionTargetHttpsProxies.get",
"compute.regionTargetHttpsProxies.list",
"compute.regionTargetHttpsProxies.setSslCertificates",
"compute.regionTargetHttpsProxies.setUrlMap",
"compute.regionTargetHttpsProxies.update",
"compute.regionTargetHttpsProxies.use",
"compute.regionTargetTcpProxies.create",
"compute.regionTargetTcpProxies.delete",
"compute.regionTargetTcpProxies.get",
"compute.regionTargetTcpProxies.list",
"compute.regionTargetTcpProxies.use",
"compute.regionUrlMaps.create",
"compute.regionUrlMaps.delete",
"compute.regionUrlMaps.get",
"compute.regionUrlMaps.invalidateCache",
"compute.regionUrlMaps.list",
"compute.regionUrlMaps.update",
"compute.regionUrlMaps.use",
"compute.regionUrlMaps.validate",
"compute.regions.get",
"compute.regions.list",
"compute.reservations.create",
"compute.reservations.delete",
"compute.reservations.get",
"compute.reservations.list",
"compute.reservations.resize",
"compute.reservations.update",
"compute.resourcePolicies.create",
"compute.resourcePolicies.delete",
"compute.resourcePolicies.get",
"compute.resourcePolicies.getIamPolicy",
"compute.resourcePolicies.list",
"compute.resourcePolicies.setIamPolicy",
"compute.resourcePolicies.use",
"compute.routers.create",
"compute.routers.delete",
"compute.routers.get",
"compute.routers.list",
"compute.routers.update",
"compute.routers.use",
"compute.routes.create",
"compute.routes.delete",
"compute.routes.get",
"compute.routes.list",
"compute.securityPolicies.create",
"compute.securityPolicies.delete",
"compute.securityPolicies.get",
"compute.securityPolicies.getIamPolicy",
"compute.securityPolicies.list",
"compute.securityPolicies.setIamPolicy",
"compute.securityPolicies.setLabels",
"compute.securityPolicies.update",
"compute.securityPolicies.use",
"compute.serviceAttachments.create",
"compute.serviceAttachments.delete",
"compute.serviceAttachments.get",
"compute.serviceAttachments.getIamPolicy",
"compute.serviceAttachments.list",
"compute.serviceAttachments.setIamPolicy",
"compute.serviceAttachments.update",
"compute.serviceAttachments.use",
"compute.snapshots.create",
"compute.snapshots.createTagBinding",
"compute.snapshots.delete",
"compute.snapshots.deleteTagBinding",
"compute.snapshots.get",
"compute.snapshots.getIamPolicy",
"compute.snapshots.list",
"compute.snapshots.listEffectiveTags",
"compute.snapshots.listTagBindings",
"compute.snapshots.setIamPolicy",
"compute.snapshots.setLabels",
"compute.snapshots.useReadOnly",
"compute.sslCertificates.create",
"compute.sslCertificates.delete",
"compute.sslCertificates.get",
"compute.sslCertificates.list",
"compute.sslPolicies.create",
"compute.sslPolicies.delete",
"compute.sslPolicies.get",
"compute.sslPolicies.list",
"compute.sslPolicies.listAvailableFeatures",
"compute.sslPolicies.update",
"compute.sslPolicies.use",
"compute.subnetworks.create",
"compute.subnetworks.delete",
"compute.subnetworks.expandIpCidrRange",
"compute.subnetworks.get",
"compute.subnetworks.getIamPolicy",
"compute.subnetworks.list",
"compute.subnetworks.mirror",
"compute.subnetworks.setIamPolicy",
"compute.subnetworks.setPrivateIpGoogleAccess",
"compute.subnetworks.update",
"compute.subnetworks.use",
"compute.subnetworks.useExternalIp",
"compute.targetGrpcProxies.create",
"compute.targetGrpcProxies.delete",
"compute.targetGrpcProxies.get",
"compute.targetGrpcProxies.list",
"compute.targetGrpcProxies.update",
"compute.targetGrpcProxies.use",
"compute.targetHttpProxies.create",
"compute.targetHttpProxies.delete",
"compute.targetHttpProxies.get",
"compute.targetHttpProxies.list",
"compute.targetHttpProxies.setUrlMap",
"compute.targetHttpProxies.update",
"compute.targetHttpProxies.use",
"compute.targetHttpsProxies.create",
"compute.targetHttpsProxies.delete",
"compute.targetHttpsProxies.get",
"compute.targetHttpsProxies.list",
"compute.targetHttpsProxies.setCertificateMap",
"compute.targetHttpsProxies.setQuicOverride",
"compute.targetHttpsProxies.setSslCertificates",
"compute.targetHttpsProxies.setSslPolicy",
"compute.targetHttpsProxies.setUrlMap",
"compute.targetHttpsProxies.update",
"compute.targetHttpsProxies.use",
"compute.targetInstances.create",
"compute.targetInstances.delete",
"compute.targetInstances.get",
"compute.targetInstances.list",
"compute.targetInstances.use",
"compute.targetPools.addHealthCheck",
"compute.targetPools.addInstance",
"compute.targetPools.create",
"compute.targetPools.delete",
"compute.targetPools.get",
"compute.targetPools.list",
"compute.targetPools.removeHealthCheck",
"compute.targetPools.removeInstance",
"compute.targetPools.update",
"compute.targetPools.use",
"compute.targetSslProxies.create",
"compute.targetSslProxies.delete",
"compute.targetSslProxies.get",
"compute.targetSslProxies.list",
"compute.targetSslProxies.setBackendService",
"compute.targetSslProxies.setCertificateMap",
"compute.targetSslProxies.setProxyHeader",
"compute.targetSslProxies.setSslCertificates",
"compute.targetSslProxies.setSslPolicy",
"compute.targetSslProxies.update",
"compute.targetSslProxies.use",
"compute.targetTcpProxies.create",
"compute.targetTcpProxies.delete",
"compute.targetTcpProxies.get",
"compute.targetTcpProxies.list",
"compute.targetTcpProxies.update",
"compute.targetTcpProxies.use",
"compute.targetVpnGateways.create",
"compute.targetVpnGateways.delete",
"compute.targetVpnGateways.get",
"compute.targetVpnGateways.list",
"compute.targetVpnGateways.setLabels",
"compute.targetVpnGateways.use",
"compute.urlMaps.create",
"compute.urlMaps.delete",
"compute.urlMaps.get",
"compute.urlMaps.invalidateCache",
"compute.urlMaps.list",
"compute.urlMaps.update",
"compute.urlMaps.use",
"compute.urlMaps.validate",
"compute.vpnGateways.create",
"compute.vpnGateways.delete",
"compute.vpnGateways.get",
"compute.vpnGateways.list",
"compute.vpnGateways.setLabels",
"compute.vpnGateways.use",
"compute.vpnTunnels.create",
"compute.vpnTunnels.delete",
"compute.vpnTunnels.get",
"compute.vpnTunnels.list",
"compute.vpnTunnels.setLabels",
"compute.zoneOperations.delete",
"compute.zoneOperations.get",
"compute.zoneOperations.getIamPolicy",
"compute.zoneOperations.list",
"compute.zoneOperations.setIamPolicy",
"compute.zones.get",
"compute.zones.list",
"connectors.actions.execute",
"connectors.actions.list",
"connectors.connections.create",
"connectors.connections.delete",
"connectors.connections.executeSqlQuery",
"connectors.connections.get",
"connectors.connections.getConnectionSchemaMetadata",
"connectors.connections.getIamPolicy",
"connectors.connections.getRuntimeActionSchema",
"connectors.connections.getRuntimeEntitySchema",
"connectors.connections.list",
"connectors.connections.setIamPolicy",
"connectors.connections.update",
"connectors.connectors.get",
"connectors.connectors.list",
"connectors.entities.create",
"connectors.entities.delete",
"connectors.entities.deleteEntitiesWithConditions",
"connectors.entities.get",
"connectors.entities.list",
"connectors.entities.update",
"connectors.entities.updateEntitiesWithConditions",
"connectors.entityTypes.list",
"connectors.locations.get",
"connectors.locations.list",
"connectors.operations.cancel",
"connectors.operations.delete",
"connectors.operations.get",
"connectors.operations.list",
"connectors.providers.get",
"connectors.providers.list",
"connectors.runtimeconfig.get",
"connectors.schemaMetadata.refresh",
"connectors.versions.get",
"connectors.versions.list",
"consumerprocurement.consents.allowProjectGrant",
"consumerprocurement.consents.check",
"consumerprocurement.consents.grant",
"consumerprocurement.consents.list",
"consumerprocurement.consents.revoke",
"consumerprocurement.entitlements.get",
"consumerprocurement.entitlements.list",
"consumerprocurement.freeTrials.create",
"consumerprocurement.freeTrials.get",
"consumerprocurement.freeTrials.list",
"contactcenteraiplatform.contactCenters.create",
"contactcenteraiplatform.contactCenters.delete",
"contactcenteraiplatform.contactCenters.get",
"contactcenteraiplatform.contactCenters.list",
"contactcenteraiplatform.contactCenters.update",
"contactcenteraiplatform.locations.get",
"contactcenteraiplatform.locations.list",
"contactcenteraiplatform.operations.cancel",
"contactcenteraiplatform.operations.delete",
"contactcenteraiplatform.operations.get",
"contactcenteraiplatform.operations.list",
"contactcenterinsights.analyses.create",
"contactcenterinsights.analyses.delete",
"contactcenterinsights.analyses.get",
"contactcenterinsights.analyses.list",
"contactcenterinsights.conversations.create",
"contactcenterinsights.conversations.delete",
"contactcenterinsights.conversations.export",
"contactcenterinsights.conversations.get",
"contactcenterinsights.conversations.list",
"contactcenterinsights.conversations.update",
"contactcenterinsights.issueModels.create",
"contactcenterinsights.issueModels.delete",
"contactcenterinsights.issueModels.deploy",
"contactcenterinsights.issueModels.get",
"contactcenterinsights.issueModels.list",
"contactcenterinsights.issueModels.undeploy",
"contactcenterinsights.issueModels.update",
"contactcenterinsights.issues.get",
"contactcenterinsights.issues.list",
"contactcenterinsights.issues.update",
"contactcenterinsights.operations.get",
"contactcenterinsights.operations.list",
"contactcenterinsights.phraseMatchers.create",
"contactcenterinsights.phraseMatchers.delete",
"contactcenterinsights.phraseMatchers.get",
"contactcenterinsights.phraseMatchers.list",
"contactcenterinsights.phraseMatchers.update",
"contactcenterinsights.settings.get",
"contactcenterinsights.settings.update",
"contactcenterinsights.views.create",
"contactcenterinsights.views.delete",
"contactcenterinsights.views.get",
"contactcenterinsights.views.list",
"contactcenterinsights.views.update",
"container.apiServices.create",
"container.apiServices.delete",
"container.apiServices.get",
"container.apiServices.getStatus",
"container.apiServices.list",
"container.apiServices.update",
"container.apiServices.updateStatus",
"container.auditSinks.create",
"container.auditSinks.delete",
"container.auditSinks.get",
"container.auditSinks.list",
"container.auditSinks.update",
"container.backendConfigs.create",
"container.backendConfigs.delete",
"container.backendConfigs.get",
"container.backendConfigs.list",
"container.backendConfigs.update",
"container.bindings.create",
"container.bindings.delete",
"container.bindings.get",
"container.bindings.list",
"container.bindings.update",
"container.certificateSigningRequests.approve",
"container.certificateSigningRequests.create",
"container.certificateSigningRequests.delete",
"container.certificateSigningRequests.get",
"container.certificateSigningRequests.getStatus",
"container.certificateSigningRequests.list",
"container.certificateSigningRequests.update",
"container.certificateSigningRequests.updateStatus",
"container.clusterRoleBindings.create",
"container.clusterRoleBindings.delete",
"container.clusterRoleBindings.get",
"container.clusterRoleBindings.list",
"container.clusterRoleBindings.update",
"container.clusterRoles.bind",
"container.clusterRoles.create",
"container.clusterRoles.delete",
"container.clusterRoles.escalate",
"container.clusterRoles.get",
"container.clusterRoles.list",
"container.clusterRoles.update",
"container.clusters.create",
"container.clusters.createTagBinding",
"container.clusters.delete",
"container.clusters.deleteTagBinding",
"container.clusters.get",
"container.clusters.getCredentials",
"container.clusters.list",
"container.clusters.listEffectiveTags",
"container.clusters.listTagBindings",
"container.clusters.update",
"container.componentStatuses.get",
"container.componentStatuses.list",
"container.configMaps.create",
"container.configMaps.delete",
"container.configMaps.get",
"container.configMaps.list",
"container.configMaps.update",
"container.controllerRevisions.create",
"container.controllerRevisions.delete",
"container.controllerRevisions.get",
"container.controllerRevisions.list",
"container.controllerRevisions.update",
"container.cronJobs.create",
"container.cronJobs.delete",
"container.cronJobs.get",
"container.cronJobs.getStatus",
"container.cronJobs.list",
"container.cronJobs.update",
"container.cronJobs.updateStatus",
"container.csiDrivers.create",
"container.csiDrivers.delete",
"container.csiDrivers.get",
"container.csiDrivers.list",
"container.csiDrivers.update",
"container.csiNodeInfos.create",
"container.csiNodeInfos.delete",
"container.csiNodeInfos.get",
"container.csiNodeInfos.list",
"container.csiNodeInfos.update",
"container.csiNodes.create",
"container.csiNodes.delete",
"container.csiNodes.get",
"container.csiNodes.list",
"container.csiNodes.update",
"container.customResourceDefinitions.create",
"container.customResourceDefinitions.delete",
"container.customResourceDefinitions.get",
"container.customResourceDefinitions.getStatus",
"container.customResourceDefinitions.list",
"container.customResourceDefinitions.update",
"container.customResourceDefinitions.updateStatus",
"container.daemonSets.create",
"container.daemonSets.delete",
"container.daemonSets.get",
"container.daemonSets.getStatus",
"container.daemonSets.list",
"container.daemonSets.update",
"container.daemonSets.updateStatus",
"container.deployments.create",
"container.deployments.delete",
"container.deployments.get",
"container.deployments.getScale",
"container.deployments.getStatus",
"container.deployments.list",
"container.deployments.rollback",
"container.deployments.update",
"container.deployments.updateScale",
"container.deployments.updateStatus",
"container.endpointSlices.create",
"container.endpointSlices.delete",
"container.endpointSlices.get",
"container.endpointSlices.list",
"container.endpointSlices.update",
"container.endpoints.create",
"container.endpoints.delete",
"container.endpoints.get",
"container.endpoints.list",
"container.endpoints.update",
"container.events.create",
"container.events.delete",
"container.events.get",
"container.events.list",
"container.events.update",
"container.frontendConfigs.create",
"container.frontendConfigs.delete",
"container.frontendConfigs.get",
"container.frontendConfigs.list",
"container.frontendConfigs.update",
"container.horizontalPodAutoscalers.create",
"container.horizontalPodAutoscalers.delete",
"container.horizontalPodAutoscalers.get",
"container.horizontalPodAutoscalers.getStatus",
"container.horizontalPodAutoscalers.list",
"container.horizontalPodAutoscalers.update",
"container.horizontalPodAutoscalers.updateStatus",
"container.hostServiceAgent.use",
"container.ingresses.create",
"container.ingresses.delete",
"container.ingresses.get",
"container.ingresses.getStatus",
"container.ingresses.list",
"container.ingresses.update",
"container.ingresses.updateStatus",
"container.initializerConfigurations.create",
"container.initializerConfigurations.delete",
"container.initializerConfigurations.get",
"container.initializerConfigurations.list",
"container.initializerConfigurations.update",
"container.jobs.create",
"container.jobs.delete",
"container.jobs.get",
"container.jobs.getStatus",
"container.jobs.list",
"container.jobs.update",
"container.jobs.updateStatus",
"container.leases.create",
"container.leases.delete",
"container.leases.get",
"container.leases.list",
"container.leases.update",
"container.limitRanges.create",
"container.limitRanges.delete",
"container.limitRanges.get",
"container.limitRanges.list",
"container.limitRanges.update",
"container.localSubjectAccessReviews.create",
"container.localSubjectAccessReviews.list",
"container.managedCertificates.create",
"container.managedCertificates.delete",
"container.managedCertificates.get",
"container.managedCertificates.list",
"container.managedCertificates.update",
"container.mutatingWebhookConfigurations.create",
"container.mutatingWebhookConfigurations.delete",
"container.mutatingWebhookConfigurations.get",
"container.mutatingWebhookConfigurations.list",
"container.mutatingWebhookConfigurations.update",
"container.namespaces.create",
"container.namespaces.delete",
"container.namespaces.finalize",
"container.namespaces.get",
"container.namespaces.getStatus",
"container.namespaces.list",
"container.namespaces.update",
"container.namespaces.updateStatus",
"container.networkPolicies.create",
"container.networkPolicies.delete",
"container.networkPolicies.get",
"container.networkPolicies.list",
"container.networkPolicies.update",
"container.nodes.create",
"container.nodes.delete",
"container.nodes.get",
"container.nodes.getStatus",
"container.nodes.list",
"container.nodes.proxy",
"container.nodes.update",
"container.nodes.updateStatus",
"container.operations.get",
"container.operations.list",
"container.persistentVolumeClaims.create",
"container.persistentVolumeClaims.delete",
"container.persistentVolumeClaims.get",
"container.persistentVolumeClaims.getStatus",
"container.persistentVolumeClaims.list",
"container.persistentVolumeClaims.update",
"container.persistentVolumeClaims.updateStatus",
"container.persistentVolumes.create",
"container.persistentVolumes.delete",
"container.persistentVolumes.get",
"container.persistentVolumes.getStatus",
"container.persistentVolumes.list",
"container.persistentVolumes.update",
"container.persistentVolumes.updateStatus",
"container.petSets.create",
"container.petSets.delete",
"container.petSets.get",
"container.petSets.list",
"container.petSets.update",
"container.petSets.updateStatus",
"container.podDisruptionBudgets.create",
"container.podDisruptionBudgets.delete",
"container.podDisruptionBudgets.get",
"container.podDisruptionBudgets.getStatus",
"container.podDisruptionBudgets.list",
"container.podDisruptionBudgets.update",
"container.podDisruptionBudgets.updateStatus",
"container.podPresets.create",
"container.podPresets.delete",
"container.podPresets.get",
"container.podPresets.list",
"container.podPresets.update",
"container.podSecurityPolicies.create",
"container.podSecurityPolicies.delete",
"container.podSecurityPolicies.get",
"container.podSecurityPolicies.list",
"container.podSecurityPolicies.update",
"container.podSecurityPolicies.use",
"container.podTemplates.create",
"container.podTemplates.delete",
"container.podTemplates.get",
"container.podTemplates.list",
"container.podTemplates.update",
"container.pods.attach",
"container.pods.create",
"container.pods.delete",
"container.pods.evict",
"container.pods.exec",
"container.pods.get",
"container.pods.getLogs",
"container.pods.getStatus",
"container.pods.initialize",
"container.pods.list",
"container.pods.portForward",
"container.pods.proxy",
"container.pods.update",
"container.pods.updateStatus",
"container.priorityClasses.create",
"container.priorityClasses.delete",
"container.priorityClasses.get",
"container.priorityClasses.list",
"container.priorityClasses.update",
"container.replicaSets.create",
"container.replicaSets.delete",
"container.replicaSets.get",
"container.replicaSets.getScale",
"container.replicaSets.getStatus",
"container.replicaSets.list",
"container.replicaSets.update",
"container.replicaSets.updateScale",
"container.replicaSets.updateStatus",
"container.replicationControllers.create",
"container.replicationControllers.delete",
"container.replicationControllers.get",
"container.replicationControllers.getScale",
"container.replicationControllers.getStatus",
"container.replicationControllers.list",
"container.replicationControllers.update",
"container.replicationControllers.updateScale",
"container.replicationControllers.updateStatus",
"container.resourceQuotas.create",
"container.resourceQuotas.delete",
"container.resourceQuotas.get",
"container.resourceQuotas.getStatus",
"container.resourceQuotas.list",
"container.resourceQuotas.update",
"container.resourceQuotas.updateStatus",
"container.roleBindings.create",
"container.roleBindings.delete",
"container.roleBindings.get",
"container.roleBindings.list",
"container.roleBindings.update",
"container.roles.bind",
"container.roles.create",
"container.roles.delete",
"container.roles.escalate",
"container.roles.get",
"container.roles.list",
"container.roles.update",
"container.runtimeClasses.create",
"container.runtimeClasses.delete",
"container.runtimeClasses.get",
"container.runtimeClasses.list",
"container.runtimeClasses.update",
"container.scheduledJobs.create",
"container.scheduledJobs.delete",
"container.scheduledJobs.get",
"container.scheduledJobs.list",
"container.scheduledJobs.update",
"container.scheduledJobs.updateStatus",
"container.secrets.create",
"container.secrets.delete",
"container.secrets.get",
"container.secrets.list",
"container.secrets.update",
"container.selfSubjectAccessReviews.create",
"container.selfSubjectAccessReviews.list",
"container.selfSubjectRulesReviews.create",
"container.serviceAccounts.create",
"container.serviceAccounts.createToken",
"container.serviceAccounts.delete",
"container.serviceAccounts.get",
"container.serviceAccounts.list",
"container.serviceAccounts.update",
"container.services.create",
"container.services.delete",
"container.services.get",
"container.services.getStatus",
"container.services.list",
"container.services.proxy",
"container.services.update",
"container.services.updateStatus",
"container.statefulSets.create",
"container.statefulSets.delete",
"container.statefulSets.get",
"container.statefulSets.getScale",
"container.statefulSets.getStatus",
"container.statefulSets.list",
"container.statefulSets.update",
"container.statefulSets.updateScale",
"container.statefulSets.updateStatus",
"container.storageClasses.create",
"container.storageClasses.delete",
"container.storageClasses.get",
"container.storageClasses.list",
"container.storageClasses.update",
"container.storageStates.create",
"container.storageStates.delete",
"container.storageStates.get",
"container.storageStates.getStatus",
"container.storageStates.list",
"container.storageStates.update",
"container.storageStates.updateStatus",
"container.storageVersionMigrations.create",
"container.storageVersionMigrations.delete",
"container.storageVersionMigrations.get",
"container.storageVersionMigrations.getStatus",
"container.storageVersionMigrations.list",
"container.storageVersionMigrations.update",
"container.storageVersionMigrations.updateStatus",
"container.subjectAccessReviews.create",
"container.subjectAccessReviews.list",
"container.thirdPartyObjects.create",
"container.thirdPartyObjects.delete",
"container.thirdPartyObjects.get",
"container.thirdPartyObjects.list",
"container.thirdPartyObjects.update",
"container.thirdPartyResources.create",
"container.thirdPartyResources.delete",
"container.thirdPartyResources.get",
"container.thirdPartyResources.list",
"container.thirdPartyResources.update",
"container.tokenReviews.create",
"container.updateInfos.create",
"container.updateInfos.delete",
"container.updateInfos.get",
"container.updateInfos.list",
"container.updateInfos.update",
"container.validatingWebhookConfigurations.create",
"container.validatingWebhookConfigurations.delete",
"container.validatingWebhookConfigurations.get",
"container.validatingWebhookConfigurations.list",
"container.validatingWebhookConfigurations.update",
"container.volumeAttachments.create",
"container.volumeAttachments.delete",
"container.volumeAttachments.get",
"container.volumeAttachments.getStatus",
"container.volumeAttachments.list",
"container.volumeAttachments.update",
"container.volumeAttachments.updateStatus",
"container.volumeSnapshotClasses.create",
"container.volumeSnapshotClasses.delete",
"container.volumeSnapshotClasses.get",
"container.volumeSnapshotClasses.list",
"container.volumeSnapshotClasses.update",
"container.volumeSnapshotContents.create",
"container.volumeSnapshotContents.delete",
"container.volumeSnapshotContents.get",
"container.volumeSnapshotContents.getStatus",
"container.volumeSnapshotContents.list",
"container.volumeSnapshotContents.update",
"container.volumeSnapshotContents.updateStatus",
"container.volumeSnapshots.create",
"container.volumeSnapshots.delete",
"container.volumeSnapshots.get",
"container.volumeSnapshots.getStatus",
"container.volumeSnapshots.list",
"container.volumeSnapshots.update",
"container.volumeSnapshots.updateStatus",
"containeranalysis.notes.attachOccurrence",
"containeranalysis.notes.create",
"containeranalysis.notes.delete",
"containeranalysis.notes.get",
"containeranalysis.notes.getIamPolicy",
"containeranalysis.notes.list",
"containeranalysis.notes.listOccurrences",
"containeranalysis.notes.setIamPolicy",
"containeranalysis.notes.update",
"containeranalysis.occurrences.create",
"containeranalysis.occurrences.delete",
"containeranalysis.occurrences.get",
"containeranalysis.occurrences.getIamPolicy",
"containeranalysis.occurrences.list",
"containeranalysis.occurrences.setIamPolicy",
"containeranalysis.occurrences.update",
"containersecurity.clusterSummaries.list",
"containersecurity.findings.list",
"containersecurity.locations.get",
"containersecurity.locations.list",
"containersecurity.workloadConfigAudits.list",
"contentwarehouse.documentSchemas.create",
"contentwarehouse.documentSchemas.delete",
"contentwarehouse.documentSchemas.get",
"contentwarehouse.documentSchemas.list",
"contentwarehouse.documentSchemas.update",
"contentwarehouse.documents.create",
"contentwarehouse.documents.delete",
"contentwarehouse.documents.get",
"contentwarehouse.documents.getIamPolicy",
"contentwarehouse.documents.setIamPolicy",
"contentwarehouse.documents.update",
"contentwarehouse.locations.initialize",
"contentwarehouse.operations.get",
"contentwarehouse.rawDocuments.download",
"contentwarehouse.rawDocuments.upload",
"contentwarehouse.ruleSets.create",
"contentwarehouse.ruleSets.delete",
"contentwarehouse.ruleSets.get",
"contentwarehouse.ruleSets.list",
"contentwarehouse.ruleSets.update",
"contentwarehouse.synonymSets.create",
"contentwarehouse.synonymSets.delete",
"contentwarehouse.synonymSets.get",
"contentwarehouse.synonymSets.list",
"contentwarehouse.synonymSets.update",
"datacatalog.categories.fineGrainedGet",
"datacatalog.categories.getIamPolicy",
"datacatalog.categories.setIamPolicy",
"datacatalog.entries.create",
"datacatalog.entries.delete",
"datacatalog.entries.get",
"datacatalog.entries.getIamPolicy",
"datacatalog.entries.list",
"datacatalog.entries.setIamPolicy",
"datacatalog.entries.update",
"datacatalog.entries.updateContacts",
"datacatalog.entries.updateOverview",
"datacatalog.entries.updateTag",
"datacatalog.entryGroups.create",
"datacatalog.entryGroups.delete",
"datacatalog.entryGroups.get",
"datacatalog.entryGroups.getIamPolicy",
"datacatalog.entryGroups.list",
"datacatalog.entryGroups.setIamPolicy",
"datacatalog.entryGroups.update",
"datacatalog.entryGroups.updateTag",
"datacatalog.tagTemplates.create",
"datacatalog.tagTemplates.delete",
"datacatalog.tagTemplates.get",
"datacatalog.tagTemplates.getIamPolicy",
"datacatalog.tagTemplates.getTag",
"datacatalog.tagTemplates.setIamPolicy",
"datacatalog.tagTemplates.update",
"datacatalog.tagTemplates.use",
"datacatalog.taxonomies.create",
"datacatalog.taxonomies.delete",
"datacatalog.taxonomies.get",
"datacatalog.taxonomies.getIamPolicy",
"datacatalog.taxonomies.list",
"datacatalog.taxonomies.setIamPolicy",
"datacatalog.taxonomies.update",
"dataconnectors.connectors.create",
"dataconnectors.connectors.delete",
"dataconnectors.connectors.get",
"dataconnectors.connectors.getIamPolicy",
"dataconnectors.connectors.list",
"dataconnectors.connectors.setIamPolicy",
"dataconnectors.connectors.update",
"dataconnectors.connectors.use",
"dataconnectors.locations.get",
"dataconnectors.locations.list",
"dataconnectors.operations.cancel",
"dataconnectors.operations.delete",
"dataconnectors.operations.get",
"dataconnectors.operations.list",
"dataflow.jobs.cancel",
"dataflow.jobs.create",
"dataflow.jobs.get",
"dataflow.jobs.list",
"dataflow.jobs.snapshot",
"dataflow.jobs.updateContents",
"dataflow.messages.list",
"dataflow.metrics.get",
"dataflow.shuffle.read",
"dataflow.shuffle.write",
"dataflow.snapshots.delete",
"dataflow.snapshots.get",
"dataflow.snapshots.list",
"dataflow.streamingWorkItems.ImportState",
"dataflow.streamingWorkItems.commitWork",
"dataflow.streamingWorkItems.getData",
"dataflow.streamingWorkItems.getWork",
"dataflow.streamingWorkItems.getWorkerMetadata",
"dataflow.workItems.lease",
"dataflow.workItems.sendMessage",
"dataflow.workItems.update",
"dataform.compilationResults.create",
"dataform.compilationResults.get",
"dataform.compilationResults.list",
"dataform.compilationResults.query",
"dataform.locations.get",
"dataform.locations.list",
"dataform.repositories.create",
"dataform.repositories.delete",
"dataform.repositories.fetchRemoteBranches",
"dataform.repositories.get",
"dataform.repositories.list",
"dataform.repositories.update",
"dataform.workflowInvocations.cancel",
"dataform.workflowInvocations.create",
"dataform.workflowInvocations.delete",
"dataform.workflowInvocations.get",
"dataform.workflowInvocations.list",
"dataform.workflowInvocations.query",
"dataform.workspaces.commit",
"dataform.workspaces.create",
"dataform.workspaces.delete",
"dataform.workspaces.fetchFileDiff",
"dataform.workspaces.fetchFileGitStatuses",
"dataform.workspaces.fetchGitAheadBehind",
"dataform.workspaces.get",
"dataform.workspaces.installNpmPackages",
"dataform.workspaces.list",
"dataform.workspaces.makeDirectory",
"dataform.workspaces.moveDirectory",
"dataform.workspaces.moveFile",
"dataform.workspaces.pull",
"dataform.workspaces.push",
"dataform.workspaces.queryDirectoryContents",
"dataform.workspaces.readFile",
"dataform.workspaces.removeDirectory",
"dataform.workspaces.removeFile",
"dataform.workspaces.reset",
"dataform.workspaces.writeFile",
"datafusion.instances.create",
"datafusion.instances.delete",
"datafusion.instances.get",
"datafusion.instances.getIamPolicy",
"datafusion.instances.list",
"datafusion.instances.restart",
"datafusion.instances.runtime",
"datafusion.instances.setIamPolicy",
"datafusion.instances.update",
"datafusion.instances.upgrade",
"datafusion.locations.get",
"datafusion.locations.list",
"datafusion.operations.cancel",
"datafusion.operations.delete",
"datafusion.operations.get",
"datafusion.operations.list",
"datalabeling.annotateddatasets.delete",
"datalabeling.annotateddatasets.get",
"datalabeling.annotateddatasets.label",
"datalabeling.annotateddatasets.list",
"datalabeling.annotationspecsets.create",
"datalabeling.annotationspecsets.delete",
"datalabeling.annotationspecsets.get",
"datalabeling.annotationspecsets.list",
"datalabeling.dataitems.get",
"datalabeling.dataitems.list",
"datalabeling.datasets.create",
"datalabeling.datasets.delete",
"datalabeling.datasets.export",
"datalabeling.datasets.get",
"datalabeling.datasets.import",
"datalabeling.datasets.list",
"datalabeling.examples.get",
"datalabeling.examples.list",
"datalabeling.instructions.create",
"datalabeling.instructions.delete",
"datalabeling.instructions.get",
"datalabeling.instructions.list",
"datalabeling.operations.cancel",
"datalabeling.operations.get",
"datalabeling.operations.list",
"datamigration.connectionprofiles.create",
"datamigration.connectionprofiles.delete",
"datamigration.connectionprofiles.get",
"datamigration.connectionprofiles.getIamPolicy",
"datamigration.connectionprofiles.list",
"datamigration.connectionprofiles.setIamPolicy",
"datamigration.connectionprofiles.update",
"datamigration.locations.get",
"datamigration.locations.list",
"datamigration.migrationjobs.create",
"datamigration.migrationjobs.delete",
"datamigration.migrationjobs.generateSshScript",
"datamigration.migrationjobs.get",
"datamigration.migrationjobs.getIamPolicy",
"datamigration.migrationjobs.list",
"datamigration.migrationjobs.promote",
"datamigration.migrationjobs.restart",
"datamigration.migrationjobs.resume",
"datamigration.migrationjobs.setIamPolicy",
"datamigration.migrationjobs.start",
"datamigration.migrationjobs.stop",
"datamigration.migrationjobs.update",
"datamigration.migrationjobs.verify",
"datamigration.operations.cancel",
"datamigration.operations.delete",
"datamigration.operations.get",
"datamigration.operations.list",
"datapipelines.jobs.list",
"datapipelines.pipelines.create",
"datapipelines.pipelines.delete",
"datapipelines.pipelines.get",
"datapipelines.pipelines.list",
"datapipelines.pipelines.run",
"datapipelines.pipelines.stop",
"datapipelines.pipelines.update",
"dataplex.assetActions.list",
"dataplex.assets.create",
"dataplex.assets.delete",
"dataplex.assets.get",
"dataplex.assets.getIamPolicy",
"dataplex.assets.list",
"dataplex.assets.ownData",
"dataplex.assets.readData",
"dataplex.assets.setIamPolicy",
"dataplex.assets.update",
"dataplex.assets.writeData",
"dataplex.content.create",
"dataplex.content.delete",
"dataplex.content.get",
"dataplex.content.getIamPolicy",
"dataplex.content.list",
"dataplex.content.setIamPolicy",
"dataplex.content.update",
"dataplex.datascans.create",
"dataplex.datascans.delete",
"dataplex.datascans.get",
"dataplex.datascans.getData",
"dataplex.datascans.getIamPolicy",
"dataplex.datascans.list",
"dataplex.datascans.run",
"dataplex.datascans.setIamPolicy",
"dataplex.datascans.update",
"dataplex.entities.create",
"dataplex.entities.delete",
"dataplex.entities.get",
"dataplex.entities.list",
"dataplex.entities.update",
"dataplex.environments.create",
"dataplex.environments.delete",
"dataplex.environments.execute",
"dataplex.environments.get",
"dataplex.environments.getIamPolicy",
"dataplex.environments.list",
"dataplex.environments.setIamPolicy",
"dataplex.environments.update",
"dataplex.lakeActions.list",
"dataplex.lakes.create",
"dataplex.lakes.delete",
"dataplex.lakes.get",
"dataplex.lakes.getIamPolicy",
"dataplex.lakes.list",
"dataplex.lakes.setIamPolicy",
"dataplex.lakes.update",
"dataplex.locations.get",
"dataplex.locations.list",
"dataplex.operations.cancel",
"dataplex.operations.delete",
"dataplex.operations.get",
"dataplex.operations.list",
"dataplex.partitions.create",
"dataplex.partitions.delete",
"dataplex.partitions.get",
"dataplex.partitions.list",
"dataplex.partitions.update",
"dataplex.tasks.cancel",
"dataplex.tasks.create",
"dataplex.tasks.delete",
"dataplex.tasks.get",
"dataplex.tasks.getIamPolicy",
"dataplex.tasks.list",
"dataplex.tasks.run",
"dataplex.tasks.setIamPolicy",
"dataplex.tasks.update",
"dataplex.zoneActions.list",
"dataplex.zones.create",
"dataplex.zones.delete",
"dataplex.zones.get",
"dataplex.zones.getIamPolicy",
"dataplex.zones.list",
"dataplex.zones.setIamPolicy",
"dataplex.zones.update",
"dataprep.projects.use",
"dataproc.agents.create",
"dataproc.agents.delete",
"dataproc.agents.get",
"dataproc.agents.list",
"dataproc.agents.update",
"dataproc.autoscalingPolicies.create",
"dataproc.autoscalingPolicies.delete",
"dataproc.autoscalingPolicies.get",
"dataproc.autoscalingPolicies.getIamPolicy",
"dataproc.autoscalingPolicies.list",
"dataproc.autoscalingPolicies.setIamPolicy",
"dataproc.autoscalingPolicies.update",
"dataproc.autoscalingPolicies.use",
"dataproc.batches.cancel",
"dataproc.batches.create",
"dataproc.batches.delete",
"dataproc.batches.get",
"dataproc.batches.list",
"dataproc.clusters.create",
"dataproc.clusters.delete",
"dataproc.clusters.get",
"dataproc.clusters.getIamPolicy",
"dataproc.clusters.list",
"dataproc.clusters.setIamPolicy",
"dataproc.clusters.start",
"dataproc.clusters.stop",
"dataproc.clusters.update",
"dataproc.clusters.use",
"dataproc.jobs.cancel",
"dataproc.jobs.create",
"dataproc.jobs.delete",
"dataproc.jobs.get",
"dataproc.jobs.getIamPolicy",
"dataproc.jobs.list",
"dataproc.jobs.setIamPolicy",
"dataproc.jobs.update",
"dataproc.operations.cancel",
"dataproc.operations.delete",
"dataproc.operations.get",
"dataproc.operations.getIamPolicy",
"dataproc.operations.list",
"dataproc.operations.setIamPolicy",
"dataproc.tasks.lease",
"dataproc.tasks.listInvalidatedLeases",
"dataproc.tasks.reportStatus",
"dataproc.workflowTemplates.create",
"dataproc.workflowTemplates.delete",
"dataproc.workflowTemplates.get",
"dataproc.workflowTemplates.getIamPolicy",
"dataproc.workflowTemplates.instantiate",
"dataproc.workflowTemplates.instantiateInline",
"dataproc.workflowTemplates.list",
"dataproc.workflowTemplates.setIamPolicy",
"dataproc.workflowTemplates.update",
"dataprocessing.datasources.get",
"dataprocessing.datasources.list",
"dataprocessing.datasources.update",
"dataprocessing.featurecontrols.list",
"dataprocessing.featurecontrols.update",
"dataprocessing.groupcontrols.get",
"dataprocessing.groupcontrols.list",
"dataprocessing.groupcontrols.update",
"datastore.databases.create",
"datastore.databases.export",
"datastore.databases.get",
"datastore.databases.getMetadata",
"datastore.databases.import",
"datastore.databases.list",
"datastore.databases.update",
"datastore.entities.allocateIds",
"datastore.entities.create",
"datastore.entities.delete",
"datastore.entities.get",
"datastore.entities.list",
"datastore.entities.update",
"datastore.indexes.create",
"datastore.indexes.delete",
"datastore.indexes.get",
"datastore.indexes.list",
"datastore.indexes.update",
"datastore.keyVisualizerScans.get",
"datastore.keyVisualizerScans.list",
"datastore.locations.get",
"datastore.locations.list",
"datastore.namespaces.get",
"datastore.namespaces.list",
"datastore.operations.cancel",
"datastore.operations.delete",
"datastore.operations.get",
"datastore.operations.list",
"datastore.statistics.get",
"datastore.statistics.list",
"datastream.connectionProfiles.create",
"datastream.connectionProfiles.createTagBinding",
"datastream.connectionProfiles.delete",
"datastream.connectionProfiles.deleteTagBinding",
"datastream.connectionProfiles.destinationTypes",
"datastream.connectionProfiles.discover",
"datastream.connectionProfiles.get",
"datastream.connectionProfiles.getIamPolicy",
"datastream.connectionProfiles.list",
"datastream.connectionProfiles.listEffectiveTags",
"datastream.connectionProfiles.listStaticServiceIps",
"datastream.connectionProfiles.listTagBindings",
"datastream.connectionProfiles.setIamPolicy",
"datastream.connectionProfiles.sourceTypes",
"datastream.connectionProfiles.update",
"datastream.locations.fetchStaticIps",
"datastream.locations.get",
"datastream.locations.list",
"datastream.objects.get",
"datastream.objects.list",
"datastream.objects.startBackfillJob",
"datastream.objects.stopBackfillJob",
"datastream.operations.cancel",
"datastream.operations.delete",
"datastream.operations.get",
"datastream.operations.list",
"datastream.privateConnections.create",
"datastream.privateConnections.createTagBinding",
"datastream.privateConnections.delete",
"datastream.privateConnections.deleteTagBinding",
"datastream.privateConnections.get",
"datastream.privateConnections.getIamPolicy",
"datastream.privateConnections.list",
"datastream.privateConnections.listEffectiveTags",
"datastream.privateConnections.listTagBindings",
"datastream.privateConnections.setIamPolicy",
"datastream.routes.create",
"datastream.routes.delete",
"datastream.routes.get",
"datastream.routes.getIamPolicy",
"datastream.routes.list",
"datastream.routes.setIamPolicy",
"datastream.streams.computeState",
"datastream.streams.create",
"datastream.streams.createTagBinding",
"datastream.streams.delete",
"datastream.streams.deleteTagBinding",
"datastream.streams.fetchErrors",
"datastream.streams.get",
"datastream.streams.getIamPolicy",
"datastream.streams.list",
"datastream.streams.listEffectiveTags",
"datastream.streams.listTagBindings",
"datastream.streams.pause",
"datastream.streams.resume",
"datastream.streams.setIamPolicy",
"datastream.streams.start",
"datastream.streams.update",
"datastudio.datasources.delete",
"datastudio.datasources.get",
"datastudio.datasources.getIamPolicy",
"datastudio.datasources.move",
"datastudio.datasources.restoreTrash",
"datastudio.datasources.search",
"datastudio.datasources.setIamPolicy",
"datastudio.datasources.settingsShare",
"datastudio.datasources.share",
"datastudio.datasources.trash",
"datastudio.datasources.update",
"datastudio.reports.delete",
"datastudio.reports.get",
"datastudio.reports.getIamPolicy",
"datastudio.reports.move",
"datastudio.reports.restoreTrash",
"datastudio.reports.search",
"datastudio.reports.setIamPolicy",
"datastudio.reports.settingsShare",
"datastudio.reports.share",
"datastudio.reports.trash",
"datastudio.reports.update",
"datastudio.workspaces.createUnder",
"datastudio.workspaces.delete",
"datastudio.workspaces.get",
"datastudio.workspaces.getIamPolicy",
"datastudio.workspaces.moveIn",
"datastudio.workspaces.moveOut",
"datastudio.workspaces.restoreTrash",
"datastudio.workspaces.search",
"datastudio.workspaces.setIamPolicy",
"datastudio.workspaces.trash",
"datastudio.workspaces.update",
"deploymentmanager.compositeTypes.create",
"deploymentmanager.compositeTypes.delete",
"deploymentmanager.compositeTypes.get",
"deploymentmanager.compositeTypes.list",
"deploymentmanager.compositeTypes.update",
"deploymentmanager.deployments.cancelPreview",
"deploymentmanager.deployments.create",
"deploymentmanager.deployments.delete",
"deploymentmanager.deployments.get",
"deploymentmanager.deployments.getIamPolicy",
"deploymentmanager.deployments.list",
"deploymentmanager.deployments.setIamPolicy",
"deploymentmanager.deployments.stop",
"deploymentmanager.deployments.update",
"deploymentmanager.manifests.get",
"deploymentmanager.manifests.list",
"deploymentmanager.operations.get",
"deploymentmanager.operations.list",
"deploymentmanager.resources.get",
"deploymentmanager.resources.list",
"deploymentmanager.typeProviders.create",
"deploymentmanager.typeProviders.delete",
"deploymentmanager.typeProviders.get",
"deploymentmanager.typeProviders.getType",
"deploymentmanager.typeProviders.list",
"deploymentmanager.typeProviders.listTypes",
"deploymentmanager.typeProviders.update",
"deploymentmanager.types.create",
"deploymentmanager.types.delete",
"deploymentmanager.types.get",
"deploymentmanager.types.list",
"deploymentmanager.types.update",
"dialogflow.agents.create",
"dialogflow.agents.delete",
"dialogflow.agents.export",
"dialogflow.agents.get",
"dialogflow.agents.import",
"dialogflow.agents.list",
"dialogflow.agents.restore",
"dialogflow.agents.search",
"dialogflow.agents.searchResources",
"dialogflow.agents.train",
"dialogflow.agents.update",
"dialogflow.agents.validate",
"dialogflow.answerrecords.delete",
"dialogflow.answerrecords.get",
"dialogflow.answerrecords.list",
"dialogflow.answerrecords.update",
"dialogflow.callMatchers.create",
"dialogflow.callMatchers.delete",
"dialogflow.callMatchers.list",
"dialogflow.changelogs.get",
"dialogflow.changelogs.list",
"dialogflow.contexts.create",
"dialogflow.contexts.delete",
"dialogflow.contexts.get",
"dialogflow.contexts.list",
"dialogflow.contexts.update",
"dialogflow.conversationDatasets.create",
"dialogflow.conversationDatasets.delete",
"dialogflow.conversationDatasets.get",
"dialogflow.conversationDatasets.import",
"dialogflow.conversationDatasets.list",
"dialogflow.conversationModels.create",
"dialogflow.conversationModels.delete",
"dialogflow.conversationModels.deploy",
"dialogflow.conversationModels.get",
"dialogflow.conversationModels.list",
"dialogflow.conversationModels.undeploy",
"dialogflow.conversationProfiles.create",
"dialogflow.conversationProfiles.delete",
"dialogflow.conversationProfiles.get",
"dialogflow.conversationProfiles.list",
"dialogflow.conversationProfiles.update",
"dialogflow.conversations.addPhoneNumber",
"dialogflow.conversations.complete",
"dialogflow.conversations.create",
"dialogflow.conversations.get",
"dialogflow.conversations.list",
"dialogflow.conversations.update",
"dialogflow.documents.create",
"dialogflow.documents.delete",
"dialogflow.documents.get",
"dialogflow.documents.list",
"dialogflow.entityTypes.create",
"dialogflow.entityTypes.createEntity",
"dialogflow.entityTypes.delete",
"dialogflow.entityTypes.deleteEntity",
"dialogflow.entityTypes.get",
"dialogflow.entityTypes.list",
"dialogflow.entityTypes.update",
"dialogflow.entityTypes.updateEntity",
"dialogflow.environments.create",
"dialogflow.environments.delete",
"dialogflow.environments.get",
"dialogflow.environments.getHistory",
"dialogflow.environments.list",
"dialogflow.environments.lookupHistory",
"dialogflow.environments.update",
"dialogflow.flows.create",
"dialogflow.flows.delete",
"dialogflow.flows.get",
"dialogflow.flows.list",
"dialogflow.flows.train",
"dialogflow.flows.update",
"dialogflow.flows.validate",
"dialogflow.fulfillments.get",
"dialogflow.fulfillments.update",
"dialogflow.integrations.create",
"dialogflow.integrations.delete",
"dialogflow.integrations.get",
"dialogflow.integrations.list",
"dialogflow.integrations.update",
"dialogflow.intents.create",
"dialogflow.intents.delete",
"dialogflow.intents.get",
"dialogflow.intents.list",
"dialogflow.intents.update",
"dialogflow.knowledgeBases.create",
"dialogflow.knowledgeBases.delete",
"dialogflow.knowledgeBases.get",
"dialogflow.knowledgeBases.list",
"dialogflow.messages.list",
"dialogflow.modelEvaluations.get",
"dialogflow.modelEvaluations.list",
"dialogflow.operations.get",
"dialogflow.pages.create",
"dialogflow.pages.delete",
"dialogflow.pages.get",
"dialogflow.pages.list",
"dialogflow.pages.update",
"dialogflow.participants.analyzeContent",
"dialogflow.participants.create",
"dialogflow.participants.get",
"dialogflow.participants.list",
"dialogflow.participants.suggest",
"dialogflow.participants.update",
"dialogflow.phoneNumberOrders.cancel",
"dialogflow.phoneNumberOrders.create",
"dialogflow.phoneNumberOrders.get",
"dialogflow.phoneNumberOrders.list",
"dialogflow.phoneNumberOrders.update",
"dialogflow.phoneNumbers.delete",
"dialogflow.phoneNumbers.list",
"dialogflow.phoneNumbers.undelete",
"dialogflow.phoneNumbers.update",
"dialogflow.securitySettings.create",
"dialogflow.securitySettings.delete",
"dialogflow.securitySettings.get",
"dialogflow.securitySettings.list",
"dialogflow.securitySettings.update",
"dialogflow.sessionEntityTypes.create",
"dialogflow.sessionEntityTypes.delete",
"dialogflow.sessionEntityTypes.get",
"dialogflow.sessionEntityTypes.list",
"dialogflow.sessionEntityTypes.update",
"dialogflow.sessions.detectIntent",
"dialogflow.sessions.streamingDetectIntent",
"dialogflow.smartMessagingEntries.create",
"dialogflow.smartMessagingEntries.delete",
"dialogflow.smartMessagingEntries.get",
"dialogflow.smartMessagingEntries.list",
"dialogflow.transitionRouteGroups.create",
"dialogflow.transitionRouteGroups.delete",
"dialogflow.transitionRouteGroups.get",
"dialogflow.transitionRouteGroups.list",
"dialogflow.transitionRouteGroups.update",
"dialogflow.versions.create",
"dialogflow.versions.delete",
"dialogflow.versions.get",
"dialogflow.versions.list",
"dialogflow.versions.load",
"dialogflow.versions.update",
"dialogflow.webhooks.create",
"dialogflow.webhooks.delete",
"dialogflow.webhooks.get",
"dialogflow.webhooks.list",
"dialogflow.webhooks.update",
"discoveryengine.documents.create",
"discoveryengine.documents.delete",
"discoveryengine.documents.get",
"discoveryengine.documents.import",
"discoveryengine.documents.list",
"discoveryengine.documents.update",
"discoveryengine.operations.get",
"discoveryengine.operations.list",
"discoveryengine.servingConfigs.recommend",
"discoveryengine.userEvents.create",
"discoveryengine.userEvents.import",
"dlp.analyzeRiskTemplates.create",
"dlp.analyzeRiskTemplates.delete",
"dlp.analyzeRiskTemplates.get",
"dlp.analyzeRiskTemplates.list",
"dlp.analyzeRiskTemplates.update",
"dlp.columnDataProfiles.get",
"dlp.columnDataProfiles.list",
"dlp.deidentifyTemplates.create",
"dlp.deidentifyTemplates.delete",
"dlp.deidentifyTemplates.get",
"dlp.deidentifyTemplates.list",
"dlp.deidentifyTemplates.update",
"dlp.estimates.cancel",
"dlp.estimates.create",
"dlp.estimates.delete",
"dlp.estimates.get",
"dlp.estimates.list",
"dlp.inspectFindings.list",
"dlp.inspectTemplates.create",
"dlp.inspectTemplates.delete",
"dlp.inspectTemplates.get",
"dlp.inspectTemplates.list",
"dlp.inspectTemplates.update",
"dlp.jobTriggers.create",
"dlp.jobTriggers.delete",
"dlp.jobTriggers.get",
"dlp.jobTriggers.hybridInspect",
"dlp.jobTriggers.list",
"dlp.jobTriggers.update",
"dlp.jobs.cancel",
"dlp.jobs.create",
"dlp.jobs.delete",
"dlp.jobs.get",
"dlp.jobs.hybridInspect",
"dlp.jobs.list",
"dlp.kms.encrypt",
"dlp.locations.get",
"dlp.locations.list",
"dlp.projectDataProfiles.get",
"dlp.projectDataProfiles.list",
"dlp.storedInfoTypes.create",
"dlp.storedInfoTypes.delete",
"dlp.storedInfoTypes.get",
"dlp.storedInfoTypes.list",
"dlp.storedInfoTypes.update",
"dlp.tableDataProfiles.get",
"dlp.tableDataProfiles.list",
"dns.changes.create",
"dns.changes.get",
"dns.changes.list",
"dns.dnsKeys.get",
"dns.dnsKeys.list",
"dns.managedZoneOperations.get",
"dns.managedZoneOperations.list",
"dns.managedZones.create",
"dns.managedZones.delete",
"dns.managedZones.get",
"dns.managedZones.getIamPolicy",
"dns.managedZones.list",
"dns.managedZones.setIamPolicy",
"dns.managedZones.update",
"dns.networks.bindDNSResponsePolicy",
"dns.networks.bindPrivateDNSPolicy",
"dns.networks.bindPrivateDNSZone",
"dns.networks.targetWithPeeringZone",
"dns.policies.create",
"dns.policies.delete",
"dns.policies.get",
"dns.policies.getIamPolicy",
"dns.policies.list",
"dns.policies.setIamPolicy",
"dns.policies.update",
"dns.projects.get",
"dns.resourceRecordSets.create",
"dns.resourceRecordSets.delete",
"dns.resourceRecordSets.get",
"dns.resourceRecordSets.list",
"dns.resourceRecordSets.update",
"dns.responsePolicies.create",
"dns.responsePolicies.delete",
"dns.responsePolicies.get",
"dns.responsePolicies.list",
"dns.responsePolicies.update",
"dns.responsePolicyRules.create",
"dns.responsePolicyRules.delete",
"dns.responsePolicyRules.get",
"dns.responsePolicyRules.list",
"dns.responsePolicyRules.update",
"documentai.dataLabelingJobs.cancel",
"documentai.dataLabelingJobs.create",
"documentai.dataLabelingJobs.delete",
"documentai.dataLabelingJobs.list",
"documentai.dataLabelingJobs.update",
"documentai.datasetSchemas.get",
"documentai.datasetSchemas.update",
"documentai.datasets.createDocuments",
"documentai.datasets.deleteDocuments",
"documentai.datasets.get",
"documentai.datasets.getDocuments",
"documentai.datasets.listDocuments",
"documentai.datasets.update",
"documentai.datasets.updateDocuments",
"documentai.evaluationDocuments.get",
"documentai.evaluations.create",
"documentai.evaluations.get",
"documentai.evaluations.list",
"documentai.humanReviewConfigs.get",
"documentai.humanReviewConfigs.review",
"documentai.humanReviewConfigs.update",
"documentai.labelerPools.create",
"documentai.labelerPools.delete",
"documentai.labelerPools.get",
"documentai.labelerPools.list",
"documentai.labelerPools.update",
"documentai.locations.get",
"documentai.locations.list",
"documentai.operations.getLegacy",
"documentai.processedDocumentsSets.get",
"documentai.processedDocumentsSets.getDocuments",
"documentai.processedDocumentsSets.listDocuments",
"documentai.processorTypes.get",
"documentai.processorTypes.list",
"documentai.processorVersions.create",
"documentai.processorVersions.delete",
"documentai.processorVersions.get",
"documentai.processorVersions.list",
"documentai.processorVersions.processBatch",
"documentai.processorVersions.processOnline",
"documentai.processorVersions.update",
"documentai.processors.create",
"documentai.processors.delete",
"documentai.processors.fetchHumanReviewDetails",
"documentai.processors.get",
"documentai.processors.list",
"documentai.processors.processBatch",
"documentai.processors.processOnline",
"documentai.processors.update",
"domains.locations.get",
"domains.locations.list",
"domains.operations.cancel",
"domains.operations.get",
"domains.operations.list",
"domains.registrations.configureContact",
"domains.registrations.configureDns",
"domains.registrations.configureManagement",
"domains.registrations.create",
"domains.registrations.createTagBinding",
"domains.registrations.delete",
"domains.registrations.deleteTagBinding",
"domains.registrations.get",
"domains.registrations.getIamPolicy",
"domains.registrations.list",
"domains.registrations.listEffectiveTags",
"domains.registrations.listTagBindings",
"domains.registrations.setIamPolicy",
"domains.registrations.update",
"earthengine.assets.create",
"earthengine.assets.delete",
"earthengine.assets.get",
"earthengine.assets.getIamPolicy",
"earthengine.assets.list",
"earthengine.assets.setIamPolicy",
"earthengine.assets.update",
"earthengine.computations.create",
"earthengine.config.get",
"earthengine.config.update",
"earthengine.exports.create",
"earthengine.filmstripthumbnails.create",
"earthengine.filmstripthumbnails.get",
"earthengine.imports.create",
"earthengine.maps.create",
"earthengine.maps.get",
"earthengine.operations.delete",
"earthengine.operations.get",
"earthengine.operations.list",
"earthengine.operations.update",
"earthengine.tables.create",
"earthengine.tables.get",
"earthengine.thumbnails.create",
"earthengine.thumbnails.get",
"earthengine.videothumbnails.create",
"earthengine.videothumbnails.get",
"edgecontainer.clusters.create",
"edgecontainer.clusters.delete",
"edgecontainer.clusters.generateAccessToken",
"edgecontainer.clusters.get",
"edgecontainer.clusters.getIamPolicy",
"edgecontainer.clusters.list",
"edgecontainer.clusters.setIamPolicy",
"edgecontainer.clusters.update",
"edgecontainer.locations.get",
"edgecontainer.locations.list",
"edgecontainer.machines.create",
"edgecontainer.machines.delete",
"edgecontainer.machines.get",
"edgecontainer.machines.getIamPolicy",
"edgecontainer.machines.list",
"edgecontainer.machines.setIamPolicy",
"edgecontainer.machines.update",
"edgecontainer.machines.use",
"edgecontainer.nodePools.create",
"edgecontainer.nodePools.delete",
"edgecontainer.nodePools.get",
"edgecontainer.nodePools.getIamPolicy",
"edgecontainer.nodePools.list",
"edgecontainer.nodePools.setIamPolicy",
"edgecontainer.nodePools.update",
"edgecontainer.operations.cancel",
"edgecontainer.operations.delete",
"edgecontainer.operations.get",
"edgecontainer.operations.list",
"edgecontainer.vpnConnections.create",
"edgecontainer.vpnConnections.delete",
"edgecontainer.vpnConnections.get",
"edgecontainer.vpnConnections.getIamPolicy",
"edgecontainer.vpnConnections.list",
"edgecontainer.vpnConnections.setIamPolicy",
"edgecontainer.vpnConnections.update",
"endpoints.portals.attachCustomDomain",
"endpoints.portals.detachCustomDomain",
"endpoints.portals.listCustomDomains",
"endpoints.portals.update",
"enterpriseknowledgegraph.cloudKnowledgeGraphEntities.lookup",
"enterpriseknowledgegraph.cloudKnowledgeGraphEntities.search",
"enterpriseknowledgegraph.entityReconciliationJobs.cancel",
"enterpriseknowledgegraph.entityReconciliationJobs.create",
"enterpriseknowledgegraph.entityReconciliationJobs.delete",
"enterpriseknowledgegraph.entityReconciliationJobs.get",
"enterpriseknowledgegraph.entityReconciliationJobs.list",
"enterpriseknowledgegraph.publicKnowledgeGraphEntities.lookup",
"enterpriseknowledgegraph.publicKnowledgeGraphEntities.search",
"errorreporting.applications.list",
"errorreporting.errorEvents.create",
"errorreporting.errorEvents.delete",
"errorreporting.errorEvents.list",
"errorreporting.groupMetadata.get",
"errorreporting.groupMetadata.update",
"errorreporting.groups.list",
"essentialcontacts.contacts.create",
"essentialcontacts.contacts.delete",
"essentialcontacts.contacts.get",
"essentialcontacts.contacts.list",
"essentialcontacts.contacts.send",
"essentialcontacts.contacts.update",
"eventarc.channelConnections.create",
"eventarc.channelConnections.delete",
"eventarc.channelConnections.get",
"eventarc.channelConnections.getIamPolicy",
"eventarc.channelConnections.list",
"eventarc.channelConnections.publish",
"eventarc.channelConnections.setIamPolicy",
"eventarc.channels.attach",
"eventarc.channels.create",
"eventarc.channels.delete",
"eventarc.channels.get",
"eventarc.channels.getIamPolicy",
"eventarc.channels.list",
"eventarc.channels.publish",
"eventarc.channels.setIamPolicy",
"eventarc.channels.undelete",
"eventarc.channels.update",
"eventarc.events.receiveAuditLogWritten",
"eventarc.events.receiveEvent",
"eventarc.googleChannelConfigs.get",
"eventarc.googleChannelConfigs.update",
"eventarc.locations.get",
"eventarc.locations.list",
"eventarc.operations.cancel",
"eventarc.operations.delete",
"eventarc.operations.get",
"eventarc.operations.list",
"eventarc.providers.get",
"eventarc.providers.list",
"eventarc.triggers.create",
"eventarc.triggers.delete",
"eventarc.triggers.get",
"eventarc.triggers.getIamPolicy",
"eventarc.triggers.list",
"eventarc.triggers.setIamPolicy",
"eventarc.triggers.undelete",
"eventarc.triggers.update",
"fcmdata.deliverydata.list",
"file.backups.create",
"file.backups.createTagBinding",
"file.backups.delete",
"file.backups.deleteTagBinding",
"file.backups.get",
"file.backups.list",
"file.backups.listEffectiveTags",
"file.backups.listTagBindings",
"file.backups.update",
"file.instances.create",
"file.instances.createTagBinding",
"file.instances.delete",
"file.instances.deleteTagBinding",
"file.instances.get",
"file.instances.list",
"file.instances.listEffectiveTags",
"file.instances.listTagBindings",
"file.instances.restore",
"file.instances.revert",
"file.instances.update",
"file.locations.get",
"file.locations.list",
"file.operations.cancel",
"file.operations.delete",
"file.operations.get",
"file.operations.list",
"file.snapshots.createTagBinding",
"file.snapshots.deleteTagBinding",
"file.snapshots.listEffectiveTags",
"file.snapshots.listTagBindings",
"firebase.billingPlans.get",
"firebase.billingPlans.update",
"firebase.clients.create",
"firebase.clients.delete",
"firebase.clients.get",
"firebase.clients.list",
"firebase.clients.undelete",
"firebase.clients.update",
"firebase.links.create",
"firebase.links.delete",
"firebase.links.list",
"firebase.links.update",
"firebase.playLinks.get",
"firebase.playLinks.list",
"firebase.playLinks.update",
"firebase.projects.delete",
"firebase.projects.get",
"firebase.projects.update",
"firebaseabt.experimentresults.get",
"firebaseabt.experiments.create",
"firebaseabt.experiments.delete",
"firebaseabt.experiments.get",
"firebaseabt.experiments.list",
"firebaseabt.experiments.update",
"firebaseabt.projectmetadata.get",
"firebaseanalytics.resources.googleAnalyticsEdit",
"firebaseanalytics.resources.googleAnalyticsReadAndAnalyze",
"firebaseappcheck.appAttestConfig.get",
"firebaseappcheck.appAttestConfig.update",
"firebaseappcheck.debugTokens.get",
"firebaseappcheck.debugTokens.update",
"firebaseappcheck.deviceCheckConfig.get",
"firebaseappcheck.deviceCheckConfig.update",
"firebaseappcheck.playIntegrityConfig.get",
"firebaseappcheck.playIntegrityConfig.update",
"firebaseappcheck.recaptchaEnterpriseConfig.get",
"firebaseappcheck.recaptchaEnterpriseConfig.update",
"firebaseappcheck.recaptchaV3Config.get",
"firebaseappcheck.recaptchaV3Config.update",
"firebaseappcheck.safetyNetConfig.get",
"firebaseappcheck.safetyNetConfig.update",
"firebaseappcheck.services.get",
"firebaseappcheck.services.update",
"firebaseappdistro.groups.list",
"firebaseappdistro.groups.update",
"firebaseappdistro.releases.list",
"firebaseappdistro.releases.update",
"firebaseappdistro.testers.list",
"firebaseappdistro.testers.update",
"firebaseauth.configs.create",
"firebaseauth.configs.get",
"firebaseauth.configs.getHashConfig",
"firebaseauth.configs.update",
"firebaseauth.users.create",
"firebaseauth.users.createSession",
"firebaseauth.users.delete",
"firebaseauth.users.get",
"firebaseauth.users.sendEmail",
"firebaseauth.users.update",
"firebasecrash.issues.update",
"firebasecrash.reports.get",
"firebasecrashlytics.config.get",
"firebasecrashlytics.config.update",
"firebasecrashlytics.data.get",
"firebasecrashlytics.issues.get",
"firebasecrashlytics.issues.list",
"firebasecrashlytics.issues.update",
"firebasecrashlytics.sessions.get",
"firebasedatabase.instances.create",
"firebasedatabase.instances.delete",
"firebasedatabase.instances.disable",
"firebasedatabase.instances.get",
"firebasedatabase.instances.list",
"firebasedatabase.instances.reenable",
"firebasedatabase.instances.undelete",
"firebasedatabase.instances.update",
"firebasedynamiclinks.destinations.list",
"firebasedynamiclinks.destinations.update",
"firebasedynamiclinks.domains.create",
"firebasedynamiclinks.domains.delete",
"firebasedynamiclinks.domains.get",
"firebasedynamiclinks.domains.list",
"firebasedynamiclinks.domains.update",
"firebasedynamiclinks.links.create",
"firebasedynamiclinks.links.get",
"firebasedynamiclinks.links.list",
"firebasedynamiclinks.links.update",
"firebasedynamiclinks.stats.get",
"firebaseextensions.configs.create",
"firebaseextensions.configs.delete",
"firebaseextensions.configs.list",
"firebaseextensions.configs.update",
"firebasehosting.sites.create",
"firebasehosting.sites.delete",
"firebasehosting.sites.get",
"firebasehosting.sites.list",
"firebasehosting.sites.update",
"firebaseinappmessaging.campaigns.create",
"firebaseinappmessaging.campaigns.delete",
"firebaseinappmessaging.campaigns.get",
"firebaseinappmessaging.campaigns.list",
"firebaseinappmessaging.campaigns.update",
"firebasemessagingcampaigns.campaigns.create",
"firebasemessagingcampaigns.campaigns.delete",
"firebasemessagingcampaigns.campaigns.get",
"firebasemessagingcampaigns.campaigns.list",
"firebasemessagingcampaigns.campaigns.start",
"firebasemessagingcampaigns.campaigns.stop",
"firebasemessagingcampaigns.campaigns.update",
"firebaseml.compressionjobs.create",
"firebaseml.compressionjobs.delete",
"firebaseml.compressionjobs.get",
"firebaseml.compressionjobs.list",
"firebaseml.compressionjobs.start",
"firebaseml.compressionjobs.update",
"firebaseml.models.create",
"firebaseml.models.delete",
"firebaseml.models.get",
"firebaseml.models.list",
"firebaseml.modelversions.create",
"firebaseml.modelversions.get",
"firebaseml.modelversions.list",
"firebaseml.modelversions.update",
"firebasenotifications.messages.create",
"firebasenotifications.messages.delete",
"firebasenotifications.messages.get",
"firebasenotifications.messages.list",
"firebasenotifications.messages.update",
"firebaseperformance.config.update",
"firebaseperformance.data.get",
"firebaserules.releases.create",
"firebaserules.releases.delete",
"firebaserules.releases.get",
"firebaserules.releases.getExecutable",
"firebaserules.releases.list",
"firebaserules.releases.update",
"firebaserules.rulesets.create",
"firebaserules.rulesets.delete",
"firebaserules.rulesets.get",
"firebaserules.rulesets.list",
"firebaserules.rulesets.test",
"firebasestorage.buckets.addFirebase",
"firebasestorage.buckets.get",
"firebasestorage.buckets.list",
"firebasestorage.buckets.removeFirebase",
"fleetengine.deliveryvehicles.create",
"fleetengine.deliveryvehicles.get",
"fleetengine.deliveryvehicles.list",
"fleetengine.deliveryvehicles.update",
"fleetengine.deliveryvehicles.updateLocation",
"fleetengine.deliveryvehicles.updateVehicleStops",
"fleetengine.tasks.create",
"fleetengine.tasks.get",
"fleetengine.tasks.list",
"fleetengine.tasks.searchWithTrackingId",
"fleetengine.tasks.update",
"fleetengine.trips.create",
"fleetengine.trips.get",
"fleetengine.trips.search",
"fleetengine.trips.update",
"fleetengine.trips.updateState",
"fleetengine.vehicles.create",
"fleetengine.vehicles.get",
"fleetengine.vehicles.list",
"fleetengine.vehicles.search",
"fleetengine.vehicles.searchFuzzed",
"fleetengine.vehicles.update",
"fleetengine.vehicles.updateLocation",
"gameservices.gameServerClusters.create",
"gameservices.gameServerClusters.delete",
"gameservices.gameServerClusters.get",
"gameservices.gameServerClusters.list",
"gameservices.gameServerClusters.update",
"gameservices.gameServerConfigs.create",
"gameservices.gameServerConfigs.delete",
"gameservices.gameServerConfigs.get",
"gameservices.gameServerConfigs.list",
"gameservices.gameServerDeployments.create",
"gameservices.gameServerDeployments.delete",
"gameservices.gameServerDeployments.get",
"gameservices.gameServerDeployments.list",
"gameservices.gameServerDeployments.rollout",
"gameservices.gameServerDeployments.update",
"gameservices.locations.get",
"gameservices.locations.list",
"gameservices.operations.cancel",
"gameservices.operations.delete",
"gameservices.operations.get",
"gameservices.operations.list",
"gameservices.realms.create",
"gameservices.realms.delete",
"gameservices.realms.get",
"gameservices.realms.list",
"gameservices.realms.update",
"genomics.datasets.create",
"genomics.datasets.delete",
"genomics.datasets.get",
"genomics.datasets.getIamPolicy",
"genomics.datasets.list",
"genomics.datasets.setIamPolicy",
"genomics.datasets.update",
"genomics.operations.cancel",
"genomics.operations.create",
"genomics.operations.get",
"genomics.operations.list",
"gkebackup.backupPlans.create",
"gkebackup.backupPlans.delete",
"gkebackup.backupPlans.get",
"gkebackup.backupPlans.getIamPolicy",
"gkebackup.backupPlans.list",
"gkebackup.backupPlans.setIamPolicy",
"gkebackup.backupPlans.update",
"gkebackup.backups.create",
"gkebackup.backups.delete",
"gkebackup.backups.get",
"gkebackup.backups.list",
"gkebackup.backups.update",
"gkebackup.locations.get",
"gkebackup.locations.list",
"gkebackup.operations.cancel",
"gkebackup.operations.delete",
"gkebackup.operations.get",
"gkebackup.operations.list",
"gkebackup.restorePlans.create",
"gkebackup.restorePlans.delete",
"gkebackup.restorePlans.get",
"gkebackup.restorePlans.getIamPolicy",
"gkebackup.restorePlans.list",
"gkebackup.restorePlans.setIamPolicy",
"gkebackup.restorePlans.update",
"gkebackup.restores.create",
"gkebackup.restores.delete",
"gkebackup.restores.get",
"gkebackup.restores.list",
"gkebackup.restores.update",
"gkebackup.volumeBackups.get",
"gkebackup.volumeBackups.list",
"gkebackup.volumeRestores.get",
"gkebackup.volumeRestores.list",
"gkehub.endpoints.connect",
"gkehub.features.create",
"gkehub.features.delete",
"gkehub.features.get",
"gkehub.features.getIamPolicy",
"gkehub.features.list",
"gkehub.features.setIamPolicy",
"gkehub.features.update",
"gkehub.fleet.create",
"gkehub.fleet.delete",
"gkehub.fleet.get",
"gkehub.fleet.update",
"gkehub.gateway.delete",
"gkehub.gateway.get",
"gkehub.gateway.getIamPolicy",
"gkehub.gateway.patch",
"gkehub.gateway.post",
"gkehub.gateway.put",
"gkehub.gateway.setIamPolicy",
"gkehub.locations.get",
"gkehub.locations.list",
"gkehub.memberships.create",
"gkehub.memberships.delete",
"gkehub.memberships.generateConnectManifest",
"gkehub.memberships.get",
"gkehub.memberships.getIamPolicy",
"gkehub.memberships.list",
"gkehub.memberships.setIamPolicy",
"gkehub.memberships.update",
"gkehub.operations.cancel",
"gkehub.operations.delete",
"gkehub.operations.get",
"gkehub.operations.list",
"gkemulticloud.awsClusters.create",
"gkemulticloud.awsClusters.delete",
"gkemulticloud.awsClusters.generateAccessToken",
"gkemulticloud.awsClusters.get",
"gkemulticloud.awsClusters.getAdminKubeconfig",
"gkemulticloud.awsClusters.list",
"gkemulticloud.awsClusters.update",
"gkemulticloud.awsNodePools.create",
"gkemulticloud.awsNodePools.delete",
"gkemulticloud.awsNodePools.get",
"gkemulticloud.awsNodePools.list",
"gkemulticloud.awsNodePools.update",
"gkemulticloud.awsServerConfigs.get",
"gkemulticloud.azureClients.create",
"gkemulticloud.azureClients.delete",
"gkemulticloud.azureClients.get",
"gkemulticloud.azureClients.list",
"gkemulticloud.azureClusters.create",
"gkemulticloud.azureClusters.delete",
"gkemulticloud.azureClusters.generateAccessToken",
"gkemulticloud.azureClusters.get",
"gkemulticloud.azureClusters.getAdminKubeconfig",
"gkemulticloud.azureClusters.list",
"gkemulticloud.azureClusters.update",
"gkemulticloud.azureNodePools.create",
"gkemulticloud.azureNodePools.delete",
"gkemulticloud.azureNodePools.get",
"gkemulticloud.azureNodePools.list",
"gkemulticloud.azureNodePools.update",
"gkemulticloud.azureServerConfigs.get",
"gkemulticloud.operations.cancel",
"gkemulticloud.operations.delete",
"gkemulticloud.operations.get",
"gkemulticloud.operations.list",
"gkemulticloud.operations.wait",
"gkeonprem.bareMetalAdminClusters.create",
"gkeonprem.bareMetalAdminClusters.enroll",
"gkeonprem.bareMetalAdminClusters.get",
"gkeonprem.bareMetalAdminClusters.getIamPolicy",
"gkeonprem.bareMetalAdminClusters.list",
"gkeonprem.bareMetalAdminClusters.queryVersionConfig",
"gkeonprem.bareMetalAdminClusters.setIamPolicy",
"gkeonprem.bareMetalAdminClusters.unenroll",
"gkeonprem.bareMetalAdminClusters.update",
"gkeonprem.bareMetalClusters.create",
"gkeonprem.bareMetalClusters.delete",
"gkeonprem.bareMetalClusters.enroll",
"gkeonprem.bareMetalClusters.get",
"gkeonprem.bareMetalClusters.getIamPolicy",
"gkeonprem.bareMetalClusters.list",
"gkeonprem.bareMetalClusters.queryVersionConfig",
"gkeonprem.bareMetalClusters.setIamPolicy",
"gkeonprem.bareMetalClusters.unenroll",
"gkeonprem.bareMetalClusters.update",
"gkeonprem.bareMetalNodePools.create",
"gkeonprem.bareMetalNodePools.delete",
"gkeonprem.bareMetalNodePools.get",
"gkeonprem.bareMetalNodePools.getIamPolicy",
"gkeonprem.bareMetalNodePools.list",
"gkeonprem.bareMetalNodePools.setIamPolicy",
"gkeonprem.bareMetalNodePools.update",
"gkeonprem.locations.get",
"gkeonprem.locations.list",
"gkeonprem.operations.cancel",
"gkeonprem.operations.delete",
"gkeonprem.operations.get",
"gkeonprem.operations.list",
"gkeonprem.vmwareAdminClusters.enroll",
"gkeonprem.vmwareAdminClusters.get",
"gkeonprem.vmwareAdminClusters.getIamPolicy",
"gkeonprem.vmwareAdminClusters.list",
"gkeonprem.vmwareAdminClusters.setIamPolicy",
"gkeonprem.vmwareAdminClusters.unenroll",
"gkeonprem.vmwareAdminClusters.update",
"gkeonprem.vmwareClusters.create",
"gkeonprem.vmwareClusters.delete",
"gkeonprem.vmwareClusters.enroll",
"gkeonprem.vmwareClusters.get",
"gkeonprem.vmwareClusters.getIamPolicy",
"gkeonprem.vmwareClusters.list",
"gkeonprem.vmwareClusters.queryVersionConfig",
"gkeonprem.vmwareClusters.setIamPolicy",
"gkeonprem.vmwareClusters.unenroll",
"gkeonprem.vmwareClusters.update",
"gkeonprem.vmwareNodePools.create",
"gkeonprem.vmwareNodePools.delete",
"gkeonprem.vmwareNodePools.get",
"gkeonprem.vmwareNodePools.getIamPolicy",
"gkeonprem.vmwareNodePools.list",
"gkeonprem.vmwareNodePools.setIamPolicy",
"gkeonprem.vmwareNodePools.update",
"gsuiteaddons.authorizations.get",
"gsuiteaddons.deployments.create",
"gsuiteaddons.deployments.delete",
"gsuiteaddons.deployments.execute",
"gsuiteaddons.deployments.get",
"gsuiteaddons.deployments.install",
"gsuiteaddons.deployments.installStatus",
"gsuiteaddons.deployments.list",
"gsuiteaddons.deployments.uninstall",
"gsuiteaddons.deployments.update",
"healthcare.annotationStores.create",
"healthcare.annotationStores.delete",
"healthcare.annotationStores.evaluate",
"healthcare.annotationStores.export",
"healthcare.annotationStores.get",
"healthcare.annotationStores.getIamPolicy",
"healthcare.annotationStores.import",
"healthcare.annotationStores.list",
"healthcare.annotationStores.setIamPolicy",
"healthcare.annotationStores.update",
"healthcare.annotations.create",
"healthcare.annotations.delete",
"healthcare.annotations.get",
"healthcare.annotations.list",
"healthcare.annotations.update",
"healthcare.attributeDefinitions.create",
"healthcare.attributeDefinitions.delete",
"healthcare.attributeDefinitions.get",
"healthcare.attributeDefinitions.list",
"healthcare.attributeDefinitions.update",
"healthcare.consentArtifacts.create",
"healthcare.consentArtifacts.delete",
"healthcare.consentArtifacts.get",
"healthcare.consentArtifacts.list",
"healthcare.consentStores.checkDataAccess",
"healthcare.consentStores.create",
"healthcare.consentStores.delete",
"healthcare.consentStores.evaluateUserConsents",
"healthcare.consentStores.get",
"healthcare.consentStores.getIamPolicy",
"healthcare.consentStores.list",
"healthcare.consentStores.queryAccessibleData",
"healthcare.consentStores.setIamPolicy",
"healthcare.consentStores.update",
"healthcare.consents.activate",
"healthcare.consents.create",
"healthcare.consents.delete",
"healthcare.consents.get",
"healthcare.consents.list",
"healthcare.consents.reject",
"healthcare.consents.revoke",
"healthcare.consents.update",
"healthcare.datasets.create",
"healthcare.datasets.deidentify",
"healthcare.datasets.delete",
"healthcare.datasets.get",
"healthcare.datasets.getIamPolicy",
"healthcare.datasets.list",
"healthcare.datasets.setIamPolicy",
"healthcare.datasets.update",
"healthcare.dicomStores.create",
"healthcare.dicomStores.deidentify",
"healthcare.dicomStores.delete",
"healthcare.dicomStores.dicomWebDelete",
"healthcare.dicomStores.dicomWebRead",
"healthcare.dicomStores.dicomWebWrite",
"healthcare.dicomStores.export",
"healthcare.dicomStores.get",
"healthcare.dicomStores.getIamPolicy",
"healthcare.dicomStores.import",
"healthcare.dicomStores.list",
"healthcare.dicomStores.setIamPolicy",
"healthcare.dicomStores.update",
"healthcare.fhirResources.create",
"healthcare.fhirResources.delete",
"healthcare.fhirResources.get",
"healthcare.fhirResources.patch",
"healthcare.fhirResources.purge",
"healthcare.fhirResources.translateConceptMap",
"healthcare.fhirResources.update",
"healthcare.fhirStores.configureSearch",
"healthcare.fhirStores.create",
"healthcare.fhirStores.deidentify",
"healthcare.fhirStores.delete",
"healthcare.fhirStores.executeBundle",
"healthcare.fhirStores.export",
"healthcare.fhirStores.get",
"healthcare.fhirStores.getIamPolicy",
"healthcare.fhirStores.import",
"healthcare.fhirStores.list",
"healthcare.fhirStores.searchResources",
"healthcare.fhirStores.setIamPolicy",
"healthcare.fhirStores.update",
"healthcare.hl7V2Messages.create",
"healthcare.hl7V2Messages.delete",
"healthcare.hl7V2Messages.get",
"healthcare.hl7V2Messages.ingest",
"healthcare.hl7V2Messages.list",
"healthcare.hl7V2Messages.update",
"healthcare.hl7V2Stores.create",
"healthcare.hl7V2Stores.delete",
"healthcare.hl7V2Stores.get",
"healthcare.hl7V2Stores.getIamPolicy",
"healthcare.hl7V2Stores.import",
"healthcare.hl7V2Stores.list",
"healthcare.hl7V2Stores.setIamPolicy",
"healthcare.hl7V2Stores.update",
"healthcare.locations.get",
"healthcare.locations.list",
"healthcare.nlpservice.analyzeEntities",
"healthcare.operations.cancel",
"healthcare.operations.get",
"healthcare.operations.list",
"healthcare.userDataMappings.archive",
"healthcare.userDataMappings.create",
"healthcare.userDataMappings.delete",
"healthcare.userDataMappings.get",
"healthcare.userDataMappings.list",
"healthcare.userDataMappings.update",
"iam.denypolicies.create",
"iam.denypolicies.delete",
"iam.denypolicies.get",
"iam.denypolicies.list",
"iam.denypolicies.update",
"iam.roles.create",
"iam.roles.delete",
"iam.roles.get",
"iam.roles.list",
"iam.roles.undelete",
"iam.roles.update",
"iam.serviceAccountKeys.create",
"iam.serviceAccountKeys.delete",
"iam.serviceAccountKeys.disable",
"iam.serviceAccountKeys.enable",
"iam.serviceAccountKeys.get",
"iam.serviceAccountKeys.list",
"iam.serviceAccounts.actAs",
"iam.serviceAccounts.create",
"iam.serviceAccounts.delete",
"iam.serviceAccounts.disable",
"iam.serviceAccounts.enable",
"iam.serviceAccounts.get",
"iam.serviceAccounts.getAccessToken",
"iam.serviceAccounts.getIamPolicy",
"iam.serviceAccounts.getOpenIdToken",
"iam.serviceAccounts.implicitDelegation",
"iam.serviceAccounts.list",
"iam.serviceAccounts.setIamPolicy",
"iam.serviceAccounts.signBlob",
"iam.serviceAccounts.signJwt",
"iam.serviceAccounts.undelete",
"iam.serviceAccounts.update",
"iap.projects.getSettings",
"iap.projects.updateSettings",
"iap.tunnel.getIamPolicy",
"iap.tunnel.setIamPolicy",
"iap.tunnelDestGroups.accessViaIAP",
"iap.tunnelDestGroups.create",
"iap.tunnelDestGroups.delete",
"iap.tunnelDestGroups.get",
"iap.tunnelDestGroups.getIamPolicy",
"iap.tunnelDestGroups.list",
"iap.tunnelDestGroups.setIamPolicy",
"iap.tunnelDestGroups.update",
"iap.tunnelInstances.accessViaIAP",
"iap.tunnelInstances.getIamPolicy",
"iap.tunnelInstances.setIamPolicy",
"iap.tunnelLocations.getIamPolicy",
"iap.tunnelLocations.setIamPolicy",
"iap.tunnelZones.getIamPolicy",
"iap.tunnelZones.setIamPolicy",
"iap.web.getIamPolicy",
"iap.web.getSettings",
"iap.web.setIamPolicy",
"iap.web.updateSettings",
"iap.webServiceVersions.accessViaIAP",
"iap.webServiceVersions.getIamPolicy",
"iap.webServiceVersions.getSettings",
"iap.webServiceVersions.setIamPolicy",
"iap.webServiceVersions.updateSettings",
"iap.webServices.getIamPolicy",
"iap.webServices.getSettings",
"iap.webServices.setIamPolicy",
"iap.webServices.updateSettings",
"iap.webTypes.getIamPolicy",
"iap.webTypes.getSettings",
"iap.webTypes.setIamPolicy",
"iap.webTypes.updateSettings",
"identitytoolkit.tenants.create",
"identitytoolkit.tenants.delete",
"identitytoolkit.tenants.get",
"identitytoolkit.tenants.getIamPolicy",
"identitytoolkit.tenants.list",
"identitytoolkit.tenants.setIamPolicy",
"identitytoolkit.tenants.update",
"ids.endpoints.create",
"ids.endpoints.delete",
"ids.endpoints.get",
"ids.endpoints.getIamPolicy",
"ids.endpoints.list",
"ids.endpoints.setIamPolicy",
"ids.endpoints.update",
"ids.locations.get",
"ids.locations.list",
"ids.operations.cancel",
"ids.operations.delete",
"ids.operations.get",
"ids.operations.list",
"integrations.apigeeAuthConfigs.create",
"integrations.apigeeAuthConfigs.delete",
"integrations.apigeeAuthConfigs.get",
"integrations.apigeeAuthConfigs.list",
"integrations.apigeeAuthConfigs.update",
"integrations.apigeeCertificates.create",
"integrations.apigeeCertificates.delete",
"integrations.apigeeCertificates.get",
"integrations.apigeeCertificates.list",
"integrations.apigeeCertificates.update",
"integrations.apigeeExecutions.list",
"integrations.apigeeIntegrationVers.create",
"integrations.apigeeIntegrationVers.delete",
"integrations.apigeeIntegrationVers.deploy",
"integrations.apigeeIntegrationVers.get",
"integrations.apigeeIntegrationVers.list",
"integrations.apigeeIntegrationVers.update",
"integrations.apigeeIntegrations.invoke",
"integrations.apigeeIntegrations.list",
"integrations.apigeeSfdcChannels.create",
"integrations.apigeeSfdcChannels.delete",
"integrations.apigeeSfdcChannels.get",
"integrations.apigeeSfdcChannels.list",
"integrations.apigeeSfdcChannels.update",
"integrations.apigeeSfdcInstances.create",
"integrations.apigeeSfdcInstances.delete",
"integrations.apigeeSfdcInstances.get",
"integrations.apigeeSfdcInstances.list",
"integrations.apigeeSfdcInstances.update",
"integrations.apigeeSuspensions.lift",
"integrations.apigeeSuspensions.list",
"integrations.apigeeSuspensions.resolve",
"integrations.authConfigs.create",
"integrations.authConfigs.delete",
"integrations.authConfigs.get",
"integrations.authConfigs.list",
"integrations.authConfigs.update",
"integrations.certificates.create",
"integrations.certificates.delete",
"integrations.certificates.get",
"integrations.certificates.list",
"integrations.certificates.update",
"integrations.executions.get",
"integrations.executions.list",
"integrations.integrationVersions.create",
"integrations.integrationVersions.delete",
"integrations.integrationVersions.deploy",
"integrations.integrationVersions.get",
"integrations.integrationVersions.invoke",
"integrations.integrationVersions.list",
"integrations.integrationVersions.update",
"integrations.integrations.create",
"integrations.integrations.delete",
"integrations.integrations.deploy",
"integrations.integrations.get",
"integrations.integrations.invoke",
"integrations.integrations.list",
"integrations.integrations.update",
"integrations.securityAuthConfigs.create",
"integrations.securityAuthConfigs.delete",
"integrations.securityAuthConfigs.get",
"integrations.securityAuthConfigs.list",
"integrations.securityAuthConfigs.update",
"integrations.securityExecutions.cancel",
"integrations.securityExecutions.get",
"integrations.securityExecutions.list",
"integrations.securityIntegTempVers.create",
"integrations.securityIntegTempVers.get",
"integrations.securityIntegTempVers.list",
"integrations.securityIntegrationVers.create",
"integrations.securityIntegrationVers.deploy",
"integrations.securityIntegrationVers.get",
"integrations.securityIntegrationVers.list",
"integrations.securityIntegrationVers.update",
"integrations.securityIntegrations.invoke",
"integrations.securityIntegrations.list",
"integrations.sfdcChannels.create",
"integrations.sfdcChannels.delete",
"integrations.sfdcChannels.get",
"integrations.sfdcChannels.list",
"integrations.sfdcChannels.update",
"integrations.sfdcInstances.create",
"integrations.sfdcInstances.delete",
"integrations.sfdcInstances.get",
"integrations.sfdcInstances.list",
"integrations.sfdcInstances.update",
"integrations.suspensions.lift",
"integrations.suspensions.list",
"integrations.suspensions.resolve",
"issuerswitch.complaintTransactions.list",
"issuerswitch.complaints.create",
"issuerswitch.complaints.resolve",
"issuerswitch.disputes.create",
"issuerswitch.disputes.resolve",
"issuerswitch.financialTransactions.list",
"issuerswitch.mandateTransactions.list",
"issuerswitch.metadataTransactions.list",
"issuerswitch.operations.cancel",
"issuerswitch.operations.delete",
"issuerswitch.operations.get",
"issuerswitch.operations.list",
"issuerswitch.operations.wait",
"issuerswitch.ruleMetadata.list",
"issuerswitch.ruleMetadataValues.create",
"issuerswitch.ruleMetadataValues.delete",
"issuerswitch.ruleMetadataValues.list",
"issuerswitch.rules.list",
"krmapihosting.krmApiHosts.create",
"krmapihosting.krmApiHosts.delete",
"krmapihosting.krmApiHosts.get",
"krmapihosting.krmApiHosts.getIamPolicy",
"krmapihosting.krmApiHosts.list",
"krmapihosting.krmApiHosts.setIamPolicy",
"krmapihosting.krmApiHosts.update",
"krmapihosting.locations.get",
"krmapihosting.locations.list",
"krmapihosting.operations.cancel",
"krmapihosting.operations.delete",
"krmapihosting.operations.get",
"krmapihosting.operations.list",
"lifesciences.operations.cancel",
"lifesciences.operations.get",
"lifesciences.operations.list",
"lifesciences.workflows.run",
"livestream.channels.create",
"livestream.channels.delete",
"livestream.channels.get",
"livestream.channels.list",
"livestream.channels.start",
"livestream.channels.stop",
"livestream.channels.update",
"livestream.events.create",
"livestream.events.delete",
"livestream.events.get",
"livestream.events.list",
"livestream.inputs.create",
"livestream.inputs.delete",
"livestream.inputs.get",
"livestream.inputs.list",
"livestream.inputs.update",
"livestream.locations.get",
"livestream.locations.list",
"livestream.operations.cancel",
"livestream.operations.delete",
"livestream.operations.get",
"livestream.operations.list",
"logging.buckets.copyLogEntries",
"logging.buckets.create",
"logging.buckets.delete",
"logging.buckets.get",
"logging.buckets.list",
"logging.buckets.undelete",
"logging.buckets.update",
"logging.buckets.write",
"logging.exclusions.create",
"logging.exclusions.delete",
"logging.exclusions.get",
"logging.exclusions.list",
"logging.exclusions.update",
"logging.fields.access",
"logging.links.create",
"logging.links.delete",
"logging.links.get",
"logging.links.list",
"logging.locations.get",
"logging.locations.list",
"logging.logEntries.create",
"logging.logEntries.download",
"logging.logEntries.list",
"logging.logMetrics.create",
"logging.logMetrics.delete",
"logging.logMetrics.get",
"logging.logMetrics.list",
"logging.logMetrics.update",
"logging.logServiceIndexes.list",
"logging.logServices.list",
"logging.logs.delete",
"logging.logs.list",
"logging.notificationRules.create",
"logging.notificationRules.delete",
"logging.notificationRules.get",
"logging.notificationRules.list",
"logging.notificationRules.update",
"logging.operations.cancel",
"logging.operations.get",
"logging.operations.list",
"logging.privateLogEntries.list",
"logging.queries.create",
"logging.queries.delete",
"logging.queries.get",
"logging.queries.list",
"logging.queries.listShared",
"logging.queries.share",
"logging.queries.update",
"logging.queries.updateShared",
"logging.settings.get",
"logging.settings.update",
"logging.sinks.create",
"logging.sinks.delete",
"logging.sinks.get",
"logging.sinks.list",
"logging.sinks.update",
"logging.usage.get",
"logging.views.access",
"logging.views.create",
"logging.views.delete",
"logging.views.get",
"logging.views.list",
"logging.views.listLogs",
"logging.views.listResourceKeys",
"logging.views.listResourceValues",
"logging.views.update",
"managedidentities.backups.create",
"managedidentities.backups.delete",
"managedidentities.backups.get",
"managedidentities.backups.getIamPolicy",
"managedidentities.backups.list",
"managedidentities.backups.setIamPolicy",
"managedidentities.backups.update",
"managedidentities.domains.attachTrust",
"managedidentities.domains.checkMigrationPermission",
"managedidentities.domains.create",
"managedidentities.domains.createTagBinding",
"managedidentities.domains.delete",
"managedidentities.domains.deleteTagBinding",
"managedidentities.domains.detachTrust",
"managedidentities.domains.disableMigration",
"managedidentities.domains.domainJoinMachine",
"managedidentities.domains.enableMigration",
"managedidentities.domains.extendSchema",
"managedidentities.domains.get",
"managedidentities.domains.getIamPolicy",
"managedidentities.domains.list",
"managedidentities.domains.listEffectiveTags",
"managedidentities.domains.listTagBindings",
"managedidentities.domains.reconfigureTrust",
"managedidentities.domains.resetpassword",
"managedidentities.domains.restore",
"managedidentities.domains.setIamPolicy",
"managedidentities.domains.update",
"managedidentities.domains.updateLDAPSSettings",
"managedidentities.domains.validateTrust",
"managedidentities.locations.get",
"managedidentities.locations.list",
"managedidentities.operations.cancel",
"managedidentities.operations.delete",
"managedidentities.operations.get",
"managedidentities.operations.list",
"managedidentities.peerings.create",
"managedidentities.peerings.delete",
"managedidentities.peerings.get",
"managedidentities.peerings.getIamPolicy",
"managedidentities.peerings.list",
"managedidentities.peerings.setIamPolicy",
"managedidentities.peerings.update",
"managedidentities.sqlintegrations.get",
"managedidentities.sqlintegrations.list",
"mapsadmin.clientMaps.create",
"mapsadmin.clientMaps.delete",
"mapsadmin.clientMaps.get",
"mapsadmin.clientMaps.list",
"mapsadmin.clientMaps.update",
"mapsadmin.clientStyleActivationRules.update",
"mapsadmin.clientStyleSheetSnapshots.list",
"mapsadmin.clientStyleSheetSnapshots.update",
"mapsadmin.clientStyles.create",
"mapsadmin.clientStyles.delete",
"mapsadmin.clientStyles.get",
"mapsadmin.clientStyles.list",
"mapsadmin.clientStyles.update",
"mapsadmin.styleEditorConfigs.get",
"mapsadmin.styleSnapshots.list",
"mapsadmin.styleSnapshots.update",
"memcache.instances.applyParameters",
"memcache.instances.applySoftwareUpdate",
"memcache.instances.create",
"memcache.instances.delete",
"memcache.instances.get",
"memcache.instances.list",
"memcache.instances.rescheduleMaintenance",
"memcache.instances.update",
"memcache.instances.updateParameters",
"memcache.locations.get",
"memcache.locations.list",
"memcache.operations.cancel",
"memcache.operations.delete",
"memcache.operations.get",
"memcache.operations.list",
"meshconfig.projects.get",
"meshconfig.projects.init",
"metastore.backups.create",
"metastore.backups.delete",
"metastore.backups.get",
"metastore.backups.getIamPolicy",
"metastore.backups.list",
"metastore.backups.setIamPolicy",
"metastore.backups.use",
"metastore.databases.create",
"metastore.databases.delete",
"metastore.databases.get",
"metastore.databases.getIamPolicy",
"metastore.databases.list",
"metastore.databases.setIamPolicy",
"metastore.databases.update",
"metastore.federations.create",
"metastore.federations.delete",
"metastore.federations.get",
"metastore.federations.getIamPolicy",
"metastore.federations.list",
"metastore.federations.setIamPolicy",
"metastore.federations.update",
"metastore.federations.use",
"metastore.imports.create",
"metastore.imports.get",
"metastore.imports.list",
"metastore.imports.update",
"metastore.locations.get",
"metastore.locations.list",
"metastore.operations.cancel",
"metastore.operations.delete",
"metastore.operations.get",
"metastore.operations.list",
"metastore.services.create",
"metastore.services.delete",
"metastore.services.export",
"metastore.services.get",
"metastore.services.getIamPolicy",
"metastore.services.list",
"metastore.services.mutateMetadata",
"metastore.services.queryMetadata",
"metastore.services.restore",
"metastore.services.setIamPolicy",
"metastore.services.update",
"metastore.services.use",
"metastore.tables.create",
"metastore.tables.delete",
"metastore.tables.get",
"metastore.tables.getIamPolicy",
"metastore.tables.list",
"metastore.tables.setIamPolicy",
"metastore.tables.update",
"migrationcenter.assets.create",
"migrationcenter.assets.delete",
"migrationcenter.assets.get",
"migrationcenter.assets.list",
"migrationcenter.assets.reportFrames",
"migrationcenter.assets.update",
"migrationcenter.groups.create",
"migrationcenter.groups.delete",
"migrationcenter.groups.get",
"migrationcenter.groups.list",
"migrationcenter.groups.update",
"migrationcenter.importJobs.create",
"migrationcenter.importJobs.delete",
"migrationcenter.importJobs.get",
"migrationcenter.importJobs.list",
"migrationcenter.importJobs.update",
"migrationcenter.locations.get",
"migrationcenter.locations.list",
"migrationcenter.operations.cancel",
"migrationcenter.operations.delete",
"migrationcenter.operations.get",
"migrationcenter.operations.list",
"migrationcenter.sources.create",
"migrationcenter.sources.delete",
"migrationcenter.sources.get",
"migrationcenter.sources.list",
"migrationcenter.sources.update",
"ml.jobs.cancel",
"ml.jobs.create",
"ml.jobs.get",
"ml.jobs.getIamPolicy",
"ml.jobs.list",
"ml.jobs.setIamPolicy",
"ml.jobs.update",
"ml.locations.get",
"ml.locations.list",
"ml.models.create",
"ml.models.delete",
"ml.models.get",
"ml.models.getIamPolicy",
"ml.models.list",
"ml.models.predict",
"ml.models.setIamPolicy",
"ml.models.update",
"ml.operations.cancel",
"ml.operations.get",
"ml.operations.list",
"ml.projects.getConfig",
"ml.studies.create",
"ml.studies.delete",
"ml.studies.get",
"ml.studies.getIamPolicy",
"ml.studies.list",
"ml.studies.setIamPolicy",
"ml.trials.create",
"ml.trials.delete",
"ml.trials.get",
"ml.trials.list",
"ml.trials.update",
"ml.versions.create",
"ml.versions.delete",
"ml.versions.get",
"ml.versions.list",
"ml.versions.predict",
"ml.versions.update",
"monitoring.alertPolicies.create",
"monitoring.alertPolicies.delete",
"monitoring.alertPolicies.get",
"monitoring.alertPolicies.list",
"monitoring.alertPolicies.update",
"monitoring.dashboards.create",
"monitoring.dashboards.delete",
"monitoring.dashboards.get",
"monitoring.dashboards.list",
"monitoring.dashboards.update",
"monitoring.groups.create",
"monitoring.groups.delete",
"monitoring.groups.get",
"monitoring.groups.list",
"monitoring.groups.update",
"monitoring.metricDescriptors.create",
"monitoring.metricDescriptors.delete",
"monitoring.metricDescriptors.get",
"monitoring.metricDescriptors.list",
"monitoring.metricsScopes.link",
"monitoring.monitoredResourceDescriptors.get",
"monitoring.monitoredResourceDescriptors.list",
"monitoring.notificationChannelDescriptors.get",
"monitoring.notificationChannelDescriptors.list",
"monitoring.notificationChannels.create",
"monitoring.notificationChannels.delete",
"monitoring.notificationChannels.get",
"monitoring.notificationChannels.getVerificationCode",
"monitoring.notificationChannels.list",
"monitoring.notificationChannels.sendVerificationCode",
"monitoring.notificationChannels.update",
"monitoring.notificationChannels.verify",
"monitoring.publicWidgets.create",
"monitoring.publicWidgets.delete",
"monitoring.publicWidgets.get",
"monitoring.publicWidgets.list",
"monitoring.publicWidgets.update",
"monitoring.services.create",
"monitoring.services.delete",
"monitoring.services.get",
"monitoring.services.list",
"monitoring.services.update",
"monitoring.slos.create",
"monitoring.slos.delete",
"monitoring.slos.get",
"monitoring.slos.list",
"monitoring.slos.update",
"monitoring.timeSeries.create",
"monitoring.timeSeries.list",
"monitoring.uptimeCheckConfigs.create",
"monitoring.uptimeCheckConfigs.delete",
"monitoring.uptimeCheckConfigs.get",
"monitoring.uptimeCheckConfigs.list",
"monitoring.uptimeCheckConfigs.update",
"nestconsole.smarthomePreviews.update",
"nestconsole.smarthomeProjects.create",
"nestconsole.smarthomeProjects.delete",
"nestconsole.smarthomeProjects.get",
"nestconsole.smarthomeProjects.update",
"nestconsole.smarthomeVersions.create",
"nestconsole.smarthomeVersions.get",
"nestconsole.smarthomeVersions.submit",
"networkconnectivity.hubs.create",
"networkconnectivity.hubs.delete",
"networkconnectivity.hubs.get",
"networkconnectivity.hubs.getIamPolicy",
"networkconnectivity.hubs.list",
"networkconnectivity.hubs.setIamPolicy",
"networkconnectivity.hubs.update",
"networkconnectivity.internalRanges.create",
"networkconnectivity.internalRanges.delete",
"networkconnectivity.internalRanges.get",
"networkconnectivity.internalRanges.getIamPolicy",
"networkconnectivity.internalRanges.list",
"networkconnectivity.internalRanges.setIamPolicy",
"networkconnectivity.internalRanges.update",
"networkconnectivity.locations.get",
"networkconnectivity.locations.list",
"networkconnectivity.operations.cancel",
"networkconnectivity.operations.delete",
"networkconnectivity.operations.get",
"networkconnectivity.operations.list",
"networkconnectivity.policyBasedRoutes.create",
"networkconnectivity.policyBasedRoutes.delete",
"networkconnectivity.policyBasedRoutes.get",
"networkconnectivity.policyBasedRoutes.getIamPolicy",
"networkconnectivity.policyBasedRoutes.list",
"networkconnectivity.policyBasedRoutes.setIamPolicy",
"networkconnectivity.spokes.create",
"networkconnectivity.spokes.delete",
"networkconnectivity.spokes.get",
"networkconnectivity.spokes.getIamPolicy",
"networkconnectivity.spokes.list",
"networkconnectivity.spokes.setIamPolicy",
"networkconnectivity.spokes.update",
"networkmanagement.config.get",
"networkmanagement.config.startFreeTrial",
"networkmanagement.config.update",
"networkmanagement.connectivitytests.create",
"networkmanagement.connectivitytests.delete",
"networkmanagement.connectivitytests.get",
"networkmanagement.connectivitytests.getIamPolicy",
"networkmanagement.connectivitytests.list",
"networkmanagement.connectivitytests.rerun",
"networkmanagement.connectivitytests.setIamPolicy",
"networkmanagement.connectivitytests.update",
"networkmanagement.locations.get",
"networkmanagement.locations.list",
"networkmanagement.operations.get",
"networkmanagement.operations.list",
"networksecurity.authorizationPolicies.create",
"networksecurity.authorizationPolicies.delete",
"networksecurity.authorizationPolicies.get",
"networksecurity.authorizationPolicies.getIamPolicy",
"networksecurity.authorizationPolicies.list",
"networksecurity.authorizationPolicies.setIamPolicy",
"networksecurity.authorizationPolicies.update",
"networksecurity.authorizationPolicies.use",
"networksecurity.clientTlsPolicies.create",
"networksecurity.clientTlsPolicies.delete",
"networksecurity.clientTlsPolicies.get",
"networksecurity.clientTlsPolicies.getIamPolicy",
"networksecurity.clientTlsPolicies.list",
"networksecurity.clientTlsPolicies.setIamPolicy",
"networksecurity.clientTlsPolicies.update",
"networksecurity.clientTlsPolicies.use",
"networksecurity.locations.get",
"networksecurity.locations.list",
"networksecurity.operations.cancel",
"networksecurity.operations.delete",
"networksecurity.operations.get",
"networksecurity.operations.list",
"networksecurity.serverTlsPolicies.create",
"networksecurity.serverTlsPolicies.delete",
"networksecurity.serverTlsPolicies.get",
"networksecurity.serverTlsPolicies.getIamPolicy",
"networksecurity.serverTlsPolicies.list",
"networksecurity.serverTlsPolicies.setIamPolicy",
"networksecurity.serverTlsPolicies.update",
"networksecurity.serverTlsPolicies.use",
"networkservices.endpointConfigSelectors.create",
"networkservices.endpointConfigSelectors.delete",
"networkservices.endpointConfigSelectors.get",
"networkservices.endpointConfigSelectors.getIamPolicy",
"networkservices.endpointConfigSelectors.list",
"networkservices.endpointConfigSelectors.setIamPolicy",
"networkservices.endpointConfigSelectors.update",
"networkservices.endpointConfigSelectors.use",
"networkservices.endpointPolicies.create",
"networkservices.endpointPolicies.delete",
"networkservices.endpointPolicies.get",
"networkservices.endpointPolicies.getIamPolicy",
"networkservices.endpointPolicies.list",
"networkservices.endpointPolicies.setIamPolicy",
"networkservices.endpointPolicies.update",
"networkservices.endpointPolicies.use",
"networkservices.gateways.create",
"networkservices.gateways.delete",
"networkservices.gateways.get",
"networkservices.gateways.list",
"networkservices.gateways.update",
"networkservices.gateways.use",
"networkservices.grpcRoutes.create",
"networkservices.grpcRoutes.delete",
"networkservices.grpcRoutes.get",
"networkservices.grpcRoutes.getIamPolicy",
"networkservices.grpcRoutes.list",
"networkservices.grpcRoutes.setIamPolicy",
"networkservices.grpcRoutes.update",
"networkservices.grpcRoutes.use",
"networkservices.httpFilters.create",
"networkservices.httpFilters.delete",
"networkservices.httpFilters.get",
"networkservices.httpFilters.getIamPolicy",
"networkservices.httpFilters.list",
"networkservices.httpFilters.setIamPolicy",
"networkservices.httpFilters.update",
"networkservices.httpFilters.use",
"networkservices.httpRoutes.create",
"networkservices.httpRoutes.delete",
"networkservices.httpRoutes.get",
"networkservices.httpRoutes.getIamPolicy",
"networkservices.httpRoutes.list",
"networkservices.httpRoutes.setIamPolicy",
"networkservices.httpRoutes.update",
"networkservices.httpRoutes.use",
"networkservices.httpfilters.create",
"networkservices.httpfilters.delete",
"networkservices.httpfilters.get",
"networkservices.httpfilters.getIamPolicy",
"networkservices.httpfilters.list",
"networkservices.httpfilters.setIamPolicy",
"networkservices.httpfilters.update",
"networkservices.httpfilters.use",
"networkservices.locations.get",
"networkservices.locations.list",
"networkservices.meshes.create",
"networkservices.meshes.delete",
"networkservices.meshes.get",
"networkservices.meshes.getIamPolicy",
"networkservices.meshes.list",
"networkservices.meshes.setIamPolicy",
"networkservices.meshes.update",
"networkservices.meshes.use",
"networkservices.operations.cancel",
"networkservices.operations.delete",
"networkservices.operations.get",
"networkservices.operations.list",
"networkservices.serviceBindings.create",
"networkservices.serviceBindings.delete",
"networkservices.serviceBindings.get",
"networkservices.serviceBindings.list",
"networkservices.serviceBindings.update",
"networkservices.tcpRoutes.create",
"networkservices.tcpRoutes.delete",
"networkservices.tcpRoutes.get",
"networkservices.tcpRoutes.getIamPolicy",
"networkservices.tcpRoutes.list",
"networkservices.tcpRoutes.setIamPolicy",
"networkservices.tcpRoutes.update",
"networkservices.tcpRoutes.use",
"networkservices.tlsRoutes.create",
"networkservices.tlsRoutes.delete",
"networkservices.tlsRoutes.get",
"networkservices.tlsRoutes.list",
"networkservices.tlsRoutes.update",
"networkservices.tlsRoutes.use",
"notebooks.environments.create",
"notebooks.environments.delete",
"notebooks.environments.get",
"notebooks.environments.getIamPolicy",
"notebooks.environments.list",
"notebooks.environments.setIamPolicy",
"notebooks.executions.create",
"notebooks.executions.delete",
"notebooks.executions.get",
"notebooks.executions.getIamPolicy",
"notebooks.executions.list",
"notebooks.executions.setIamPolicy",
"notebooks.instances.checkUpgradability",
"notebooks.instances.create",
"notebooks.instances.delete",
"notebooks.instances.diagnose",
"notebooks.instances.get",
"notebooks.instances.getHealth",
"notebooks.instances.getIamPolicy",
"notebooks.instances.list",
"notebooks.instances.reset",
"notebooks.instances.setAccelerator",
"notebooks.instances.setIamPolicy",
"notebooks.instances.setLabels",
"notebooks.instances.setMachineType",
"notebooks.instances.start",
"notebooks.instances.stop",
"notebooks.instances.update",
"notebooks.instances.updateConfig",
"notebooks.instances.updateShieldInstanceConfig",
"notebooks.instances.upgrade",
"notebooks.instances.use",
"notebooks.locations.get",
"notebooks.locations.list",
"notebooks.operations.cancel",
"notebooks.operations.delete",
"notebooks.operations.get",
"notebooks.operations.list",
"notebooks.runtimes.create",
"notebooks.runtimes.delete",
"notebooks.runtimes.diagnose",
"notebooks.runtimes.get",
"notebooks.runtimes.getIamPolicy",
"notebooks.runtimes.list",
"notebooks.runtimes.reset",
"notebooks.runtimes.setIamPolicy",
"notebooks.runtimes.start",
"notebooks.runtimes.stop",
"notebooks.runtimes.switch",
"notebooks.runtimes.update",
"notebooks.schedules.create",
"notebooks.schedules.delete",
"notebooks.schedules.get",
"notebooks.schedules.getIamPolicy",
"notebooks.schedules.list",
"notebooks.schedules.setIamPolicy",
"oauthconfig.clientpolicy.get",
"oauthconfig.testusers.get",
"oauthconfig.testusers.update",
"oauthconfig.verification.get",
"oauthconfig.verification.submit",
"oauthconfig.verification.update",
"ondemandscanning.operations.cancel",
"ondemandscanning.operations.delete",
"ondemandscanning.operations.get",
"ondemandscanning.operations.list",
"ondemandscanning.operations.wait",
"ondemandscanning.scans.analyzePackages",
"ondemandscanning.scans.listVulnerabilities",
"ondemandscanning.scans.scan",
"opsconfigmonitoring.resourceMetadata.list",
"opsconfigmonitoring.resourceMetadata.write",
"orgpolicy.constraints.list",
"orgpolicy.policies.create",
"orgpolicy.policies.delete",
"orgpolicy.policies.list",
"orgpolicy.policies.update",
"orgpolicy.policy.get",
"orgpolicy.policy.set",
"osconfig.guestPolicies.create",
"osconfig.guestPolicies.delete",
"osconfig.guestPolicies.get",
"osconfig.guestPolicies.list",
"osconfig.guestPolicies.update",
"osconfig.instanceOSPoliciesCompliances.get",
"osconfig.instanceOSPoliciesCompliances.list",
"osconfig.inventories.get",
"osconfig.inventories.list",
"osconfig.osPolicyAssignmentReports.get",
"osconfig.osPolicyAssignmentReports.list",
"osconfig.osPolicyAssignments.create",
"osconfig.osPolicyAssignments.delete",
"osconfig.osPolicyAssignments.get",
"osconfig.osPolicyAssignments.list",
"osconfig.osPolicyAssignments.update",
"osconfig.patchDeployments.create",
"osconfig.patchDeployments.delete",
"osconfig.patchDeployments.execute",
"osconfig.patchDeployments.get",
"osconfig.patchDeployments.list",
"osconfig.patchDeployments.pause",
"osconfig.patchDeployments.resume",
"osconfig.patchDeployments.update",
"osconfig.patchJobs.exec",
"osconfig.patchJobs.get",
"osconfig.patchJobs.list",
"osconfig.vulnerabilityReports.get",
"osconfig.vulnerabilityReports.list",
"paymentsresellersubscription.products.list",
"paymentsresellersubscription.promotions.list",
"paymentsresellersubscription.subscriptions.cancel",
"paymentsresellersubscription.subscriptions.extend",
"paymentsresellersubscription.subscriptions.get",
"paymentsresellersubscription.subscriptions.provision",
"paymentsresellersubscription.subscriptions.undoCancel",
"policyanalyzer.serviceAccountKeyLastAuthenticationActivities.query",
"policyanalyzer.serviceAccountLastAuthenticationActivities.query",
"policysimulator.replayResults.list",
"policysimulator.replays.create",
"policysimulator.replays.get",
"policysimulator.replays.list",
"policysimulator.replays.run",
"privateca.caPools.create",
"privateca.caPools.delete",
"privateca.caPools.get",
"privateca.caPools.getIamPolicy",
"privateca.caPools.list",
"privateca.caPools.setIamPolicy",
"privateca.caPools.update",
"privateca.caPools.use",
"privateca.certificateAuthorities.create",
"privateca.certificateAuthorities.delete",
"privateca.certificateAuthorities.get",
"privateca.certificateAuthorities.getIamPolicy",
"privateca.certificateAuthorities.list",
"privateca.certificateAuthorities.setIamPolicy",
"privateca.certificateAuthorities.update",
"privateca.certificateRevocationLists.create",
"privateca.certificateRevocationLists.get",
"privateca.certificateRevocationLists.getIamPolicy",
"privateca.certificateRevocationLists.list",
"privateca.certificateRevocationLists.setIamPolicy",
"privateca.certificateRevocationLists.update",
"privateca.certificateTemplates.create",
"privateca.certificateTemplates.delete",
"privateca.certificateTemplates.get",
"privateca.certificateTemplates.getIamPolicy",
"privateca.certificateTemplates.list",
"privateca.certificateTemplates.setIamPolicy",
"privateca.certificateTemplates.update",
"privateca.certificateTemplates.use",
"privateca.certificates.create",
"privateca.certificates.createForSelf",
"privateca.certificates.get",
"privateca.certificates.getIamPolicy",
"privateca.certificates.list",
"privateca.certificates.setIamPolicy",
"privateca.certificates.update",
"privateca.locations.get",
"privateca.locations.list",
"privateca.operations.cancel",
"privateca.operations.delete",
"privateca.operations.get",
"privateca.operations.list",
"privateca.reusableConfigs.create",
"privateca.reusableConfigs.delete",
"privateca.reusableConfigs.get",
"privateca.reusableConfigs.getIamPolicy",
"privateca.reusableConfigs.list",
"privateca.reusableConfigs.setIamPolicy",
"privateca.reusableConfigs.update",
"proximitybeacon.attachments.create",
"proximitybeacon.attachments.delete",
"proximitybeacon.attachments.get",
"proximitybeacon.attachments.list",
"proximitybeacon.beacons.attach",
"proximitybeacon.beacons.create",
"proximitybeacon.beacons.get",
"proximitybeacon.beacons.getIamPolicy",
"proximitybeacon.beacons.list",
"proximitybeacon.beacons.setIamPolicy",
"proximitybeacon.beacons.update",
"proximitybeacon.namespaces.create",
"proximitybeacon.namespaces.delete",
"proximitybeacon.namespaces.get",
"proximitybeacon.namespaces.getIamPolicy",
"proximitybeacon.namespaces.list",
"proximitybeacon.namespaces.setIamPolicy",
"proximitybeacon.namespaces.update",
"publicca.externalAccountKeys.create",
"pubsub.schemas.attach",
"pubsub.schemas.create",
"pubsub.schemas.delete",
"pubsub.schemas.get",
"pubsub.schemas.getIamPolicy",
"pubsub.schemas.list",
"pubsub.schemas.setIamPolicy",
"pubsub.schemas.validate",
"pubsub.snapshots.create",
"pubsub.snapshots.delete",
"pubsub.snapshots.get",
"pubsub.snapshots.getIamPolicy",
"pubsub.snapshots.list",
"pubsub.snapshots.seek",
"pubsub.snapshots.setIamPolicy",
"pubsub.snapshots.update",
"pubsub.subscriptions.consume",
"pubsub.subscriptions.create",
"pubsub.subscriptions.delete",
"pubsub.subscriptions.get",
"pubsub.subscriptions.getIamPolicy",
"pubsub.subscriptions.list",
"pubsub.subscriptions.setIamPolicy",
"pubsub.subscriptions.update",
"pubsub.topics.attachSubscription",
"pubsub.topics.create",
"pubsub.topics.delete",
"pubsub.topics.detachSubscription",
"pubsub.topics.get",
"pubsub.topics.getIamPolicy",
"pubsub.topics.list",
"pubsub.topics.publish",
"pubsub.topics.setIamPolicy",
"pubsub.topics.update",
"pubsub.topics.updateTag",
"pubsublite.operations.get",
"pubsublite.operations.list",
"pubsublite.reservations.attachTopic",
"pubsublite.reservations.create",
"pubsublite.reservations.delete",
"pubsublite.reservations.get",
"pubsublite.reservations.list",
"pubsublite.reservations.listTopics",
"pubsublite.reservations.update",
"pubsublite.subscriptions.create",
"pubsublite.subscriptions.delete",
"pubsublite.subscriptions.get",
"pubsublite.subscriptions.getCursor",
"pubsublite.subscriptions.list",
"pubsublite.subscriptions.seek",
"pubsublite.subscriptions.setCursor",
"pubsublite.subscriptions.subscribe",
"pubsublite.subscriptions.update",
"pubsublite.topics.computeHeadCursor",
"pubsublite.topics.computeMessageStats",
"pubsublite.topics.computeTimeCursor",
"pubsublite.topics.create",
"pubsublite.topics.delete",
"pubsublite.topics.get",
"pubsublite.topics.getPartitions",
"pubsublite.topics.list",
"pubsublite.topics.listSubscriptions",
"pubsublite.topics.publish",
"pubsublite.topics.subscribe",
"pubsublite.topics.update",
"recaptchaenterprise.assessments.annotate",
"recaptchaenterprise.assessments.create",
"recaptchaenterprise.keys.create",
"recaptchaenterprise.keys.delete",
"recaptchaenterprise.keys.get",
"recaptchaenterprise.keys.list",
"recaptchaenterprise.keys.retrievelegacysecretkey",
"recaptchaenterprise.keys.update",
"recaptchaenterprise.metrics.get",
"recaptchaenterprise.projectmetadata.get",
"recaptchaenterprise.projectmetadata.update",
"recaptchaenterprise.relatedaccountgroupmemberships.list",
"recaptchaenterprise.relatedaccountgroups.list",
"recommender.bigqueryCapacityCommitmentsInsights.get",
"recommender.bigqueryCapacityCommitmentsInsights.list",
"recommender.bigqueryCapacityCommitmentsInsights.update",
"recommender.bigqueryCapacityCommitmentsRecommendations.get",
"recommender.bigqueryCapacityCommitmentsRecommendations.list",
"recommender.bigqueryCapacityCommitmentsRecommendations.update",
"recommender.cloudAssetInsights.get",
"recommender.cloudAssetInsights.list",
"recommender.cloudAssetInsights.update",
"recommender.cloudsqlIdleInstanceRecommendations.get",
"recommender.cloudsqlIdleInstanceRecommendations.list",
"recommender.cloudsqlIdleInstanceRecommendations.update",
"recommender.cloudsqlInstanceActivityInsights.get",
"recommender.cloudsqlInstanceActivityInsights.list",
"recommender.cloudsqlInstanceActivityInsights.update",
"recommender.cloudsqlInstanceCpuUsageInsights.get",
"recommender.cloudsqlInstanceCpuUsageInsights.list",
"recommender.cloudsqlInstanceCpuUsageInsights.update",
"recommender.cloudsqlInstanceDiskUsageTrendInsights.get",
"recommender.cloudsqlInstanceDiskUsageTrendInsights.list",
"recommender.cloudsqlInstanceDiskUsageTrendInsights.update",
"recommender.cloudsqlInstanceMemoryUsageInsights.get",
"recommender.cloudsqlInstanceMemoryUsageInsights.list",
"recommender.cloudsqlInstanceMemoryUsageInsights.update",
"recommender.cloudsqlInstanceOutOfDiskRecommendations.get",
"recommender.cloudsqlInstanceOutOfDiskRecommendations.list",
"recommender.cloudsqlInstanceOutOfDiskRecommendations.update",
"recommender.cloudsqlInstancePerformanceInsights.get",
"recommender.cloudsqlInstancePerformanceInsights.list",
"recommender.cloudsqlInstancePerformanceInsights.update",
"recommender.cloudsqlInstancePerformanceRecommendations.get",
"recommender.cloudsqlInstancePerformanceRecommendations.list",
"recommender.cloudsqlInstancePerformanceRecommendations.update",
"recommender.cloudsqlInstanceSecurityInsights.get",
"recommender.cloudsqlInstanceSecurityInsights.list",
"recommender.cloudsqlInstanceSecurityInsights.update",
"recommender.cloudsqlInstanceSecurityRecommendations.get",
"recommender.cloudsqlInstanceSecurityRecommendations.list",
"recommender.cloudsqlInstanceSecurityRecommendations.update",
"recommender.cloudsqlOverprovisionedInstanceRecommendations.get",
"recommender.cloudsqlOverprovisionedInstanceRecommendations.list",
"recommender.cloudsqlOverprovisionedInstanceRecommendations.update",
"recommender.commitmentUtilizationInsights.get",
"recommender.commitmentUtilizationInsights.list",
"recommender.commitmentUtilizationInsights.update",
"recommender.computeAddressIdleResourceInsights.get",
"recommender.computeAddressIdleResourceInsights.list",
"recommender.computeAddressIdleResourceInsights.update",
"recommender.computeAddressIdleResourceRecommendations.get",
"recommender.computeAddressIdleResourceRecommendations.list",
"recommender.computeAddressIdleResourceRecommendations.update",
"recommender.computeDiskIdleResourceInsights.get",
"recommender.computeDiskIdleResourceInsights.list",
"recommender.computeDiskIdleResourceInsights.update",
"recommender.computeDiskIdleResourceRecommendations.get",
"recommender.computeDiskIdleResourceRecommendations.list",
"recommender.computeDiskIdleResourceRecommendations.update",
"recommender.computeFirewallInsightTypeConfigs.get",
"recommender.computeFirewallInsightTypeConfigs.update",
"recommender.computeFirewallInsights.get",
"recommender.computeFirewallInsights.list",
"recommender.computeFirewallInsights.update",
"recommender.computeImageIdleResourceInsights.get",
"recommender.computeImageIdleResourceInsights.list",
"recommender.computeImageIdleResourceInsights.update",
"recommender.computeImageIdleResourceRecommendations.get",
"recommender.computeImageIdleResourceRecommendations.list",
"recommender.computeImageIdleResourceRecommendations.update",
"recommender.computeInstanceCpuUsageInsights.get",
"recommender.computeInstanceCpuUsageInsights.list",
"recommender.computeInstanceCpuUsageInsights.update",
"recommender.computeInstanceCpuUsagePredictionInsights.get",
"recommender.computeInstanceCpuUsagePredictionInsights.list",
"recommender.computeInstanceCpuUsagePredictionInsights.update",
"recommender.computeInstanceCpuUsageTrendInsights.get",
"recommender.computeInstanceCpuUsageTrendInsights.list",
"recommender.computeInstanceCpuUsageTrendInsights.update",
"recommender.computeInstanceGroupManagerCpuUsageInsights.get",
"recommender.computeInstanceGroupManagerCpuUsageInsights.list",
"recommender.computeInstanceGroupManagerCpuUsageInsights.update",
"recommender.computeInstanceGroupManagerCpuUsagePredictionInsights.get",
"recommender.computeInstanceGroupManagerCpuUsagePredictionInsights.list",
"recommender.computeInstanceGroupManagerCpuUsagePredictionInsights.update",
"recommender.computeInstanceGroupManagerCpuUsageTrendInsights.get",
"recommender.computeInstanceGroupManagerCpuUsageTrendInsights.list",
"recommender.computeInstanceGroupManagerCpuUsageTrendInsights.update",
"recommender.computeInstanceGroupManagerMachineTypeRecommendations.get",
"recommender.computeInstanceGroupManagerMachineTypeRecommendations.list",
"recommender.computeInstanceGroupManagerMachineTypeRecommendations.update",
"recommender.computeInstanceGroupManagerMemoryUsageInsights.get",
"recommender.computeInstanceGroupManagerMemoryUsageInsights.list",
"recommender.computeInstanceGroupManagerMemoryUsageInsights.update",
"recommender.computeInstanceGroupManagerMemoryUsagePredictionInsights.get",
"recommender.computeInstanceGroupManagerMemoryUsagePredictionInsights.list",
"recommender.computeInstanceGroupManagerMemoryUsagePredictionInsights.update",
"recommender.computeInstanceIdleResourceRecommendations.get",
"recommender.computeInstanceIdleResourceRecommendations.list",
"recommender.computeInstanceIdleResourceRecommendations.update",
"recommender.computeInstanceMachineTypeRecommendations.get",
"recommender.computeInstanceMachineTypeRecommendations.list",
"recommender.computeInstanceMachineTypeRecommendations.update",
"recommender.computeInstanceMemoryUsageInsights.get",
"recommender.computeInstanceMemoryUsageInsights.list",
"recommender.computeInstanceMemoryUsageInsights.update",
"recommender.computeInstanceMemoryUsagePredictionInsights.get",
"recommender.computeInstanceMemoryUsagePredictionInsights.list",
"recommender.computeInstanceMemoryUsagePredictionInsights.update",
"recommender.computeInstanceNetworkThroughputInsights.get",
"recommender.computeInstanceNetworkThroughputInsights.list",
"recommender.computeInstanceNetworkThroughputInsights.update",
"recommender.containerDiagnosisInsights.get",
"recommender.containerDiagnosisInsights.list",
"recommender.containerDiagnosisInsights.update",
"recommender.containerDiagnosisRecommendations.get",
"recommender.containerDiagnosisRecommendations.list",
"recommender.containerDiagnosisRecommendations.update",
"recommender.costInsights.get",
"recommender.costInsights.list",
"recommender.costInsights.update",
"recommender.dataflowDiagnosticsInsights.get",
"recommender.dataflowDiagnosticsInsights.list",
"recommender.dataflowDiagnosticsInsights.update",
"recommender.errorReportingInsights.get",
"recommender.errorReportingInsights.list",
"recommender.errorReportingInsights.update",
"recommender.errorReportingRecommendations.get",
"recommender.errorReportingRecommendations.list",
"recommender.errorReportingRecommendations.update",
"recommender.gmpGuidedExperienceInsights.get",
"recommender.gmpGuidedExperienceInsights.list",
"recommender.gmpGuidedExperienceInsights.update",
"recommender.gmpGuidedExperienceRecommendations.get",
"recommender.gmpGuidedExperienceRecommendations.list",
"recommender.gmpGuidedExperienceRecommendations.update",
"recommender.gmpProjectManagementInsights.get",
"recommender.gmpProjectManagementInsights.list",
"recommender.gmpProjectManagementInsights.update",
"recommender.gmpProjectManagementRecommendations.get",
"recommender.gmpProjectManagementRecommendations.list",
"recommender.gmpProjectManagementRecommendations.update",
"recommender.gmpProjectProductSuggestionsInsights.get",
"recommender.gmpProjectProductSuggestionsInsights.list",
"recommender.gmpProjectProductSuggestionsInsights.update",
"recommender.gmpProjectProductSuggestionsRecommendations.get",
"recommender.gmpProjectProductSuggestionsRecommendations.list",
"recommender.gmpProjectProductSuggestionsRecommendations.update",
"recommender.gmpProjectQuotaInsights.get",
"recommender.gmpProjectQuotaInsights.list",
"recommender.gmpProjectQuotaInsights.update",
"recommender.gmpProjectQuotaRecommendations.get",
"recommender.gmpProjectQuotaRecommendations.list",
"recommender.gmpProjectQuotaRecommendations.update",
"recommender.iamPolicyInsights.get",
"recommender.iamPolicyInsights.list",
"recommender.iamPolicyInsights.update",
"recommender.iamPolicyLateralMovementInsights.get",
"recommender.iamPolicyLateralMovementInsights.list",
"recommender.iamPolicyLateralMovementInsights.update",
"recommender.iamPolicyRecommendations.get",
"recommender.iamPolicyRecommendations.list",
"recommender.iamPolicyRecommendations.update",
"recommender.iamServiceAccountInsights.get",
"recommender.iamServiceAccountInsights.list",
"recommender.iamServiceAccountInsights.update",
"recommender.locations.get",
"recommender.locations.list",
"recommender.loggingProductSuggestionContainerInsights.get",
"recommender.loggingProductSuggestionContainerInsights.list",
"recommender.loggingProductSuggestionContainerInsights.update",
"recommender.loggingProductSuggestionContainerRecommendations.get",
"recommender.loggingProductSuggestionContainerRecommendations.list",
"recommender.loggingProductSuggestionContainerRecommendations.update",
"recommender.monitoringProductSuggestionComputeInsights.get",
"recommender.monitoringProductSuggestionComputeInsights.list",
"recommender.monitoringProductSuggestionComputeInsights.update",
"recommender.monitoringProductSuggestionComputeRecommendations.get",
"recommender.monitoringProductSuggestionComputeRecommendations.list",
"recommender.monitoringProductSuggestionComputeRecommendations.update",
"recommender.networkAnalyzerCloudSqlInsights.get",
"recommender.networkAnalyzerCloudSqlInsights.list",
"recommender.networkAnalyzerCloudSqlInsights.update",
"recommender.networkAnalyzerDynamicRouteInsights.get",
"recommender.networkAnalyzerDynamicRouteInsights.list",
"recommender.networkAnalyzerDynamicRouteInsights.update",
"recommender.networkAnalyzerGkeConnectivityInsights.get",
"recommender.networkAnalyzerGkeConnectivityInsights.list",
"recommender.networkAnalyzerGkeConnectivityInsights.update",
"recommender.networkAnalyzerGkeIpAddressInsights.get",
"recommender.networkAnalyzerGkeIpAddressInsights.list",
"recommender.networkAnalyzerGkeIpAddressInsights.update",
"recommender.networkAnalyzerIpAddressInsights.get",
"recommender.networkAnalyzerIpAddressInsights.list",
"recommender.networkAnalyzerIpAddressInsights.update",
"recommender.networkAnalyzerLoadBalancerInsights.get",
"recommender.networkAnalyzerLoadBalancerInsights.list",
"recommender.networkAnalyzerLoadBalancerInsights.update",
"recommender.networkAnalyzerVpcConnectivityInsights.get",
"recommender.networkAnalyzerVpcConnectivityInsights.list",
"recommender.networkAnalyzerVpcConnectivityInsights.update",
"recommender.resourcemanagerProjectUtilizationInsightTypeConfigs.get",
"recommender.resourcemanagerProjectUtilizationInsightTypeConfigs.update",
"recommender.resourcemanagerProjectUtilizationInsights.get",
"recommender.resourcemanagerProjectUtilizationInsights.list",
"recommender.resourcemanagerProjectUtilizationInsights.update",
"recommender.resourcemanagerProjectUtilizationRecommendations.get",
"recommender.resourcemanagerProjectUtilizationRecommendations.list",
"recommender.resourcemanagerProjectUtilizationRecommendations.update",
"recommender.resourcemanagerProjectUtilizationRecommenderConfigs.get",
"recommender.resourcemanagerProjectUtilizationRecommenderConfigs.update",
"recommender.runServiceIdentityInsights.get",
"recommender.runServiceIdentityInsights.list",
"recommender.runServiceIdentityInsights.update",
"recommender.runServiceIdentityRecommendations.get",
"recommender.runServiceIdentityRecommendations.list",
"recommender.runServiceIdentityRecommendations.update",
"recommender.runServiceSecurityInsights.get",
"recommender.runServiceSecurityInsights.list",
"recommender.runServiceSecurityInsights.update",
"recommender.runServiceSecurityRecommendations.get",
"recommender.runServiceSecurityRecommendations.list",
"recommender.runServiceSecurityRecommendations.update",
"recommender.spendBasedCommitmentInsights.get",
"recommender.spendBasedCommitmentInsights.list",
"recommender.spendBasedCommitmentInsights.update",
"recommender.spendBasedCommitmentRecommendations.get",
"recommender.spendBasedCommitmentRecommendations.list",
"recommender.spendBasedCommitmentRecommendations.update",
"recommender.usageCommitmentRecommendations.get",
"recommender.usageCommitmentRecommendations.list",
"recommender.usageCommitmentRecommendations.update",
"redis.instances.create",
"redis.instances.delete",
"redis.instances.export",
"redis.instances.failover",
"redis.instances.get",
"redis.instances.getAuthString",
"redis.instances.import",
"redis.instances.list",
"redis.instances.rescheduleMaintenance",
"redis.instances.update",
"redis.instances.updateAuth",
"redis.instances.upgrade",
"redis.locations.get",
"redis.locations.list",
"redis.operations.cancel",
"redis.operations.delete",
"redis.operations.get",
"redis.operations.list",
"remotebuildexecution.actions.create",
"remotebuildexecution.actions.delete",
"remotebuildexecution.actions.get",
"remotebuildexecution.actions.set",
"remotebuildexecution.actions.update",
"remotebuildexecution.blobs.create",
"remotebuildexecution.blobs.get",
"remotebuildexecution.botsessions.create",
"remotebuildexecution.botsessions.update",
"remotebuildexecution.instances.create",
"remotebuildexecution.instances.delete",
"remotebuildexecution.instances.get",
"remotebuildexecution.instances.list",
"remotebuildexecution.instances.update",
"remotebuildexecution.logstreams.create",
"remotebuildexecution.logstreams.get",
"remotebuildexecution.logstreams.update",
"remotebuildexecution.workerpools.create",
"remotebuildexecution.workerpools.delete",
"remotebuildexecution.workerpools.get",
"remotebuildexecution.workerpools.list",
"remotebuildexecution.workerpools.update",
"resourcemanager.hierarchyNodes.createTagBinding",
"resourcemanager.hierarchyNodes.deleteTagBinding",
"resourcemanager.hierarchyNodes.listEffectiveTags",
"resourcemanager.hierarchyNodes.listTagBindings",
"resourcemanager.projects.createBillingAssignment",
"resourcemanager.projects.delete",
"resourcemanager.projects.deleteBillingAssignment",
"resourcemanager.projects.get",
"resourcemanager.projects.getIamPolicy",
"resourcemanager.projects.move",
"resourcemanager.projects.setIamPolicy",
"resourcemanager.projects.undelete",
"resourcemanager.projects.update",
"resourcemanager.projects.updateLiens",
"resourcesettings.settings.get",
"resourcesettings.settings.list",
"resourcesettings.settings.update",
"retail.attributesConfigs.addCatalogAttribute",
"retail.attributesConfigs.batchRemoveCatalogAttributes",
"retail.attributesConfigs.exportCatalogAttributes",
"retail.attributesConfigs.get",
"retail.attributesConfigs.importCatalogAttributes",
"retail.attributesConfigs.removeCatalogAttribute",
"retail.attributesConfigs.replaceCatalogAttribute",
"retail.attributesConfigs.update",
"retail.catalogs.completeQuery",
"retail.catalogs.import",
"retail.catalogs.list",
"retail.catalogs.update",
"retail.controls.create",
"retail.controls.delete",
"retail.controls.export",
"retail.controls.get",
"retail.controls.import",
"retail.controls.list",
"retail.controls.update",
"retail.models.create",
"retail.models.delete",
"retail.models.list",
"retail.models.pause",
"retail.models.resume",
"retail.models.tune",
"retail.models.update",
"retail.operations.get",
"retail.operations.list",
"retail.placements.predict",
"retail.placements.search",
"retail.products.create",
"retail.products.delete",
"retail.products.export",
"retail.products.get",
"retail.products.import",
"retail.products.list",
"retail.products.purge",
"retail.products.setSponsorship",
"retail.products.update",
"retail.retailProjects.get",
"retail.servingConfigs.create",
"retail.servingConfigs.delete",
"retail.servingConfigs.get",
"retail.servingConfigs.list",
"retail.servingConfigs.predict",
"retail.servingConfigs.search",
"retail.servingConfigs.update",
"retail.userEvents.create",
"retail.userEvents.import",
"retail.userEvents.purge",
"retail.userEvents.rejoin",
"riscconfigurationservice.riscconfigs.createOrUpdate",
"riscconfigurationservice.riscconfigs.delete",
"riscconfigurationservice.riscconfigs.get",
"rma.annotations.create",
"rma.annotations.get",
"rma.collectors.create",
"rma.collectors.delete",
"rma.collectors.get",
"rma.collectors.list",
"rma.collectors.update",
"rma.locations.get",
"rma.locations.list",
"rma.operations.cancel",
"rma.operations.delete",
"rma.operations.get",
"rma.operations.list",
"run.configurations.get",
"run.configurations.list",
"run.executions.delete",
"run.executions.get",
"run.executions.list",
"run.jobs.create",
"run.jobs.delete",
"run.jobs.get",
"run.jobs.getIamPolicy",
"run.jobs.list",
"run.jobs.run",
"run.jobs.setIamPolicy",
"run.jobs.update",
"run.locations.list",
"run.operations.delete",
"run.operations.get",
"run.operations.list",
"run.revisions.delete",
"run.revisions.get",
"run.revisions.list",
"run.routes.get",
"run.routes.invoke",
"run.routes.list",
"run.services.create",
"run.services.createTagBinding",
"run.services.delete",
"run.services.deleteTagBinding",
"run.services.get",
"run.services.getIamPolicy",
"run.services.list",
"run.services.listEffectiveTags",
"run.services.listTagBindings",
"run.services.setIamPolicy",
"run.services.update",
"run.tasks.get",
"run.tasks.list",
"runapps.applications.create",
"runapps.applications.delete",
"runapps.applications.get",
"runapps.applications.getStatus",
"runapps.applications.list",
"runapps.applications.update",
"runapps.deployments.create",
"runapps.deployments.get",
"runapps.deployments.list",
"runapps.locations.get",
"runapps.locations.list",
"runapps.operations.cancel",
"runapps.operations.delete",
"runapps.operations.get",
"runapps.operations.list",
"runtimeconfig.configs.create",
"runtimeconfig.configs.delete",
"runtimeconfig.configs.get",
"runtimeconfig.configs.getIamPolicy",
"runtimeconfig.configs.list",
"runtimeconfig.configs.setIamPolicy",
"runtimeconfig.configs.update",
"runtimeconfig.operations.get",
"runtimeconfig.operations.list",
"runtimeconfig.variables.create",
"runtimeconfig.variables.delete",
"runtimeconfig.variables.get",
"runtimeconfig.variables.getIamPolicy",
"runtimeconfig.variables.list",
"runtimeconfig.variables.setIamPolicy",
"runtimeconfig.variables.update",
"runtimeconfig.variables.watch",
"runtimeconfig.waiters.create",
"runtimeconfig.waiters.delete",
"runtimeconfig.waiters.get",
"runtimeconfig.waiters.getIamPolicy",
"runtimeconfig.waiters.list",
"runtimeconfig.waiters.setIamPolicy",
"runtimeconfig.waiters.update",
"secretmanager.locations.get",
"secretmanager.locations.list",
"secretmanager.secrets.create",
"secretmanager.secrets.delete",
"secretmanager.secrets.get",
"secretmanager.secrets.getIamPolicy",
"secretmanager.secrets.list",
"secretmanager.secrets.setIamPolicy",
"secretmanager.secrets.update",
"secretmanager.versions.access",
"secretmanager.versions.add",
"secretmanager.versions.destroy",
"secretmanager.versions.disable",
"secretmanager.versions.enable",
"secretmanager.versions.get",
"secretmanager.versions.list",
"securedlandingzone.overwatches.activate",
"securedlandingzone.overwatches.create",
"securedlandingzone.overwatches.delete",
"securedlandingzone.overwatches.get",
"securedlandingzone.overwatches.list",
"securedlandingzone.overwatches.suspend",
"securedlandingzone.overwatches.update",
"securitycenter.assets.group",
"securitycenter.assets.list",
"securitycenter.assets.listAssetPropertyNames",
"securitycenter.assets.runDiscovery",
"securitycenter.assetsecuritymarks.update",
"securitycenter.bigQueryExports.create",
"securitycenter.bigQueryExports.delete",
"securitycenter.bigQueryExports.get",
"securitycenter.bigQueryExports.list",
"securitycenter.bigQueryExports.update",
"securitycenter.containerthreatdetectionsettings.calculate",
"securitycenter.containerthreatdetectionsettings.get",
"securitycenter.containerthreatdetectionsettings.update",
"securitycenter.eventthreatdetectionsettings.calculate",
"securitycenter.eventthreatdetectionsettings.get",
"securitycenter.eventthreatdetectionsettings.update",
"securitycenter.findingexternalsystems.update",
"securitycenter.findings.bulkMuteUpdate",
"securitycenter.findings.group",
"securitycenter.findings.list",
"securitycenter.findings.listFindingPropertyNames",
"securitycenter.findings.setMute",
"securitycenter.findings.setState",
"securitycenter.findings.setWorkflowState",
"securitycenter.findings.update",
"securitycenter.findingsecuritymarks.update",
"securitycenter.muteconfigs.create",
"securitycenter.muteconfigs.delete",
"securitycenter.muteconfigs.get",
"securitycenter.muteconfigs.list",
"securitycenter.muteconfigs.update",
"securitycenter.notificationconfig.create",
"securitycenter.notificationconfig.delete",
"securitycenter.notificationconfig.get",
"securitycenter.notificationconfig.list",
"securitycenter.notificationconfig.update",
"securitycenter.rapidvulnerabilitydetectionsettings.calculate",
"securitycenter.rapidvulnerabilitydetectionsettings.get",
"securitycenter.rapidvulnerabilitydetectionsettings.update",
"securitycenter.securitycentersettings.get",
"securitycenter.securitycentersettings.update",
"securitycenter.securityhealthanalyticssettings.calculate",
"securitycenter.securityhealthanalyticssettings.get",
"securitycenter.securityhealthanalyticssettings.update",
"securitycenter.sources.get",
"securitycenter.sources.getIamPolicy",
"securitycenter.sources.list",
"securitycenter.sources.setIamPolicy",
"securitycenter.sources.update",
"securitycenter.userinterfacemetadata.get",
"securitycenter.virtualmachinethreatdetectionsettings.calculate",
"securitycenter.virtualmachinethreatdetectionsettings.get",
"securitycenter.virtualmachinethreatdetectionsettings.update",
"securitycenter.websecurityscannersettings.calculate",
"securitycenter.websecurityscannersettings.get",
"securitycenter.websecurityscannersettings.update",
"servicebroker.bindingoperations.get",
"servicebroker.bindingoperations.list",
"servicebroker.bindings.create",
"servicebroker.bindings.delete",
"servicebroker.bindings.get",
"servicebroker.bindings.getIamPolicy",
"servicebroker.bindings.list",
"servicebroker.bindings.setIamPolicy",
"servicebroker.catalogs.create",
"servicebroker.catalogs.delete",
"servicebroker.catalogs.get",
"servicebroker.catalogs.getIamPolicy",
"servicebroker.catalogs.list",
"servicebroker.catalogs.setIamPolicy",
"servicebroker.catalogs.validate",
"servicebroker.instanceoperations.get",
"servicebroker.instanceoperations.list",
"servicebroker.instances.create",
"servicebroker.instances.delete",
"servicebroker.instances.get",
"servicebroker.instances.getIamPolicy",
"servicebroker.instances.list",
"servicebroker.instances.setIamPolicy",
"servicebroker.instances.update",
"serviceconsumermanagement.consumers.get",
"serviceconsumermanagement.quota.get",
"serviceconsumermanagement.quota.update",
"serviceconsumermanagement.tenancyu.addResource",
"serviceconsumermanagement.tenancyu.create",
"serviceconsumermanagement.tenancyu.delete",
"serviceconsumermanagement.tenancyu.list",
"serviceconsumermanagement.tenancyu.removeResource",
"servicedirectory.endpoints.create",
"servicedirectory.endpoints.delete",
"servicedirectory.endpoints.get",
"servicedirectory.endpoints.getIamPolicy",
"servicedirectory.endpoints.list",
"servicedirectory.endpoints.setIamPolicy",
"servicedirectory.endpoints.update",
"servicedirectory.locations.get",
"servicedirectory.locations.list",
"servicedirectory.namespaces.associatePrivateZone",
"servicedirectory.namespaces.create",
"servicedirectory.namespaces.delete",
"servicedirectory.namespaces.get",
"servicedirectory.namespaces.getIamPolicy",
"servicedirectory.namespaces.list",
"servicedirectory.namespaces.setIamPolicy",
"servicedirectory.namespaces.update",
"servicedirectory.networks.access",
"servicedirectory.networks.attach",
"servicedirectory.services.bind",
"servicedirectory.services.create",
"servicedirectory.services.delete",
"servicedirectory.services.get",
"servicedirectory.services.getIamPolicy",
"servicedirectory.services.list",
"servicedirectory.services.resolve",
"servicedirectory.services.setIamPolicy",
"servicedirectory.services.update",
"servicemanagement.services.bind",
"servicemanagement.services.check",
"servicemanagement.services.create",
"servicemanagement.services.delete",
"servicemanagement.services.get",
"servicemanagement.services.getIamPolicy",
"servicemanagement.services.list",
"servicemanagement.services.quota",
"servicemanagement.services.report",
"servicemanagement.services.setIamPolicy",
"servicemanagement.services.update",
"servicenetworking.operations.cancel",
"servicenetworking.operations.delete",
"servicenetworking.operations.get",
"servicenetworking.operations.list",
"servicenetworking.services.addDnsRecordSet",
"servicenetworking.services.addDnsZone",
"servicenetworking.services.addPeering",
"servicenetworking.services.addSubnetwork",
"servicenetworking.services.createPeeredDnsDomain",
"servicenetworking.services.deleteConnection",
"servicenetworking.services.deletePeeredDnsDomain",
"servicenetworking.services.disableVpcServiceControls",
"servicenetworking.services.enableVpcServiceControls",
"servicenetworking.services.get",
"servicenetworking.services.getConsumerConfig",
"servicenetworking.services.listPeeredDnsDomains",
"servicenetworking.services.removeDnsRecordSet",
"servicenetworking.services.removeDnsZone",
"servicenetworking.services.updateConsumerConfig",
"servicenetworking.services.updateDnsRecordSet",
"servicenetworking.services.use",
"servicesecurityinsights.clusterSecurityInfo.get",
"servicesecurityinsights.clusterSecurityInfo.list",
"servicesecurityinsights.policies.get",
"servicesecurityinsights.projectStates.get",
"servicesecurityinsights.securityInfo.list",
"servicesecurityinsights.securityViews.get",
"servicesecurityinsights.workloadPolicies.list",
"servicesecurityinsights.workloadSecurityInfo.get",
"serviceusage.apiKeys.regenerate",
"serviceusage.apiKeys.revert",
"serviceusage.operations.cancel",
"serviceusage.operations.delete",
"serviceusage.operations.get",
"serviceusage.operations.list",
"serviceusage.quotas.get",
"serviceusage.quotas.update",
"serviceusage.services.disable",
"serviceusage.services.enable",
"serviceusage.services.get",
"serviceusage.services.list",
"serviceusage.services.use",
"source.repos.create",
"source.repos.delete",
"source.repos.get",
"source.repos.getIamPolicy",
"source.repos.getProjectConfig",
"source.repos.list",
"source.repos.setIamPolicy",
"source.repos.update",
"source.repos.updateProjectConfig",
"source.repos.updateRepoConfig",
"spanner.backupOperations.cancel",
"spanner.backupOperations.get",
"spanner.backupOperations.list",
"spanner.backups.copy",
"spanner.backups.create",
"spanner.backups.delete",
"spanner.backups.get",
"spanner.backups.getIamPolicy",
"spanner.backups.list",
"spanner.backups.restoreDatabase",
"spanner.backups.setIamPolicy",
"spanner.backups.update",
"spanner.databaseOperations.cancel",
"spanner.databaseOperations.delete",
"spanner.databaseOperations.get",
"spanner.databaseOperations.list",
"spanner.databaseRoles.list",
"spanner.databaseRoles.use",
"spanner.databases.beginOrRollbackReadWriteTransaction",
"spanner.databases.beginPartitionedDmlTransaction",
"spanner.databases.beginReadOnlyTransaction",
"spanner.databases.create",
"spanner.databases.createBackup",
"spanner.databases.drop",
"spanner.databases.get",
"spanner.databases.getDdl",
"spanner.databases.getIamPolicy",
"spanner.databases.list",
"spanner.databases.partitionQuery",
"spanner.databases.partitionRead",
"spanner.databases.read",
"spanner.databases.select",
"spanner.databases.setIamPolicy",
"spanner.databases.update",
"spanner.databases.updateDdl",
"spanner.databases.useRoleBasedAccess",
"spanner.databases.write",
"spanner.instanceConfigOperations.cancel",
"spanner.instanceConfigOperations.delete",
"spanner.instanceConfigOperations.get",
"spanner.instanceConfigOperations.list",
"spanner.instanceConfigs.create",
"spanner.instanceConfigs.delete",
"spanner.instanceConfigs.get",
"spanner.instanceConfigs.list",
"spanner.instanceConfigs.update",
"spanner.instanceOperations.cancel",
"spanner.instanceOperations.delete",
"spanner.instanceOperations.get",
"spanner.instanceOperations.list",
"spanner.instances.create",
"spanner.instances.delete",
"spanner.instances.get",
"spanner.instances.getIamPolicy",
"spanner.instances.list",
"spanner.instances.setIamPolicy",
"spanner.instances.update",
"spanner.sessions.create",
"spanner.sessions.delete",
"spanner.sessions.get",
"spanner.sessions.list",
"speech.adaptations.execute",
"speech.config.get",
"speech.config.update",
"speech.customClasses.create",
"speech.customClasses.delete",
"speech.customClasses.get",
"speech.customClasses.list",
"speech.customClasses.undelete",
"speech.customClasses.update",
"speech.operations.cancel",
"speech.operations.delete",
"speech.operations.get",
"speech.operations.list",
"speech.operations.wait",
"speech.phraseSets.create",
"speech.phraseSets.delete",
"speech.phraseSets.get",
"speech.phraseSets.list",
"speech.phraseSets.undelete",
"speech.phraseSets.update",
"speech.recognizers.create",
"speech.recognizers.delete",
"speech.recognizers.get",
"speech.recognizers.list",
"speech.recognizers.recognize",
"speech.recognizers.undelete",
"speech.recognizers.update",
"stackdriver.projects.edit",
"stackdriver.projects.get",
"stackdriver.resourceMetadata.list",
"stackdriver.resourceMetadata.write",
"storage.buckets.create",
"storage.buckets.createTagBinding",
"storage.buckets.delete",
"storage.buckets.deleteTagBinding",
"storage.buckets.get",
"storage.buckets.getIamPolicy",
"storage.buckets.list",
"storage.buckets.listEffectiveTags",
"storage.buckets.listTagBindings",
"storage.buckets.setIamPolicy",
"storage.buckets.update",
"storage.hmacKeys.create",
"storage.hmacKeys.delete",
"storage.hmacKeys.get",
"storage.hmacKeys.list",
"storage.hmacKeys.update",
"storage.multipartUploads.abort",
"storage.multipartUploads.create",
"storage.multipartUploads.list",
"storage.multipartUploads.listParts",
"storage.objects.create",
"storage.objects.delete",
"storage.objects.get",
"storage.objects.getIamPolicy",
"storage.objects.list",
"storage.objects.setIamPolicy",
"storage.objects.update",
"storagetransfer.agentpools.create",
"storagetransfer.agentpools.delete",
"storagetransfer.agentpools.get",
"storagetransfer.agentpools.list",
"storagetransfer.agentpools.report",
"storagetransfer.agentpools.update",
"storagetransfer.jobs.create",
"storagetransfer.jobs.delete",
"storagetransfer.jobs.get",
"storagetransfer.jobs.list",
"storagetransfer.jobs.run",
"storagetransfer.jobs.update",
"storagetransfer.operations.assign",
"storagetransfer.operations.cancel",
"storagetransfer.operations.get",
"storagetransfer.operations.list",
"storagetransfer.operations.pause",
"storagetransfer.operations.report",
"storagetransfer.operations.resume",
"storagetransfer.projects.getServiceAccount",
"stream.locations.get",
"stream.locations.list",
"stream.operations.cancel",
"stream.operations.delete",
"stream.operations.get",
"stream.operations.list",
"stream.streamContents.build",
"stream.streamContents.create",
"stream.streamContents.delete",
"stream.streamContents.get",
"stream.streamContents.list",
"stream.streamContents.update",
"stream.streamInstances.create",
"stream.streamInstances.delete",
"stream.streamInstances.get",
"stream.streamInstances.list",
"stream.streamInstances.rollout",
"stream.streamInstances.update",
"subscribewithgoogledeveloper.tools.get",
"timeseriesinsights.datasets.create",
"timeseriesinsights.datasets.delete",
"timeseriesinsights.datasets.evaluate",
"timeseriesinsights.datasets.list",
"timeseriesinsights.datasets.query",
"timeseriesinsights.datasets.update",
"timeseriesinsights.locations.get",
"timeseriesinsights.locations.list",
"tpu.acceleratortypes.get",
"tpu.acceleratortypes.list",
"tpu.locations.get",
"tpu.locations.list",
"tpu.nodes.create",
"tpu.nodes.delete",
"tpu.nodes.get",
"tpu.nodes.list",
"tpu.nodes.reimage",
"tpu.nodes.reset",
"tpu.nodes.simulateMaintenanceEvent",
"tpu.nodes.start",
"tpu.nodes.stop",
"tpu.nodes.update",
"tpu.operations.get",
"tpu.operations.list",
"tpu.runtimeversions.get",
"tpu.runtimeversions.list",
"tpu.tensorflowversions.get",
"tpu.tensorflowversions.list",
"trafficdirector.networks.getConfigs",
"trafficdirector.networks.reportMetrics",
"transcoder.jobTemplates.create",
"transcoder.jobTemplates.delete",
"transcoder.jobTemplates.get",
"transcoder.jobTemplates.list",
"transcoder.jobs.create",
"transcoder.jobs.delete",
"transcoder.jobs.get",
"transcoder.jobs.list",
"transferappliance.appliances.create",
"transferappliance.appliances.delete",
"transferappliance.appliances.get",
"transferappliance.appliances.list",
"transferappliance.appliances.update",
"transferappliance.locations.get",
"transferappliance.locations.list",
"transferappliance.operations.cancel",
"transferappliance.operations.delete",
"transferappliance.operations.get",
"transferappliance.operations.list",
"transferappliance.orders.create",
"transferappliance.orders.delete",
"transferappliance.orders.get",
"transferappliance.orders.list",
"transferappliance.orders.update",
"translationhub.portals.create",
"translationhub.portals.delete",
"translationhub.portals.get",
"translationhub.portals.list",
"translationhub.portals.update",
"videostitcher.cdnKeys.create",
"videostitcher.cdnKeys.delete",
"videostitcher.cdnKeys.get",
"videostitcher.cdnKeys.list",
"videostitcher.cdnKeys.update",
"videostitcher.liveAdTagDetails.get",
"videostitcher.liveAdTagDetails.list",
"videostitcher.liveSessions.create",
"videostitcher.liveSessions.get",
"videostitcher.slates.create",
"videostitcher.slates.delete",
"videostitcher.slates.get",
"videostitcher.slates.list",
"videostitcher.slates.update",
"videostitcher.vodAdTagDetails.get",
"videostitcher.vodAdTagDetails.list",
"videostitcher.vodSessions.create",
"videostitcher.vodSessions.get",
"videostitcher.vodStitchDetails.get",
"videostitcher.vodStitchDetails.list",
"visionai.analyses.create",
"visionai.analyses.delete",
"visionai.analyses.get",
"visionai.analyses.getIamPolicy",
"visionai.analyses.list",
"visionai.analyses.setIamPolicy",
"visionai.analyses.update",
"visionai.annotations.create",
"visionai.annotations.delete",
"visionai.annotations.get",
"visionai.annotations.list",
"visionai.annotations.update",
"visionai.applications.create",
"visionai.applications.delete",
"visionai.applications.deploy",
"visionai.applications.get",
"visionai.applications.list",
"visionai.applications.undeploy",
"visionai.applications.update",
"visionai.assets.clip",
"visionai.assets.create",
"visionai.assets.delete",
"visionai.assets.generateHlsUri",
"visionai.assets.get",
"visionai.assets.ingest",
"visionai.assets.list",
"visionai.assets.search",
"visionai.assets.update",
"visionai.clusters.create",
"visionai.clusters.delete",
"visionai.clusters.get",
"visionai.clusters.getIamPolicy",
"visionai.clusters.list",
"visionai.clusters.setIamPolicy",
"visionai.clusters.update",
"visionai.clusters.watch",
"visionai.corpora.create",
"visionai.corpora.delete",
"visionai.corpora.get",
"visionai.corpora.list",
"visionai.corpora.suggest",
"visionai.corpora.update",
"visionai.dataSchemas.create",
"visionai.dataSchemas.delete",
"visionai.dataSchemas.get",
"visionai.dataSchemas.list",
"visionai.dataSchemas.update",
"visionai.dataSchemas.validate",
"visionai.drafts.create",
"visionai.drafts.delete",
"visionai.drafts.get",
"visionai.drafts.list",
"visionai.drafts.update",
"visionai.events.create",
"visionai.events.delete",
"visionai.events.get",
"visionai.events.getIamPolicy",
"visionai.events.list",
"visionai.events.setIamPolicy",
"visionai.events.update",
"visionai.instances.get",
"visionai.instances.list",
"visionai.locations.get",
"visionai.locations.list",
"visionai.operations.cancel",
"visionai.operations.delete",
"visionai.operations.get",
"visionai.operations.list",
"visionai.operations.wait",
"visionai.operators.create",
"visionai.operators.delete",
"visionai.operators.get",
"visionai.operators.getIamPolicy",
"visionai.operators.list",
"visionai.operators.setIamPolicy",
"visionai.operators.update",
"visionai.processors.create",
"visionai.processors.delete",
"visionai.processors.get",
"visionai.processors.list",
"visionai.processors.listPrebuilt",
"visionai.processors.update",
"visionai.searchConfigs.create",
"visionai.searchConfigs.delete",
"visionai.searchConfigs.get",
"visionai.searchConfigs.list",
"visionai.searchConfigs.update",
"visionai.series.acquireLease",
"visionai.series.create",
"visionai.series.delete",
"visionai.series.get",
"visionai.series.getIamPolicy",
"visionai.series.list",
"visionai.series.receive",
"visionai.series.releaseLease",
"visionai.series.renewLease",
"visionai.series.send",
"visionai.series.setIamPolicy",
"visionai.series.update",
"visionai.streams.create",
"visionai.streams.delete",
"visionai.streams.get",
"visionai.streams.getIamPolicy",
"visionai.streams.list",
"visionai.streams.receive",
"visionai.streams.send",
"visionai.streams.setIamPolicy",
"visionai.streams.update",
"visionai.uistreams.create",
"visionai.uistreams.delete",
"visionai.uistreams.generateStreamThumbnails",
"visionai.uistreams.get",
"visionai.uistreams.list",
"visualinspection.annotationSets.create",
"visualinspection.annotationSets.delete",
"visualinspection.annotationSets.get",
"visualinspection.annotationSets.list",
"visualinspection.annotationSets.update",
"visualinspection.annotationSpecs.create",
"visualinspection.annotationSpecs.delete",
"visualinspection.annotationSpecs.get",
"visualinspection.annotationSpecs.list",
"visualinspection.annotations.create",
"visualinspection.annotations.delete",
"visualinspection.annotations.get",
"visualinspection.annotations.list",
"visualinspection.annotations.update",
"visualinspection.datasets.create",
"visualinspection.datasets.delete",
"visualinspection.datasets.export",
"visualinspection.datasets.get",
"visualinspection.datasets.import",
"visualinspection.datasets.list",
"visualinspection.datasets.update",
"visualinspection.images.delete",
"visualinspection.images.get",
"visualinspection.images.list",
"visualinspection.images.update",
"visualinspection.locations.get",
"visualinspection.locations.list",
"visualinspection.locations.reportUsageMetrics",
"visualinspection.modelEvaluations.get",
"visualinspection.modelEvaluations.list",
"visualinspection.models.create",
"visualinspection.models.delete",
"visualinspection.models.get",
"visualinspection.models.list",
"visualinspection.models.update",
"visualinspection.models.writePrediction",
"visualinspection.modules.create",
"visualinspection.modules.delete",
"visualinspection.modules.get",
"visualinspection.modules.list",
"visualinspection.modules.update",
"visualinspection.operations.get",
"visualinspection.operations.list",
"visualinspection.solutionArtifacts.create",
"visualinspection.solutionArtifacts.delete",
"visualinspection.solutionArtifacts.get",
"visualinspection.solutionArtifacts.list",
"visualinspection.solutionArtifacts.predict",
"visualinspection.solutionArtifacts.update",
"visualinspection.solutions.create",
"visualinspection.solutions.delete",
"visualinspection.solutions.get",
"visualinspection.solutions.list",
"vmmigration.cloneJobs.create",
"vmmigration.cloneJobs.get",
"vmmigration.cloneJobs.list",
"vmmigration.cloneJobs.update",
"vmmigration.cutoverJobs.create",
"vmmigration.cutoverJobs.get",
"vmmigration.cutoverJobs.list",
"vmmigration.cutoverJobs.update",
"vmmigration.datacenterConnectors.create",
"vmmigration.datacenterConnectors.delete",
"vmmigration.datacenterConnectors.get",
"vmmigration.datacenterConnectors.list",
"vmmigration.datacenterConnectors.update",
"vmmigration.deployments.create",
"vmmigration.deployments.get",
"vmmigration.deployments.list",
"vmmigration.groups.create",
"vmmigration.groups.delete",
"vmmigration.groups.get",
"vmmigration.groups.list",
"vmmigration.groups.update",
"vmmigration.locations.get",
"vmmigration.locations.list",
"vmmigration.migratingVms.create",
"vmmigration.migratingVms.delete",
"vmmigration.migratingVms.get",
"vmmigration.migratingVms.list",
"vmmigration.migratingVms.update",
"vmmigration.operations.cancel",
"vmmigration.operations.delete",
"vmmigration.operations.get",
"vmmigration.operations.list",
"vmmigration.sources.create",
"vmmigration.sources.delete",
"vmmigration.sources.get",
"vmmigration.sources.list",
"vmmigration.sources.update",
"vmmigration.targets.create",
"vmmigration.targets.delete",
"vmmigration.targets.get",
"vmmigration.targets.list",
"vmmigration.targets.update",
"vmmigration.utilizationReports.create",
"vmmigration.utilizationReports.delete",
"vmmigration.utilizationReports.get",
"vmmigration.utilizationReports.list",
"vmwareengine.clusters.create",
"vmwareengine.clusters.delete",
"vmwareengine.clusters.get",
"vmwareengine.clusters.getIamPolicy",
"vmwareengine.clusters.list",
"vmwareengine.clusters.setIamPolicy",
"vmwareengine.clusters.update",
"vmwareengine.hcxActivationKeys.create",
"vmwareengine.hcxActivationKeys.get",
"vmwareengine.hcxActivationKeys.getIamPolicy",
"vmwareengine.hcxActivationKeys.list",
"vmwareengine.hcxActivationKeys.setIamPolicy",
"vmwareengine.locations.get",
"vmwareengine.locations.list",
"vmwareengine.networkPolicies.create",
"vmwareengine.networkPolicies.delete",
"vmwareengine.networkPolicies.get",
"vmwareengine.networkPolicies.list",
"vmwareengine.networkPolicies.update",
"vmwareengine.nodeTypes.get",
"vmwareengine.nodeTypes.list",
"vmwareengine.operations.delete",
"vmwareengine.operations.get",
"vmwareengine.operations.list",
"vmwareengine.privateClouds.create",
"vmwareengine.privateClouds.delete",
"vmwareengine.privateClouds.get",
"vmwareengine.privateClouds.getIamPolicy",
"vmwareengine.privateClouds.list",
"vmwareengine.privateClouds.resetNsxCredentials",
"vmwareengine.privateClouds.resetVcenterCredentials",
"vmwareengine.privateClouds.setIamPolicy",
"vmwareengine.privateClouds.showNsxCredentials",
"vmwareengine.privateClouds.showVcenterCredentials",
"vmwareengine.privateClouds.undelete",
"vmwareengine.privateClouds.update",
"vmwareengine.services.use",
"vmwareengine.services.view",
"vmwareengine.subnets.list",
"vmwareengine.vmwareEngineNetworks.create",
"vmwareengine.vmwareEngineNetworks.delete",
"vmwareengine.vmwareEngineNetworks.get",
"vmwareengine.vmwareEngineNetworks.list",
"vmwareengine.vmwareEngineNetworks.update",
"vpcaccess.connectors.create",
"vpcaccess.connectors.delete",
"vpcaccess.connectors.get",
"vpcaccess.connectors.list",
"vpcaccess.connectors.use",
"vpcaccess.locations.list",
"vpcaccess.operations.get",
"vpcaccess.operations.list",
"workflows.callbacks.send",
"workflows.executions.cancel",
"workflows.executions.create",
"workflows.executions.get",
"workflows.executions.list",
"workflows.locations.get",
"workflows.locations.list",
"workflows.operations.cancel",
"workflows.operations.get",
"workflows.operations.list",
"workflows.workflows.create",
"workflows.workflows.delete",
"workflows.workflows.get",
"workflows.workflows.list",
"workflows.workflows.update",
"workloadmanager.evaluations.create",
"workloadmanager.evaluations.delete",
"workloadmanager.evaluations.get",
"workloadmanager.evaluations.list",
"workloadmanager.evaluations.run",
"workloadmanager.evaluations.update",
"workloadmanager.executions.delete",
"workloadmanager.executions.get",
"workloadmanager.executions.list",
"workloadmanager.locations.get",
"workloadmanager.locations.list",
"workloadmanager.operations.cancel",
"workloadmanager.operations.delete",
"workloadmanager.operations.get",
"workloadmanager.operations.list",
"workloadmanager.results.list",
"workloadmanager.rules.list",
"workstations.operations.get",
"workstations.workstationClusters.create",
"workstations.workstationClusters.delete",
"workstations.workstationClusters.get",
"workstations.workstationClusters.list",
"workstations.workstationClusters.update",
"workstations.workstationConfigs.create",
"workstations.workstationConfigs.delete",
"workstations.workstationConfigs.get",
"workstations.workstationConfigs.getIamPolicy",
"workstations.workstationConfigs.list",
"workstations.workstationConfigs.setIamPolicy",
"workstations.workstationConfigs.update",
"workstations.workstations.create",
"workstations.workstations.delete",
"workstations.workstations.get",
"workstations.workstations.getIamPolicy",
"workstations.workstations.list",
"workstations.workstations.setIamPolicy",
"workstations.workstations.start",
"workstations.workstations.stop",
"workstations.workstations.update",
"workstations.workstations.use"
]
================================================
FILE: ghunt/knowledge/keys.py
================================================
keys = {
"pantheon": {"key": "AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g", "origin": "https://console.cloud.google.com"},
"photos": {"key": "AIzaSyAa2odBewW-sPJu3jMORr0aNedh3YlkiQc", "origin": "https://photos.google.com"},
"apis_explorer": {"key": "AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM", "origin": "https://explorer.apis.google.com"},
"calendar": {"key": "AIzaSyBNlYH01_9Hc5S1J9vuFmu2nUqBZJNAXxs", "origin": "https://calendar.google.com"},
"youtubei": {"key": "AIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w", "origin": "https://youtube.com"},
"drive": {"key": "AIzaSyD_InbmSFufIEps5UAt2NmB_3LvBH3Sz_8", "origin": "https://drive.google.com"},
"geolocation": {"key": "AIzaSyB41DRUbKWJHPxaFjMAwdrzWzbVKartNGg", "origin": "https://geo-devrel-javascript-samples.web.app"} # https://developers.google.com/maps/documentation/javascript/overview
}
================================================
FILE: ghunt/knowledge/maps.py
================================================
types_translations = {
'airport': 'Airport',
'atm': 'ATM',
'bar': 'Bar',
'bank_intl': 'Bank',
'bus': 'Bus',
'cafe': 'Café',
'camping': 'Camping',
'cemetery': 'Cemetery',
'civic_bldg': 'Civic building',
'ferry': 'Ferry',
'gas': 'Gas',
'generic': 'Generic',
'golf': 'Golf',
'hospital_H': 'Hospital H',
'library': 'Library',
'lodging': 'Lodging',
'monument': 'Monument',
'movie': 'Movie',
'museum': 'Museum',
'parking': 'Parking',
'police': 'Police',
'postoffice': 'Post office',
'restaurant': 'Restaurant',
'school': 'School',
'shoppingbag': 'Shopping bag',
'shoppingcart': 'Shopping cart',
'train': 'Train',
'tram': 'Tram',
'tree': 'Park',
'worship_buddhist': 'Worship Buddhist',
'worship_christian': 'Worship Christian',
'worship_hindu': 'Worship Hindu',
'worship_islam': 'Worship Islam',
'worship_jewish': 'Worship Jewish',
'worship_sikh': 'Worship Sikh',
'worship_jain': 'Worship Jain'
}
================================================
FILE: ghunt/knowledge/people.py
================================================
# https://developers.google.com/people/api/rest/v1/people#usertype
user_types = {
"USER_TYPE_UNKNOWN": "The user type is not known.", # Official
"GOOGLE_USER": "The user is a Google user.", # Official
"GPLUS_USER": "The user is a Currents user.", # Official
"GOOGLE_APPS_USER": "The user is a Google Workspace user.", # Official
"OWNER_USER_TYPE_UNKNOWN": "The user type is not known.", # Guess
"GPLUS_DISABLED_BY_ADMIN": "This user's Currents account has been disabled by an admin.", # Guess
"GOOGLE_APPS_USER": "The user is a Google Apps user.", # Guess
"GOOGLE_FAMILY_USER": "The user is a Google Family user.", # Guess
"GOOGLE_FAMILY_CHILD_USER": "The user is a Google Family child user.", # Guess
"GOOGLE_APPS_ADMIN_DISABLED": "This admin of Google Apps has been disabled.", # Guess
"GOOGLE_ONE_USER": "The user is a Google One user.", # Guess
"GOOGLE_FAMILY_CONVERTED_CHILD_USER": "This Google Family user was converted to a child user." # Guess
}
================================================
FILE: ghunt/knowledge/services.py
================================================
services_baseurls = {
"cloudconsole": "console.cloud.google.com",
"cl": "calendar.google.com"
}
================================================
FILE: ghunt/knowledge/sig.py
================================================
sigs = {
"com.google.android.play.games": "38918a453d07199354f8b19af05ec6562ced5788",
"com.google.android.apps.docs": "38918a453d07199354f8b19af05ec6562ced5788",
"com.android.vending": "38918a453d07199354f8b19af05ec6562ced5788",
"com.google.android.youtube": "24bb24c05e47e0aefa68a58a766179d9b613a600",
"com.google.android.apps.photos": "38918a453d07199354f8b19af05ec6562ced5788",
"com.google.android.gms": "38918a453d07199354f8b19af05ec6562ced5788",
"com.android.chrome": "38918a453d07199354f8b19af05ec6562ced5788",
}
================================================
FILE: ghunt/lib/__init__.py
================================================
================================================
FILE: ghunt/lib/httpx.py
================================================
import httpx
class AsyncClient(httpx.AsyncClient):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def _merge_cookies(self, cookies: dict):
"""Don't save the cookies in the client."""
return cookies
================================================
FILE: ghunt/modules/__init__.py
================================================
================================================
FILE: ghunt/modules/drive.py
================================================
import os
from ghunt.helpers.utils import *
from ghunt.objects.base import DriveExtractedUser, GHuntCreds
from ghunt.apis.drive import DriveHttp
from ghunt.apis.clientauthconfig import ClientAuthConfigHttp
from ghunt import globals as gb
from ghunt.helpers import auth
from ghunt.helpers.drive import get_comments_from_file, get_users_from_file
from ghunt.knowledge import drive as drive_knownledge
import httpx
import inflection
import humanize
import inspect
from typing import *
from datetime import timedelta
def show_user(user: DriveExtractedUser):
if user.name:
print(f"Full name : {user.name}")
else:
gb.rc.print("Full name : -", style="bright_black")
print(f"Email : {user.email_address}")
if user.gaia_id:
print(f"Gaia ID : {user.gaia_id}")
else:
gb.rc.print("Gaia ID : -", style="bright_black")
if user.is_last_modifying_user:
print("[+] Last user to have modified the document !")
async def hunt(as_client: httpx.AsyncClient, file_id: str, json_file: bool=Path):
if not as_client:
as_client = get_httpx_client()
ghunt_creds = await auth.load_and_auth(as_client)
drive = DriveHttp(ghunt_creds)
file_found, file = await drive.get_file(as_client, file_id)
if not file_found:
print("[-] The file wasn't found.")
exit()
is_folder = file.mime_type == "application/vnd.google-apps.folder"
file_type = drive_knownledge.mime_types.get(file.mime_type)
#gb.rc.print(f"[+] {'Folder' if is_folder else 'File'} found !", style="sea_green3")
gb.rc.print("🗃️ Drive properties\n", style="deep_pink4")
print(f"Title : {file.title}")
print(f"{'Folder' if is_folder else 'File'} ID : {file.id}")
if file.md5_checksum:
print(f"MD5 Checksum : {file.md5_checksum}")
if file.file_size:
print(f"{'Folder' if is_folder else 'File'} size : {humanize.naturalsize(file.file_size)}")
if file_type:
gb.rc.print(f"\nType : {file_type} [italic]\[{file.mime_type}][/italic]")
else:
print(f"\nMime Type : {file.mime_type}")
if is_folder:
print(f"Folder link :\n=> {file.alternate_link}")
else:
print(f"Download link :\n=> {file.alternate_link}")
print(f"\n[+] Created date : {file.created_date.strftime('%Y/%m/%d %H:%M:%S (UTC)')}")
print(f"[+] Modified date : {file.modified_date.strftime('%Y/%m/%d %H:%M:%S (UTC)')}")
for perm in file.permissions:
if perm.id == "anyoneWithLink":
giving_roles = [perm.role.upper()] + [x.upper() for x in perm.additional_roles if x != perm.role]
print(f"\n[+] Sharing with link enabled ! Giving the role{'s' if len(giving_roles) > 1 else ''} {humanize_list(giving_roles)}.")
#print("\n[Source application]")
gb.rc.print("\n📱 Source application\n", style="deep_pink2")
brand_found = False
brand = None
if file.source_app_id:
print(f"App ID : {file.source_app_id}")
cac = ClientAuthConfigHttp(ghunt_creds)
brand_found, brand = await cac.get_brand(as_client, file.source_app_id)
if brand_found:
print(f"Name : {brand.display_name}")
if brand.home_page_url:
print(f"Home page : {brand.home_page_url}")
else:
gb.rc.print(f"Home page : [italic][bright_black]Not found.[/italic][/bright_black]")
else:
gb.rc.print("Not found.", style="italic")
else:
gb.rc.print("No source application.", style="italic")
if file.image_media_metadata.height and file.image_media_metadata.width:
#print("\n[Image metadata]")
gb.rc.print("\n📸 Image metadata\n", style="light_coral")
print(f"Height : {file.image_media_metadata.height}")
print(f"Width : {file.image_media_metadata.width}")
if isinstance((data := file.image_media_metadata.rotation), int):
print(f"Rotation : {data}")
if file.video_media_metadata.height and file.video_media_metadata.width:
#print("\n[Video metadata]")
gb.rc.print("\n📸 Video metadata\n", style="light_coral")
print(f"Height : {file.video_media_metadata.height}")
print(f"Width : {file.video_media_metadata.width}")
if (data := file.video_media_metadata.duration_millis):
duration = timedelta(milliseconds=int(file.video_media_metadata.duration_millis))
print(f"Duration : {humanize.precisedelta(duration)}")
#print("\n[Parents]")
gb.rc.print("\n📂 Parents\n", style="gold3")
if file.parents:
print(f"[+] Parents folders :")
for parent in file.parents:
print(f"- 📁 {parent.id}{' [Root folder]' if parent.is_root else ''}")
else:
gb.rc.print("No parent folder found.", style="italic")
if is_folder:
#print("\n[Items]")
gb.rc.print("\n🗃️ Items\n", style="gold3")
found, _, drive_childs = await drive.get_childs(as_client, file_id)
if found and drive_childs.items:
count = f"{x if (x := len(drive_childs.items)) < 1000 else '>= 1000'}"
print(f"[+] {count} items found inside this folder !")
else:
gb.rc.print("No items found.", style="italic")
#print("\n[Users]")
gb.rc.print("\n👪 Users\n", style="dark_orange")
users = get_users_from_file(file)
if (owners := [x for x in users if x.role == "owner"]):
print(f"-> 👤 Owner{'s' if len(owners) > 1 else ''}")
for user in owners:
show_user(user)
if (writers := [x for x in users if x.role == "writer"]):
print(f"\n-> 👤 Writer{'s' if len(writers) > 1 else ''}")
for user in writers:
show_user(user)
if (commenters := [x for x in users if x.role == "commenter"]):
print(f"\n-> 👤 Commenter{'s' if len(commenters) > 1 else ''}")
for user in commenters:
show_user(user)
if (readers := [x for x in users if x.role == "reader"]):
print(f"\n-> 👤 Reader{'s' if len(readers) > 1 else ''}")
for user in readers:
show_user(user)
if (nones := [x for x in users if x.role == "none"]):
print(f"\n-> 👤 User{'s' if len(nones) > 1 else ''} with no right")
for user in nones:
show_user(user)
#print("[Comments]")
gb.rc.print("\n🗣️ Comments\n", style="plum2")
comments_found, _, drive_comments = await drive.get_comments(as_client, file_id)
if comments_found and drive_comments.items:
authors = get_comments_from_file(drive_comments)
if len(drive_comments.items) > 20:
print(f"[+] Authors ({len(authors)} found, showing the top 20) :")
else:
print("[+] Authors :")
for _, author in authors[:20]:
print(f"- 🙋 {author['name']} ({author['count']} comment{'s' if author['count'] > 1 else ''})")
else:
gb.rc.print("No comments.", style="italic")
#print("\n[Capabilities]")
gb.rc.print("\n🧙 Capabilities\n", style="dodger_blue1")
capabilities = sorted([k for k,v in inspect.getmembers(file.capabilities) if v and not k.startswith("_")])
if is_folder:
if capabilities == drive_knownledge.default_folder_capabilities:
print("[-] You don't have special permissions against this folder.")
else:
print(f"[+] You have special permissions against this folder ! ✨")
for cap in capabilities:
print(f"- {inflection.humanize(cap)}")
else:
if capabilities == drive_knownledge.default_file_capabilities:
print("[-] You don't have special permissions against this file.")
else:
print(f"[+] You have special permissions against this file ! ✨")
for cap in capabilities:
print(f"- {inflection.humanize(cap)}")
if json_file:
json_results = {
"file": file if file_found else None,
"source_app": brand if brand_found else None,
"users": users,
"comments": drive_comments if comments_found else None
}
import json
from ghunt.objects.encoders import GHuntEncoder;
with open(json_file, "w", encoding="utf-8") as f:
f.write(json.dumps(json_results, cls=GHuntEncoder, indent=4))
gb.rc.print(f"\n[+] JSON output wrote to {json_file} !", style="italic")
await as_client.aclose()
================================================
FILE: ghunt/modules/email.py
================================================
import os
from ghunt import globals as gb
from ghunt.helpers.utils import get_httpx_client
from ghunt.objects.base import GHuntCreds
from ghunt.apis.peoplepa import PeoplePaHttp
from ghunt.apis.vision import VisionHttp
from ghunt.helpers import gmaps, playgames, auth, calendar as gcalendar, ia
from ghunt.helpers.knowledge import get_user_type_definition
import httpx
from typing import *
from pathlib import Path
async def hunt(as_client: httpx.AsyncClient, email_address: str, json_file: Path=None):
if not as_client:
as_client = get_httpx_client()
ghunt_creds = await auth.load_and_auth(as_client)
#gb.rc.print("[+] Target found !", style="sea_green3")
people_pa = PeoplePaHttp(ghunt_creds)
# vision_api = VisionHttp(ghunt_creds)
is_found, target = await people_pa.people_lookup(as_client, email_address, params_template="max_details")
if not is_found:
print("[-] The target wasn't found.")
exit()
if json_file:
json_results = {}
containers = target.sourceIds
if len(containers) > 1 or not "PROFILE" in containers:
print("[!] You have this person in these containers :")
for container in containers:
print(f"- {container.title()}")
if not "PROFILE" in containers:
print("[-] Given information does not match a public Google Account.")
exit()
container = "PROFILE"
gb.rc.print("🙋 Google Account data\n", style="plum2")
# if container in target.names:
# print(f"Name : {target.names[container].fullname}\n")
if container in target.profilePhotos:
if target.profilePhotos[container].isDefault:
print("[-] Default profile picture")
else:
print("[+] Custom profile picture !")
print(f"=> {target.profilePhotos[container].url}")
# await ia.detect_face(vision_api, as_client, target.profilePhotos[container].url)
print()
if container in target.coverPhotos:
if target.coverPhotos[container].isDefault:
print("[-] Default cover picture\n")
else:
print("[+] Custom cover picture !")
print(f"=> {target.coverPhotos[container].url}")
# await ia.detect_face(vision_api, as_client, target.coverPhotos[container].url)
print()
if target.sourceIds[container].lastUpdated:
print(f"Last profile edit : {target.sourceIds[container].lastUpdated.strftime('%Y/%m/%d %H:%M:%S (UTC)')}\n")
else:
gb.rc.print(f"Last profile edit : [italic]Not found.[/italic]\n")
if container in target.emails:
print(f"Email : {target.emails[container].value}")
else:
print(f"Email : {email_address}\n")
print(f"Gaia ID : {target.personId}")
if container in target.profileInfos:
print("\nUser types :")
for user_type in target.profileInfos[container].userTypes:
definition = get_user_type_definition(user_type)
gb.rc.print(f"- {user_type} [italic]({definition})[/italic]")
gb.rc.print(f"\n📞 Google Chat Extended Data\n", style="light_salmon3")
#print(f"Presence : {target.extendedData.dynamiteData.presence}")
print(f"Entity Type : {target.extendedData.dynamiteData.entityType}")
#print(f"DND State : {target.extendedData.dynamiteData.dndState}")
gb.rc.print(f"Customer ID : {x if (x := target.extendedData.dynamiteData.customerId) else '[italic]Not found.[/italic]'}")
gb.rc.print(f"\n🌐 Google Plus Extended Data\n", style="cyan")
print(f"Entreprise User : {target.extendedData.gplusData.isEntrepriseUser}")
#print(f"Content Restriction : {target.extendedData.gplusData.contentRestriction}")
if container in target.inAppReachability:
print("\n[+] Activated Google services :")
for app in target.inAppReachability[container].apps:
print(f"- {app}")
gb.rc.print("\n🎮 Play Games data", style="deep_pink2")
player_results = await playgames.search_player(ghunt_creds, as_client, email_address)
if player_results:
player_candidate = player_results[0]
print("\n[+] Found player profile !")
print(f"\nUsername : {player_candidate.name}")
print(f"Player ID : {player_candidate.id}")
print(f"Avatar : {player_candidate.avatar_url}")
_, player = await playgames.get_player(ghunt_creds, as_client, player_candidate.id)
playgames.output(player)
else:
print("\n[-] No player profile found.")
gb.rc.print("\n🗺️ Maps data", style="green4")
err, stats = await gmaps.get_reviews(as_client, target.personId)
gmaps.output(err, stats, target.personId)
gb.rc.print("\n🗓️ Calendar data\n", style="slate_blue3")
cal_found, calendar, calendar_events = await gcalendar.fetch_all(ghunt_creds, as_client, email_address)
if cal_found:
print("[+] Public Google Calendar found !\n")
if calendar_events.items:
if "PROFILE" in target.names:
gcalendar.out(calendar, calendar_events, email_address, target.names[container].fullname)
else:
gcalendar.out(calendar, calendar_events, email_address)
else:
print("=> No recent events found.")
else:
print("[-] No public Google Calendar.")
if json_file:
if container == "PROFILE":
json_results[f"{container}_CONTAINER"] = {
"profile": target,
"play_games": player if player_results else None,
"maps": {
"photos": photos,
"reviews": reviews,
"stats": stats
},
"calendar": {
"details": calendar,
"events": calendar_events
} if cal_found else None
}
else:
json_results[f"{container}_CONTAINER"] = {
"profile": target
}
if json_file:
import json
from ghunt.objects.encoders import GHuntEncoder;
with open(json_file, "w", encoding="utf-8") as f:
f.write(json.dumps(json_results, cls=GHuntEncoder, indent=4))
gb.rc.print(f"\n[+] JSON output wrote to {json_file} !", style="italic")
await as_client.aclose()
================================================
FILE: ghunt/modules/gaia.py
================================================
import os
from ghunt import globals as gb
from ghunt.objects.base import GHuntCreds
from ghunt.apis.peoplepa import PeoplePaHttp
from ghunt.apis.vision import VisionHttp
from ghunt.helpers import gmaps, auth, ia
from ghunt.helpers.knowledge import get_user_type_definition
from ghunt.helpers.utils import get_httpx_client
import httpx
from typing import *
from pathlib import Path
async def hunt(as_client: httpx.AsyncClient, gaia_id: str, json_file: Path=None):
if not as_client:
as_client = get_httpx_client()
ghunt_creds = await auth.load_and_auth(as_client)
# #gb.rc.print("\n[+] Target found !", style="spring_green3")
people_pa = PeoplePaHttp(ghunt_creds)
# # vision_api = VisionHttp(ghunt_creds)
is_found, target = await people_pa.people(as_client, gaia_id, params_template="max_details")
if not is_found:
exit("[-] The target wasn't found.")
if json_file:
json_results = {}
containers = target.sourceIds
if len(containers) > 1 or not "PROFILE" in containers:
print("[!] You have this person in these containers :")
for container in containers:
print(f"- {container.title()}")
if not "PROFILE" in containers:
exit("[-] Given information does not match a public Google Account.")
container = "PROFILE"
gb.rc.print("🙋 Google Account data\n", style="plum2")
# if container in target.names:
# print(f"Name : {target.names[container].fullname}\n")
if container in target.profilePhotos:
if target.profilePhotos[container].isDefault:
print("[-] Default profile picture")
else:
print("[+] Custom profile picture !")
print(f"=> {target.profilePhotos[container].url}")
# # await ia.detect_face(vision_api, as_client, target.profilePhotos[container].url)
# print()
if container in target.coverPhotos:
if target.coverPhotos[container].isDefault:
print("[-] Default cover picture\n")
else:
print("[+] Custom cover picture !")
print(f"=> {target.coverPhotos[container].url}")
# # await ia.detect_face(vision_api, as_client, target.coverPhotos[container].url)
print()
print(f"Last profile edit : {target.sourceIds[container].lastUpdated.strftime('%Y/%m/%d %H:%M:%S (UTC)')}\n")
print(f"Gaia ID : {target.personId}\n")
if container in target.profileInfos:
print("User types :")
for user_type in target.profileInfos[container].userTypes:
definition = get_user_type_definition(user_type)
gb.rc.print(f"- {user_type} [italic]({definition})[/italic]")
gb.rc.print(f"\n📞 Google Chat Extended Data\n", style="light_salmon3")
#print(f"Presence : {target.extendedData.dynamiteData.presence}")
print(f"Entity Type : {target.extendedData.dynamiteData.entityType}")
#print(f"DND State : {target.extendedData.dynamiteData.dndState}")
gb.rc.print(f"Customer ID : {x if (x := target.extendedData.dynamiteData.customerId) else '[italic]Not found.[/italic]'}")
gb.rc.print(f"\n🌐 Google Plus Extended Data\n", style="cyan")
print(f"Entreprise User : {target.extendedData.gplusData.isEntrepriseUser}")
#print(f"Content Restriction : {target.extendedData.gplusData.contentRestriction}")
if container in target.inAppReachability:
print("\n[+] Activated Google services :")
for app in target.inAppReachability[container].apps:
print(f"- {app}")
gb.rc.print("\n🗺️ Maps data", style="green4")
err, stats = await gmaps.get_reviews(as_client, gaia_id)
gmaps.output(err, stats, gaia_id)
if json_file:
if container == "PROFILE":
json_results[f"{container}_CONTAINER"] = {
"profile": target,
"maps": {
# "photos": photos,
# "reviews": reviews,
"stats": stats
}
}
else:
json_results[f"{container}_CONTAINER"] = {
"profile": target
}
if json_file:
import json
from ghunt.objects.encoders import GHuntEncoder;
with open(json_file, "w", encoding="utf-8") as f:
f.write(json.dumps(json_results, cls=GHuntEncoder, indent=4))
gb.rc.print(f"\n[+] JSON output wrote to {json_file} !", style="italic")
await as_client.aclose()
================================================
FILE: ghunt/modules/geolocate.py
================================================
import os
from ghunt import globals as gb
from ghunt.helpers.utils import get_httpx_client
from ghunt.apis.geolocation import GeolocationHttp
from ghunt.helpers import auth
import httpx
from geopy.geocoders import Nominatim
from typing import *
from pathlib import Path
import json
async def main(as_client: httpx.AsyncClient, bssid: str, input_file: Path, json_file: Path=None):
# Verifying args
body = None
if input_file:
if not input_file.exists():
print(f"[-] The input file \"{input_file}\" doesn't exist.")
exit()
with open(input_file, "r", encoding="utf-8") as f:
try:
body = json.load(f)
except json.JSONDecodeError:
print(f"[-] The input file \"{input_file}\" is not a valid JSON file.")
exit()
if not as_client:
as_client = get_httpx_client()
ghunt_creds = await auth.load_and_auth(as_client)
geo_api = GeolocationHttp(ghunt_creds)
found, resp = await geo_api.geolocate(as_client, bssid=bssid, body=body)
if not found:
print("[-] The location wasn't found.")
exit()
geolocator = Nominatim(user_agent="nominatim")
location = geolocator.reverse(f"{resp.location.latitude}, {resp.location.longitude}", timeout=10)
raw_address = location.raw['address']
address = location.address
gb.rc.print("📍 Location found !\n", style="plum2")
gb.rc.print(f"🛣️ [italic]Accuracy : {resp.accuracy} meters[/italic]\n")
gb.rc.print(f"Latitude : {resp.location.latitude}", style="bold")
gb.rc.print(f"Longitude : {resp.location.longitude}\n", style="bold")
gb.rc.print(f"🏠 Estimated address : {address}\n")
gb.rc.print(f"🗺️ [italic][link=https://www.google.com/maps/search/?q={resp.location.latitude},{resp.location.longitude}]Open in Google Maps[/link][/italic]\n", style=f"cornflower_blue")
if json_file:
from ghunt.objects.encoders import GHuntEncoder;
with open(json_file, "w", encoding="utf-8") as f:
f.write(json.dumps({
"accuracy": resp.accuracy,
"latitude": resp.location.latitude,
"longitude": resp.location.longitude,
"address": raw_address,
"pretty_address": address
}, cls=GHuntEncoder, indent=4))
gb.rc.print(f"[+] JSON output wrote to {json_file} !", style="italic")
await as_client.aclose()
================================================
FILE: ghunt/modules/login.py
================================================
import os
from typing import *
import httpx
from pathlib import Path
from ghunt import globals as gb
from ghunt.helpers.utils import *
from ghunt.helpers import auth
from ghunt.objects.base import GHuntCreds
from ghunt.errors import GHuntInvalidSession
async def check_and_login(as_client: httpx.AsyncClient, clean: bool=False) -> None:
"""Check the users credentials validity, and generate new ones."""
ghunt_creds = GHuntCreds()
if clean:
creds_path = Path(ghunt_creds.creds_path)
if creds_path.is_file():
creds_path.unlink()
print(f"[+] Credentials file at {creds_path} deleted !")
else:
print(f"Credentials file at {creds_path} doesn't exists, no need to delete.")
exit(os.EX_OK)
if not as_client:
as_client = get_httpx_client()
is_session_valid = True
try:
ghunt_creds = await auth.load_and_auth(as_client, help=False)
except GHuntInvalidSession as e:
print(f"[-] {e}\n")
is_session_valid = False
if not is_session_valid:
oauth_token, master_token = auth.auth_dialog()
else:
# in case user wants to enter new creds (example: for new account)
is_master_token_valid = await auth.check_master_token(as_client, ghunt_creds.android.master_token)
if is_master_token_valid:
print("[+] The master token seems valid !")
else:
print("[-] Seems like the master token is invalid.")
cookies_valid = await auth.check_cookies(as_client, ghunt_creds.cookies)
if cookies_valid:
print("[+] The cookies seem valid !")
else:
print("[-] Seems like the cookies are invalid.")
osids_valid = await auth.check_osids(as_client, ghunt_creds.cookies, ghunt_creds.osids)
if osids_valid:
print("[+] OSIDs seem valid !")
else:
print("[-] Seems like OSIDs are invalid.")
new_gen_inp = input("\nDo you want to create a new session ? (Y/n) ").lower()
if new_gen_inp == "y":
oauth_token, master_token = auth.auth_dialog()
else:
exit(os.EX_OK)
ghunt_creds.android.authorization_tokens = {} # Reset the authorization tokens
if oauth_token:
print(f"\n[+] Got OAuth2 token => {oauth_token}")
master_token, services, owner_email, owner_name = await auth.android_master_auth(as_client, oauth_token)
print("\n[Connected account]")
print(f"Name : {owner_name}")
print(f"Email : {owner_email}")
gb.rc.print("\n🔑 [underline]A master token has been generated for your account and saved in the credentials file[/underline], please keep it safe as if it were your password, because it gives access to a lot of Google services, and with that, your personal information.", style="bold")
print(f"Master token services access : {', '.join(services)}")
# Feed the GHuntCreds object
ghunt_creds.android.master_token = master_token
ghunt_creds.cookies = {"a": "a"} # Dummy ata
ghunt_creds.osids = {"a": "a"} # Dummy data
print("Generating cookies and osids...")
await auth.gen_cookies_and_osids(as_client, ghunt_creds)
print("[+] Cookies and osids generated !")
ghunt_creds.save_creds()
await as_client.aclose()
================================================
FILE: ghunt/modules/spiderdal.py
================================================
import asyncio
from dataclasses import dataclass
from pathlib import Path
from ghunt import globals as gb
from ghunt.objects.base import GHuntCreds
from ghunt.objects.utils import TMPrinter
from ghunt.helpers.utils import get_httpx_client
from ghunt.apis.digitalassetslinks import DigitalAssetsLinksHttp
from ghunt.helpers.playstore import app_exists
import httpx
@dataclass
class Asset:
site: str
package_name: str
certificate: str
async def identify_public_pkgs(as_client: httpx.AsyncClient, pkg_name: str, pkgs: dict[str, str], limiter: asyncio.Semaphore):
async with limiter:
if await app_exists(as_client, pkg_name):
pkgs[pkg_name] = "public"
else:
pkgs[pkg_name] = "private"
async def analyze_single(as_client: httpx.AsyncClient, dal: DigitalAssetsLinksHttp, current_target: Asset, sites: dict[str, dict], pkgs: dict[str, dict], visited: set, limiter: asyncio.Semaphore):
short_pkg_name = f"{current_target.package_name}${current_target.certificate}"
async with limiter:
if current_target.site:
_, res = await dal.list_statements(as_client, website=current_target.site)
elif current_target.package_name:
_, res = await dal.list_statements(as_client, android_package_name=current_target.package_name, android_cert_fingerprint=current_target.certificate)
for item in res.statements:
if item.target.web.site:
clean_site = item.target.web.site.strip('.')
if clean_site not in sites:
sites[clean_site] = {
"asset": Asset(site=clean_site, package_name=None, certificate=None),
"first_origin": current_target,
"origins": set(),
}
sites[clean_site]["origins"].add(current_target.site if current_target.site else short_pkg_name)
if item.target.android_app.package_name:
temp_name = f"{item.target.android_app.package_name}${item.target.android_app.certificate.sha_fingerprint}"
if temp_name not in pkgs:
pkgs[temp_name] = {
"asset": Asset(site=None, package_name=item.target.android_app.package_name, certificate=item.target.android_app.certificate.sha_fingerprint),
"first_origin": current_target,
"origins": set(),
}
pkgs[temp_name]["origins"].add(current_target.site if current_target.site else short_pkg_name)
if current_target.site:
visited.add(current_target.site)
if res.statements and current_target.site not in sites:
sites[current_target.site] = {
"asset": current_target,
"first_origin": None,
"origins": set(),
}
if current_target.package_name:
visited.add(short_pkg_name)
if res.statements and short_pkg_name not in pkgs:
pkgs[short_pkg_name] = {
"asset": current_target,
"first_origin": None,
"origins": set(),
}
async def main(url: str, package: str, fingerprint: str, strict: bool, json_file: Path):
ghunt_creds = GHuntCreds()
ghunt_creds.load_creds()
as_client = get_httpx_client()
digitalassetslink = DigitalAssetsLinksHttp(ghunt_creds)
tmprinter = TMPrinter()
sites: dict = {}
pkgs: dict = {}
visited = set()
limiter = asyncio.Semaphore(10)
current_targets: list[Asset] = []
if url:
http = False
if url.startswith("http"):
http = True
if url.startswith(("http://", "https://")):
domain = url.split("//")[1]
else:
domain = url
temp_targets = []
temp_targets.append(f"https://{domain}")
if http:
temp_targets.append(f"http://{domain}")
if not strict:
temp_targets.append(f"https://www.{domain}")
if http:
temp_targets.append(f"http://www.{domain}")
for target in temp_targets:
current_targets.append(Asset(site=target, package_name=None, certificate=None))
if package and fingerprint:
current_targets.append(Asset(site=None, package_name=package, certificate=fingerprint))
round = 0
total_scanned = 0
print()
while current_targets:
round += 1
total_scanned += len(current_targets)
tmprinter.out(f"🕷️ [R{round}]: Investigating {len(current_targets)} targets...", style="bold magenta")
await asyncio.gather(
*[
analyze_single(as_client, digitalassetslink, target, sites, pkgs, visited, limiter)
for target in current_targets
]
)
# Next candidates
next_sites = [site["asset"] for name,site in sites.items() if not name in visited]
next_pkgs = [pkg["asset"] for name,pkg in pkgs.items() if not name in visited]
current_targets = next_sites + next_pkgs
tmprinter.clear()
gb.rc.print(f"🕷️ [R{round}]: Investigation done ! {total_scanned} assets scanned.", style="bold magenta")
# Sort
pkgs_names = {x:None for x in set([x["asset"].package_name for x in pkgs.values()])}
await asyncio.gather(
*[
identify_public_pkgs(as_client, pkg_name, pkgs_names, limiter)
for pkg_name in pkgs_names
]
)
# Print results
if sites:
gb.rc.print(f"\n🌐 {len(sites)} site{'s' if len(sites) > 1 else ''} found !", style="white")
for site_url, site in sites.items():
if site["first_origin"]:
if site["first_origin"].site:
gb.rc.print(f"- [deep_sky_blue1][link={site_url}]{site_url}[/link][/deep_sky_blue1] [steel_blue italic](leaked by : {site['first_origin'].site})[/steel_blue italic]")
else:
gb.rc.print(f"- [deep_sky_blue1][link={site_url}]{site_url}[/link][/deep_sky_blue1] [steel_blue italic](leaked by : {site['first_origin'].package_name})[/steel_blue italic]")
else:
gb.rc.print(f"- [deep_sky_blue1][link={site_url}]{site_url}[/link][/deep_sky_blue1]")
else:
gb.rc.print("\nNo sites found.", style="italic bright_black")
if pkgs:
gb.rc.print(f"\n📦 {len(pkgs_names)} Android package{'s' if len(pkgs) > 1 else ''} found !", style="white")
for pkg_name, state in pkgs_names.items():
if state == "public":
gb.rc.print(f"- 🏪 {pkg_name}", style="light_steel_blue")
else:
gb.rc.print(f"- 🥷 {pkg_name}", style="light_steel_blue")
gb.rc.print("\tFingerprints (SHA256) :", style="steel_blue")
for pkg in pkgs.values():
fingerprints_cache = set()
if pkg["asset"].package_name == pkg_name:
if pkg["asset"].certificate not in fingerprints_cache:
if pkg["first_origin"].site:
gb.rc.print(f"\t\t- {pkg['asset'].certificate} (leaked by : {pkg['first_origin'].site})", style="steel_blue italic", emoji=False)
else:
gb.rc.print(f"\t\t- {pkg['asset'].certificate} (leaked by : {pkg['first_origin'].package_name})", style="steel_blue italic", emoji=False)
fingerprints_cache.add(pkg["asset"].certificate)
else:
gb.rc.print("\nNo packages found.", style="bright_black italic")
if json_file:
import json
from ghunt.objects.encoders import GHuntEncoder;
with open(json_file, "w", encoding="utf-8") as f:
f.write(json.dumps({
"sites": sites,
"packages": pkgs
}, cls=GHuntEncoder, indent=4))
gb.rc.print(f"\n[+] JSON output wrote to {json_file} !\n", style="italic")
else:
print()
================================================
FILE: ghunt/objects/__init__.py
================================================
================================================
FILE: ghunt/objects/apis.py
================================================
from ghunt.errors import GHuntCorruptedHeadersError
from ghunt.helpers.knowledge import get_origin_of_key, get_api_key
from ghunt.objects.base import GHuntCreds, SmartObj
from ghunt.helpers.utils import *
from ghunt.errors import *
from ghunt.helpers.auth import *
import httpx
import asyncio
from datetime import datetime, timezone
from typing import *
from dataclasses import dataclass
# APIs objects
@dataclass
class EndpointConfig(SmartObj):
def __init__(self,
name: str="",
headers: Dict[str, str] = {},
cookies: Dict[str, str] = {},
ext_metadata: Dict[str, Dict[str, str]] = {},
verb: str = "",
data_type: str|None = None,
authentication_mode: str|None = None,
require_key: str | None = None,
key_origin: str | None = None,
_computed_headers: Dict[str, str] = {},
_computed_cookies: Dict[str, str] = {}
):
self.name = name
self.headers = headers
self.cookies = cookies
self.ext_metadata = ext_metadata
self.verb = verb
self.data_type = data_type
self.authentication_mode = authentication_mode
self.require_key = require_key
self.key_origin = key_origin
self._computed_headers = _computed_headers
self._computed_cookies = _computed_cookies
class GAPI(SmartObj):
def __init__(self):
self.api_name: str = ""
self.package_name: str = ""
self.scopes: List[str] = []
self.hostname: str = ""
self.scheme: str = ""
self.loaded_endpoints: Dict[str, EndpointConfig] = {}
self.creds: GHuntCreds = None
self.headers: Dict[str, str] = {}
self.cookies: Dict[str, str] = {}
self.gen_token_lock: asyncio.Lock = None
def _load_api(self, creds: GHuntCreds, headers: Dict[str, str]):
if not creds.are_creds_loaded():
raise GHuntInsufficientCreds(f"This API requires a loaded GHuntCreds object, but it is not.")
if not is_headers_syntax_good(headers):
raise GHuntCorruptedHeadersError(f"The provided headers when loading the endpoint seems corrupted, please check it : {headers}")
self.creds = creds
self.headers = headers
def _load_endpoint(self, endpoint: EndpointConfig):
if endpoint.name in self.loaded_endpoints:
return
headers = {**endpoint.headers, **self.headers}
if endpoint.authentication_mode == "oauth":
self.gen_token_lock = asyncio.Lock()
cookies = {}
if endpoint.authentication_mode in ["sapisidhash", "cookies_only"]:
if not (cookies := self.creds.cookies):
raise GHuntInsufficientCreds(f"This endpoint requires the cookies in the GHuntCreds object, but they aren't loaded.")
if (key_name := endpoint.require_key):
if not (api_key := get_api_key(key_name)):
raise GHuntInsufficientCreds(f"This endpoint requires the {key_name} API key in the GHuntCreds object, but it isn't loaded.")
if not endpoint.key_origin:
endpoint.key_origin = get_origin_of_key(key_name)
headers = {**headers, "X-Goog-Api-Key": api_key, **headers, "Origin": endpoint.key_origin, "Referer": endpoint.key_origin}
if endpoint.authentication_mode == "sapisidhash":
if not (sapisidhash := cookies.get("SAPISID")):
raise GHuntInsufficientCreds(f"This endpoint requires the SAPISID cookie in the GHuntCreds object, but it isn't loaded.")
headers = {**headers, "Authorization": f"SAPISIDHASH {gen_sapisidhash(sapisidhash, endpoint.key_origin)}"}
# https://github.com/googleapis/googleapis/blob/f8a290120b3a67e652742a221f73778626dc3081/google/api/context.proto#L43
for ext_type,ext_value in endpoint.ext_metadata.items():
ext_bin_headers = {f"X-Goog-Ext-{k}-{ext_type.title()}":v for k,v in ext_value.items()}
headers = {**headers, **ext_bin_headers}
if not is_headers_syntax_good(headers):
raise GHuntCorruptedHeadersError(f"The provided headers when loading the endpoint seems corrupted, please check it : {headers}")
endpoint._computed_headers = headers
endpoint._computed_cookies = cookies
self.loaded_endpoints[endpoint.name] = endpoint
async def _check_and_gen_authorization_token(self, as_client: httpx.AsyncClient, creds: GHuntCreds):
async with self.gen_token_lock:
present = False
if self.api_name in creds.android.authorization_tokens:
present = True
token = creds.android.authorization_tokens[self.api_name]["token"]
expiry_date = datetime.utcfromtimestamp(creds.android.authorization_tokens[self.api_name]["expiry"]).replace(tzinfo=timezone.utc)
# If there are no registered authorization token for the current API, or if the token has expired
if (not self.api_name in creds.android.authorization_tokens) or (present and datetime.now(timezone.utc) > expiry_date):
token, _, expiry_timestamp = await android_oauth_app(as_client, creds.android.master_token, self.package_name, self.scopes)
creds.android.authorization_tokens[self.api_name] = {
"token": token,
"expiry": expiry_timestamp
}
creds.save_creds(silent=True)
gb.rc.print(f"\n[+] New token for {self.api_name} has been generated", style="italic")
return token
async def _query(self, endpoint_name: str, as_client: httpx.AsyncClient, base_url: str, params: Dict[str, Any]={}, data: Any=None) -> httpx.Response:
endpoint = self.loaded_endpoints[endpoint_name]
headers = endpoint._computed_headers
if endpoint.authentication_mode == "oauth":
token = await self._check_and_gen_authorization_token(as_client, self.creds)
headers = {**headers, "Authorization": f"OAuth {token}"}
if endpoint.verb == "GET":
req = await as_client.get(f"{self.scheme}://{self.hostname}{base_url}",
params=params, headers=headers, cookies=endpoint._computed_cookies)
elif endpoint.verb == "POST":
if endpoint.data_type == "data":
req = await as_client.post(f"{self.scheme}://{self.hostname}{base_url}",
params=params, data=data, headers=headers, cookies=endpoint._computed_cookies)
elif endpoint.data_type == "json":
req = await as_client.post(f"{self.scheme}://{self.hostname}{base_url}",
params=params, json=data, headers=headers, cookies=endpoint._computed_cookies)
else:
raise GHuntUnknownRequestDataTypeError(f"The provided data type {endpoint.data_type} wasn't recognized by GHunt.")
else:
raise GHuntUnknownVerbError(f"The provided verb {endpoint.verb} wasn't recognized by GHunt.")
return req
# Others
class Parser(SmartObj):
"""
The class that is used to initialize every parser class.
It will automatically manage the __slots__ attribute.
"""
pass
================================================
FILE: ghunt/objects/base.py
================================================
from typing import *
from pathlib import Path
import json
from dateutil.relativedelta import relativedelta
from datetime import datetime
import base64
from autoslot import Slots
import httpx
from ghunt.errors import GHuntInvalidSession
# class SmartObj(Slots): # Not Python 3.13 compatible so FUCK it fr fr
# pass
class SmartObj():
pass
class AndroidCreds(SmartObj):
def __init__(self) -> None:
self.master_token: str = ""
self.authorization_tokens: Dict = {}
class GHuntCreds(SmartObj):
"""
This object stores all the needed credentials that GHunt uses,
such as cookies, OSIDs, keys and tokens.
"""
def __init__(self, creds_path: str = "") -> None:
self.cookies: Dict[str, str] = {}
self.osids: Dict[str, str] = {}
self.android: AndroidCreds = AndroidCreds()
if not creds_path:
cwd_path = Path().home()
ghunt_folder = cwd_path / ".malfrats/ghunt"
if not ghunt_folder.is_dir():
ghunt_folder.mkdir(parents=True, exist_ok=True)
creds_path = ghunt_folder / "creds.m"
self.creds_path: str = creds_path
def are_creds_loaded(self) -> bool:
return all([self.cookies, self.osids, self.android.master_token])
def load_creds(self, silent=False) -> None:
"""Loads cookies, OSIDs and tokens if they exist"""
if Path(self.creds_path).is_file():
try:
with open(self.creds_path, "r", encoding="utf-8") as f:
raw = f.read()
data = json.loads(base64.b64decode(raw).decode())
self.cookies = data["cookies"]
self.osids = data["osids"]
self.android.master_token = data["android"]["master_token"]
self.android.authorization_tokens = data["android"]["authorization_tokens"]
except Exception:
raise GHuntInvalidSession("Stored session is corrupted.")
else:
raise GHuntInvalidSession("No stored session found.")
if not self.are_creds_loaded():
raise GHuntInvalidSession("Stored session is incomplete.")
if not silent:
print("[+] Stored session loaded !")
def save_creds(self, silent=False):
"""Save cookies, OSIDs and tokens to the specified file."""
data = {
"cookies": self.cookies,
"osids": self.osids,
"android": {
"master_token": self.android.master_token,
"authorization_tokens": self.android.authorization_tokens
}
}
with open(self.creds_path, "w", encoding="utf-8") as f:
f.write(base64.b64encode(json.dumps(data, indent=2).encode()).decode())
if not silent:
print(f"\n[+] Creds have been saved in {self.creds_path} !")
### Maps
class Position(SmartObj):
def __init__(self):
self.latitude: float = 0.0
self.longitude: float = 0.0
class MapsLocation(SmartObj):
def __init__(self):
self.id: str = ""
self.name: str = ""
self.address: str = ""
self.position: Position = Position()
self.tags: List[str] = []
self.types: List[str] = []
self.cost_level: int = 0 # 1-4
class MapsReview(SmartObj):
def __init__(self):
self.id: str = ""
self.comment: str = ""
self.rating: int = 0
self.location: MapsLocation = MapsLocation()
self.date: datetime = None
class MapsPhoto(SmartObj):
def __init__(self):
self.id: str = ""
self.url: str = ""
self.location: MapsLocation = MapsLocation()
self.date: datetime = None
### Drive
class DriveExtractedUser(SmartObj):
def __init__(self):
self.gaia_id: str = ""
self.name: str = ""
self.email_address: str = ""
self.role: str = ""
self.is_last_modifying_user: bool = False
================================================
FILE: ghunt/objects/encoders.py
================================================
import json
from datetime import datetime
class GHuntEncoder(json.JSONEncoder):
"""
Converts non-default types when exporting to JSON.
"""
def default(self, o: object) -> dict:
if isinstance(o, set):
return list(o)
elif isinstance(o, datetime):
return f"{o.strftime('%Y/%m/%d %H:%M:%S')} (UTC)"
elif type(o) not in [str, list, int, float, bool, dict]:
if hasattr(o, "__dict__"):
return o.__dict__
else:
return {x:getattr(o, x) for x in o.__slots__}
================================================
FILE: ghunt/objects/session.py
================================================
from typing import *
import httpx
from ghunt.helpers.utils import get_httpx_client
from ghunt.helpers import auth
from ghunt.objects.base import GHuntCreds, SmartObj
# class Session(SmartObj):
# def __init__(self, client: httpx.AsyncClient = None) -> None:
# self.creds: GHuntCreds = None
# self.client: httpx.AsyncClient = client or get_httpx_client()
# @staticmethod
# async def new(client: httpx.AsyncClient = None, authentify=False) -> "Session":
# cls = Session(client=client)
# if authentify:
# cls.creds = await auth.load_and_auth(client)
# return cls
================================================
FILE: ghunt/objects/utils.py
================================================
from ghunt.helpers.utils import *
from ghunt.errors import *
from ghunt.objects.base import SmartObj
from typing import *
from rich.console import Console
class TMPrinter():
"""
Print temporary text, on the same line.
"""
def __init__(self, rc: Console=Console(highlight=False)):
self.max_len = 0
self.rc = rc
def out(self, text: str, style: str=""):
if len(text) > self.max_len:
self.max_len = len(text)
else:
text += (" " * (self.max_len - len(text)))
self.rc.print(text, end='\r', style=style)
def clear(self):
self.rc.print(" " * self.max_len, end="\r")
================================================
FILE: ghunt/parsers/__init__.py
================================================
================================================
FILE: ghunt/parsers/calendar.py
================================================
from datetime import datetime
from typing import *
from ghunt.helpers.utils import get_datetime_utc
from ghunt.objects.apis import Parser
class ConferenceProperties(Parser):
def __init__(self):
self.allowed_conference_solution_types: List[str] = []
def _scrape(self, conference_props_data: Dict[str, any]):
if (types := conference_props_data.get("allowedConferenceSolutionTypes")):
self.allowed_conference_solution_types = types
class Calendar(Parser):
def __init__(self):
self.id: str = ""
self.summary: str = ""
self.time_zone: str = ""
self.conference_properties: ConferenceProperties = ConferenceProperties()
def _scrape(self, calendar_data: Dict[str, any]):
self.id = calendar_data.get("id")
self.summary = calendar_data.get("summary")
self.time_zone = calendar_data.get("timeZone")
conference_props_data = calendar_data.get("conferenceProperties")
if conference_props_data:
self.conference_properties._scrape(conference_props_data)
class CalendarReminder(Parser):
def __init__(self):
self.method: str = ""
self.minutes: int = 0
def _scrape(self, reminder_data: Dict[str, any]):
self.method = reminder_data.get("method")
self.minutes = reminder_data.get("minutes")
class CalendarPerson(Parser):
def __init__(self):
self.email: str = ""
self.display_name: str = ""
self.self: bool = None
def _scrape(self, person_data: Dict[str, any]):
self.email = person_data.get("email")
self.display_name = person_data.get("displayName")
self.self = person_data.get("self")
class CalendarTime(Parser):
def __init__(self):
self.date_time: datetime = None # ISO Format
self.time_zone: str = ""
def _scrape(self, time_data: Dict[str, any]):
if (date_time := time_data.get("dateTime")):
try:
self.date_time = get_datetime_utc(date_time)
except ValueError:
self.date_time = None
self.time_zone = time_data.get("timeZone")
class CalendarReminders(Parser):
def __init__(self):
self.use_default: int = 0
self.overrides: List[CalendarReminder] = []
def _scrape(self, reminders_data: Dict[str, any]):
self.use_default = reminders_data.get("useDefault")
if (overrides := reminders_data.get("overrides")):
for reminder_data in overrides:
reminder = CalendarReminder()
reminder._scrape(reminder_data)
self.overrides.append(reminder)
class CalendarEvent(Parser):
def __init__(self):
self.id: str = ""
self.status: str = ""
self.html_link: str = ""
self.created: datetime = "" # ISO Format
self.updated: datetime = "" # ISO Format
self.summary: str = ""
self.description: str = ""
self.location: str = ""
self.creator: CalendarPerson = CalendarPerson()
self.organizer: CalendarPerson = CalendarPerson()
self.start: CalendarTime = CalendarTime()
self.end: CalendarTime = CalendarTime()
self.recurring_event_id: str = ""
self.original_start_time: CalendarTime = CalendarTime()
self.visibility: str = ""
self.ical_uid: str = ""
self.sequence: int = 0
self.guest_can_invite_others: bool = None
self.reminders: CalendarReminders = CalendarReminders()
self.event_type: str = ""
def _scrape(self, event_data: Dict[str, any]):
self.id = event_data.get("id")
self.status = event_data.get("status")
self.html_link = event_data.get("htmlLink")
if (date_time := event_data.get("created")):
try:
self.created = get_datetime_utc(date_time)
except ValueError:
self.created = None
if (date_time := event_data.get("updated")):
try:
self.updated = get_datetime_utc(date_time)
except ValueError:
self.updated = None
self.summary = event_data.get("summary")
self.description = event_data.get("description")
self.location = event_data.get("location")
if (creator_data := event_data.get("creator")):
self.creator._scrape(creator_data)
if (organizer_data := event_data.get("organizer")):
self.organizer._scrape(organizer_data)
if (start_data := event_data.get("start")):
self.start._scrape(start_data)
if (end_data := event_data.get("end")):
self.end._scrape(end_data)
self.recurring_event_id = event_data.get("recurringEventId")
if (original_start_data := event_data.get("originalStartTime")):
self.original_start_time._scrape(original_start_data)
self.visibility = event_data.get("visibility")
self.ical_uid = event_data.get("iCalUID")
self.sequence = event_data.get("sequence")
self.guest_can_invite_others = event_data.get("guestsCanInviteOthers")
if (reminders_data := event_data.get("reminders")):
self.reminders._scrape(reminders_data)
self.event_type = event_data.get("eventType")
class CalendarEvents(Parser):
def __init__(self):
self.summary: str = ""
self.updated: datetime = "" # ISO Format
self.time_zone: str = ""
self.access_role: str = ""
self.default_reminders: List[CalendarReminder] = []
self.next_page_token: str = ""
self.items: List[CalendarEvent] = []
def _scrape(self, events_data: Dict[str, any]):
self.summary = events_data.get("summary")
if (date_time := events_data.get("updated")):
try:
self.updated = get_datetime_utc(date_time)
except ValueError:
self.updated = None
self.time_zone = events_data.get("timeZone")
self.access_role = events_data.get("accessRole")
if (reminders_data := events_data.get("defaultReminders")):
for reminder_data in reminders_data:
reminder = CalendarReminder()
reminder._scrape(reminder_data)
self.default_reminders.append(reminder)
self.next_page_token = events_data.get("nextPageToken")
if (items_data := events_data.get("items")):
for item_data in items_data:
event = CalendarEvent()
event._scrape(item_data)
self.items.append(event)
================================================
FILE: ghunt/parsers/clientauthconfig.py
================================================
from typing import *
from ghunt.objects.apis import Parser
class CacBrand(Parser):
def __init__(self):
self.brand_id: str = ""
self.project_ids: List[list] = []
self.project_numbers: List[str] = []
self.display_name: str = ""
self.icon_url: str = ""
self.stored_icon_url: str = ""
self.support_email: str = ""
self.home_page_url: str = ""
self.terms_of_service_urls: List[list] = []
self.privacy_policy_urls: List[list] = []
self.direct_notice_to_parents_url: str = ""
self.brand_state: CacBrandState = CacBrandState()
self.clients: List[list] = []
self.review: CacReview = CacReview()
self.is_org_internal: bool = False
self.risc_configuration: CacRiscConfiguration = CacRiscConfiguration()
self.consistency_token: str = ""
self.creation_time: str = ""
self.verified_brand: CacVerifiedBrand = CacVerifiedBrand()
def _scrape(self, base_model_data: Dict[str, any]):
self.brand_id = base_model_data.get('brandId')
self.project_ids = base_model_data.get('projectIds')
self.project_numbers = base_model_data.get('projectNumbers')
self.display_name = base_model_data.get('displayName')
self.icon_url = base_model_data.get('iconUrl')
self.stored_icon_url = base_model_data.get('storedIconUrl')
self.support_email = base_model_data.get('supportEmail')
self.home_page_url = base_model_data.get('homePageUrl')
self.terms_of_service_urls = base_model_data.get('termsOfServiceUrls')
self.privacy_policy_urls = base_model_data.get('privacyPolicyUrls')
self.direct_notice_to_parents_url = base_model_data.get('directNoticeToParentsUrl')
if (brand_state_data := base_model_data.get('brandState')):
self.brand_state._scrape(brand_state_data)
self.clients = base_model_data.get('clients')
if (review_data := base_model_data.get('review')):
self.review._scrape(review_data)
self.is_org_internal = base_model_data.get('isOrgInternal')
if (risc_configuration_data := base_model_data.get('riscConfiguration')):
self.risc_configuration._scrape(risc_configuration_data)
self.consistency_token = base_model_data.get('consistencyToken')
self.creation_time = base_model_data.get('creationTime')
if (verified_brand_data := base_model_data.get('verifiedBrand')):
self.verified_brand._scrape(verified_brand_data)
class CacBrandState(Parser):
def __init__(self):
self.state: str = ""
self.admin_id: str = ""
self.reason: str = ""
self.limits: CacLimits = CacLimits()
self.brand_setup: str = ""
self.creation_flow: str = ""
self.update_timestamp: str = ""
def _scrape(self, brand_state_data: Dict[str, any]):
self.state = brand_state_data.get('state')
self.admin_id = brand_state_data.get('adminId')
self.reason = brand_state_data.get('reason')
if (limits_data := brand_state_data.get('limits')):
self.limits._scrape(limits_data)
self.brand_setup = brand_state_data.get('brandSetup')
self.creation_flow = brand_state_data.get('creationFlow')
self.update_timestamp = brand_state_data.get('updateTimestamp')
class CacLimits(Parser):
def __init__(self):
self.approval_quota_multiplier: int = 0
self.max_domain_count: int = 0
self.default_max_client_count: int = 0
def _scrape(self, limits_data: Dict[str, int]):
self.approval_quota_multiplier = limits_data.get('approvalQuotaMultiplier')
self.max_domain_count = limits_data.get('maxDomainCount')
self.default_max_client_count = limits_data.get('defaultMaxClientCount')
class CacReview(Parser):
def __init__(self):
self.has_abuse_verdict: bool = False
self.is_published: bool = False
self.review_state: str = ""
self.high_risk_scopes_privilege: str = ""
self.low_risk_scopes: List[list] = []
self.pending_scopes: List[list] = []
self.exempt_scopes: List[list] = []
self.approved_scopes: List[list] = []
self.historical_approved_scopes: List[list] = []
self.pending_domains: List[str] = []
self.approved_domains: List[list] = []
self.enforce_request_scopes: bool = False
self.category: List[list] = []
self.decision_timestamp: str = ""
def _scrape(self, review_data: Dict[str, any]):
self.has_abuse_verdict = review_data.get('hasAbuseVerdict')
self.is_published = review_data.get('isPublished')
self.review_state = review_data.get('reviewState')
self.high_risk_scopes_privilege = review_data.get('highRiskScopesPrivilege')
self.low_risk_scopes = review_data.get('lowRiskScopes')
self.pending_scopes = review_data.get('pendingScopes')
self.exempt_scopes = review_data.get('exemptScopes')
self.approved_scopes = review_data.get('approvedScopes')
self.historical_approved_scopes = review_data.get('historicalApprovedScopes')
self.pending_domains = review_data.get('pendingDomains')
self.approved_domains = review_data.get('approvedDomains')
self.enforce_request_scopes = review_data.get('enforceRequestScopes')
self.category = review_data.get('category')
self.decision_timestamp = review_data.get('decisionTimestamp')
class CacRiscConfiguration(Parser):
def __init__(self):
self.enabled: bool = False
self.delivery_method: str = ""
self.receiver_supported_event_type: List[list] = []
self.legal_agreement: List[str] = []
def _scrape(self, risc_configuration_data: Dict[str, any]):
self.enabled = risc_configuration_data.get('enabled')
self.delivery_method = risc_configuration_data.get('deliveryMethod')
self.receiver_supported_event_type = risc_configuration_data.get('receiverSupportedEventType')
self.legal_agreement = risc_configuration_data.get('legalAgreement')
class CacVerifiedBrand(Parser):
def __init__(self):
self.display_name: CacDisplayName = CacDisplayName()
self.stored_icon_url: CacStoredIconUrl = CacStoredIconUrl()
self.support_email: CacSupportEmail = CacSupportEmail()
self.home_page_url: CacHomePageUrl = CacHomePageUrl()
self.privacy_policy_url: CacPrivacyPolicyUrl = CacPrivacyPolicyUrl()
self.terms_of_service_url: CacTermsOfServiceUrl = CacTermsOfServiceUrl()
def _scrape(self, verified_brand_data: Dict[str, any]):
if (display_name_data := verified_brand_data.get('displayName')):
self.display_name._scrape(display_name_data)
if (stored_icon_url_data := verified_brand_data.get('storedIconUrl')):
self.stored_icon_url._scrape(stored_icon_url_data)
if (support_email_data := verified_brand_data.get('supportEmail')):
self.support_email._scrape(support_email_data)
if (home_page_url_data := verified_brand_data.get('homePageUrl')):
self.home_page_url._scrape(home_page_url_data)
if (privacy_policy_url_data := verified_brand_data.get('privacyPolicyUrl')):
self.privacy_policy_url._scrape(privacy_policy_url_data)
if (terms_of_service_url_data := verified_brand_data.get('termsOfServiceUrl')):
self.terms_of_service_url._scrape(terms_of_service_url_data)
class CacDisplayName(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, display_name_data: Dict[str, str]):
self.value = display_name_data.get('value')
self.reason = display_name_data.get('reason')
class CacStoredIconUrl(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, stored_icon_url_data: Dict[str, str]):
self.value = stored_icon_url_data.get('value')
self.reason = stored_icon_url_data.get('reason')
class CacSupportEmail(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, support_email_data: Dict[str, str]):
self.value = support_email_data.get('value')
self.reason = support_email_data.get('reason')
class CacHomePageUrl(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, home_page_url_data: Dict[str, str]):
self.value = home_page_url_data.get('value')
self.reason = home_page_url_data.get('reason')
class CacPrivacyPolicyUrl(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, privacy_policy_url_data: Dict[str, str]):
self.value = privacy_policy_url_data.get('value')
self.reason = privacy_policy_url_data.get('reason')
class CacTermsOfServiceUrl(Parser):
def __init__(self):
self.value: str = ""
self.reason: str = ""
def _scrape(self, terms_of_service_url_data: Dict[str, str]):
self.value = terms_of_service_url_data.get('value')
self.reason = terms_of_service_url_data.get('reason')
================================================
FILE: ghunt/parsers/digitalassetslinks.py
================================================
from typing import *
from ghunt.objects.apis import Parser
class DalStatements(Parser):
def __init__(self):
self.statements: List[DalStatement] = []
self.max_age: str = ""
self.debug_string: str = ""
def _scrape(self, digital_assets_links_base_model_data: Dict[str, any]):
if (statements_data := digital_assets_links_base_model_data.get('statements')):
for statements_data_item in statements_data:
statements_item = DalStatement()
statements_item._scrape(statements_data_item)
self.statements.append(statements_item)
self.max_age = digital_assets_links_base_model_data.get('maxAge')
self.debug_string = digital_assets_links_base_model_data.get('debugString')
class DalStatement(Parser):
def __init__(self):
self.source: DalSource = DalSource()
self.relation: str = ""
self.target: DalTarget = DalTarget()
def _scrape(self, digital_assets_links_unknown_model1_data: Dict[str, any]):
if (source_data := digital_assets_links_unknown_model1_data.get('source')):
self.source._scrape(source_data)
self.relation = digital_assets_links_unknown_model1_data.get('relation')
if (target_data := digital_assets_links_unknown_model1_data.get('target')):
self.target._scrape(target_data)
class DalSource(Parser):
def __init__(self):
self.web: DalWeb = DalWeb()
def _scrape(self, digital_assets_links_source_data: Dict[str, any]):
if (web_data := digital_assets_links_source_data.get('web')):
self.web._scrape(web_data)
class DalWeb(Parser):
def __init__(self):
self.site: str = ""
def _scrape(self, digital_assets_links_web_data: Dict[str, str]):
self.site = digital_assets_links_web_data.get('site')
class DalTarget(Parser):
def __init__(self):
self.android_app: DalAndroidApp = DalAndroidApp()
self.web: DalWeb = DalWeb()
def _scrape(self, digital_assets_links_target_data: Dict[str, any]):
if (android_app_data := digital_assets_links_target_data.get('androidApp')):
self.android_app._scrape(android_app_data)
if (web_data := digital_assets_links_target_data.get('web')):
self.web._scrape(web_data)
class DalAndroidApp(Parser):
def __init__(self):
self.package_name: str = ""
self.certificate: DalCertificate = DalCertificate()
def _scrape(self, digital_assets_links_android_app_data: Dict[str, any]):
self.package_name = digital_assets_links_android_app_data.get('packageName')
if (certificate_data := digital_assets_links_android_app_data.get('certificate')):
self.certificate._scrape(certificate_data)
class DalCertificate(Parser):
def __init__(self):
self.sha_fingerprint: str = ""
def _scrape(self, digital_assets_links_certificate_data: Dict[str, str]):
self.sha_fingerprint = digital_assets_links_certificate_data.get('sha256Fingerprint')
================================================
FILE: ghunt/parsers/drive.py
================================================
from typing import *
from datetime import datetime
from ghunt.helpers.utils import get_datetime_utc
from ghunt.objects.apis import Parser
class DriveFile(Parser):
def __init__(self):
self.kind: str = ""
self.id: str = ""
self.thumbnail_version: str = ""
self.title: str = ""
self.mime_type: str = ""
self.labels: DriveLabels = DriveLabels()
self.created_date: datetime = None
self.modified_date: datetime = None
self.last_viewed_by_me_date: datetime = None
self.marked_viewed_by_me_date: datetime = None
self.shared_with_me_date: datetime = None
self.recency: datetime = None
self.recency_reason: str = ""
self.version: str = ""
self.parents: List[DriveParentReference] = []
self.user_permission: DrivePermission = DrivePermission()
self.file_extension: str = ""
self.file_size: str = ""
self.quota_bytes_used: str = ""
self.owners: List[DriveUser] = []
self.last_modifying_user: DriveUser = DriveUser()
self.capabilities: DriveCapabilities = DriveCapabilities()
self.copyable: bool = False
self.shared: bool = False
self.explicitly_trashed: bool = False
self.authorized_app_ids: List[str] = []
self.primary_sync_parent_id: str = ""
self.subscribed: bool = False
self.passively_subscribed: bool = False
self.flagged_for_abuse: bool = False
self.abuse_is_appealable: bool = False
self.source_app_id: str = ""
self.spaces: List[str] = []
self.has_thumbnail: bool = False
self.contains_unsubscribed_children: bool = False
self.alternate_link: str = ""
self.icon_link: str = ""
self.copy_requires_writer_permission: bool = False
self.permissions: List[DrivePermission] = []
self.head_revision_id: str = ""
self.video_media_metadata: DriveVideoMediaMetadata = DriveVideoMediaMetadata()
self.has_legacy_blob_comments: bool = False
self.label_info: DriveLabelInfo = DriveLabelInfo()
self.web_content_link: str = ""
self.thumbnail_link: str = ""
self.description: str = ""
self.original_filename: str = ""
self.permissions_summary: DrivePermissionsSummary = DrivePermissionsSummary()
self.full_file_extension: str = ""
self.md5_checksum: str = ""
self.owned_by_me: bool = False
self.writers_can_share: bool = False
self.image_media_metadata: DriveImageMediaMetadata = DriveImageMediaMetadata()
self.is_app_authorized: bool = False
self.link_share_metadata: DriveLinkShareMetadata = DriveLinkShareMetadata()
self.etag: str = ""
self.self_link: str = ""
self.embed_link: str = ""
self.open_with_links: DriveOpenWithLinks = DriveOpenWithLinks()
self.default_open_with_link: str = ""
self.has_child_folders: bool = False
self.owner_names: List[str] = []
self.last_modifying_user_name: str = ""
self.editable: bool = False
self.app_data_contents: bool = False
self.drive_source: DriveSource = DriveSource()
self.source: DriveSource = DriveSource()
self.descendant_of_root: bool = False
self.folder_color: str = ""
self.folder_properties: DriveFolderProperties = DriveFolderProperties()
self.resource_key: str = ""
self.has_augmented_permissions: bool = False
self.ancestor_has_augmented_permissions: bool = False
self.has_visitor_permissions: bool = False
self.primary_domain_name: str = ""
self.organization_display_name: str = ""
self.customer_id: str = ""
self.team_drive_id: str = ""
self.folder_color_rgb: str = ""
def _scrape(self, file_data: Dict[str, any]):
self.kind = file_data.get('kind')
self.id = file_data.get('id')
self.thumbnail_version = file_data.get('thumbnailVersion')
self.title = file_data.get('title')
self.mime_type = file_data.get('mimeType')
if (labels_data := file_data.get('labels')):
self.labels._scrape(labels_data)
if (isodate := file_data.get("createdDate")):
self.created_date = get_datetime_utc(isodate)
if (isodate := file_data.get("modifiedDate")):
self.modified_date = get_datetime_utc(isodate)
if (isodate := file_data.get("lastViewedByMeDate")):
self.last_viewed_by_me_date = get_datetime_utc(isodate)
if (isodate := file_data.get("markedViewedByMeDate")):
self.marked_viewed_by_me_date = get_datetime_utc(isodate)
if (isodate := file_data.get("sharedWithMeDate")):
self.shared_with_me_date = get_datetime_utc(isodate)
if (isodate := file_data.get("recency")):
self.recency = get_datetime_utc(isodate)
self.recency_reason = file_data.get('recencyReason')
self.version = file_data.get('version')
if (parents_data := file_data.get('parents')):
for parents_data_item in parents_data:
parents_item = DriveParentReference()
parents_item._scrape(parents_data_item)
self.parents.append(parents_item)
if (user_permission_data := file_data.get('userPermission')):
self.user_permission._scrape(user_permission_data)
self.file_extension = file_data.get('fileExtension')
self.file_size = file_data.get('fileSize')
self.quota_bytes_used = file_data.get('quotaBytesUsed')
if (owners_data := file_data.get('owners')):
for owners_data_item in owners_data:
owners_item = DriveUser()
owners_item._scrape(owners_data_item)
self.owners.append(owners_item)
if (last_modifying_user_data := file_data.get('lastModifyingUser')):
self.last_modifying_user._scrape(last_modifying_user_data)
if (capabilities_data := file_data.get('capabilities')):
self.capabilities._scrape(capabilities_data)
self.copyable = file_data.get('copyable')
self.shared = file_data.get('shared')
self.explicitly_trashed = file_data.get('explicitlyTrashed')
self.authorized_app_ids = file_data.get('authorizedAppIds')
self.primary_sync_parent_id = file_data.get('primarySyncParentId')
self.subscribed = file_data.get('subscribed')
self.passively_subscribed = file_data.get('passivelySubscribed')
self.flagged_for_abuse = file_data.get('flaggedForAbuse')
self.abuse_is_appealable = file_data.get('abuseIsAppealable')
self.source_app_id = file_data.get('sourceAppId')
self.spaces = file_data.get('spaces')
self.has_thumbnail = file_data.get('hasThumbnail')
self.contains_unsubscribed_children = file_data.get('containsUnsubscribedChildren')
self.alternate_link = file_data.get('alternateLink')
self.icon_link = file_data.get('iconLink')
self.copy_requires_writer_permission = file_data.get('copyRequiresWriterPermission')
if (permissions_data := file_data.get('permissions')):
for permissions_data_item in permissions_data:
permissions_item = DrivePermission()
permissions_item._scrape(permissions_data_item)
self.permissions.append(permissions_item)
self.head_revision_id = file_data.get('headRevisionId')
if (video_media_metadata_data := file_data.get('videoMediaMetadata')):
self.video_media_metadata._scrape(video_media_metadata_data)
self.has_legacy_blob_comments = file_data.get('hasLegacyBlobComments')
if (label_info_data := file_data.get('labelInfo')):
self.label_info._scrape(label_info_data)
self.web_content_link = file_data.get('webContentLink')
self.thumbnail_link = file_data.get('thumbnailLink')
self.description = file_data.get('description')
self.original_filename = file_data.get('originalFilename')
if (permissions_summary_data := file_data.get('permissionsSummary')):
self.permissions_summary._scrape(permissions_summary_data)
self.full_file_extension = file_data.get('fullFileExtension')
self.md5_checksum = file_data.get('md5Checksum')
self.owned_by_me = file_data.get('ownedByMe')
self.writers_can_share = file_data.get('writersCanShare')
if (image_media_metadata_data := file_data.get('imageMediaMetadata')):
self.image_media_metadata._scrape(image_media_metadata_data)
self.is_app_authorized = file_data.get('isAppAuthorized')
if (link_share_metadata_data := file_data.get('linkShareMetadata')):
self.link_share_metadata._scrape(link_share_metadata_data)
self.etag = file_data.get('etag')
self.self_link = file_data.get('selfLink')
self.embed_link = file_data.get('embedLink')
if (open_with_links_data := file_data.get('openWithLinks')):
self.open_with_links._scrape(open_with_links_data)
self.default_open_with_link = file_data.get('defaultOpenWithLink')
self.has_child_folders = file_data.get('hasChildFolders')
self.owner_names = file_data.get('ownerNames')
self.last_modifying_user_name = file_data.get('lastModifyingUserName')
self.editable = file_data.get('editable')
self.app_data_contents = file_data.get('appDataContents')
if (drive_source_data := file_data.get('driveSource')):
self.drive_source._scrape(drive_source_data)
if (source_data := file_data.get('source')):
self.source._scrape(source_data)
self.descendant_of_root = file_data.get('descendantOfRoot')
self.folder_color = file_data.get('folderColor')
if (folder_properties_data := file_data.get('folderProperties')):
self.folder_properties._scrape(folder_properties_data)
self.resource_key = file_data.get('resourceKey')
self.has_augmented_permissions = file_data.get('hasAugmentedPermissions')
self.ancestor_has_augmented_permissions = file_data.get('ancestorHasAugmentedPermissions')
self.has_visitor_permissions = file_data.get('hasVisitorPermissions')
self.primary_domain_name = file_data.get('primaryDomainName')
self.organization_display_name = file_data.get('organizationDisplayName')
self.customer_id = file_data.get('customerId')
self.team_drive_id = file_data.get('teamDriveId')
self.folder_color_rgb = file_data.get('folderColorRgb')
class DriveLabels(Parser):
def __init__(self):
self.starred: bool = False
self.trashed: bool = False
self.restricted: bool = False
self.viewed: bool = False
self.hidden: bool = False
self.modified: bool = False
def _scrape(self, labels_data: Dict[str, bool]):
self.starred = labels_data.get('starred')
self.trashed = labels_data.get('trashed')
self.restricted = labels_data.get('restricted')
self.viewed = labels_data.get('viewed')
self.hidden = labels_data.get('hidden')
self.modified = labels_data.get('modified')
class DriveUserPermission(Parser):
def __init__(self):
self.role: str = ""
self.id: str = ""
self.type: str = ""
def _scrape(self, user_permission_data: Dict[str, str]):
self.role = user_permission_data.get('role')
self.id = user_permission_data.get('id')
self.type = user_permission_data.get('type')
class DriveUser(Parser):
def __init__(self):
self.kind: str = ""
self.id: str = ""
self.permission_id: str = ""
self.email_address_from_account: str = ""
self.display_name: str = ""
self.picture: DrivePicture = DrivePicture()
self.is_authenticated_user: bool = False
self.email_address: str = ""
def _scrape(self, user_data: Dict[str, any]):
self.kind = user_data.get('kind')
self.id = user_data.get('id')
self.permission_id = user_data.get('permissionId')
self.email_address_from_account = user_data.get('emailAddressFromAccount')
self.display_name = user_data.get('displayName')
if (picture_data := user_data.get('picture')):
self.picture._scrape(picture_data)
self.is_authenticated_user = user_data.get('isAuthenticatedUser')
self.email_address = user_data.get('emailAddress')
class DriveCapabilities(Parser):
def __init__(self):
self.can_add_children: bool = False
self.can_add_my_drive_parent: bool = False
self.can_block_owner: bool = False
self.can_change_security_update_enabled: bool = False
self.can_copy: bool = False
self.can_delete: bool = False
self.can_download: bool = False
self.can_edit: bool = False
self.can_edit_category_metadata: bool = False
self.can_request_approval: bool = False
self.can_move_children_within_drive: bool = False
self.can_move_item_into_team_drive: bool = False
self.can_move_item_within_drive: bool = False
self.can_read: bool = False
self.can_read_category_metadata: bool = False
self.can_remove_children: bool = False
self.can_remove_my_drive_parent: bool = False
self.can_rename: bool = False
self.can_share: bool = False
self.can_share_child_files: bool = False
self.can_share_child_folders: bool = False
self.can_trash: bool = False
self.can_untrash: bool = False
self.can_comment: bool = False
self.can_move_item_out_of_drive: bool = False
self.can_add_as_owner: bool = False
self.can_add_as_organizer: bool = False
self.can_add_as_file_organizer: bool = False
self.can_add_as_writer: bool = False
self.can_add_as_commenter: bool = False
self.can_add_as_reader: bool = False
self.can_change_to_owner: bool = False
self.can_change_to_organizer: bool = False
self.can_change_to_file_organizer: bool = False
self.can_change_to_writer: bool = False
self.can_change_to_commenter: bool = False
self.can_change_to_reader: bool = False
self.can_change_to_reader_on_published_view: bool = False
self.can_remove: bool = False
self.can_accept_ownership: bool = False
self.can_add_encrypted_children: bool = False
self.can_change_copy_requires_writer_permission: bool = False
self.can_change_permission_expiration: bool = False
self.can_change_restricted_download: bool = False
self.can_change_writers_can_share: bool = False
self.can_create_decrypted_copy: bool = False
self.can_create_encrypted_copy: bool = False
self.can_list_children: bool = False
self.can_manage_members: bool = False
self.can_manage_visitors: bool = False
self.can_modify_content: bool = False
self.can_modify_content_restriction: bool = False
self.can_modify_labels: bool = False
self.can_print: bool = False
self.can_read_all_permissions: bool = False
self.can_read_labels: bool = False
self.can_read_revisions: bool = False
self.can_set_missing_required_fields: bool = False
self.can_share_as_commenter: bool = False
self.can_share_as_file_organizer: bool = False
self.can_share_as_organizer: bool = False
self.can_share_as_owner: bool = False
self.can_share_as_reader: bool = False
self.can_share_as_writer: bool = False
self.can_share_published_view_as_reader: bool = False
self.can_share_to_all_users: bool = False
self.can_add_folder_from_another_drive: bool = False
self.can_delete_children: bool = False
self.can_move_item_out_of_team_drive: bool = False
self.can_move_item_within_team_drive: bool = False
self.can_move_team_drive_item: bool = False
self.can_read_team_drive: bool = False
self.can_trash_children: bool = False
def _scrape(self, capabilities_data: Dict[str, bool]):
self.can_add_children = capabilities_data.get('canAddChildren')
self.can_add_my_drive_parent = capabilities_data.get('canAddMyDriveParent')
self.can_block_owner = capabilities_data.get('canBlockOwner')
self.can_change_security_update_enabled = capabilities_data.get('canChangeSecurityUpdateEnabled')
self.can_copy = capabilities_data.get('canCopy')
self.can_delete = capabilities_data.get('canDelete')
self.can_download = capabilities_data.get('canDownload')
self.can_edit = capabilities_data.get('canEdit')
self.can_edit_category_metadata = capabilities_data.get('canEditCategoryMetadata')
self.can_request_approval = capabilities_data.get('canRequestApproval')
self.can_move_children_within_drive = capabilities_data.get('canMoveChildrenWithinDrive')
self.can_move_item_into_team_drive = capabilities_data.get('canMoveItemIntoTeamDrive')
self.can_move_item_within_drive = capabilities_data.get('canMoveItemWithinDrive')
self.can_read = capabilities_data.get('canRead')
self.can_read_category_metadata = capabilities_data.get('canReadCategoryMetadata')
self.can_remove_children = capabilities_data.get('canRemoveChildren')
self.can_remove_my_drive_parent = capabilities_data.get('canRemoveMyDriveParent')
self.can_rename = capabilities_data.get('canRename')
self.can_share = capabilities_data.get('canShare')
self.can_share_child_files = capabilities_data.get('canShareChildFiles')
self.can_share_child_folders = capabilities_data.get('canShareChildFolders')
self.can_trash = capabilities_data.get('canTrash')
self.can_untrash = capabilities_data.get('canUntrash')
self.can_comment = capabilities_data.get('canComment')
self.can_move_item_out_of_drive = capabilities_data.get('canMoveItemOutOfDrive')
self.can_add_as_owner = capabilities_data.get('canAddAsOwner')
self.can_add_as_organizer = capabilities_data.get('canAddAsOrganizer')
self.can_add_as_file_organizer = capabilities_data.get('canAddAsFileOrganizer')
self.can_add_as_writer = capabilities_data.get('canAddAsWriter')
self.can_add_as_commenter = capabilities_data.get('canAddAsCommenter')
self.can_add_as_reader = capabilities_data.get('canAddAsReader')
self.can_change_to_owner = capabilities_data.get('canChangeToOwner')
self.can_change_to_organizer = capabilities_data.get('canChangeToOrganizer')
self.can_change_to_file_organizer = capabilities_data.get('canChangeToFileOrganizer')
self.can_change_to_writer = capabilities_data.get('canChangeToWriter')
self.can_change_to_commenter = capabilities_data.get('canChangeToCommenter')
self.can_change_to_reader = capabilities_data.get('canChangeToReader')
self.can_change_to_reader_on_published_view = capabilities_data.get('canChangeToReaderOnPublishedView')
self.can_remove = capabilities_data.get('canRemove')
self.can_accept_ownership = capabilities_data.get('canAcceptOwnership')
self.can_add_encrypted_children = capabilities_data.get('canAddEncryptedChildren')
self.can_change_copy_requires_writer_permission = capabilities_data.get('canChangeCopyRequiresWriterPermission')
self.can_change_permission_expiration = capabilities_data.get('canChangePermissionExpiration')
self.can_change_restricted_download = capabilities_data.get('canChangeRestrictedDownload')
self.can_change_writers_can_share = capabilities_data.get('canChangeWritersCanShare')
self.can_create_decrypted_copy = capabilities_data.get('canCreateDecryptedCopy')
self.can_create_encrypted_copy = capabilities_data.get('canCreateEncryptedCopy')
self.can_list_children = capabilities_data.get('canListChildren')
self.can_manage_members = capabilities_data.get('canManageMembers')
self.can_manage_visitors = capabilities_data.get('canManageVisitors')
self.can_modify_content = capabilities_data.get('canModifyContent')
self.can_modify_content_restriction = capabilities_data.get('canModifyContentRestriction')
self.can_modify_labels = capabilities_data.get('canModifyLabels')
self.can_print = capabilities_data.get('canPrint')
self.can_read_all_permissions = capabilities_data.get('canReadAllPermissions')
self.can_read_labels = capabilities_data.get('canReadLabels')
self.can_read_revisions = capabilities_data.get('canReadRevisions')
self.can_set_missing_required_fields = capabilities_data.get('canSetMissingRequiredFields')
self.can_share_as_commenter = capabilities_data.get('canShareAsCommenter')
self.can_share_as_file_organizer = capabilities_data.get('canShareAsFileOrganizer')
self.can_share_as_organizer = capabilities_data.get('canShareAsOrganizer')
self.can_share_as_owner = capabilities_data.get('canShareAsOwner')
self.can_share_as_reader = capabilities_data.get('canShareAsReader')
self.can_share_as_writer = capabilities_data.get('canShareAsWriter')
self.can_share_published_view_as_reader = capabilities_data.get('canSharePublishedViewAsReader')
self.can_share_to_all_users = capabilities_data.get('canShareToAllUsers')
self.can_add_folder_from_another_drive = capabilities_data.get('canAddFolderFromAnotherDrive')
self.can_delete_children = capabilities_data.get('canDeleteChildren')
self.can_move_item_out_of_team_drive = capabilities_data.get('canMoveItemOutOfTeamDrive')
self.can_move_item_within_team_drive = capabilities_data.get('canMoveItemWithinTeamDrive')
self.can_move_team_drive_item = capabilities_data.get('canMoveTeamDriveItem')
self.can_read_team_drive = capabilities_data.get('canReadTeamDrive')
self.can_trash_children = capabilities_data.get('canTrashChildren')
class DriveVideoMediaMetadata(Parser):
def __init__(self):
self.width: int = 0
self.height: int = 0
self.duration_millis: str = ""
def _scrape(self, video_media_metadata_data: Dict[str, any]):
self.width = video_media_metadata_data.get('width')
self.height = video_media_metadata_data.get('height')
self.duration_millis = video_media_metadata_data.get('durationMillis')
class DriveLabelInfo(Parser):
def __init__(self):
self.label_count: int = 0
self.incomplete: bool = False
def _scrape(self, label_info_data: Dict[str, any]):
self.label_count = label_info_data.get('labelCount')
self.incomplete = label_info_data.get('incomplete')
class DrivePermission(Parser):
def __init__(self):
self.kind: str = ""
self.id: str = ""
self.self_link: str = ""
self.role: str = ""
self.additional_roles: List[str] = []
self.type: str = ""
self.selectable_roles: List[list] = []
self.pending_owner: bool = False
self.with_link: bool = False
self.capabilities: DriveCapabilities = DriveCapabilities()
self.user_id: str = ""
self.name: str = ""
self.email_address: str = ""
self.domain: str = ""
self.photo_link: str = ""
self.deleted: bool = False
self.is_collaborator_account: bool = False
def _scrape(self, permission_data: Dict[str, any]):
self.kind = permission_data.get('kind')
self.id = permission_data.get('id')
self.self_link = permission_data.get('selfLink')
self.role = permission_data.get('role')
self.additional_roles = permission_data.get('additionalRoles', [])
self.type = permission_data.get('type')
self.selectable_roles = permission_data.get('selectableRoles')
self.pending_owner = permission_data.get('pendingOwner')
self.with_link = permission_data.get('withLink')
if (capabilities_data := permission_data.get('capabilities')):
self.capabilities._scrape(capabilities_data)
self.user_id = permission_data.get('userId')
self.name = permission_data.get('name')
self.email_address = permission_data.get('emailAddress')
self.domain = permission_data.get('domain')
self.photo_link = permission_data.get('photoLink')
self.deleted = permission_data.get('deleted')
self.is_collaborator_account = permission_data.get('isCollaboratorAccount')
class DrivePermissionsSummary(Parser):
def __init__(self):
self.entry_count: int = 0
self.visibility: List[DriveMiniPermission] = []
self.select_permissions: List[DrivePermission] = []
def _scrape(self, permissions_summary_data: Dict[str, any]):
self.entry_count = permissions_summary_data.get('entryCount')
if (visibility_data := permissions_summary_data.get('visibility')):
for visibility_data_item in visibility_data:
visibility_item = DriveMiniPermission()
visibility_item._scrape(visibility_data_item)
self.visibility.append(visibility_item)
if (select_permissions_data := permissions_summary_data.get('selectPermissions')):
for select_permissions_data_item in select_permissions_data:
select_permissions_item = DrivePermission()
select_permissions_item._scrape(select_permissions_data_item)
self.select_permissions.append(select_permissions_item)
class DriveMiniPermission(Parser):
def __init__(self):
self.permission_id: str = ""
self.role: str = ""
self.type: str = ""
self.with_link: bool = False
def _scrape(self, unknown_model4_data: Dict[str, any]):
self.permission_id = unknown_model4_data.get('permissionId')
self.role = unknown_model4_data.get('role')
self.type = unknown_model4_data.get('type')
self.with_link = unknown_model4_data.get('withLink')
class DrivePicture(Parser):
def __init__(self):
self.url: str = ""
def _scrape(self, picture_data: Dict[str, str]):
self.url = picture_data.get('url')
class DriveImageMediaMetadata(Parser):
def __init__(self):
self.width: int = 0
self.height: int = 0
self.rotation: int = 0
def _scrape(self, image_media_metadata_data: Dict[str, int]):
self.width = image_media_metadata_data.get('width')
self.height = image_media_metadata_data.get('height')
self.rotation = image_media_metadata_data.get('rotation')
class DriveLinkShareMetadata(Parser):
def __init__(self):
self.security_update_eligible: bool = False
self.security_update_enabled: bool = False
self.security_update_change_disabled_reason: str = ""
self.security_update_explicitly_set: bool = False
def _scrape(self, link_share_metadata_data: Dict[str, any]):
self.security_update_eligible = link_share_metadata_data.get('securityUpdateEligible')
self.security_update_enabled = link_share_metadata_data.get('securityUpdateEnabled')
self.security_update_change_disabled_reason = link_share_metadata_data.get('securityUpdateChangeDisabledReason')
self.security_update_explicitly_set = link_share_metadata_data.get('securityUpdateExplicitlySet')
class DriveChildList(Parser):
def __init__(self):
self.kind: str = ""
self.etag: str = ""
self.self_link: str = ""
self.items: List[DriveChildReference] = []
def _scrape(self, child_list_data: Dict[str, any]):
self.kind = child_list_data.get('kind')
self.etag = child_list_data.get('etag')
self.self_link = child_list_data.get('selfLink')
if (items_data := child_list_data.get('items')):
for items_data_item in items_data:
items_item = DriveChildReference()
items_item._scrape(items_data_item)
self.items.append(items_item)
class DriveChildReference(Parser):
def __init__(self):
self.id: str = ""
self.self_link: str = ""
self.kind: str = ""
self.child_link: str = ""
def _scrape(self, child_reference_data: Dict[str, str]):
self.id = child_reference_data.get('id')
self.self_link = child_reference_data.get('selfLink')
self.kind = child_reference_data.get('kind')
self.child_link = child_reference_data.get('childLink')
class DriveApp(Parser):
def __init__(self):
self.kind: str = ""
self.id: str = ""
self.name: str = ""
self.type: str = ""
self.short_description: str = ""
self.long_description: str = ""
self.supports_create: bool = False
self.supports_import: bool = False
self.supports_multi_open: bool = False
self.supports_offline_create: bool = False
self.supports_mobile_browser: bool = False
self.installed: bool = False
self.authorized: bool = False
self.drive_branded_app: bool = False
self.drive_branded: bool = False
self.hidden: bool = False
self.removable: bool = False
self.has_drive_wide_scope: bool = False
self.use_by_default: bool = False
self.primary_mime_types: List[str] = []
self.requires_authorization_before_open_with: bool = False
self.supports_team_drives: bool = False
self.supports_all_drives: bool = False
def _scrape(self, app_data: Dict[str, any]):
self.kind = app_data.get('kind')
self.id = app_data.get('id')
self.name = app_data.get('name')
self.type = app_data.get('type')
self.short_description = app_data.get('shortDescription')
self.long_description = app_data.get('longDescription')
self.supports_create = app_data.get('supportsCreate')
self.supports_import = app_data.get('supportsImport')
self.supports_multi_open = app_data.get('supportsMultiOpen')
self.supports_offline_create = app_data.get('supportsOfflineCreate')
self.supports_mobile_browser = app_data.get('supportsMobileBrowser')
self.installed = app_data.get('installed')
self.authorized = app_data.get('authorized')
self.drive_branded_app = app_data.get('driveBrandedApp')
self.drive_branded = app_data.get('driveBranded')
self.hidden = app_data.get('hidden')
self.removable = app_data.get('removable')
self.has_drive_wide_scope = app_data.get('hasDriveWideScope')
self.use_by_default = app_data.get('useByDefault')
self.primary_mime_types = app_data.get('primaryMimeTypes')
self.requires_authorization_before_open_with = app_data.get('requiresAuthorizationBeforeOpenWith')
self.supports_team_drives = app_data.get('supportsTeamDrives')
self.supports_all_drives = app_data.get('supportsAllDrives')
class DriveOpenWithLinks(Parser):
def __init__(self):
self.digitsfield: str = ""
def _scrape(self, open_with_links_data: Dict[str, str]):
self.digitsfield = open_with_links_data.get('digits_field')
class DriveParentReference(Parser):
def __init__(self):
self.kind: str = ""
self.id: str = ""
self.self_link: str = ""
self.parent_link: str = ""
self.is_root: bool = False
def _scrape(self, parent_reference_data: Dict[str, any]):
self.kind = parent_reference_data.get('kind')
self.id = parent_reference_data.get('id')
self.self_link = parent_reference_data.get('selfLink')
self.parent_link = parent_reference_data.get('parentLink')
self.is_root = parent_reference_data.get('isRoot')
class DriveSource(Parser):
def __init__(self):
self.client_service_id: str = ""
self.value: str = ""
def _scrape(self, source_data: Dict[str, str]):
self.client_service_id = source_data.get('clientServiceId')
self.value = source_data.get('value')
class DriveFolderProperties(Parser):
def __init__(self):
self.psyncho_root: bool = False
self.psyncho_folder: bool = False
self.machine_root: bool = False
self.arbitrary_sync_folder: bool = False
self.external_media: bool = False
self.photos_and_videos_only: bool = False
def _scrape(self, folder_properties_data: Dict[str, bool]):
self.psyncho_root = folder_properties_data.get('psynchoRoot')
self.psyncho_folder = folder_properties_data.get('psynchoFolder')
self.machine_root = folder_properties_data.get('machineRoot')
self.arbitrary_sync_folder = folder_properties_data.get('arbitrarySyncFolder')
self.external_media = folder_properties_data.get('externalMedia')
self.photos_and_videos_only = folder_properties_data.get('photosAndVideosOnly')
class DriveCommentList(Parser):
def __init__(self):
self.kind: str = ""
self.self_link: str = ""
self.items: List[DriveComment] = []
def _scrape(self, comment_list_data: Dict[str, any]):
self.kind = comment_list_data.get('kind')
self.self_link = comment_list_data.get('selfLink')
if (items_data := comment_list_data.get('items')):
for items_data_item in items_data:
items_item = DriveComment()
items_item._scrape(items_data_item)
self.items.append(items_item)
class DriveComment(Parser):
def __init__(self):
self.comment_id: str = ""
self.kind: str = ""
self.created_date: str = ""
self.modified_date: str = ""
self.file_id: str = ""
self.status: str = ""
self.anchor: str = ""
self.replies: List[DriveCommentReply] = []
self.author: DriveUser = DriveUser()
self.deleted: bool = False
self.html_content: str = ""
self.content: str = ""
self.context: DriveCommentContext = DriveCommentContext()
self.file_title: str = ""
def _scrape(self, comment_data: Dict[str, any]):
self.comment_id = comment_data.get('commentId')
self.kind = comment_data.get('kind')
self.created_date = comment_data.get('createdDate')
self.modified_date = comment_data.get('modifiedDate')
self.file_id = comment_data.get('fileId')
self.status = comment_data.get('status')
self.anchor = comment_data.get('anchor')
if (replies_data := comment_data.get('replies')):
for replies_data_item in replies_data:
replies_item = DriveCommentReply()
replies_item._scrape(replies_data_item)
self.replies.append(replies_item)
if (author_data := comment_data.get('author')):
self.author._scrape(author_data)
self.deleted = comment_data.get('deleted')
self.html_content = comment_data.get('htmlContent')
self.content = comment_data.get('content')
if (context_data := comment_data.get('context')):
self.context._scrape(context_data)
self.file_title = comment_data.get('fileTitle')
class DriveCommentContext(Parser):
def __init__(self):
self.type: str = ""
self.value: str = ""
def _scrape(self, context_data: Dict[str, str]):
self.type = context_data.get('type')
self.value = context_data.get('value')
class DriveCommentReply(Parser):
def __init__(self):
self.reply_id: str = ""
self.kind: str = ""
self.created_date: str = ""
self.modified_date: str = ""
self.author: DriveUser = DriveUser()
self.deleted: bool = False
self.html_content: str = ""
self.content: str = ""
def _scrape(self, comment_reply_data: Dict[str, any]):
self.reply_id = comment_reply_data.get('replyId')
self.kind = comment_reply_data.get('kind')
self.created_date = comment_reply_data.get('createdDate')
self.modified_date = comment_reply_data.get('modifiedDate')
if (author_data := comment_reply_data.get('author')):
self.author._scrape(author_data)
self.deleted = comment_reply_data.get('deleted')
self.html_content = comment_reply_data.get('htmlContent')
self.content = comment_reply_data.get('content')
================================================
FILE: ghunt/parsers/geolocate.py
================================================
from ghunt.objects.apis import Parser
from ghunt.objects.base import Position
from typing import *
class GeolocationResponse(Parser):
def __init__(self):
self.accuracy: int = 0
self.location: Position = Position()
def _scrape(self, base_model_data: dict[str, any]):
self.accuracy = base_model_data.get("accuracy")
location = base_model_data.get("location")
self.location.longitude = location.get("lng")
self.location.latitude = location.get("lat")
================================================
FILE: ghunt/parsers/identitytoolkit.py
================================================
from typing import *
from ghunt.objects.apis import Parser
class ITKProjectConfig(Parser):
def __init__(self):
self.project_id: str = ""
self.authorized_domains: List[str] = []
def _scrape(self, itk_project_config_data: Dict[str, any]):
self.project_id = itk_project_config_data.get('projectId')
self.authorized_domains = itk_project_config_data.get('authorizedDomains')
class ITKPublicKeys(Parser):
def __init__(self):
self.sk_ib_ng: str = ""
self.t_xew: str = ""
self.p_r_ww: str = ""
self.t_bma: str = ""
self.tl_gyha: str = ""
def _scrape(self, itk_public_keys_data: Dict[str, str]):
self.sk_ib_ng = itk_public_keys_data.get('skIBNg')
self.t_xew = itk_public_keys_data.get('7TX2ew')
self.p_r_ww = itk_public_keys_data.get('0pR3Ww')
self.t_bma = itk_public_keys_data.get('tB0M2A')
self.tl_gyha = itk_public_keys_data.get('tlGYHA')
class ITKSessionCookiePublicKeys(Parser):
def __init__(self):
self.keys: List[ITKSessionCookiePublicKey] = []
def _scrape(self, itk_session_cookie_public_keys_data: Dict[str, list]):
if (keys_data := itk_session_cookie_public_keys_data.get('keys')):
for keys_data_item in keys_data:
keys_item = ITKSessionCookiePublicKey()
keys_item._scrape(keys_data_item)
self.keys.append(keys_item)
class ITKSessionCookiePublicKey(Parser):
def __init__(self):
self.kty: str = ""
self.alg: str = ""
self.use: str = ""
self.kid: str = ""
self.n: str = ""
self.e: str = ""
def _scrape(self, itk_session_cookie_public_key_data: Dict[str, str]):
self.kty = itk_session_cookie_public_key_data.get('kty')
self.alg = itk_session_cookie_public_key_data.get('alg')
self.use = itk_session_cookie_public_key_data.get('use')
self.kid = itk_session_cookie_public_key_data.get('kid')
self.n = itk_session_cookie_public_key_data.get('n')
self.e = itk_session_cookie_public_key_data.get('e')
class ITKSignupNewUser(Parser):
def __init__(self):
self.kind: str = ""
self.id_token: str = ""
self.email: str = ""
self.refresh_token: str = ""
self.expires_in: str = ""
self.local_id: str = ""
def _scrape(self, itk_signup_data: Dict[str, str]):
self.kind = itk_signup_data.get('kind')
self.id_token = itk_signup_data.get('idToken')
self.email = itk_signup_data.get('email')
self.refresh_token = itk_signup_data.get('refreshToken')
self.expires_in = itk_signup_data.get('expiresIn')
self.local_id = itk_signup_data.get('localId')
class ITKVerifyPassword(Parser):
def __init__(self):
self.kind: str = ""
self.local_id: str = ""
self.email: str = ""
self.display_name: str = ""
self.id_token: str = ""
self.registered: bool = False
self.refresh_token: str = ""
self.expires_in: str = ""
def _scrape(self, itk_verify_password_data: Dict[str, any]):
self.kind = itk_verify_password_data.get('kind')
self.local_id = itk_verify_password_data.get('localId')
self.email = itk_verify_password_data.get('email')
self.display_name = itk_verify_password_data.get('displayName')
self.id_token = itk_verify_password_data.get('idToken')
self.registered = itk_verify_password_data.get('registered')
self.refresh_token = itk_verify_password_data.get('refreshToken')
self.expires_in = itk_verify_password_data.get('expiresIn')
================================================
FILE: ghunt/parsers/mobilesdk.py
================================================
from typing import *
from ghunt.objects.apis import Parser
class MobileSDKDynamicConfig(Parser):
def __init__(self):
self.database_url: str = ""
self.storage_bucket: str = ""
self.auth_domain: str = ""
self.messaging_sender_id: str = ""
self.project_id: str = ""
def _scrape(self, dynamic_config_base_model_data: Dict[str, str]):
self.database_url = dynamic_config_base_model_data.get('databaseURL')
self.storage_bucket = dynamic_config_base_model_data.get('storageBucket')
self.auth_domain = dynamic_config_base_model_data.get('authDomain')
self.messaging_sender_id = dynamic_config_base_model_data.get('messagingSenderId')
self.project_id = dynamic_config_base_model_data.get('projectId')
================================================
FILE: ghunt/parsers/people.py
================================================
from typing import *
from datetime import datetime
from ghunt.errors import *
from ghunt.helpers.utils import is_default_profile_pic, unicode_patch
from ghunt.objects.apis import Parser
import httpx
import imagehash
class PersonGplusExtendedData(Parser):
def __init__(self):
self.contentRestriction: str = ""
self.isEntrepriseUser: bool = False
def _scrape(self, gplus_data):
self.contentRestriction = gplus_data.get("contentRestriction")
if (isEnterpriseUser := gplus_data.get("isEnterpriseUser")):
self.isEntrepriseUser = isEnterpriseUser
class PersonDynamiteExtendedData(Parser):
def __init__(self):
self.presence: str = ""
self.entityType: str = ""
self.dndState: str = ""
self.customerId: str = ""
def _scrape(self, dynamite_data):
self.presence = dynamite_data.get("presence")
self.entityType = dynamite_data.get("entityType")
self.dndState = dynamite_data.get("dndState")
if (customerId := dynamite_data.get("organizationInfo", {}).get("customerInfo", {}).
get("customerId", {}).get("customerId")):
self.customerId = customerId
class PersonExtendedData(Parser):
def __init__(self):
self.dynamiteData: PersonDynamiteExtendedData = PersonDynamiteExtendedData()
self.gplusData: PersonGplusExtendedData = PersonGplusExtendedData()
def _scrape(self, extended_data: Dict[str, any]):
if (dynamite_data := extended_data.get("dynamiteExtendedData")):
self.dynamiteData._scrape(dynamite_data)
if (gplus_data := extended_data.get("gplusExtendedData")):
self.gplusData._scrape(gplus_data)
class PersonPhoto(Parser):
def __init__(self):
self.url: str = ""
self.isDefault: bool = False
self.flathash: str = None
async def _scrape(self, as_client: httpx.AsyncClient, photo_data: Dict[str, any], photo_type: str):
if photo_type == "profile_photo":
self.url = photo_data.get("url")
self.isDefault, self.flathash = await is_default_profile_pic(as_client, self.url)
elif photo_type == "cover_photo":
self.url = '='.join(photo_data.get("imageUrl").split("=")[:-1])
if (isDefault := photo_data.get("isDefault")):
self.isDefault = isDefault
else:
raise GHuntAPIResponseParsingError(f'The provided photo type "{photo_type}" weren\'t recognized.')
class PersonEmail(Parser):
def __init__(self):
self.value: str = ""
def _scrape(self, email_data: Dict[str, any]):
self.value = email_data.get("value")
class PersonName(Parser):
def __init__(self):
self.fullname: str = ""
self.firstName: str = ""
self.lastName: str = ""
def _scrape(self, name_data: Dict[str, any]):
# self.fullname = unicode_patch(x) if (x := name_data.get("displayName")) else None
# self.firstName = unicode_patch(x) if (x := name_data.get("givenName")) else None
# self.lastName = unicode_patch(x) if (x := name_data.get("familyName")) else None
pass # Google patched the names :/ very sad
class PersonProfileInfo(Parser):
def __init__(self):
self.userTypes: List[str] = []
def _scrape(self, profile_data: Dict[str, any]):
if "ownerUserType" in profile_data:
self.userTypes += profile_data.get("ownerUserType")
class PersonSourceIds(Parser):
def __init__(self):
self.lastUpdated: datetime = None
def _scrape(self, source_ids_data: Dict[str, any]):
if (timestamp := source_ids_data.get("lastUpdatedMicros")):
self.lastUpdated = datetime.utcfromtimestamp(float(timestamp[:10]))
class PersonInAppReachability(Parser):
def __init__(self):
self.apps: List[str] = []
def _scrape(self, apps_data, container_name: str):
for app in apps_data:
if app["metadata"]["container"] == container_name:
self.apps.append(app["appType"].title())
class PersonContainers(dict):
pass
class Person(Parser):
def __init__(self):
self.personId: str = ""
self.sourceIds: Dict[str, PersonSourceIds] = PersonContainers() # All the fetched containers
self.emails: Dict[str, PersonEmail] = PersonContainers()
self.names: Dict[str, PersonName] = PersonContainers()
self.profileInfos: Dict[str, PersonProfileInfo] = PersonContainers()
self.profilePhotos: Dict[str, PersonPhoto] = PersonContainers()
self.coverPhotos: Dict[str, PersonPhoto] = PersonContainers()
self.inAppReachability: Dict[str, PersonInAppReachability] = PersonContainers()
self.extendedData: PersonExtendedData = PersonExtendedData()
async def _scrape(self, as_client: httpx.AsyncClient, person_data: Dict[str, any]):
self.personId = person_data.get("personId")
if person_data.get("email"):
for email_data in person_data["email"]:
person_email = PersonEmail()
person_email._scrape(email_data)
self.emails[email_data["metadata"]["container"]] = person_email
if person_data.get("name"):
for name_data in person_data["name"]:
person_name = PersonName()
person_name._scrape(name_data)
self.names[name_data["metadata"]["container"]] = person_name
if person_data.get("readOnlyProfileInfo"):
for profile_data in person_data["readOnlyProfileInfo"]:
person_profile = PersonProfileInfo()
person_profile._scrape(profile_data)
self.profileInfos[profile_data["metadata"]["container"]] = person_profile
if person_data.get("photo"):
for photo_data in person_data["photo"]:
person_photo = PersonPhoto()
await person_photo._scrape(as_client, photo_data, "profile_photo")
self.profilePhotos[profile_data["metadata"]["container"]] = person_photo
if (source_ids := person_data.get("metadata", {}).get("identityInfo", {}).get("sourceIds")):
for source_ids_data in source_ids:
person_source_ids = PersonSourceIds()
person_source_ids._scrape(source_ids_data)
self.sourceIds[source_ids_data["container"]] = person_source_ids
if person_data.get("coverPhoto"):
for cover_photo_data in person_data["coverPhoto"]:
person_cover_photo = PersonPhoto()
await person_cover_photo._scrape(as_client, cover_photo_data, "cover_photo")
self.coverPhotos[cover_photo_data["metadata"]["container"]] = person_cover_photo
if (apps_data := person_data.get("inAppReachability")):
containers_names = set()
for app_data in person_data["inAppReachability"]:
containers_names.add(app_data["metadata"]["container"])
for container_name in containers_names:
person_app_reachability = PersonInAppReachability()
person_app_reachability._scrape(apps_data, container_name)
self.inAppReachability[container_name] = person_app_reachability
if (extended_data := person_data.get("extendedData")):
self.extendedData._scrape(extended_data)
================================================
FILE: ghunt/parsers/playgames.py
================================================
from typing import *
from datetime import datetime
from ghunt.objects.apis import Parser
### Profile
class PlayerProfile(Parser):
def __init__(self):
self.display_name: str = ""
self.id: str = ""
self.avatar_url: str = ""
self.banner_url_portrait: str = ""
self.banner_url_landscape: str = ""
self.gamertag: str = ""
self.last_played_app: PlayerPlayedApp = PlayerPlayedApp()
self.profile_settings: PlayerProfileSettings = PlayerProfileSettings()
self.experience_info: PlayerExperienceInfo = PlayerExperienceInfo()
self.title: str = ""
def _scrape(self, player_data: Dict[str, any]):
self.display_name = player_data.get("playerId")
self.display_name = player_data.get("displayName")
self.avatar_url = player_data.get("avatarImageUrl")
self.banner_url_portrait = player_data.get("bannerUrlPortrait")
self.banner_url_landscape = player_data.get("bannerUrlLandscape")
self.gamertag = player_data.get("gamerTag")
if (last_played_app_data := player_data.get("lastPlayedApp")):
self.last_played_app._scrape(last_played_app_data)
if (profile_settings_data := player_data.get("profileSettings")):
self.profile_settings._scrape(profile_settings_data)
if (experience_data := player_data.get("experienceInfo")):
self.experience_info._scrape(experience_data)
self.title = player_data.get("title")
class PlayerPlayedApp(Parser):
def __init__(self):
self.app_id: str = ""
self.icon_url: str = ""
self.featured_image_url: str = ""
self.app_name: str = ""
self.timestamp_millis: str = ""
def _scrape(self, played_app_data: Dict[str, any]):
self.app_id = played_app_data.get("applicationId")
self.icon_url = played_app_data.get("applicationIconUrl")
self.featured_image_url = played_app_data.get("featuredImageUrl")
self.app_name = played_app_data.get("applicationName")
if (timestamp := played_app_data.get("timeMillis")):
self.timestamp_millis = datetime.utcfromtimestamp(float(timestamp[:10]))
class PlayerExperienceInfo(Parser):
def __init__(self):
self.current_xp: str = ""
self.last_level_up_timestamp_millis: str = ""
self.current_level: PlayerLevel = PlayerLevel()
self.next_level: PlayerLevel = PlayerLevel()
self.total_unlocked_achievements: int = 0
def _scrape(self, experience_data: Dict[str, any]):
self.current_xp = experience_data.get("currentExperiencePoints")
if (timestamp := experience_data.get("lastLevelUpTimestampMillis")):
self.last_level_up_timestamp_millis = datetime.utcfromtimestamp(float(timestamp[:10]))
if (current_level_data := experience_data.get("currentLevel")):
self.current_level._scrape(current_level_data)
if (next_level_data := experience_data.get("nextLevel")):
self.next_level._scrape(next_level_data)
self.total_unlocked_achievements = experience_data.get("totalUnlockedAchievements")
class PlayerLevel(Parser):
def __init__(self):
self.level: int = 0
self.min_xp: str = ""
self.max_xp: str = ""
def _scrape(self, level_data: Dict[str, any]):
self.level = level_data.get("level")
self.min_xp = level_data.get("minExperiencePoints")
self.max_xp = level_data.get("maxExperiencePoints")
class PlayerProfileSettings(Parser):
def __init__(self):
self.profile_visible: bool = False
def _scrape(self, profile_settings_data: Dict[str, any]):
self.profile_visible = profile_settings_data.get("profileVisible")
### Played Applications
class PlayedGames(Parser):
def __init__(self):
self.games: List[PlayGame] = []
def _scrape(self, games_data: Dict[str, any]):
for game_data in games_data:
play_game = PlayGame()
play_game._scrape(game_data)
self.games.append(play_game)
class PlayGame(Parser):
def __init__(self):
self.game_data: PlayGameData = PlayGameData()
self.market_data: PlayGameMarketData = PlayGameMarketData()
self.formatted_last_played_time: str = ""
self.last_played_time_millis: str = ""
self.unlocked_achievement_count: int = 0
def _scrape(self, game_data: Dict[str, any]):
if (games_data := game_data.get("gamesData")):
self.game_data._scrape(games_data)
if (market_data := game_data.get("marketData")):
self.market_data._scrape(market_data)
self.formatted_last_played_time = game_data.get("formattedLastPlayedTime")
if (timestamp := game_data.get("lastPlayedTimeMillis")):
self.last_played_time_millis = datetime.utcfromtimestamp(float(timestamp[:10]))
self.unlocked_achievement_count = game_data.get("unlockedAchievementCount")
class PlayGameMarketData(Parser):
def __init__(self):
self.instances: List[PlayGameMarketInstance] = []
def _scrape(self, market_data: Dict[str, any]):
if (instances_data := market_data.get("instances")):
for instance_data in instances_data:
instance = PlayGameMarketInstance()
instance._scrape(instance_data)
self.instances.append(instance)
class PlayGameMarketInstance(Parser):
def __init__(self):
self.id: str = ""
self.title: str = ""
self.description: str = ""
self.images: List[PlayGameImageAsset] = []
self.developer_name: str = ""
self.categories: List[str] = []
self.formatted_price: str = ""
self.price_micros: str = ""
self.badges: List[PlayGameMarketBadge] = []
self.is_owned: bool = False
self.enabled_features: List[str] = []
self.description_snippet: str = ""
self.rating: PlayGameMarketRating = PlayGameMarketRating()
self.last_updated_timestamp_millis: str = ""
self.availability: str = ""
def _scrape(self, instance_data: Dict[str, any]):
self.id = instance_data.get("id")
self.title = instance_data.get("title")
self.description = instance_data.get("description")
if (images_data := instance_data.get("images")):
for image_data in images_data:
image = PlayGameImageAsset()
image._scrape(image_data)
self.images.append(image)
self.developer_name = instance_data.get("developerName")
self.categories = instance_data.get("categories", [])
self.formatted_price = instance_data.get("formattedPrice")
self.price_micros = instance_data.get("priceMicros")
if (badges_data := instance_data.get("badges")):
for badge_data in badges_data:
badge = PlayGameMarketBadge()
badge._scrape(badge_data)
self.badges.append(badge)
self.is_owned = instance_data.get("isOwned")
self.enabled_features = instance_data.get("enabledFeatures", [])
self.description_snippet = instance_data.get("descriptionSnippet")
if (rating_data := instance_data.get("rating")):
self.rating._scrape(rating_data)
if (timestamp := instance_data.get("lastUpdatedTimestampMillis")):
self.last_updated_timestamp_millis = datetime.utcfromtimestamp(float(timestamp[:10]))
self.availability = instance_data.get("availability")
class PlayGameMarketRating(Parser):
def __init__(self):
self.star_rating: float = 0.0
self.ratings_count: str = ""
def _scrape(self, rating_data: Dict[str, any]):
self.star_rating = rating_data.get("starRating")
self.ratings_count = rating_data.get("ratingsCount")
class PlayGameMarketBadge(Parser):
def __init__(self):
self.badge_type: str = ""
self.title: str = ""
self.description: str = ""
self.images: List[PlayGameImageAsset] = []
def _scrape(self, badge_data: Dict[str, any]):
self.badge_type = badge_data.get("badgeType")
self.title = badge_data.get("title")
self.description = badge_data.get("description")
if (images_data := badge_data.get("images")):
for image_data in images_data:
image = PlayGameImageAsset()
image._scrape(image_data)
self.images.append(image)
class PlayGameData(Parser):
def __init__(self):
self.id: str = ""
self.name: str = ""
self.author: str = ""
self.description: str = ""
self.category: PlayGameCategory = PlayGameCategory()
self.assets: List[PlayGameImageAsset] = []
self.instances: List[PlayGameInstance] = []
self.last_updated_timestamp: str = ""
self.achievement_count: int = 0,
self.leaderboard_count: int = 0,
self.enabled_features: List[str] = []
self.theme_color: str = ""
def _scrape(self, game_data: Dict[str, any]):
self.id = game_data.get("id")
self.name = game_data.get("name")
self.author = game_data.get("author")
self.description = game_data.get("description")
if (category_data := game_data.get("category")):
self.category._scrape(category_data)
if (assets_data := game_data.get("assets")):
for asset_data in assets_data:
asset = PlayGameImageAsset()
asset._scrape(asset_data)
self.assets.append(asset)
if (instances_data := game_data.get("instances")):
for instance_data in instances_data:
instance = PlayGameInstance()
instance._scrape(instance_data)
self.instances.append(instance)
if (timestamp := game_data.get("lastUpdatedTimestamp")):
self.last_updated_timestamp = datetime.utcfromtimestamp(float(timestamp[:10]))
self.achievement_count = game_data.get("achievement_count")
self.leaderboard_count = game_data.get("leaderboard_count")
self.enabled_features = game_data.get("enabledFeatures", [])
self.theme_color = game_data.get("themeColor")
class PlayGameInstance(Parser):
def __init__(self):
self.platform_type: str = ""
self.name: str = ""
self.turn_based_play: bool = False
self.realtime_play: bool = False
self.android_instance: List[PlayGameAndroidInstance] = []
self.acquisition_uri: str = ""
def _scrape(self, instance_data: Dict[str, any]):
self.platform_type = instance_data.get("plateformType")
self.name = instance_data.get("name")
self.turn_based_play = instance_data.get("turnBasedPlay")
self.realtime_play = instance_data.get("realtimePlay")
if (android_instance_data := instance_data.get("androidInstance")):
android_instance = PlayGameAndroidInstance()
android_instance._scrape(android_instance_data)
self.android_instance.append(android_instance_data)
class PlayGameAndroidInstance(Parser):
def __init__(self):
self.package_name: str = ""
self.enable_piracy_check: bool = False
self.preferred: bool = False
def _scrape(self, android_instance_data: Dict[str, any]):
self.package_name = android_instance_data.get("packageName")
self.enable_piracy_check = android_instance_data.get("enablePiracyCheck")
self.preferred = android_instance_data.get("preferred")
class PlayGameImageAsset(Parser):
def __init__(self):
self.name: str = ""
self.width: str = ""
self.height: str = ""
self.url: str = ""
def _scrape(self, image_data: Dict[str, any]):
self.name = image_data.get("name")
self.width = image_data.get("width")
self.height = image_data.get("height")
self.url = image_data.get("url")
class PlayGameCategory(Parser):
def __init__(self):
self.primary: str = ""
def _scrape(self, category_data: Dict[str, any]):
self.primary = category_data.get("primary")
### Achievements
class PlayerAchievements(Parser):
def __init__(self):
self.achievements: List[PlayerAchievement] = []
def _scrape(self, achievements_data: Dict[str, any]):
achievements_defs : List[PlayerAchievementDefinition] = []
if (achievement_defs_data := achievements_data.get("definitions")):
for achievement_def_data in achievement_defs_data:
achievement_def = PlayerAchievementDefinition()
achievement_def._scrape(achievement_def_data)
achievements_defs.append(achievement_def)
if (achievements_items_data := achievements_data.get("items")):
for achievement_item_data in achievements_items_data:
achievement = PlayerAchievement()
achievement._scrape(achievement_item_data)
for achievement_def in achievements_defs:
if achievement_def.id == achievement.id:
achievement.definition = achievement_def
self.achievements.append(achievement)
class PlayerAchievement(Parser):
def __init__(self):
self.id: str = ""
self.achievement_state: str = ""
self.last_updated_timestamp: datetime = 0
self.app_id: str = 0
self.xp: str = ""
self.definition: PlayerAchievementDefinition = PlayerAchievementDefinition()
def _scrape(self, achievement_item_data: Dict[str, any]):
self.id = achievement_item_data.get("id")
self.achievement_state = achievement_item_data.get("achievementState")
if (timestamp := achievement_item_data.get("lastUpdatedTimestamp")):
self.last_updated_timestamp = datetime.utcfromtimestamp(float(timestamp[:10]))
self.app_id = achievement_item_data.get("application_id")
self.xp = achievement_item_data.get("experiencePoints")
class PlayerAchievementDefinition(Parser):
def __init__(self):
self.id: str = ""
self.name: str = ""
self.description: str = ""
self.achievement_type: str = ""
self.xp: str = ""
self.revealed_icon_url: str = ""
self.unlocked_icon_url: str = ""
self.initial_state: str = ""
self.is_revealed_icon_url_default: bool = False
self.is_unlocked_icon_url_default: bool = False
self.rarity_percent: float = 0.0
def _scrape(self, achievement_def_data: Dict[str, any]):
self.id = achievement_def_data.get("id")
self.name = achievement_def_data.get("name")
self.description = achievement_def_data.get("description")
self.achievement_type = achievement_def_data.get("achievementType")
self.xp = achievement_def_data.get("experiencePoints")
self.revealed_icon_url = achievement_def_data.get("revealedIconUrl")
self.unlocked_icon_url = achievement_def_data.get("unlockedIconUrl")
self.initial_state = achievement_def_data.get("initialState")
self.is_revealed_icon_url_default = achievement_def_data.get("isRevealedIconUrlDefault")
self.is_unlocked_icon_url_default = achievement_def_data.get("isUnlockedIconUrlDefault")
self.rarity_percent = achievement_def_data.get("rarityParcent")
### Global
class Player(Parser):
def __init__(self, profile: PlayerProfile = PlayerProfile(),
played_games: List[PlayGame] = [],
achievements: List[PlayerAchievement] = []):
self.profile: PlayerProfile = profile
self.played_games: List[PlayGame] = played_games
self.achievements: List[PlayerAchievement] = achievements
================================================
FILE: ghunt/parsers/playgateway.py
================================================
from typing import *
from ghunt.protos.playgatewaypa.search_player_results_pb2 import PlayerSearchResultsProto
from ghunt.protos.playgatewaypa.get_player_response_pb2 import GetPlayerResponseProto
from ghunt.objects.apis import Parser
class PlayerSearchResult(Parser):
def __init__(self):
self.name: str = ""
self.id: str = ""
self.avatar_url: str = ""
def _scrape(self, player_result_data):
self.name = player_result_data.account.name
self.id = player_result_data.account.id
self.avatar_url = player_result_data.avatar.url
class PlayerSearchResults(Parser):
def __init__(self):
self.results: List[PlayerSearchResult] = []
def _scrape(self, proto_results: PlayerSearchResultsProto):
for player_result_data in proto_results.field1.results.field1.field1.player:
player_search_result = PlayerSearchResult()
player_search_result._scrape(player_result_data)
self.results.append(player_search_result)
class PlayerProfile(Parser):
"""
This parsing is not complete at all, we only use it
in GHunt to dump total played games & achievements.
"""
def __init__(self):
self.achievements_count: int = 0
self.played_games_count: int = 0
def _scrape(self, proto_results: GetPlayerResponseProto):
for section in proto_results.field1.results.section:
if section.field3.section_name == "Games":
self.played_games_count = int(section.counter.number)
elif section.field3.section_name == "Achievements":
self.achievements_count = int(section.counter.number)
================================================
FILE: ghunt/parsers/vision.py
================================================
from ghunt.objects.apis import Parser
from typing import *
class VisionPosition(Parser):
def __init__(self):
self.x: int = None
self.y: int = None
self.z: int = None
def _scrape(self, position_data: Dict[str, int]):
self.x = position_data.get("x")
self.y = position_data.get("y")
self.z = position_data.get("z")
class VisionLandmark(Parser):
def __init__(self):
self.type: str = ""
self.position: VisionPosition = VisionPosition()
def _scrape(self, landmark_data: Dict[str, any]):
self.type = landmark_data["type"]
self.position._scrape(landmark_data["position"])
class VisionVertice(Parser):
def __init__(self):
self.x: int = None
self.y: int = None
def _scrape(self, vertice_data: Dict[str, int]):
self.x = vertice_data.get("x")
self.y = vertice_data.get("y")
class VisionVertices(Parser):
def __init__(self):
self.vertices: List[VisionVertice] = []
def _scrape(self, vertices_data: List[Dict[str, int]]):
for vertice_data in vertices_data:
vertice = VisionVertice()
vertice._scrape(vertice_data)
self.vertices.append(vertice)
class VisionFaceAnnotation(Parser):
def __init__(self):
self.bounding_poly: VisionVertices = VisionVertices()
self.fd_bounding_poly: VisionVertices = VisionVertices()
self.landmarks: List[VisionLandmark] = []
self.roll_angle: int = 0,
self.pan_angle: int = 0,
self.tilt_angle: int = 0,
self.detection_confidence: int = 0,
self.landmarking_confidence: int = 0,
self.joy_likelihood: str = "",
self.sorrow_likelihood: str = "",
self.anger_likelihood: str = "",
self.surprise_likelihood: str = "",
self.under_exposed_likelihood: str = "",
self.blurred_likelihood: str = "",
self.headwear_likelihood: str = ""
def _scrape(self, face_data: Dict[str, any]):
if (vertices_data := face_data.get("boundingPoly", {}).get("vertices")):
self.bounding_poly._scrape(vertices_data)
if (vertices_data := face_data.get("fdBoundingPoly", {}).get("vertices")):
self.fd_bounding_poly._scrape(vertices_data)
if (landmarks_data := face_data.get("landmarks")):
for landmark_data in landmarks_data:
landmark = VisionLandmark()
landmark._scrape(landmark_data)
self.landmarks.append(landmark)
self.roll_angle = face_data.get("rollAngle")
self.pan_angle = face_data.get("panAngle")
self.tilt_angle = face_data.get("tiltAngle")
self.detection_confidence = face_data.get("detectionConfidence")
self.landmarking_confidence = face_data.get("landmarkingConfidence")
self.joy_likelihood = face_data.get("joyLikelihood")
self.sorrow_likelihood = face_data.get("sorrowLikelihood")
self.anger_likelihood = face_data.get("angerLikelihood")
self.surprise_likelihood = face_data.get("surpriseLikelihood")
self.under_exposed_likelihood = face_data.get("underExposedLikelihood")
self.blurred_likelihood = face_data.get("blurredLikelihood")
self.headwear_likelihood = face_data.get("headwearLikelihood")
class VisionFaceDetection(Parser):
def __init__(self):
self.face_annotations: List[VisionFaceAnnotation] = []
def _scrape(self, vision_data: Dict[str, any]):
for face_data in vision_data["faceAnnotations"]:
face_annotation = VisionFaceAnnotation()
face_annotation._scrape(face_data)
self.face_annotations.append(face_annotation)
================================================
FILE: ghunt/protos/__init__.py
================================================
================================================
FILE: ghunt/protos/playgatewaypa/__init__.py
================================================
================================================
FILE: ghunt/protos/playgatewaypa/definitions/get_player.proto
================================================
syntax = "proto3";
message GetPlayerProto {
message Form {
message Query {
string id = 1;
}
Query query = 303102213;
}
Form form = 2;
}
================================================
FILE: ghunt/protos/playgatewaypa/definitions/get_player_response.proto
================================================
syntax = "proto3";
message GetPlayerResponseProto {
message field1_type {
message Results {
message Player {
message field1_type {
string name = 1;
}
field1_type field1 = 1;
message Avatar {
string url = 1;
}
Avatar avatar = 2;
}
Player player = 1;
message Section {
message Counter {
string number = 1;
}
Counter counter = 2;
message field3_type {
string section_name = 1;
}
field3_type field3 = 3;
message PlayedGames {
message field1_type {
message field1_type {
message field203130867_type {
string field1 = 1;
}
field203130867_type field203130867 = 203130867;
}
field1_type field1 = 1;
message Game {
message Icon {
string url = 1;
}
Icon icon = 3;
message field6_type {
message field1_type {
message Details {
message field1_type {
string app_id = 1;
string package_name = 2;
}
field1_type field1 = 1;
string title = 2;
string editor = 3;
}
Details details = 197793078;
}
field1_type field1 = 1;
}
field6_type field6 = 6;
}
repeated Game game = 208117482;
message field234686954_type {
message field1_type {
string field1 = 1;
message field2_type {
int64 field2 = 2;
}
field2_type field2 = 2;
}
field1_type field1 = 1;
}
field234686954_type field234686954 = 234686954;
}
field1_type field1 = 1;
}
PlayedGames played_games = 5;
message Achievements {
message field1_type {
message field3_type {
message field1_type {
message Achievement {
message field7_type {
message field1_type {
message Details {
string title = 1;
string description = 2;
int64 xp = 3;
fixed32 id = 4;
string icon_url = 5;
string game_id = 6;
int64 timestamp = 7;
int64 field8 = 8;
int64 is_secret = 12;
}
Details details = 306286962;
}
field1_type field1 = 1;
}
field7_type field7 = 7;
}
repeated Achievement achievement = 303956152;
}
field1_type field1 = 1;
message field2_type {
message field1_type {
message Page {
string player_id = 1;
string next_page_token = 3;
}
Page page = 303354831;
}
field1_type field1 = 1;
}
field2_type field2 = 2;
}
field3_type field3 = 3;
int64 field4 = 4;
}
field1_type field1 = 1;
}
Achievements achievements = 6;
}
repeated Section section = 2;
}
Results results = 303102213;
}
field1_type field1 = 1;
}
================================================
FILE: ghunt/protos/playgatewaypa/definitions/search_player.proto
================================================
syntax = "proto3";
message PlayerSearchProto {
message SearchForm {
message Query {
string text = 1;
}
Query query = 233436060;
}
SearchForm search_form = 2;
}
================================================
FILE: ghunt/protos/playgatewaypa/definitions/search_player_results.proto
================================================
syntax = "proto3";
message PlayerSearchResultsProto {
message field1_type {
message Results {
message field1_type {
message field1_type {
message Player {
message Avatar {
string url = 1;
}
Avatar avatar = 3;
message Account {
string id = 1;
string name = 3;
}
Account account = 6;
}
repeated Player player = 232977370;
}
field1_type field1 = 1;
}
field1_type field1 = 1;
}
Results results = 192500038;
}
field1_type field1 = 1;
}
================================================
FILE: ghunt/protos/playgatewaypa/get_player_pb2.py
================================================
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: definitions/get_player.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64\x65\x66initions/get_player.proto\"\x80\x01\n\x0eGetPlayerProto\x12\"\n\x04\x66orm\x18\x02 \x01(\x0b\x32\x14.GetPlayerProto.Form\x1aJ\n\x04\x46orm\x12-\n\x05query\x18\x85\xf2\xc3\x90\x01 \x01(\x0b\x32\x1a.GetPlayerProto.Form.Query\x1a\x13\n\x05Query\x12\n\n\x02id\x18\x01 \x01(\tb\x06proto3')
_GETPLAYERPROTO = DESCRIPTOR.message_types_by_name['GetPlayerProto']
_GETPLAYERPROTO_FORM = _GETPLAYERPROTO.nested_types_by_name['Form']
_GETPLAYERPROTO_FORM_QUERY = _GETPLAYERPROTO_FORM.nested_types_by_name['Query']
GetPlayerProto = _reflection.GeneratedProtocolMessageType('GetPlayerProto', (_message.Message,), {
'Form' : _reflection.GeneratedProtocolMessageType('Form', (_message.Message,), {
'Query' : _reflection.GeneratedProtocolMessageType('Query', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERPROTO_FORM_QUERY,
'__module__' : 'definitions.get_player_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerProto.Form.Query)
})
,
'DESCRIPTOR' : _GETPLAYERPROTO_FORM,
'__module__' : 'definitions.get_player_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerProto.Form)
})
,
'DESCRIPTOR' : _GETPLAYERPROTO,
'__module__' : 'definitions.get_player_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerProto)
})
_sym_db.RegisterMessage(GetPlayerProto)
_sym_db.RegisterMessage(GetPlayerProto.Form)
_sym_db.RegisterMessage(GetPlayerProto.Form.Query)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_GETPLAYERPROTO._serialized_start=33
_GETPLAYERPROTO._serialized_end=161
_GETPLAYERPROTO_FORM._serialized_start=87
_GETPLAYERPROTO_FORM._serialized_end=161
_GETPLAYERPROTO_FORM_QUERY._serialized_start=142
_GETPLAYERPROTO_FORM_QUERY._serialized_end=161
# @@protoc_insertion_point(module_scope)
================================================
FILE: ghunt/protos/playgatewaypa/get_player_response_pb2.py
================================================
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: definitions/get_player_response.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%definitions/get_player_response.proto\"\xa4\"\n\x16GetPlayerResponseProto\x12\x33\n\x06\x66ield1\x18\x01 \x01(\x0b\x32#.GetPlayerResponseProto.field1_type\x1a\xd4!\n\x0b\x66ield1_type\x12@\n\x07results\x18\x85\xf2\xc3\x90\x01 \x01(\x0b\x32+.GetPlayerResponseProto.field1_type.Results\x1a\x82!\n\x07Results\x12\x42\n\x06player\x18\x01 \x01(\x0b\x32\x32.GetPlayerResponseProto.field1_type.Results.Player\x12\x44\n\x07section\x18\x02 \x03(\x0b\x32\x33.GetPlayerResponseProto.field1_type.Results.Section\x1a\xd7\x01\n\x06Player\x12N\n\x06\x66ield1\x18\x01 \x01(\x0b\x32>.GetPlayerResponseProto.field1_type.Results.Player.field1_type\x12I\n\x06\x61vatar\x18\x02 \x01(\x0b\x32\x39.GetPlayerResponseProto.field1_type.Results.Player.Avatar\x1a\x1b\n\x0b\x66ield1_type\x12\x0c\n\x04name\x18\x01 \x01(\t\x1a\x15\n\x06\x41vatar\x12\x0b\n\x03url\x18\x01 \x01(\t\x1a\x92\x1e\n\x07Section\x12L\n\x07\x63ounter\x18\x02 \x01(\x0b\x32;.GetPlayerResponseProto.field1_type.Results.Section.Counter\x12O\n\x06\x66ield3\x18\x03 \x01(\x0b\x32?.GetPlayerResponseProto.field1_type.Results.Section.field3_type\x12U\n\x0cplayed_games\x18\x05 \x01(\x0b\x32?.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames\x12V\n\x0c\x61\x63hievements\x18\x06 \x01(\x0b\x32@.GetPlayerResponseProto.field1_type.Results.Section.Achievements\x1a\x19\n\x07\x43ounter\x12\x0e\n\x06number\x18\x01 \x01(\t\x1a#\n\x0b\x66ield3_type\x12\x14\n\x0csection_name\x18\x01 \x01(\t\x1a\xe1\r\n\x0bPlayedGames\x12[\n\x06\x66ield1\x18\x01 \x01(\x0b\x32K.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type\x1a\xf4\x0c\n\x0b\x66ield1_type\x12g\n\x06\x66ield1\x18\x01 \x01(\x0b\x32W.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type\x12\x61\n\x04game\x18\xea\xbd\x9e\x63 \x03(\x0b\x32P.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game\x12z\n\x0e\x66ield234686954\x18\xea\x93\xf4o \x01(\x0b\x32_.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type\x1a\xbd\x01\n\x0b\x66ield1_type\x12\x86\x01\n\x0e\x66ield203130867\x18\xf3\x8f\xee` \x01(\x0b\x32k.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type.field203130867_type\x1a%\n\x13\x66ield203130867_type\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\t\x1a\xfe\x05\n\x04Game\x12\x63\n\x04icon\x18\x03 \x01(\x0b\x32U.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.Icon\x12l\n\x06\x66ield6\x18\x06 \x01(\x0b\x32\\.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type\x1a\x13\n\x04Icon\x12\x0b\n\x03url\x18\x01 \x01(\t\x1a\x8d\x04\n\x0b\x66ield6_type\x12x\n\x06\x66ield1\x18\x01 \x01(\x0b\x32h.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type\x1a\x83\x03\n\x0b\x66ield1_type\x12\x84\x01\n\x07\x64\x65tails\x18\xb6\xaa\xa8^ \x01(\x0b\x32p.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details\x1a\xec\x01\n\x07\x44\x65tails\x12\x8c\x01\n\x06\x66ield1\x18\x01 \x01(\x0b\x32|.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details.field1_type\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0e\n\x06\x65\x64itor\x18\x03 \x01(\t\x1a\x33\n\x0b\x66ield1_type\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\x12\x14\n\x0cpackage_name\x18\x02 \x01(\t\x1a\xdb\x02\n\x13\x66ield234686954_type\x12{\n\x06\x66ield1\x18\x01 \x01(\x0b\x32k.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type\x1a\xc6\x01\n\x0b\x66ield1_type\x12\x0e\n\x06\x66ield1\x18\x01 \x01(\t\x12\x87\x01\n\x06\x66ield2\x18\x02 \x01(\x0b\x32w.GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type.field2_type\x1a\x1d\n\x0b\x66ield2_type\x12\x0e\n\x06\x66ield2\x18\x02 \x01(\x03\x1a\x94\r\n\x0c\x41\x63hievements\x12\\\n\x06\x66ield1\x18\x01 \x01(\x0b\x32L.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type\x1a\xa5\x0c\n\x0b\x66ield1_type\x12h\n\x06\x66ield3\x18\x03 \x01(\x0b\x32X.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type\x12\x0e\n\x06\x66ield4\x18\x04 \x01(\x03\x1a\x9b\x0b\n\x0b\x66ield3_type\x12t\n\x06\x66ield1\x18\x01 \x01(\x0b\x32\x64.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type\x12t\n\x06\x66ield2\x18\x02 \x01(\x0b\x32\x64.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type\x1a\xbe\x06\n\x0b\x66ield1_type\x12\x89\x01\n\x0b\x61\x63hievement\x18\xb8\x81\xf8\x90\x01 \x03(\x0b\x32p.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement\x1a\xa2\x05\n\x0b\x41\x63hievement\x12\x8c\x01\n\x06\x66ield7\x18\x07 \x01(\x0b\x32|.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type\x1a\x83\x04\n\x0b\x66ield7_type\x12\x99\x01\n\x06\x66ield1\x18\x01 \x01(\x0b\x32\x88\x01.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type\x1a\xd7\x02\n\x0b\x66ield1_type\x12\xa6\x01\n\x07\x64\x65tails\x18\xf2\xa2\x86\x92\x01 \x01(\x0b\x32\x90\x01.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type.Details\x1a\x9e\x01\n\x07\x44\x65tails\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\n\n\x02xp\x18\x03 \x01(\x03\x12\n\n\x02id\x18\x04 \x01(\x07\x12\x10\n\x08icon_url\x18\x05 \x01(\t\x12\x0f\n\x07game_id\x18\x06 \x01(\t\x12\x11\n\ttimestamp\x18\x07 \x01(\x03\x12\x0e\n\x06\x66ield8\x18\x08 \x01(\x03\x12\x11\n\tis_secret\x18\x0c \x01(\x03\x1a\xde\x02\n\x0b\x66ield2_type\x12\x80\x01\n\x06\x66ield1\x18\x01 \x01(\x0b\x32p.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type\x1a\xcb\x01\n\x0b\x66ield1_type\x12\x87\x01\n\x04page\x18\xcf\xa7\xd3\x90\x01 \x01(\x0b\x32u.GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type.Page\x1a\x32\n\x04Page\x12\x11\n\tplayer_id\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\tb\x06proto3')
_GETPLAYERRESPONSEPROTO = DESCRIPTOR.message_types_by_name['GetPlayerResponseProto']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE.nested_types_by_name['Results']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS.nested_types_by_name['Player']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_AVATAR = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER.nested_types_by_name['Avatar']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS.nested_types_by_name['Section']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_COUNTER = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION.nested_types_by_name['Counter']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_FIELD3_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION.nested_types_by_name['field3_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION.nested_types_by_name['PlayedGames']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE_FIELD203130867_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE.nested_types_by_name['field203130867_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE.nested_types_by_name['Game']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_ICON = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME.nested_types_by_name['Icon']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME.nested_types_by_name['field6_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE.nested_types_by_name['Details']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE.nested_types_by_name['field234686954_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE_FIELD2_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE.nested_types_by_name['field2_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION.nested_types_by_name['Achievements']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE.nested_types_by_name['field3_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE.nested_types_by_name['Achievement']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT.nested_types_by_name['field7_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE_DETAILS = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE.nested_types_by_name['Details']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE.nested_types_by_name['field2_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE.nested_types_by_name['field1_type']
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE_PAGE = _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE.nested_types_by_name['Page']
GetPlayerResponseProto = _reflection.GeneratedProtocolMessageType('GetPlayerResponseProto', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Results' : _reflection.GeneratedProtocolMessageType('Results', (_message.Message,), {
'Player' : _reflection.GeneratedProtocolMessageType('Player', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Player.field1_type)
})
,
'Avatar' : _reflection.GeneratedProtocolMessageType('Avatar', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_AVATAR,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Player.Avatar)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Player)
})
,
'Section' : _reflection.GeneratedProtocolMessageType('Section', (_message.Message,), {
'Counter' : _reflection.GeneratedProtocolMessageType('Counter', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_COUNTER,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Counter)
})
,
'field3_type' : _reflection.GeneratedProtocolMessageType('field3_type', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_FIELD3_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.field3_type)
})
,
'PlayedGames' : _reflection.GeneratedProtocolMessageType('PlayedGames', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'field203130867_type' : _reflection.GeneratedProtocolMessageType('field203130867_type', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE_FIELD203130867_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type.field203130867_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type)
})
,
'Game' : _reflection.GeneratedProtocolMessageType('Game', (_message.Message,), {
'Icon' : _reflection.GeneratedProtocolMessageType('Icon', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_ICON,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.Icon)
})
,
'field6_type' : _reflection.GeneratedProtocolMessageType('field6_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Details' : _reflection.GeneratedProtocolMessageType('Details', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game)
})
,
'field234686954_type' : _reflection.GeneratedProtocolMessageType('field234686954_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'field2_type' : _reflection.GeneratedProtocolMessageType('field2_type', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE_FIELD2_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type.field2_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.PlayedGames)
})
,
'Achievements' : _reflection.GeneratedProtocolMessageType('Achievements', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'field3_type' : _reflection.GeneratedProtocolMessageType('field3_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Achievement' : _reflection.GeneratedProtocolMessageType('Achievement', (_message.Message,), {
'field7_type' : _reflection.GeneratedProtocolMessageType('field7_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Details' : _reflection.GeneratedProtocolMessageType('Details', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE_DETAILS,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type.Details)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type)
})
,
'field2_type' : _reflection.GeneratedProtocolMessageType('field2_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Page' : _reflection.GeneratedProtocolMessageType('Page', (_message.Message,), {
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE_PAGE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type.Page)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section.Achievements)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results.Section)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type.Results)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO_FIELD1_TYPE,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto.field1_type)
})
,
'DESCRIPTOR' : _GETPLAYERRESPONSEPROTO,
'__module__' : 'definitions.get_player_response_pb2'
# @@protoc_insertion_point(class_scope:GetPlayerResponseProto)
})
_sym_db.RegisterMessage(GetPlayerResponseProto)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Player)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Player.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Player.Avatar)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Counter)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.field3_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field1_type.field203130867_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.Icon)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.Game.field6_type.field1_type.Details.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.PlayedGames.field1_type.field234686954_type.field1_type.field2_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field1_type.Achievement.field7_type.field1_type.Details)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type)
_sym_db.RegisterMessage(GetPlayerResponseProto.field1_type.Results.Section.Achievements.field1_type.field3_type.field2_type.field1_type.Page)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_GETPLAYERRESPONSEPROTO._serialized_start=42
_GETPLAYERRESPONSEPROTO._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE._serialized_start=122
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS._serialized_start=204
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER._serialized_start=354
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER._serialized_end=569
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_FIELD1_TYPE._serialized_start=519
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_FIELD1_TYPE._serialized_end=546
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_AVATAR._serialized_start=548
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_PLAYER_AVATAR._serialized_end=569
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION._serialized_start=572
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_COUNTER._serialized_start=917
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_COUNTER._serialized_end=942
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_FIELD3_TYPE._serialized_start=944
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_FIELD3_TYPE._serialized_end=979
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES._serialized_start=982
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES._serialized_end=2743
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE._serialized_start=1091
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE._serialized_end=2743
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE._serialized_start=1435
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE._serialized_end=1624
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE_FIELD203130867_TYPE._serialized_start=1587
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD1_TYPE_FIELD203130867_TYPE._serialized_end=1624
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME._serialized_start=1627
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME._serialized_end=2393
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_ICON._serialized_start=1846
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_ICON._serialized_end=1865
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE._serialized_start=1868
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE._serialized_end=2393
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE._serialized_start=2006
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE._serialized_end=2393
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS._serialized_start=2157
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS._serialized_end=2393
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS_FIELD1_TYPE._serialized_start=2342
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_GAME_FIELD6_TYPE_FIELD1_TYPE_DETAILS_FIELD1_TYPE._serialized_end=2393
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE._serialized_start=2396
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE._serialized_end=2743
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE._serialized_start=2545
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE._serialized_end=2743
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE_FIELD2_TYPE._serialized_start=2714
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_PLAYEDGAMES_FIELD1_TYPE_FIELD234686954_TYPE_FIELD1_TYPE_FIELD2_TYPE._serialized_end=2743
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS._serialized_start=2746
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE._serialized_start=2857
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE._serialized_start=2995
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE._serialized_start=3247
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE._serialized_end=4077
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT._serialized_start=3403
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT._serialized_end=4077
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE._serialized_start=3562
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE._serialized_end=4077
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE._serialized_start=3734
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE._serialized_end=4077
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE_DETAILS._serialized_start=3919
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD1_TYPE_ACHIEVEMENT_FIELD7_TYPE_FIELD1_TYPE_DETAILS._serialized_end=4077
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE._serialized_start=4080
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE._serialized_start=4227
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE._serialized_end=4430
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE_PAGE._serialized_start=4380
_GETPLAYERRESPONSEPROTO_FIELD1_TYPE_RESULTS_SECTION_ACHIEVEMENTS_FIELD1_TYPE_FIELD3_TYPE_FIELD2_TYPE_FIELD1_TYPE_PAGE._serialized_end=4430
# @@protoc_insertion_point(module_scope)
================================================
FILE: ghunt/protos/playgatewaypa/search_player_pb2.py
================================================
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: definitions/search_player.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x64\x65\x66initions/search_player.proto\"\xa3\x01\n\x11PlayerSearchProto\x12\x32\n\x0bsearch_form\x18\x02 \x01(\x0b\x32\x1d.PlayerSearchProto.SearchForm\x1aZ\n\nSearchForm\x12\x35\n\x05query\x18\x9c\xe7\xa7o \x01(\x0b\x32#.PlayerSearchProto.SearchForm.Query\x1a\x15\n\x05Query\x12\x0c\n\x04text\x18\x01 \x01(\tb\x06proto3')
_PLAYERSEARCHPROTO = DESCRIPTOR.message_types_by_name['PlayerSearchProto']
_PLAYERSEARCHPROTO_SEARCHFORM = _PLAYERSEARCHPROTO.nested_types_by_name['SearchForm']
_PLAYERSEARCHPROTO_SEARCHFORM_QUERY = _PLAYERSEARCHPROTO_SEARCHFORM.nested_types_by_name['Query']
PlayerSearchProto = _reflection.GeneratedProtocolMessageType('PlayerSearchProto', (_message.Message,), {
'SearchForm' : _reflection.GeneratedProtocolMessageType('SearchForm', (_message.Message,), {
'Query' : _reflection.GeneratedProtocolMessageType('Query', (_message.Message,), {
'DESCRIPTOR' : _PLAYERSEARCHPROTO_SEARCHFORM_QUERY,
'__module__' : 'definitions.search_player_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchProto.SearchForm.Query)
})
,
'DESCRIPTOR' : _PLAYERSEARCHPROTO_SEARCHFORM,
'__module__' : 'definitions.search_player_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchProto.SearchForm)
})
,
'DESCRIPTOR' : _PLAYERSEARCHPROTO,
'__module__' : 'definitions.search_player_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchProto)
})
_sym_db.RegisterMessage(PlayerSearchProto)
_sym_db.RegisterMessage(PlayerSearchProto.SearchForm)
_sym_db.RegisterMessage(PlayerSearchProto.SearchForm.Query)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_PLAYERSEARCHPROTO._serialized_start=36
_PLAYERSEARCHPROTO._serialized_end=199
_PLAYERSEARCHPROTO_SEARCHFORM._serialized_start=109
_PLAYERSEARCHPROTO_SEARCHFORM._serialized_end=199
_PLAYERSEARCHPROTO_SEARCHFORM_QUERY._serialized_start=178
_PLAYERSEARCHPROTO_SEARCHFORM_QUERY._serialized_end=199
# @@protoc_insertion_point(module_scope)
================================================
FILE: ghunt/protos/playgatewaypa/search_player_results_pb2.py
================================================
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: definitions/search_player_results.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'definitions/search_player_results.proto\"\xe6\x05\n\x18PlayerSearchResultsProto\x12\x35\n\x06\x66ield1\x18\x01 \x01(\x0b\x32%.PlayerSearchResultsProto.field1_type\x1a\x92\x05\n\x0b\x66ield1_type\x12\x41\n\x07results\x18\xc6\xa2\xe5[ \x01(\x0b\x32-.PlayerSearchResultsProto.field1_type.Results\x1a\xbf\x04\n\x07Results\x12I\n\x06\x66ield1\x18\x01 \x01(\x0b\x32\x39.PlayerSearchResultsProto.field1_type.Results.field1_type\x1a\xe8\x03\n\x0b\x66ield1_type\x12U\n\x06\x66ield1\x18\x01 \x01(\x0b\x32\x45.PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type\x1a\x81\x03\n\x0b\x66ield1_type\x12_\n\x06player\x18\xda\xe7\x8bo \x03(\x0b\x32L.PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player\x1a\x90\x02\n\x06Player\x12\x63\n\x06\x61vatar\x18\x03 \x01(\x0b\x32S.PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Avatar\x12\x65\n\x07\x61\x63\x63ount\x18\x06 \x01(\x0b\x32T.PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Account\x1a\x15\n\x06\x41vatar\x12\x0b\n\x03url\x18\x01 \x01(\t\x1a#\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\tb\x06proto3')
_PLAYERSEARCHRESULTSPROTO = DESCRIPTOR.message_types_by_name['PlayerSearchResultsProto']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE = _PLAYERSEARCHRESULTSPROTO.nested_types_by_name['field1_type']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE.nested_types_by_name['Results']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS.nested_types_by_name['field1_type']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE.nested_types_by_name['field1_type']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE.nested_types_by_name['Player']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_AVATAR = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER.nested_types_by_name['Avatar']
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_ACCOUNT = _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER.nested_types_by_name['Account']
PlayerSearchResultsProto = _reflection.GeneratedProtocolMessageType('PlayerSearchResultsProto', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Results' : _reflection.GeneratedProtocolMessageType('Results', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'field1_type' : _reflection.GeneratedProtocolMessageType('field1_type', (_message.Message,), {
'Player' : _reflection.GeneratedProtocolMessageType('Player', (_message.Message,), {
'Avatar' : _reflection.GeneratedProtocolMessageType('Avatar', (_message.Message,), {
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_AVATAR,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Avatar)
})
,
'Account' : _reflection.GeneratedProtocolMessageType('Account', (_message.Message,), {
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_ACCOUNT,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Account)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results.field1_type)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type.Results)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto.field1_type)
})
,
'DESCRIPTOR' : _PLAYERSEARCHRESULTSPROTO,
'__module__' : 'definitions.search_player_results_pb2'
# @@protoc_insertion_point(class_scope:PlayerSearchResultsProto)
})
_sym_db.RegisterMessage(PlayerSearchResultsProto)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results.field1_type)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Avatar)
_sym_db.RegisterMessage(PlayerSearchResultsProto.field1_type.Results.field1_type.field1_type.Player.Account)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_PLAYERSEARCHRESULTSPROTO._serialized_start=44
_PLAYERSEARCHRESULTSPROTO._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE._serialized_start=128
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS._serialized_start=211
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE._serialized_start=298
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE._serialized_start=401
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER._serialized_start=514
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER._serialized_end=786
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_AVATAR._serialized_start=728
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_AVATAR._serialized_end=749
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_ACCOUNT._serialized_start=751
_PLAYERSEARCHRESULTSPROTO_FIELD1_TYPE_RESULTS_FIELD1_TYPE_FIELD1_TYPE_PLAYER_ACCOUNT._serialized_end=786
# @@protoc_insertion_point(module_scope)
================================================
FILE: ghunt/version.py
================================================
metadata = {
"version": "2.3.4",
"name": "🕷️ Spider Edition"
}
================================================
FILE: main.py
================================================
if __name__ == "__main__":
from ghunt import ghunt; ghunt.main()
================================================
FILE: pyproject.toml
================================================
[project]
name = "ghunt"
version = "2.3.4"
authors = [
{name = "mxrch", email = "mxrch.dev@pm.me"},
]
description = "An offensive Google framework."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "AGPL-3.0"}
classifiers = [
"Programming Language :: Python :: 3",
]
dynamic = ["dependencies"]
keywords=["osint", "pentest", "cybersecurity", "investigation", "hideandsec", "malfrats"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.poetry.scripts]
ghunt = "ghunt.ghunt:main"
[tool.setuptools.packages.find]
include = ["ghunt", "ghunt.*"]
[project.urls]
"Homepage" = "https://github.com/mxrch/GHunt"
"Bug Reports" = "https://github.com/mxrch/GHunt/issues"
"Funding" = "https://github.com/sponsors/mxrch"
"Source" = "https://github.com/mxrch/GHunt"
[tool.poetry]
name = "ghunt"
version = "2.3.4"
description = "An offensive Google framework."
authors = ["mxrch "]
license = "AGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
geopy = "^2.4.1"
httpx = {extras = ["http2"], version = "^0.27.2"}
imagehash = "^4.3.1"
pillow = "^12.1.0"
python-dateutil = "^2.9.0.post0"
rich = "^13.9.1"
beautifultable = "^1.1.0"
beautifulsoup4 = "^4.12.3"
alive-progress = "^3.1.5"
protobuf = "^5.28.2"
autoslot = "^2022.12.1"
humanize = "^4.10.0"
inflection = "^0.5.1"
jsonpickle = "^3.3.0"
packaging = "^24.1"
rich-argparse = "^1.5.2"
dnspython = "^2.7.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"