mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 04:35:18 +01:00
462 lines
36 KiB
HTML
462 lines
36 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 Dataproc (protocol v1)" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-dataproc1-cli/" />
|
|
<link rel="shortcut icon" href="img/favicon.ico" />
|
|
<title>Dataproc v5.0.4+20240222</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-dataproc1-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"> Dataproc v5.0.4+20240222
|
|
</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-autoscaling-policies-create/">Locations Autoscaling Policies Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-delete/">Locations Autoscaling Policies Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-get/">Locations Autoscaling Policies Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-get-iam-policy/">Locations Autoscaling Policies Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-list/">Locations Autoscaling Policies List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-set-iam-policy/">Locations Autoscaling Policies Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-test-iam-permissions/">Locations Autoscaling Policies Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-autoscaling-policies-update/">Locations Autoscaling Policies Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-batches-create/">Locations Batches Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-batches-delete/">Locations Batches Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-batches-get/">Locations Batches Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-batches-list/">Locations Batches 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-session-templates-create/">Locations Session Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-session-templates-delete/">Locations Session Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-session-templates-get/">Locations Session Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-session-templates-list/">Locations Session Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-session-templates-patch/">Locations Session Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-sessions-create/">Locations Sessions Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-sessions-delete/">Locations Sessions Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-sessions-get/">Locations Sessions Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-sessions-list/">Locations Sessions List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-sessions-terminate/">Locations Sessions Terminate</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-create/">Locations Workflow Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-delete/">Locations Workflow Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-get/">Locations Workflow Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-get-iam-policy/">Locations Workflow Templates Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-instantiate/">Locations Workflow Templates Instantiate</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-instantiate-inline/">Locations Workflow Templates Instantiate Inline</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-list/">Locations Workflow Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-set-iam-policy/">Locations Workflow Templates Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-test-iam-permissions/">Locations Workflow Templates Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-workflow-templates-update/">Locations Workflow Templates Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-create/">Regions Autoscaling Policies Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-delete/">Regions Autoscaling Policies Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-get/">Regions Autoscaling Policies Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-get-iam-policy/">Regions Autoscaling Policies Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-list/">Regions Autoscaling Policies List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-set-iam-policy/">Regions Autoscaling Policies Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-test-iam-permissions/">Regions Autoscaling Policies Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-autoscaling-policies-update/">Regions Autoscaling Policies Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-create/">Regions Clusters Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-delete/">Regions Clusters Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-diagnose/">Regions Clusters Diagnose</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-get/">Regions Clusters Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-get-iam-policy/">Regions Clusters Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-inject-credentials/">Regions Clusters Inject Credentials</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-list/">Regions Clusters List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-node-groups-create/">Regions Clusters Node Groups Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-node-groups-get/">Regions Clusters Node Groups Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-node-groups-repair/">Regions Clusters Node Groups Repair</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-node-groups-resize/">Regions Clusters Node Groups Resize</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-patch/">Regions Clusters Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-repair/">Regions Clusters Repair</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-set-iam-policy/">Regions Clusters Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-start/">Regions Clusters Start</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-stop/">Regions Clusters Stop</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-clusters-test-iam-permissions/">Regions Clusters Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-cancel/">Regions Jobs Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-delete/">Regions Jobs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-get/">Regions Jobs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-get-iam-policy/">Regions Jobs Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-list/">Regions Jobs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-patch/">Regions Jobs Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-set-iam-policy/">Regions Jobs Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-submit/">Regions Jobs Submit</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-submit-as-operation/">Regions Jobs Submit As Operation</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-jobs-test-iam-permissions/">Regions Jobs Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-cancel/">Regions Operations Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-delete/">Regions Operations Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-get/">Regions Operations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-get-iam-policy/">Regions Operations Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-list/">Regions Operations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-set-iam-policy/">Regions Operations Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-operations-test-iam-permissions/">Regions Operations Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-create/">Regions Workflow Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-delete/">Regions Workflow Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-get/">Regions Workflow Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-get-iam-policy/">Regions Workflow Templates Get Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-instantiate/">Regions Workflow Templates Instantiate</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-instantiate-inline/">Regions Workflow Templates Instantiate Inline</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-list/">Regions Workflow Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-set-iam-policy/">Regions Workflow Templates Set Iam Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-test-iam-permissions/">Regions Workflow Templates Test Iam Permissions</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_regions-workflow-templates-update/">Regions Workflow Templates Update</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=".">Dataproc v5.0.4+20240222</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> »</li>
|
|
<li>Home</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1-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>dataproc1</code> command-line interface <em>(CLI)</em> allows to use most features of the <em>Google Dataproc</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>Dataproc</em> API can be found at the
|
|
<a href="https://cloud.google.com/dataproc/">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-dataproc1-cli
|
|
</code></pre>
|
|
<p>Find the source code <a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1-cli">on github</a>.</p>
|
|
<h1 id="usage">Usage</h1>
|
|
<p>This documentation was generated from the <em>Dataproc</em> API at revision <em>20240222</em>. The CLI is at version <em>5.0.4</em>.</p>
|
|
<pre><code class="language-bash">dataproc1 [options]
|
|
projects
|
|
locations-autoscaling-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-delete <name> [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-get <name> [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-list <parent> [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-autoscaling-policies-update <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-batches-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-batches-delete <name> [-p <v>]... [-o <out>]
|
|
locations-batches-get <name> [-p <v>]... [-o <out>]
|
|
locations-batches-list <parent> [-p <v>]... [-o <out>]
|
|
locations-operations-cancel <name> [-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-session-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-session-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-session-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-session-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-session-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-sessions-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-sessions-delete <name> [-p <v>]... [-o <out>]
|
|
locations-sessions-get <name> [-p <v>]... [-o <out>]
|
|
locations-sessions-list <parent> [-p <v>]... [-o <out>]
|
|
locations-sessions-terminate <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-instantiate <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-instantiate-inline <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-workflow-templates-update <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-delete <name> [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-get <name> [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-list <parent> [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-autoscaling-policies-update <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-create <project-id> <region> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-delete <project-id> <region> <cluster-name> [-p <v>]... [-o <out>]
|
|
regions-clusters-diagnose <project-id> <region> <cluster-name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-get <project-id> <region> <cluster-name> [-p <v>]... [-o <out>]
|
|
regions-clusters-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-inject-credentials <project> <region> <cluster> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-list <project-id> <region> [-p <v>]... [-o <out>]
|
|
regions-clusters-node-groups-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-node-groups-get <name> [-p <v>]... [-o <out>]
|
|
regions-clusters-node-groups-repair <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-node-groups-resize <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-patch <project-id> <region> <cluster-name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-repair <project-id> <region> <cluster-name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-start <project-id> <region> <cluster-name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-stop <project-id> <region> <cluster-name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-clusters-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-cancel <project-id> <region> <job-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-delete <project-id> <region> <job-id> [-p <v>]... [-o <out>]
|
|
regions-jobs-get <project-id> <region> <job-id> [-p <v>]... [-o <out>]
|
|
regions-jobs-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-list <project-id> <region> [-p <v>]... [-o <out>]
|
|
regions-jobs-patch <project-id> <region> <job-id> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-submit <project-id> <region> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-submit-as-operation <project-id> <region> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-jobs-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-operations-cancel <name> [-p <v>]... [-o <out>]
|
|
regions-operations-delete <name> [-p <v>]... [-o <out>]
|
|
regions-operations-get <name> [-p <v>]... [-o <out>]
|
|
regions-operations-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-operations-list <name> [-p <v>]... [-o <out>]
|
|
regions-operations-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-operations-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-delete <name> [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-get <name> [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-instantiate <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-instantiate-inline <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-list <parent> [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
regions-workflow-templates-update <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
dataproc1 --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]
|
|
|
|
</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>dataproc1-</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/dataproc1-token-<scope-hash>.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/dataproc1-secret.json</code>, assuming that the required <em>dataproc</em> API
|
|
was enabled for it. Such a secret file can be downloaded in the <em>Google Developer Console</em> at
|
|
<em>APIs & auth -> Credentials -> 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>dataproc1 --debug <resource> <method> [options] 2>debug.txt</code>.</p>
|
|
|
|
</div>
|
|
</div><footer>
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
|
<a href="projects_locations-autoscaling-policies-create/" class="btn btn-neutral float-right" title="Locations Autoscaling Policies Create">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<!-- Copyright etc -->
|
|
<p>Copyright © 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/dataproc1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
|
|
<span><a href="projects_locations-autoscaling-policies-create/" style="color: #fcfcfc">Next »</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:44.930896+00:00
|
|
-->
|