remove generated libs

This commit is contained in:
OMGeeky
2024-05-12 22:15:06 +02:00
4862 changed files with 0 additions and 6416267 deletions

View File

@@ -1,42 +0,0 @@
# DO NOT EDIT !
# This file was generated automatically from 'src/generator/templates/Cargo.toml.mako'
# DO NOT EDIT !
[package]
name = "google-networksecurity1-cli"
version = "5.0.4+20240221"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with NetworkSecurity (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networksecurity1-cli"
homepage = "https://cloud.google.com/networking"
documentation = "http://byron.github.io/google-apis-rs/google_networksecurity1_cli"
license = "MIT"
keywords = ["networksecurity", "google", "cli"]
autobins = false
edition = "2018"
[[bin]]
name = "networksecurity1"
path = "src/main.rs"
[dependencies]
anyhow = "^ 1.0"
hyper-rustls = "0.24.0"
mime = "^ 0.3.0"
serde = { version = "^ 1.0", features = ["derive"] }
serde_json = "^ 1.0"
itertools = "^ 0.10"
google-clis-common = { path = "../../google-clis-common", version = "6.0" }
strsim = "^0.5"
clap = "^2.0"
http = "^0.2"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "^ 1.0", features = ["full"] }
tower-service = "^0.3.1"
[dependencies.google-networksecurity1]
path = "../networksecurity1"
version = "5.0.4+20240221"

View File

