mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update documentation
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Exclusions Create - Logging v2.0.4+20210325</title>
|
||||
<title>Exclusions Create - Logging v3.0.0+20220225</title>
|
||||
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
||||
<div class="wy-side-nav-search">
|
||||
<a href=".." class="icon icon-home"> Logging v2.0.4+20210325</a>
|
||||
<a href=".." class="icon icon-home"> Logging v3.0.0+20220225</a>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -79,6 +79,16 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_get-cmek-settings">Get Cmek Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_get-settings">Get Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_locations-buckets-create">Locations Buckets Create</a>
|
||||
|
||||
@@ -134,6 +144,16 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_locations-operations-cancel">Locations Operations Cancel</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_locations-operations-list">Locations Operations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_logs-delete">Logs Delete</a>
|
||||
|
||||
@@ -144,6 +164,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_operations-get">Operations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../billing-accounts_sinks-create">Sinks Create</a>
|
||||
|
||||
@@ -180,6 +205,11 @@
|
||||
|
||||
<span>Entries</span>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../entries_copy">Copy</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../entries_list">List</a>
|
||||
|
||||
@@ -257,6 +287,16 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_get-cmek-settings">Get Cmek Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_get-settings">Get Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_locations-buckets-create">Locations Buckets Create</a>
|
||||
|
||||
@@ -322,6 +362,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_locations-operations-cancel">Locations Operations Cancel</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_locations-operations-get">Locations Operations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_locations-operations-list">Locations Operations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_logs-delete">Logs Delete</a>
|
||||
|
||||
@@ -362,6 +417,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../folders_update-settings">Update Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -433,6 +493,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../locations_operations-cancel">Operations Cancel</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../locations_operations-get">Operations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../locations_operations-list">Operations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -460,11 +535,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../methods_get-settings">Get Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../methods_update-cmek-settings">Update Cmek Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../methods_update-settings">Update Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -533,6 +618,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_get-settings">Get Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_locations-buckets-create">Locations Buckets Create</a>
|
||||
|
||||
@@ -598,6 +688,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_locations-operations-cancel">Locations Operations Cancel</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_locations-operations-get">Locations Operations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_locations-operations-list">Locations Operations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_logs-delete">Logs Delete</a>
|
||||
|
||||
@@ -643,6 +748,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../organizations_update-settings">Update Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -674,6 +784,16 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_get-cmek-settings">Get Cmek Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_get-settings">Get Settings</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-buckets-create">Locations Buckets Create</a>
|
||||
|
||||
@@ -739,6 +859,21 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-operations-cancel">Locations Operations Cancel</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-operations-get">Locations Operations Get</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_locations-operations-list">Locations Operations List</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="toctree-l1 ">
|
||||
<a class="" href="../projects_logs-delete">Logs Delete</a>
|
||||
|
||||
@@ -871,7 +1006,7 @@
|
||||
</div>
|
||||
<div role="main">
|
||||
<div class="section">
|
||||
<p>Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.</p>
|
||||
<p>Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.</p>
|
||||
<h1 id="scopes">Scopes</h1>
|
||||
<p>You will need authorization for at least one of the following scopes to make a valid call:</p>
|
||||
<ul>
|
||||
@@ -883,7 +1018,7 @@ You can set the scope for this method like this: <code>logging2 --scope <scop
|
||||
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
||||
<ul>
|
||||
<li><strong><parent></strong> <em>(string)</em><ul>
|
||||
<li>Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/123456789".</li>
|
||||
<li>Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789"</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -903,11 +1038,11 @@ In the latter case it is advised to set the field-cursor to the data-structure's
|
||||
|
||||
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
|
||||
<ul>
|
||||
<li><code>-r . create-time=at</code><ul>
|
||||
<li><code>-r . create-time=sed</code><ul>
|
||||
<li>Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>description=sit</code><ul>
|
||||
<li><code>description=est</code><ul>
|
||||
<li>Optional. A description of this exclusion.</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -915,15 +1050,15 @@ In the latter case it is advised to set the field-cursor to the data-structure's
|
||||
<li>Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>filter=duo</code><ul>
|
||||
<li>Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries. For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:"resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)"</li>
|
||||
<li><code>filter=diam</code><ul>
|
||||
<li>Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>name=sadipscing</code><ul>
|
||||
<li><code>name=at</code><ul>
|
||||
<li>Required. A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>update-time=ut</code><ul>
|
||||
<li><code>update-time=erat</code><ul>
|
||||
<li>Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions.</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user