[−][src]Struct google_clouderrorreporting1_beta1::ProjectMethods
A builder providing access to all methods supported on project resources.
It is not used directly, but through the Clouderrorreporting
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_clouderrorreporting1_beta1 as clouderrorreporting1_beta1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use clouderrorreporting1_beta1::Clouderrorreporting; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = Clouderrorreporting::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `delete_events(...)`, `events_list(...)`, `events_report(...)`, `group_stats_list(...)`, `groups_get(...)` and `groups_update(...)` // to build up your call. let rb = hub.projects();
Methods
impl<'a, C, A> ProjectMethods<'a, C, A>
[src]
pub fn groups_get(&self, group_name: &str) -> ProjectGroupGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Get the specified group.
Arguments
groupName
- [Required] The group resource name. Written asprojects/projectID/groups/group_name
. CallgroupStats.list
to return a list of groups belonging to this project. Example:projects/my-project-123/groups/my-group
pub fn group_stats_list(
&self,
project_name: &str
) -> ProjectGroupStatListCall<'a, C, A>
[src]
&self,
project_name: &str
) -> ProjectGroupStatListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists the specified groups.
Arguments
projectName
- [Required] The resource name of the Google Cloud Platform project. Written asprojects/
plus the Google Cloud Platform project ID. Example:projects/my-project-123
.
pub fn delete_events(
&self,
project_name: &str
) -> ProjectDeleteEventCall<'a, C, A>
[src]
&self,
project_name: &str
) -> ProjectDeleteEventCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes all error events of a given project.
Arguments
projectName
- [Required] The resource name of the Google Cloud Platform project. Written asprojects/
plus the Google Cloud Platform project ID. Example:projects/my-project-123
.
pub fn events_list(&self, project_name: &str) -> ProjectEventListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Lists the specified events.
Arguments
projectName
- [Required] The resource name of the Google Cloud Platform project. Written asprojects/
plus the Google Cloud Platform project ID. Example:projects/my-project-123
.
pub fn groups_update(
&self,
request: ErrorGroup,
name: &str
) -> ProjectGroupUpdateCall<'a, C, A>
[src]
&self,
request: ErrorGroup,
name: &str
) -> ProjectGroupUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Replace the data for the specified group. Fails if the group does not exist.
Arguments
request
- No description provided.name
- The group resource name. Example:projects/my-project-123/groups/my-groupid
pub fn events_report(
&self,
request: ReportedErrorEvent,
project_name: &str
) -> ProjectEventReportCall<'a, C, A>
[src]
&self,
request: ReportedErrorEvent,
project_name: &str
) -> ProjectEventReportCall<'a, C, A>
Create a builder to help you perform the following task:
Report an individual error event.
This endpoint accepts either an OAuth token,
or an API key
for authentication. To use an API key, append it to the URL as the value of
a key
parameter. For example:
POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
Arguments
request
- No description provided.projectName
- [Required] The resource name of the Google Cloud Platform project. Written asprojects/
plus the Google Cloud Platform project ID. Example:projects/my-project-123
.
Trait Implementations
impl<'a, C, A> MethodsBuilder for ProjectMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for ProjectMethods<'a, C, A>
impl<'a, C, A> Unpin for ProjectMethods<'a, C, A>
impl<'a, C, A> !Sync for ProjectMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for ProjectMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for ProjectMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,