@@ -1,30 +0,0 @@
<!---
DO NOT EDIT !
This file was generated automatically from 'src/generator/templates/LICENSE.md.mako'
DO NOT EDIT !
-->
The MIT License (MIT)
=====================
Copyright © `2015-2020` `Sebastian Thiel`
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,180 +0,0 @@
<!---
DO NOT EDIT !
This file was generated automatically from 'src/generator/templates/cli/README.md.mako'
DO NOT EDIT !
-->
The `networksecurity1` command-line interface *(CLI)* allows to use most features of the *Google NetworkSecurity* service from the comfort of your terminal.
By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
Everything else about the *NetworkSecurity* API can be found at the
[official documentation site](https://cloud.google.com/networking).
# Installation and Source Code
Install the command-line interface with cargo using:
```bash
cargo install google-networksecurity1-cli
```
Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/networksecurity1-cli).
# Usage
This documentation was generated from the *NetworkSecurity* API at revision *20240221*. The CLI is at version *5.0.4*.
```bash
networksecurity1 [options]
organizations
locations-address-groups-add-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-clone-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-delete <name> [-p <v>]... [-o <out>]
locations-address-groups-get <name> [-p <v>]... [-o <out>]
locations-address-groups-list <parent> [-p <v>]... [-o <out>]
locations-address-groups-list-references <address-group> [-p <v>]... [-o <out>]
locations-address-groups-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-remove-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-operations-cancel <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-operations-delete <name> [-p <v>]... [-o <out>]
locations-operations-get <name> [-p <v>]... [-o <out>]
locations-operations-list <name> [-p <v>]... [-o <out>]
projects
locations-address-groups-add-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-clone-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-delete <name> [-p <v>]... [-o <out>]
locations-address-groups-get <name> [-p <v>]... [-o <out>]
locations-address-groups-get-iam-policy <resource> [-p <v>]... [-o <out>]
locations-address-groups-list <parent> [-p <v>]... [-o <out>]
locations-address-groups-list-references <address-group> [-p <v>]... [-o <out>]
locations-address-groups-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-remove-items <address-group> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-address-groups-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-authorization-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-authorization-policies-delete <name> [-p <v>]... [-o <out>]
locations-authorization-policies-get <name> [-p <v>]... [-o <out>]
locations-authorization-policies-get-iam-policy <resource> [-p <v>]... [-o <out>]
locations-authorization-policies-list <parent> [-p <v>]... [-o <out>]
locations-authorization-policies-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-authorization-policies-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-authorization-policies-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-client-tls-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-client-tls-policies-delete <name> [-p <v>]... [-o <out>]
locations-client-tls-policies-get <name> [-p <v>]... [-o <out>]
locations-client-tls-policies-get-iam-policy <resource> [-p <v>]... [-o <out>]
locations-client-tls-policies-list <parent> [-p <v>]... [-o <out>]
locations-client-tls-policies-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-client-tls-policies-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-client-tls-policies-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-gateway-security-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-gateway-security-policies-delete <name> [-p <v>]... [-o <out>]
locations-gateway-security-policies-get <name> [-p <v>]... [-o <out>]
locations-gateway-security-policies-list <parent> [-p <v>]... [-o <out>]
locations-gateway-security-policies-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-gateway-security-policies-rules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-gateway-security-policies-rules-delete <name> [-p <v>]... [-o <out>]
locations-gateway-security-policies-rules-get <name> [-p <v>]... [-o <out>]
locations-gateway-security-policies-rules-list <parent> [-p <v>]... [-o <out>]
locations-gateway-security-policies-rules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-get <name> [-p <v>]... [-o <out>]
locations-list <name> [-p <v>]... [-o <out>]
locations-operations-cancel <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-operations-delete <name> [-p <v>]... [-o <out>]
locations-operations-get <name> [-p <v>]... [-o <out>]
locations-operations-list <name> [-p <v>]... [-o <out>]
locations-server-tls-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-server-tls-policies-delete <name> [-p <v>]... [-o <out>]
locations-server-tls-policies-get <name> [-p <v>]... [-o <out>]
locations-server-tls-policies-get-iam-policy <resource> [-p <v>]... [-o <out>]
locations-server-tls-policies-list <parent> [-p <v>]... [-o <out>]
locations-server-tls-policies-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-server-tls-policies-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-server-tls-policies-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
locations-tls-inspection-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-tls-inspection-policies-delete <name> [-p <v>]... [-o <out>]
locations-tls-inspection-policies-get <name> [-p <v>]... [-o <out>]
locations-tls-inspection-policies-list <parent> [-p <v>]... [-o <out>]
locations-tls-inspection-policies-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
locations-url-lists-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
locations-url-lists-delete <name> [-p <v>]... [-o <out>]
locations-url-lists-get <name> [-p <v>]... [-o <out>]
locations-url-lists-list <parent> [-p <v>]... [-o <out>]
locations-url-lists-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
networksecurity1 --help
Configuration:
[--scope <url>]...
Specify the authentication a method should be executed in. Each scope
requires the user to grant this application permission to use it.
If unset, it defaults to the shortest scope url for a particular method.
--config-dir <folder>
A directory into which we will store our persistent data. Defaults to
a user-writable directory that we will create during the first invocation.
[default: ~/.google-service-cli]
```
# Configuration
The program will store all persistent data in the `~/.google-service-cli` directory in *JSON* files prefixed with `networksecurity1-`. You can change the directory used to store configuration with the `--config-dir` flag on a per-invocation basis.
More information about the various kinds of persistent data are given in the following paragraphs.
# Authentication
Most APIs require a user to authenticate any request. If this is the case, the [scope][scopes] determines the
set of permissions granted. The granularity of these is usually no more than *read-only* or *full-access*.
If not set, the system will automatically select the smallest feasible scope, e.g. when invoking a
method that is read-only, it will ask only for a read-only scope.
You may use the `--scope` flag to specify a scope directly.
All applicable scopes are documented in the respective method's CLI documentation.
The first time a scope is used, the user is asked for permission. Follow the instructions given
by the CLI to grant permissions, or to decline.
If a scope was authenticated by the user, the respective information will be stored as *JSON* in the configuration
directory, e.g. `~/.google-service-cli/networksecurity1-token-<scope-hash>.json`. No manual management of these tokens
is necessary.
To revoke granted authentication, please refer to the [official documentation][revoke-access].
# Application Secrets
In order to allow any application to use Google services, it will need to be registered using the
[Google Developer Console][google-dev-console]. APIs the application may use are then enabled for it
one by one. Most APIs can be used for free and have a daily quota.
To allow more comfortable usage of the CLI without forcing anyone to register an own application, the CLI
comes with a default application secret that is configured accordingly. This also means that heavy usage
all around the world may deplete the daily quota.
You can workaround this limitation by putting your own secrets file at this location:
`~/.google-service-cli/networksecurity1-secret.json`, assuming that the required *networksecurity* API
was enabled for it. Such a secret file can be downloaded in the *Google Developer Console* at
*APIs & auth -> Credentials -> Download JSON* and used as is.
Learn more about how to setup Google projects and enable APIs using the [official documentation][google-project-new].
# Debugging
Even though the CLI does its best to provide usable error messages, sometimes it might be desirable to know
what exactly led to a particular issue. This is done by allowing all client-server communication to be
output to standard error *as-is*.
The `--debug` flag will print errors using the `Debug` representation to standard error.
You may consider redirecting standard error into a file for ease of use, e.g. `networksecurity1 --debug <resource> <method> [options] 2>debug.txt`.
[scopes]: https://developers.google.com/+/api/oauth#scopes
[revoke-access]: http://webapps.stackexchange.com/a/30849
[google-dev-console]: https://console.developers.google.com/
[google-project-new]: https://developers.google.com/console/help/new/

