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

895 lines
65 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 Logging (protocol v2)" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-logging2-cli/" />
<link rel="shortcut icon" href="img/favicon.ico" />
<title>Logging v5.0.4+20240223</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-logging2-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"> Logging v5.0.4+20240223
</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">Billing Accounts</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_exclusions-create/">Exclusions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_exclusions-delete/">Exclusions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_exclusions-get/">Exclusions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_exclusions-list/">Exclusions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_exclusions-patch/">Exclusions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_get-cmek-settings/">Get Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_get-settings/">Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-create/">Locations Buckets Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-create-async/">Locations Buckets Create Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-delete/">Locations Buckets Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-get/">Locations Buckets Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-links-create/">Locations Buckets Links Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-links-delete/">Locations Buckets Links Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-links-get/">Locations Buckets Links Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-links-list/">Locations Buckets Links List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-list/">Locations Buckets List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-patch/">Locations Buckets Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-undelete/">Locations Buckets Undelete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-update-async/">Locations Buckets Update Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-create/">Locations Buckets Views Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-delete/">Locations Buckets Views Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-get/">Locations Buckets Views Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-list/">Locations Buckets Views List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-logs-list/">Locations Buckets Views Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-buckets-views-patch/">Locations Buckets Views Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-get/">Locations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-list/">Locations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-operations-cancel/">Locations Operations Cancel</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-operations-get/">Locations Operations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-operations-list/">Locations Operations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-recent-queries-list/">Locations Recent Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-saved-queries-create/">Locations Saved Queries Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-saved-queries-delete/">Locations Saved Queries Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_locations-saved-queries-list/">Locations Saved Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_logs-delete/">Logs Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_logs-list/">Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-create/">Sinks Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-delete/">Sinks Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-get/">Sinks Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-list/">Sinks List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-patch/">Sinks Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="billing-accounts_sinks-update/">Sinks Update</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Entries</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="entries_copy/">Copy</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="entries_list/">List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="entries_tail/">Tail</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="entries_write/">Write</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Exclusions</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="exclusions_create/">Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="exclusions_delete/">Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="exclusions_get/">Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="exclusions_list/">List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="exclusions_patch/">Patch</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Folders</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="folders_exclusions-create/">Exclusions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_exclusions-delete/">Exclusions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_exclusions-get/">Exclusions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_exclusions-list/">Exclusions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_exclusions-patch/">Exclusions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_get-cmek-settings/">Get Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_get-settings/">Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-create/">Locations Buckets Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-create-async/">Locations Buckets Create Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-delete/">Locations Buckets Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-get/">Locations Buckets Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-links-create/">Locations Buckets Links Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-links-delete/">Locations Buckets Links Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-links-get/">Locations Buckets Links Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-links-list/">Locations Buckets Links List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-list/">Locations Buckets List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-patch/">Locations Buckets Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-undelete/">Locations Buckets Undelete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-update-async/">Locations Buckets Update Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-create/">Locations Buckets Views Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-delete/">Locations Buckets Views Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-get/">Locations Buckets Views Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-list/">Locations Buckets Views List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-logs-list/">Locations Buckets Views Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-buckets-views-patch/">Locations Buckets Views Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-get/">Locations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-list/">Locations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-operations-cancel/">Locations Operations Cancel</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-operations-get/">Locations Operations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-operations-list/">Locations Operations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-recent-queries-list/">Locations Recent Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-saved-queries-create/">Locations Saved Queries Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-saved-queries-delete/">Locations Saved Queries Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_locations-saved-queries-list/">Locations Saved Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_logs-delete/">Logs Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_logs-list/">Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-create/">Sinks Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-delete/">Sinks Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-get/">Sinks Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-list/">Sinks List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-patch/">Sinks Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_sinks-update/">Sinks Update</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="folders_update-settings/">Update Settings</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Locations</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-create/">Buckets Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-create-async/">Buckets Create Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-delete/">Buckets Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-get/">Buckets Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-links-create/">Buckets Links Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-links-delete/">Buckets Links Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-links-get/">Buckets Links Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-links-list/">Buckets Links List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-list/">Buckets List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-patch/">Buckets Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-undelete/">Buckets Undelete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-update-async/">Buckets Update Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-views-create/">Buckets Views Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-views-delete/">Buckets Views Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-views-get/">Buckets Views Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-views-list/">Buckets Views List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_buckets-views-patch/">Buckets Views Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_get/">Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_list/">List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_operations-cancel/">Operations Cancel</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_operations-get/">Operations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="locations_operations-list/">Operations List</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Logs</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="logs_delete/">Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="logs_list/">List</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Methods</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="methods_get-cmek-settings/">Get Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="methods_get-settings/">Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="methods_update-cmek-settings/">Update Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="methods_update-settings/">Update Settings</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Monitored Resource Descriptors</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="monitored-resource-descriptors_list/">List</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Organizations</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="organizations_exclusions-create/">Exclusions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_exclusions-delete/">Exclusions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_exclusions-get/">Exclusions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_exclusions-list/">Exclusions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_exclusions-patch/">Exclusions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_get-cmek-settings/">Get Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_get-settings/">Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-create/">Locations Buckets Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-create-async/">Locations Buckets Create Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-delete/">Locations Buckets Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-get/">Locations Buckets Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-links-create/">Locations Buckets Links Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-links-delete/">Locations Buckets Links Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-links-get/">Locations Buckets Links Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-links-list/">Locations Buckets Links List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-list/">Locations Buckets List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-patch/">Locations Buckets Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-undelete/">Locations Buckets Undelete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-update-async/">Locations Buckets Update Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-create/">Locations Buckets Views Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-delete/">Locations Buckets Views Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-get/">Locations Buckets Views Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-list/">Locations Buckets Views List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-logs-list/">Locations Buckets Views Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-buckets-views-patch/">Locations Buckets Views Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-get/">Locations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-list/">Locations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-operations-cancel/">Locations Operations Cancel</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-operations-get/">Locations Operations Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-operations-list/">Locations Operations List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-recent-queries-list/">Locations Recent Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-saved-queries-create/">Locations Saved Queries Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-saved-queries-delete/">Locations Saved Queries Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-saved-queries-list/">Locations Saved Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_logs-delete/">Logs Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_logs-list/">Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-create/">Sinks Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-delete/">Sinks Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-get/">Sinks Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-list/">Sinks List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-patch/">Sinks Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_sinks-update/">Sinks Update</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_update-cmek-settings/">Update Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="organizations_update-settings/">Update Settings</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Projects</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="projects_exclusions-create/">Exclusions Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_exclusions-delete/">Exclusions Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_exclusions-get/">Exclusions Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_exclusions-list/">Exclusions List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_exclusions-patch/">Exclusions Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_get-cmek-settings/">Get Cmek Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_get-settings/">Get Settings</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-create/">Locations Buckets Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-create-async/">Locations Buckets Create Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-delete/">Locations Buckets Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-get/">Locations Buckets Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-links-create/">Locations Buckets Links Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-links-delete/">Locations Buckets Links Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-links-get/">Locations Buckets Links Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-links-list/">Locations Buckets Links List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-list/">Locations Buckets List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-patch/">Locations Buckets Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-undelete/">Locations Buckets Undelete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-update-async/">Locations Buckets Update Async</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-create/">Locations Buckets Views Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-delete/">Locations Buckets Views Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-get/">Locations Buckets Views Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-list/">Locations Buckets Views List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-logs-list/">Locations Buckets Views Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-buckets-views-patch/">Locations Buckets Views 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-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-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-recent-queries-list/">Locations Recent Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-saved-queries-create/">Locations Saved Queries Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-saved-queries-delete/">Locations Saved Queries Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_locations-saved-queries-list/">Locations Saved Queries List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_logs-delete/">Logs Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_logs-list/">Logs List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_metrics-create/">Metrics Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_metrics-delete/">Metrics Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_metrics-get/">Metrics Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_metrics-list/">Metrics List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_metrics-update/">Metrics Update</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-create/">Sinks Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-delete/">Sinks Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-get/">Sinks Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-list/">Sinks List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-patch/">Sinks Patch</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="projects_sinks-update/">Sinks Update</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Sinks</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="sinks_create/">Create</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="sinks_delete/">Delete</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="sinks_get/">Get</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="sinks_list/">List</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="sinks_update/">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=".">Logging v5.0.4+20240223</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/logging2-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>logging2</code> command-line interface <em>(CLI)</em> allows to use most features of the <em>Google Logging</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>Logging</em> API can be found at the
<a href="https://cloud.google.com/logging/docs/">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-logging2-cli
</code></pre>
<p>Find the source code <a href="https://github.com/Byron/google-apis-rs/tree/main/gen/logging2-cli">on github</a>.</p>
<h1 id="usage">Usage</h1>
<p>This documentation was generated from the <em>Logging</em> API at revision <em>20240223</em>. The CLI is at version <em>5.0.4</em>.</p>
<pre><code class="language-bash">logging2 [options]
billing-accounts
exclusions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-cmek-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create-async &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-undelete &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-update-async &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-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-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-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-recent-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-delete &lt;log-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-delete &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-get &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-patch &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-update &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
entries
copy (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
list (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
tail (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
write (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions
create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
folders
exclusions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-cmek-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create-async &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-undelete &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-update-async &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-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-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-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-recent-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-delete &lt;log-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-delete &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-get &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-patch &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-update &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
update-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations
buckets-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-create-async &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-links-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-links-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-links-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-links-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-undelete &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-update-async &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-views-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-views-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-views-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-views-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
buckets-views-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
list &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
operations-cancel &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
operations-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
operations-list &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs
delete &lt;log-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
methods
get-cmek-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
update-cmek-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
update-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
monitored-resource-descriptors
list [-p &lt;v&gt;]... [-o &lt;out&gt;]
organizations
exclusions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-cmek-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create-async &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-undelete &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-update-async &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-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-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-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-recent-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-delete &lt;log-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-delete &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-get &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-patch &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-update &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
update-cmek-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
update-settings &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
projects
exclusions-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
exclusions-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-cmek-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get-settings &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-create-async &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-links-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-patch &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-undelete &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-update-async &lt;name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-get &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-buckets-views-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-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-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-recent-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-delete &lt;name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
locations-saved-queries-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-delete &lt;log-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
logs-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
metrics-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
metrics-delete &lt;metric-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
metrics-get &lt;metric-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
metrics-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
metrics-update &lt;metric-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-delete &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-get &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-patch &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks-update &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
sinks
create &lt;parent&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
delete &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
get &lt;sink-name&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
list &lt;parent&gt; [-p &lt;v&gt;]... [-o &lt;out&gt;]
update &lt;sink-name&gt; (-r &lt;kv&gt;)... [-p &lt;v&gt;]... [-o &lt;out&gt;]
logging2 --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>logging2-</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/logging2-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/logging2-secret.json</code>, assuming that the required <em>logging</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>logging2 --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="billing-accounts_exclusions-create/" class="btn btn-neutral float-right" title="Exclusions Create">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/logging2-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
</span>
<span><a href="billing-accounts_exclusions-create/" 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:05:21.651388+00:00
-->