Files
google-apis-rs/google_connectors1_cli/index.html
2024-03-05 21:06:01 +01:00

396 lines
30 KiB
HTML

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="A complete library to interact with Connectors (protocol v1)" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-connectors1-cli/" />
<link rel="shortcut icon" href="img/favicon.ico" />
<title>Connectors v5.0.4+20240221</title>
<link rel="stylesheet" href="css/theme.css" />
<link rel="stylesheet" href="css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
<script>
// Current page data
var mkdocs_page_name = "Home";
var mkdocs_page_input_path = "index.md";
var mkdocs_page_url = "/google-apis-rs/google-connectors1-cli/";
</script>
<script src="js/jquery-3.6.0.min.js" defer></script>
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="." class="icon icon-home"> Connectors v5.0.4+20240221
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal current" href=".">Home</a>
<ul class="current">
</ul>
</li>
</ul>
<p class="caption"><span class="caption-text">Projects</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-connection-schema-metadata-get-action/">Locations Connections Connection Schema Metadata Get Action</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-connection-schema-metadata-get-entity-type/">Locations Connections Connection Schema Metadata Get Entity Type</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-connection-schema-metadata-list-actions/">Locations Connections Connection Schema Metadata List Actions</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-connection-schema-metadata-list-entity-types/">Locations Connections Connection Schema Metadata List Entity Types</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-connection-schema-metadata-refresh/">Locations Connections Connection Schema Metadata Refresh</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-create/">Locations Connections Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-delete/">Locations Connections Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-create/">Locations Connections Event Subscriptions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-delete/">Locations Connections Event Subscriptions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-get/">Locations Connections Event Subscriptions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-list/">Locations Connections Event Subscriptions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-patch/">Locations Connections Event Subscriptions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-event-subscriptions-retry/">Locations Connections Event Subscriptions Retry</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-get/">Locations Connections Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-get-connection-schema-metadata/">Locations Connections Get Connection Schema Metadata</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-get-iam-policy/">Locations Connections Get Iam Policy</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-list/">Locations Connections List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-listen-event/">Locations Connections Listen Event</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-patch/">Locations Connections Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-repair-eventing/">Locations Connections Repair Eventing</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-runtime-action-schemas-list/">Locations Connections Runtime Action Schemas List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-runtime-entity-schemas-list/">Locations Connections Runtime Entity Schemas List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-set-iam-policy/">Locations Connections Set Iam Policy</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-connections-test-iam-permissions/">Locations Connections Test Iam Permissions</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-endpoint-attachments-create/">Locations Endpoint Attachments Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-endpoint-attachments-delete/">Locations Endpoint Attachments Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-endpoint-attachments-get/">Locations Endpoint Attachments Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-endpoint-attachments-list/">Locations Endpoint Attachments List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-endpoint-attachments-patch/">Locations Endpoint Attachments Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-get/">Locations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-get-regional-settings/">Locations Get Regional Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-get-runtime-config/">Locations Get Runtime Config</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-create/">Locations Global Custom Connectors Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-custom-connector-versions-create/">Locations Global Custom Connectors Custom Connector Versions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-custom-connector-versions-delete/">Locations Global Custom Connectors Custom Connector Versions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-custom-connector-versions-get/">Locations Global Custom Connectors Custom Connector Versions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-custom-connector-versions-list/">Locations Global Custom Connectors Custom Connector Versions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-custom-connector-versions-patch/">Locations Global Custom Connectors Custom Connector Versions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-delete/">Locations Global Custom Connectors Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-get/">Locations Global Custom Connectors Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-list/">Locations Global Custom Connectors List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-custom-connectors-patch/">Locations Global Custom Connectors Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-get-settings/">Locations Global Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-managed-zones-create/">Locations Global Managed Zones Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-managed-zones-delete/">Locations Global Managed Zones Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-managed-zones-get/">Locations Global Managed Zones Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-managed-zones-list/">Locations Global Managed Zones List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-managed-zones-patch/">Locations Global Managed Zones Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-global-update-settings/">Locations Global Update Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-list/">Locations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-operations-cancel/">Locations Operations Cancel</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-operations-delete/">Locations Operations Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-operations-get/">Locations Operations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-operations-list/">Locations Operations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-get/">Locations Providers Connectors Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-list/">Locations Providers Connectors List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-versions-eventtypes-get/">Locations Providers Connectors Versions Eventtypes Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-versions-eventtypes-list/">Locations Providers Connectors Versions Eventtypes List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-versions-get/">Locations Providers Connectors Versions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-connectors-versions-list/">Locations Providers Connectors Versions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-get/">Locations Providers Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-get-iam-policy/">Locations Providers Get Iam Policy</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-list/">Locations Providers List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-set-iam-policy/">Locations Providers Set Iam Policy</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-providers-test-iam-permissions/">Locations Providers Test Iam Permissions</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-update-regional-settings/">Locations Update Regional Settings</a>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href=".">Connectors v5.0.4+20240221</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="." class="icon icon-home" alt="Docs"></a> &raquo;</li>
<li>Home</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/connectors1-cli/edit/master/docs/index.md"
class="icon icon-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">
<!---
DO NOT EDIT !
This file was generated automatically from 'src/generator/templates/cli/README.md.mako'
DO NOT EDIT !
-->
<p>The <code>connectors1</code> command-line interface <em>(CLI)</em> allows to use most features of the <em>Google Connectors</em> service from the comfort of your terminal.</p>
<p>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.</p>
<p>If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.</p>
<p>Everything else about the <em>Connectors</em> API can be found at the
<a href="https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors">official documentation site</a>.</p>
<h1 id="installation-and-source-code">Installation and Source Code</h1>
<p>Install the command-line interface with cargo using:</p>
<pre><code class="language-bash">cargo install google-connectors1-cli
</code></pre>
<p>Find the source code <a href="https://github.com/Byron/google-apis-rs/tree/main/gen/connectors1-cli">on github</a>.</p>
<h1 id="usage">Usage</h1>
<p>This documentation was generated from the <em>Connectors</em> API at revision <em>20240221</em>. The CLI is at version <em>5.0.4</em>.</p>
<pre><code class="language-bash">connectors1 [options]
projects
locations-connections-connection-schema-metadata-get-action &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-connection-schema-metadata-get-entity-type &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-connection-schema-metadata-list-actions &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-connection-schema-metadata-list-entity-types &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-connection-schema-metadata-refresh &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-event-subscriptions-retry &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-get-connection-schema-metadata &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-get-iam-policy &lt;resource&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-listen-event &lt;resource-path&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-repair-eventing &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-runtime-action-schemas-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-runtime-entity-schemas-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-set-iam-policy &lt;resource&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-connections-test-iam-permissions &lt;resource&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-endpoint-attachments-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-endpoint-attachments-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-endpoint-attachments-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-endpoint-attachments-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-endpoint-attachments-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-get-regional-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-get-runtime-config &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-custom-connector-versions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-custom-connector-versions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-custom-connector-versions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-custom-connector-versions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-custom-connector-versions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-custom-connectors-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-managed-zones-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-managed-zones-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-managed-zones-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-managed-zones-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-managed-zones-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-global-update-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-list &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-operations-cancel &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-operations-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-operations-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-operations-list &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-versions-eventtypes-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-versions-eventtypes-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-versions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-connectors-versions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-get-iam-policy &lt;resource&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-set-iam-policy &lt;resource&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-providers-test-iam-permissions &lt;resource&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-update-regional-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
connectors1 --help
Configuration:
[--scope &lt;url&gt;]...
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 &lt;folder&gt;
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]
</code></pre>
<h1 id="configuration">Configuration</h1>
<p>The program will store all persistent data in the <code>~/.google-service-cli</code> directory in <em>JSON</em> files prefixed with <code>connectors1-</code>. You can change the directory used to store configuration with the <code>--config-dir</code> flag on a per-invocation basis.</p>
<p>More information about the various kinds of persistent data are given in the following paragraphs.</p>
<h1 id="authentication">Authentication</h1>
<p>Most APIs require a user to authenticate any request. If this is the case, the <a href="https://developers.google.com/+/api/oauth#scopes">scope</a> determines the
set of permissions granted. The granularity of these is usually no more than <em>read-only</em> or <em>full-access</em>.</p>
<p>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 <code>--scope</code> flag to specify a scope directly.
All applicable scopes are documented in the respective method's CLI documentation.</p>
<p>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.</p>
<p>If a scope was authenticated by the user, the respective information will be stored as <em>JSON</em> in the configuration
directory, e.g. <code>~/.google-service-cli/connectors1-token-&lt;scope-hash&gt;.json</code>. No manual management of these tokens
is necessary.</p>
<p>To revoke granted authentication, please refer to the <a href="http://webapps.stackexchange.com/a/30849">official documentation</a>.</p>
<h1 id="application-secrets">Application Secrets</h1>
<p>In order to allow any application to use Google services, it will need to be registered using the
<a href="https://console.developers.google.com/">Google Developer Console</a>. 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.</p>
<p>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.</p>
<p>You can workaround this limitation by putting your own secrets file at this location:
<code>~/.google-service-cli/connectors1-secret.json</code>, assuming that the required <em>connectors</em> API
was enabled for it. Such a secret file can be downloaded in the <em>Google Developer Console</em> at
<em>APIs &amp; auth -&gt; Credentials -&gt; Download JSON</em> and used as is.</p>
<p>Learn more about how to setup Google projects and enable APIs using the <a href="https://developers.google.com/console/help/new/">official documentation</a>.</p>
<h1 id="debugging">Debugging</h1>
<p>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 <em>as-is</em>.</p>
<p>The <code>--debug</code> flag will print errors using the <code>Debug</code> representation to standard error.</p>
<p>You may consider redirecting standard error into a file for ease of use, e.g. <code>connectors1 --debug &lt;resource&gt; &lt;method&gt; [options] 2&gt;debug.txt</code>.</p>
</div>
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href="projects_locations-connections-connection-schema-metadata-get-action/" class="btn btn-neutral float-right" title="Locations Connections Connection Schema Metadata Get Action">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
<p>Copyright &copy; 2015-2020, `Sebastian Thiel`</p>
</div>
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span>
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/connectors1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
</span>
<span><a href="projects_locations-connections-connection-schema-metadata-get-action/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
<script>var base_url = '.';</script>
<script src="js/theme_extra.js" defer></script>
<script src="js/theme.js" defer></script>
<script src="search/main.js" defer></script>
<script defer>
window.onload = function () {
SphinxRtdTheme.Navigation.enable(true);
};
</script>
</body>
</html>
<!--
MkDocs version : 1.3.1
Build Date UTC : 2024-03-05 20:04:37.895799+00:00
-->