View File

@@ -1,93 +0,0 @@
site_name: NetworkSecurity v5.0.4+20240221
site_url: http://byron.github.io/google-apis-rs/google-networksecurity1-cli
site_description: A complete library to interact with NetworkSecurity (protocol v1)
repo_url: https://github.com/Byron/google-apis-rs/tree/main/gen/networksecurity1-cli
docs_dir: docs
site_dir: build_html
nav:
- Home: 'index.md'
- 'Organizations':
- 'Locations Address Groups Add Items': 'organizations_locations-address-groups-add-items.md'
- 'Locations Address Groups Clone Items': 'organizations_locations-address-groups-clone-items.md'
- 'Locations Address Groups Create': 'organizations_locations-address-groups-create.md'
- 'Locations Address Groups Delete': 'organizations_locations-address-groups-delete.md'
- 'Locations Address Groups Get': 'organizations_locations-address-groups-get.md'
- 'Locations Address Groups List': 'organizations_locations-address-groups-list.md'
- 'Locations Address Groups List References': 'organizations_locations-address-groups-list-references.md'
- 'Locations Address Groups Patch': 'organizations_locations-address-groups-patch.md'
- 'Locations Address Groups Remove Items': 'organizations_locations-address-groups-remove-items.md'
- 'Locations Operations Cancel': 'organizations_locations-operations-cancel.md'
- 'Locations Operations Delete': 'organizations_locations-operations-delete.md'
- 'Locations Operations Get': 'organizations_locations-operations-get.md'
- 'Locations Operations List': 'organizations_locations-operations-list.md'
- 'Projects':
- 'Locations Address Groups Add Items': 'projects_locations-address-groups-add-items.md'
- 'Locations Address Groups Clone Items': 'projects_locations-address-groups-clone-items.md'
- 'Locations Address Groups Create': 'projects_locations-address-groups-create.md'
- 'Locations Address Groups Delete': 'projects_locations-address-groups-delete.md'
- 'Locations Address Groups Get': 'projects_locations-address-groups-get.md'
- 'Locations Address Groups Get Iam Policy': 'projects_locations-address-groups-get-iam-policy.md'
- 'Locations Address Groups List': 'projects_locations-address-groups-list.md'
- 'Locations Address Groups List References': 'projects_locations-address-groups-list-references.md'
- 'Locations Address Groups Patch': 'projects_locations-address-groups-patch.md'
- 'Locations Address Groups Remove Items': 'projects_locations-address-groups-remove-items.md'
- 'Locations Address Groups Set Iam Policy': 'projects_locations-address-groups-set-iam-policy.md'
- 'Locations Address Groups Test Iam Permissions': 'projects_locations-address-groups-test-iam-permissions.md'
- 'Locations Authorization Policies Create': 'projects_locations-authorization-policies-create.md'
- 'Locations Authorization Policies Delete': 'projects_locations-authorization-policies-delete.md'
- 'Locations Authorization Policies Get': 'projects_locations-authorization-policies-get.md'
- 'Locations Authorization Policies Get Iam Policy': 'projects_locations-authorization-policies-get-iam-policy.md'
- 'Locations Authorization Policies List': 'projects_locations-authorization-policies-list.md'
- 'Locations Authorization Policies Patch': 'projects_locations-authorization-policies-patch.md'
- 'Locations Authorization Policies Set Iam Policy': 'projects_locations-authorization-policies-set-iam-policy.md'
- 'Locations Authorization Policies Test Iam Permissions': 'projects_locations-authorization-policies-test-iam-permissions.md'
- 'Locations Client Tls Policies Create': 'projects_locations-client-tls-policies-create.md'
- 'Locations Client Tls Policies Delete': 'projects_locations-client-tls-policies-delete.md'
- 'Locations Client Tls Policies Get': 'projects_locations-client-tls-policies-get.md'
- 'Locations Client Tls Policies Get Iam Policy': 'projects_locations-client-tls-policies-get-iam-policy.md'
- 'Locations Client Tls Policies List': 'projects_locations-client-tls-policies-list.md'
- 'Locations Client Tls Policies Patch': 'projects_locations-client-tls-policies-patch.md'
- 'Locations Client Tls Policies Set Iam Policy': 'projects_locations-client-tls-policies-set-iam-policy.md'
- 'Locations Client Tls Policies Test Iam Permissions': 'projects_locations-client-tls-policies-test-iam-permissions.md'
- 'Locations Gateway Security Policies Create': 'projects_locations-gateway-security-policies-create.md'
- 'Locations Gateway Security Policies Delete': 'projects_locations-gateway-security-policies-delete.md'
- 'Locations Gateway Security Policies Get': 'projects_locations-gateway-security-policies-get.md'
- 'Locations Gateway Security Policies List': 'projects_locations-gateway-security-policies-list.md'
- 'Locations Gateway Security Policies Patch': 'projects_locations-gateway-security-policies-patch.md'
- 'Locations Gateway Security Policies Rules Create': 'projects_locations-gateway-security-policies-rules-create.md'
- 'Locations Gateway Security Policies Rules Delete': 'projects_locations-gateway-security-policies-rules-delete.md'
- 'Locations Gateway Security Policies Rules Get': 'projects_locations-gateway-security-policies-rules-get.md'
- 'Locations Gateway Security Policies Rules List': 'projects_locations-gateway-security-policies-rules-list.md'
- 'Locations Gateway Security Policies Rules Patch': 'projects_locations-gateway-security-policies-rules-patch.md'
- 'Locations Get': 'projects_locations-get.md'
- 'Locations List': 'projects_locations-list.md'
- 'Locations Operations Cancel': 'projects_locations-operations-cancel.md'
- 'Locations Operations Delete': 'projects_locations-operations-delete.md'
- 'Locations Operations Get': 'projects_locations-operations-get.md'
- 'Locations Operations List': 'projects_locations-operations-list.md'
- 'Locations Server Tls Policies Create': 'projects_locations-server-tls-policies-create.md'
- 'Locations Server Tls Policies Delete': 'projects_locations-server-tls-policies-delete.md'
- 'Locations Server Tls Policies Get': 'projects_locations-server-tls-policies-get.md'
- 'Locations Server Tls Policies Get Iam Policy': 'projects_locations-server-tls-policies-get-iam-policy.md'
- 'Locations Server Tls Policies List': 'projects_locations-server-tls-policies-list.md'
- 'Locations Server Tls Policies Patch': 'projects_locations-server-tls-policies-patch.md'
- 'Locations Server Tls Policies Set Iam Policy': 'projects_locations-server-tls-policies-set-iam-policy.md'
- 'Locations Server Tls Policies Test Iam Permissions': 'projects_locations-server-tls-policies-test-iam-permissions.md'
- 'Locations Tls Inspection Policies Create': 'projects_locations-tls-inspection-policies-create.md'
- 'Locations Tls Inspection Policies Delete': 'projects_locations-tls-inspection-policies-delete.md'
- 'Locations Tls Inspection Policies Get': 'projects_locations-tls-inspection-policies-get.md'
- 'Locations Tls Inspection Policies List': 'projects_locations-tls-inspection-policies-list.md'
- 'Locations Tls Inspection Policies Patch': 'projects_locations-tls-inspection-policies-patch.md'
- 'Locations Url Lists Create': 'projects_locations-url-lists-create.md'
- 'Locations Url Lists Delete': 'projects_locations-url-lists-delete.md'
- 'Locations Url Lists Get': 'projects_locations-url-lists-get.md'
- 'Locations Url Lists List': 'projects_locations-url-lists-list.md'
- 'Locations Url Lists Patch': 'projects_locations-url-lists-patch.md'
theme: readthedocs
copyright: Copyright &copy; 2015-2020, `Sebastian Thiel`

File diff suppressed because it is too large Load Diff