mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-30 22:03:40 +01:00
274 lines
74 KiB
HTML
274 lines
74 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `ProjectMethods` struct in crate `google_monitoring3`."><meta name="keywords" content="rust, rustlang, rust-lang, ProjectMethods"><title>google_monitoring3::api::ProjectMethods - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../google_monitoring3/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct ProjectMethods</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.alert_policies_create">alert_policies_create</a><a href="#method.alert_policies_delete">alert_policies_delete</a><a href="#method.alert_policies_get">alert_policies_get</a><a href="#method.alert_policies_list">alert_policies_list</a><a href="#method.alert_policies_patch">alert_policies_patch</a><a href="#method.collectd_time_series_create">collectd_time_series_create</a><a href="#method.groups_create">groups_create</a><a href="#method.groups_delete">groups_delete</a><a href="#method.groups_get">groups_get</a><a href="#method.groups_list">groups_list</a><a href="#method.groups_members_list">groups_members_list</a><a href="#method.groups_update">groups_update</a><a href="#method.metric_descriptors_create">metric_descriptors_create</a><a href="#method.metric_descriptors_delete">metric_descriptors_delete</a><a href="#method.metric_descriptors_get">metric_descriptors_get</a><a href="#method.metric_descriptors_list">metric_descriptors_list</a><a href="#method.monitored_resource_descriptors_get">monitored_resource_descriptors_get</a><a href="#method.monitored_resource_descriptors_list">monitored_resource_descriptors_list</a><a href="#method.notification_channel_descriptors_get">notification_channel_descriptors_get</a><a href="#method.notification_channel_descriptors_list">notification_channel_descriptors_list</a><a href="#method.notification_channels_create">notification_channels_create</a><a href="#method.notification_channels_delete">notification_channels_delete</a><a href="#method.notification_channels_get">notification_channels_get</a><a href="#method.notification_channels_get_verification_code">notification_channels_get_verification_code</a><a href="#method.notification_channels_list">notification_channels_list</a><a href="#method.notification_channels_patch">notification_channels_patch</a><a href="#method.notification_channels_send_verification_code">notification_channels_send_verification_code</a><a href="#method.notification_channels_verify">notification_channels_verify</a><a href="#method.time_series_create">time_series_create</a><a href="#method.time_series_list">time_series_list</a><a href="#method.time_series_query">time_series_query</a><a href="#method.uptime_check_configs_create">uptime_check_configs_create</a><a href="#method.uptime_check_configs_delete">uptime_check_configs_delete</a><a href="#method.uptime_check_configs_get">uptime_check_configs_get</a><a href="#method.uptime_check_configs_list">uptime_check_configs_list</a><a href="#method.uptime_check_configs_patch">uptime_check_configs_patch</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-MethodsBuilder">MethodsBuilder</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class="location"><a href="../index.html">google_monitoring3</a>::<wbr><a href="index.html">api</a></p><div id="sidebar-vars" data-name="ProjectMethods" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">google_monitoring3</a>::<wbr><a href="index.html">api</a>::<wbr><a class="struct" href="">ProjectMethods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2375-2379" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct ProjectMethods<'a, C> <span class="where fmt-newline">where<br> C: 'a, </span> { /* fields omitted */ }</pre></div><div class="docblock"><p>A builder providing access to all methods supported on <em>project</em> resources.
|
||
It is not used directly, but through the <code>Monitoring</code> hub.</p>
|
||
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
|
||
<p>Instantiate a resource builder</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper_rustls</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">yup_oauth2</span> <span class="kw">as</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">google_monitoring3</span> <span class="kw">as</span> <span class="ident">monitoring3</span>;
|
||
|
||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">default</span>::<span class="ident">Default</span>;
|
||
<span class="kw">use</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">use</span> <span class="ident">monitoring3</span>::<span class="ident">Monitoring</span>;
|
||
|
||
<span class="kw">let</span> <span class="ident">secret</span>: <span class="ident">oauth2</span>::<span class="ident">ApplicationSecret</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||
<span class="kw">let</span> <span class="ident">auth</span> <span class="op">=</span> <span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowAuthenticator</span>::<span class="ident">builder</span>(
|
||
<span class="ident">secret</span>,
|
||
<span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowReturnMethod</span>::<span class="ident">HTTPRedirect</span>,
|
||
).<span class="ident">build</span>().<span class="kw">await</span>.<span class="ident">unwrap</span>();
|
||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">hub</span> <span class="op">=</span> <span class="ident">Monitoring</span>::<span class="ident">new</span>(<span class="ident">hyper</span>::<span class="ident">Client</span>::<span class="ident">builder</span>().<span class="ident">build</span>(<span class="ident">hyper_rustls</span>::<span class="ident">HttpsConnector</span>::<span class="ident">with_native_roots</span>()), <span class="ident">auth</span>);
|
||
<span class="comment">// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*</span>
|
||
<span class="comment">// like `alert_policies_create(...)`, `alert_policies_delete(...)`, `alert_policies_get(...)`, `alert_policies_list(...)`, `alert_policies_patch(...)`, `collectd_time_series_create(...)`, `groups_create(...)`, `groups_delete(...)`, `groups_get(...)`, `groups_list(...)`, `groups_members_list(...)`, `groups_update(...)`, `metric_descriptors_create(...)`, `metric_descriptors_delete(...)`, `metric_descriptors_get(...)`, `metric_descriptors_list(...)`, `monitored_resource_descriptors_get(...)`, `monitored_resource_descriptors_list(...)`, `notification_channel_descriptors_get(...)`, `notification_channel_descriptors_list(...)`, `notification_channels_create(...)`, `notification_channels_delete(...)`, `notification_channels_get(...)`, `notification_channels_get_verification_code(...)`, `notification_channels_list(...)`, `notification_channels_patch(...)`, `notification_channels_send_verification_code(...)`, `notification_channels_verify(...)`, `time_series_create(...)`, `time_series_list(...)`, `time_series_query(...)`, `uptime_check_configs_create(...)`, `uptime_check_configs_delete(...)`, `uptime_check_configs_get(...)`, `uptime_check_configs_list(...)` and `uptime_check_configs_patch(...)`</span>
|
||
<span class="comment">// to build up your call.</span>
|
||
<span class="kw">let</span> <span class="ident">rb</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">projects</span>();</pre></div>
|
||
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl<'a, C> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2383-3076" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.alert_policies_create" class="method"><code>pub fn <a href="#method.alert_policies_create" class="fnname">alert_policies_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.AlertPolicy.html" title="struct google_monitoring3::api::AlertPolicy">AlertPolicy</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectAlertPolicyCreateCall.html" title="struct google_monitoring3::api::ProjectAlertPolicyCreateCall">ProjectAlertPolicyCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2393-2402" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new alerting policy.</p>
|
||
<h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project in which to create the alerting policy. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policy will be written, not the name of the created policy. |name| must be a host project of a workspace, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will have a name that contains a normalized representation of this name as a prefix but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.</li>
|
||
</ul>
|
||
</div><h4 id="method.alert_policies_delete" class="method"><code>pub fn <a href="#method.alert_policies_delete" class="fnname">alert_policies_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectAlertPolicyDeleteCall.html" title="struct google_monitoring3::api::ProjectAlertPolicyDeleteCall">ProjectAlertPolicyDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2411-2419" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes an alerting policy.</p>
|
||
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The alerting policy to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] For more information, see AlertPolicy.</li>
|
||
</ul>
|
||
</div><h4 id="method.alert_policies_get" class="method"><code>pub fn <a href="#method.alert_policies_get" class="fnname">alert_policies_get</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectAlertPolicyGetCall.html" title="struct google_monitoring3::api::ProjectAlertPolicyGetCall">ProjectAlertPolicyGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2428-2436" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single alerting policy.</p>
|
||
<h1 id="arguments-2" class="section-header"><a href="#arguments-2">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The alerting policy to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.alert_policies_list" class="method"><code>pub fn <a href="#method.alert_policies_list" class="fnname">alert_policies_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectAlertPolicyListCall.html" title="struct google_monitoring3::api::ProjectAlertPolicyListCall">ProjectAlertPolicyListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2445-2457" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the existing alerting policies for the workspace.</p>
|
||
<h1 id="arguments-3" class="section-header"><a href="#arguments-3">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project whose alert policies are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the GetAlertPolicy operation, instead.</li>
|
||
</ul>
|
||
</div><h4 id="method.alert_policies_patch" class="method"><code>pub fn <a href="#method.alert_policies_patch" class="fnname">alert_policies_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.AlertPolicy.html" title="struct google_monitoring3::api::AlertPolicy">AlertPolicy</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectAlertPolicyPatchCall.html" title="struct google_monitoring3::api::ProjectAlertPolicyPatchCall">ProjectAlertPolicyPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2467-2477" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates an alerting policy. You can either replace the entire policy with a new one or replace only certain fields in the current alerting policy by specifying the fields to be updated via updateMask. Returns the updated alerting policy.</p>
|
||
<h1 id="arguments-4" class="section-header"><a href="#arguments-4">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Stackdriver Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request.</li>
|
||
</ul>
|
||
</div><h4 id="method.collectd_time_series_create" class="method"><code>pub fn <a href="#method.collectd_time_series_create" class="fnname">collectd_time_series_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.CreateCollectdTimeSeriesRequest.html" title="struct google_monitoring3::api::CreateCollectdTimeSeriesRequest">CreateCollectdTimeSeriesRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectCollectdTimeSeryCreateCall.html" title="struct google_monitoring3::api::ProjectCollectdTimeSeryCreateCall">ProjectCollectdTimeSeryCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2487-2496" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Stackdriver Monitoring Agent only: Creates a new time series.This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.</p>
|
||
<h1 id="arguments-5" class="section-header"><a href="#arguments-5">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The project in which to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_members_list" class="method"><code>pub fn <a href="#method.groups_members_list" class="fnname">groups_members_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupMemberListCall.html" title="struct google_monitoring3::api::ProjectGroupMemberListCall">ProjectGroupMemberListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2505-2518" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the monitored resources that are members of a group.</p>
|
||
<h1 id="arguments-6" class="section-header"><a href="#arguments-6">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The group whose members are listed. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_create" class="method"><code>pub fn <a href="#method.groups_create" class="fnname">groups_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.Group.html" title="struct google_monitoring3::api::Group">Group</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupCreateCall.html" title="struct google_monitoring3::api::ProjectGroupCreateCall">ProjectGroupCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2528-2538" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new group.</p>
|
||
<h1 id="arguments-7" class="section-header"><a href="#arguments-7">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_delete" class="method"><code>pub fn <a href="#method.groups_delete" class="fnname">groups_delete</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupDeleteCall.html" title="struct google_monitoring3::api::ProjectGroupDeleteCall">ProjectGroupDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2547-2556" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes an existing group.</p>
|
||
<h1 id="arguments-8" class="section-header"><a href="#arguments-8">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The group to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_get" class="method"><code>pub fn <a href="#method.groups_get" class="fnname">groups_get</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupGetCall.html" title="struct google_monitoring3::api::ProjectGroupGetCall">ProjectGroupGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2565-2573" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single group.</p>
|
||
<h1 id="arguments-9" class="section-header"><a href="#arguments-9">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The group to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_list" class="method"><code>pub fn <a href="#method.groups_list" class="fnname">groups_list</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupListCall.html" title="struct google_monitoring3::api::ProjectGroupListCall">ProjectGroupListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2582-2595" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the existing groups.</p>
|
||
<h1 id="arguments-10" class="section-header"><a href="#arguments-10">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.groups_update" class="method"><code>pub fn <a href="#method.groups_update" class="fnname">groups_update</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.Group.html" title="struct google_monitoring3::api::Group">Group</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectGroupUpdateCall.html" title="struct google_monitoring3::api::ProjectGroupUpdateCall">ProjectGroupUpdateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2605-2615" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates an existing group. You can change any group attributes except name.</p>
|
||
<h1 id="arguments-11" class="section-header"><a href="#arguments-11">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Output only. The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically.</li>
|
||
</ul>
|
||
</div><h4 id="method.metric_descriptors_create" class="method"><code>pub fn <a href="#method.metric_descriptors_create" class="fnname">metric_descriptors_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.MetricDescriptor.html" title="struct google_monitoring3::api::MetricDescriptor">MetricDescriptor</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMetricDescriptorCreateCall.html" title="struct google_monitoring3::api::ProjectMetricDescriptorCreateCall">ProjectMetricDescriptorCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2625-2634" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new metric descriptor. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics).</p>
|
||
<h1 id="arguments-12" class="section-header"><a href="#arguments-12">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.metric_descriptors_delete" class="method"><code>pub fn <a href="#method.metric_descriptors_delete" class="fnname">metric_descriptors_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMetricDescriptorDeleteCall.html" title="struct google_monitoring3::api::ProjectMetricDescriptorDeleteCall">ProjectMetricDescriptorDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2643-2651" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes a metric descriptor. Only user-created custom metrics (https://cloud.google.com/monitoring/custom-metrics) can be deleted.</p>
|
||
<h1 id="arguments-13" class="section-header"><a href="#arguments-13">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The metric descriptor on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".</li>
|
||
</ul>
|
||
</div><h4 id="method.metric_descriptors_get" class="method"><code>pub fn <a href="#method.metric_descriptors_get" class="fnname">metric_descriptors_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMetricDescriptorGetCall.html" title="struct google_monitoring3::api::ProjectMetricDescriptorGetCall">ProjectMetricDescriptorGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2660-2668" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single metric descriptor. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-14" class="section-header"><a href="#arguments-14">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The metric descriptor on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An example value of [METRIC_ID] is "compute.googleapis.com/instance/disk/read_bytes_count".</li>
|
||
</ul>
|
||
</div><h4 id="method.metric_descriptors_list" class="method"><code>pub fn <a href="#method.metric_descriptors_list" class="fnname">metric_descriptors_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMetricDescriptorListCall.html" title="struct google_monitoring3::api::ProjectMetricDescriptorListCall">ProjectMetricDescriptorListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2677-2688" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists metric descriptors that match a filter. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-15" class="section-header"><a href="#arguments-15">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.monitored_resource_descriptors_get" class="method"><code>pub fn <a href="#method.monitored_resource_descriptors_get" class="fnname">monitored_resource_descriptors_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMonitoredResourceDescriptorGetCall.html" title="struct google_monitoring3::api::ProjectMonitoredResourceDescriptorGetCall">ProjectMonitoredResourceDescriptorGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2697-2705" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single monitored resource descriptor. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-16" class="section-header"><a href="#arguments-16">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The monitored resource descriptor to get. The format is: projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE] The [RESOURCE_TYPE] is a predefined type, such as cloudsql_database.</li>
|
||
</ul>
|
||
</div><h4 id="method.monitored_resource_descriptors_list" class="method"><code>pub fn <a href="#method.monitored_resource_descriptors_list" class="fnname">monitored_resource_descriptors_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectMonitoredResourceDescriptorListCall.html" title="struct google_monitoring3::api::ProjectMonitoredResourceDescriptorListCall">ProjectMonitoredResourceDescriptorListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2714-2725" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists monitored resource descriptors that match a filter. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-17" class="section-header"><a href="#arguments-17">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channel_descriptors_get" class="method"><code>pub fn <a href="#method.notification_channel_descriptors_get" class="fnname">notification_channel_descriptors_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelDescriptorGetCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelDescriptorGetCall">ProjectNotificationChannelDescriptorGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2734-2742" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.</p>
|
||
<h1 id="arguments-18" class="section-header"><a href="#arguments-18">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The channel type for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE] </li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channel_descriptors_list" class="method"><code>pub fn <a href="#method.notification_channel_descriptors_list" class="fnname">notification_channel_descriptors_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelDescriptorListCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelDescriptorListCall">ProjectNotificationChannelDescriptorListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2751-2761" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.</p>
|
||
<h1 id="arguments-19" class="section-header"><a href="#arguments-19">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_create" class="method"><code>pub fn <a href="#method.notification_channels_create" class="fnname">notification_channels_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.NotificationChannel.html" title="struct google_monitoring3::api::NotificationChannel">NotificationChannel</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelCreateCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelCreateCall">ProjectNotificationChannelCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2771-2780" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.</p>
|
||
<h1 id="arguments-20" class="section-header"><a href="#arguments-20">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container into which the channel will be written, this does not name the newly created channel. The resulting channel's name will have a normalized version of this field as a prefix, but will add /notificationChannels/[CHANNEL_ID] to identify the channel.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_delete" class="method"><code>pub fn <a href="#method.notification_channels_delete" class="fnname">notification_channels_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelDeleteCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelDeleteCall">ProjectNotificationChannelDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2789-2798" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes a notification channel.</p>
|
||
<h1 id="arguments-21" class="section-header"><a href="#arguments-21">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_get" class="method"><code>pub fn <a href="#method.notification_channels_get" class="fnname">notification_channels_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelGetCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelGetCall">ProjectNotificationChannelGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2807-2815" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.</p>
|
||
<h1 id="arguments-22" class="section-header"><a href="#arguments-22">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_get_verification_code" class="method"><code>pub fn <a href="#method.notification_channels_get_verification_code" class="fnname">notification_channels_get_verification_code</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.GetNotificationChannelVerificationCodeRequest.html" title="struct google_monitoring3::api::GetNotificationChannelVerificationCodeRequest">GetNotificationChannelVerificationCodeRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelGetVerificationCodeCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelGetVerificationCodeCall">ProjectNotificationChannelGetVerificationCodeCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2825-2834" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time.</p>
|
||
<h1 id="arguments-23" class="section-header"><a href="#arguments-23">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The notification channel for which a verification code is to be generated and retrieved. This must name a channel that is already verified; if the specified channel is not verified, the request will fail.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_list" class="method"><code>pub fn <a href="#method.notification_channels_list" class="fnname">notification_channels_list</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelListCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelListCall">ProjectNotificationChannelListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2843-2855" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the notification channels that have been created for the project.</p>
|
||
<h1 id="arguments-24" class="section-header"><a href="#arguments-24">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the GetNotificationChannel operation.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_patch" class="method"><code>pub fn <a href="#method.notification_channels_patch" class="fnname">notification_channels_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.NotificationChannel.html" title="struct google_monitoring3::api::NotificationChannel">NotificationChannel</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelPatchCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelPatchCall">ProjectNotificationChannelPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2865-2875" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates a notification channel. Fields not specified in the field mask remain unchanged.</p>
|
||
<h1 id="arguments-25" class="section-header"><a href="#arguments-25">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_send_verification_code" class="method"><code>pub fn <a href="#method.notification_channels_send_verification_code" class="fnname">notification_channels_send_verification_code</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.SendNotificationChannelVerificationCodeRequest.html" title="struct google_monitoring3::api::SendNotificationChannelVerificationCodeRequest">SendNotificationChannelVerificationCodeRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelSendVerificationCodeCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelSendVerificationCodeCall">ProjectNotificationChannelSendVerificationCodeCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2885-2894" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.</p>
|
||
<h1 id="arguments-26" class="section-header"><a href="#arguments-26">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The notification channel to which to send a verification code.</li>
|
||
</ul>
|
||
</div><h4 id="method.notification_channels_verify" class="method"><code>pub fn <a href="#method.notification_channels_verify" class="fnname">notification_channels_verify</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.VerifyNotificationChannelRequest.html" title="struct google_monitoring3::api::VerifyNotificationChannelRequest">VerifyNotificationChannelRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectNotificationChannelVerifyCall.html" title="struct google_monitoring3::api::ProjectNotificationChannelVerifyCall">ProjectNotificationChannelVerifyCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2904-2913" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.</p>
|
||
<h1 id="arguments-27" class="section-header"><a href="#arguments-27">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The notification channel to verify.</li>
|
||
</ul>
|
||
</div><h4 id="method.time_series_create" class="method"><code>pub fn <a href="#method.time_series_create" class="fnname">time_series_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.CreateTimeSeriesRequest.html" title="struct google_monitoring3::api::CreateTimeSeriesRequest">CreateTimeSeriesRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectTimeSeryCreateCall.html" title="struct google_monitoring3::api::ProjectTimeSeryCreateCall">ProjectTimeSeryCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2923-2932" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.</p>
|
||
<h1 id="arguments-28" class="section-header"><a href="#arguments-28">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.time_series_list" class="method"><code>pub fn <a href="#method.time_series_list" class="fnname">time_series_list</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectTimeSeryListCall.html" title="struct google_monitoring3::api::ProjectTimeSeryListCall">ProjectTimeSeryListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2941-2964" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists time series that match a filter. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-29" class="section-header"><a href="#arguments-29">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The project, organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.time_series_query" class="method"><code>pub fn <a href="#method.time_series_query" class="fnname">time_series_query</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.QueryTimeSeriesRequest.html" title="struct google_monitoring3::api::QueryTimeSeriesRequest">QueryTimeSeriesRequest</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectTimeSeryQueryCall.html" title="struct google_monitoring3::api::ProjectTimeSeryQueryCall">ProjectTimeSeryQueryCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2974-2983" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Queries time series using Monitoring Query Language. This method does not require a Workspace.</p>
|
||
<h1 id="arguments-30" class="section-header"><a href="#arguments-30">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.uptime_check_configs_create" class="method"><code>pub fn <a href="#method.uptime_check_configs_create" class="fnname">uptime_check_configs_create</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.UptimeCheckConfig.html" title="struct google_monitoring3::api::UptimeCheckConfig">UptimeCheckConfig</a>, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectUptimeCheckConfigCreateCall.html" title="struct google_monitoring3::api::ProjectUptimeCheckConfigCreateCall">ProjectUptimeCheckConfigCreateCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2993-3002" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Creates a new Uptime check configuration.</p>
|
||
<h1 id="arguments-31" class="section-header"><a href="#arguments-31">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>parent</code> - Required. The project in which to create the Uptime check. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.uptime_check_configs_delete" class="method"><code>pub fn <a href="#method.uptime_check_configs_delete" class="fnname">uptime_check_configs_delete</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectUptimeCheckConfigDeleteCall.html" title="struct google_monitoring3::api::ProjectUptimeCheckConfigDeleteCall">ProjectUptimeCheckConfigDeleteCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#3011-3019" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.</p>
|
||
<h1 id="arguments-32" class="section-header"><a href="#arguments-32">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The Uptime check configuration to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.uptime_check_configs_get" class="method"><code>pub fn <a href="#method.uptime_check_configs_get" class="fnname">uptime_check_configs_get</a>(<br> &self, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectUptimeCheckConfigGetCall.html" title="struct google_monitoring3::api::ProjectUptimeCheckConfigGetCall">ProjectUptimeCheckConfigGetCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#3028-3036" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Gets a single Uptime check configuration.</p>
|
||
<h1 id="arguments-33" class="section-header"><a href="#arguments-33">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>name</code> - Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] </li>
|
||
</ul>
|
||
</div><h4 id="method.uptime_check_configs_list" class="method"><code>pub fn <a href="#method.uptime_check_configs_list" class="fnname">uptime_check_configs_list</a>(<br> &self, <br> parent: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectUptimeCheckConfigListCall.html" title="struct google_monitoring3::api::ProjectUptimeCheckConfigListCall">ProjectUptimeCheckConfigListCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#3045-3055" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).</p>
|
||
<h1 id="arguments-34" class="section-header"><a href="#arguments-34">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>parent</code> - Required. The project whose Uptime check configurations are listed. The format is: projects/[PROJECT_ID_OR_NUMBER] </li>
|
||
</ul>
|
||
</div><h4 id="method.uptime_check_configs_patch" class="method"><code>pub fn <a href="#method.uptime_check_configs_patch" class="fnname">uptime_check_configs_patch</a>(<br> &self, <br> request: <a class="struct" href="../../google_monitoring3/api/struct.UptimeCheckConfig.html" title="struct google_monitoring3::api::UptimeCheckConfig">UptimeCheckConfig</a>, <br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="struct" href="../../google_monitoring3/api/struct.ProjectUptimeCheckConfigPatchCall.html" title="struct google_monitoring3::api::ProjectUptimeCheckConfigPatchCall">ProjectUptimeCheckConfigPatchCall</a><'a, C></code><a class="srclink" href="../../src/google_monitoring3/api.rs.html#3065-3075" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a builder to help you perform the following task:</p>
|
||
<p>Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.</p>
|
||
<h1 id="arguments-35" class="section-header"><a href="#arguments-35">Arguments</a></h1>
|
||
<ul>
|
||
<li><code>request</code> - No description provided.</li>
|
||
<li><code>name</code> - A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.</li>
|
||
</ul>
|
||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-MethodsBuilder" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="../../google_monitoring3/client/trait.MethodsBuilder.html" title="trait google_monitoring3::client::MethodsBuilder">MethodsBuilder</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-MethodsBuilder" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/api.rs.html#2381" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-RefUnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Send" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Sync" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl<'a, C> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-Unpin" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl<'a, C> !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../google_monitoring3/api/struct.ProjectMethods.html" title="struct google_monitoring3::api::ProjectMethods">ProjectMethods</a><'a, C></code><a href="#impl-UnwindSafe" class="anchor"></a><a class="srclink" href="../../src/google_monitoring3/lib.rs.html#1" title="goto source code">[src]</a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></div><h3 id="impl-From%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545-549" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#546" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-Instrument" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</code><a href="#impl-Instrument" class="anchor"></a><a class="srclink" href="../../src/tracing/instrument.rs.html#155" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.instrument" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.instrument" class="fnname">instrument</a>(self, span: <a class="struct" href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#38" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the provided <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></p>
|
||
</div><h4 id="method.in_current_span" class="method hidden"><code>pub fn <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span" class="fnname">in_current_span</a>(self) -> <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></code><a class="srclink" href="../../src/tracing/instrument.rs.html#74" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Instruments this type with the <a href="../struct.Span.html#method.current">current</a> <code>Span</code>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></p>
|
||
</div></div><h3 id="impl-Into%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#534-541" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#538" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryFrom%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#582-591" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div><h3 id="impl-TryInto%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#568-577" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error-1" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div><h4 id="method.try_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_monitoring3"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |