pub enum CloudMonitoringAPIv3 {
AuthCloudPlatform,
AuthMonitoring,
AuthMonitoringRead,
AuthMonitoringWrite,
}Expand description
Cloud Monitoring API, v3
Variants§
AuthCloudPlatform
Documentation: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account., Scope: https://www.googleapis.com/auth/cloud-platform
AuthMonitoring
Documentation: View and write monitoring data for all of your Google and third-party Cloud and API projects, Scope: https://www.googleapis.com/auth/monitoring
AuthMonitoringRead
Documentation: View monitoring data for all of your Google Cloud and third-party projects, Scope: https://www.googleapis.com/auth/monitoring.read
AuthMonitoringWrite
Documentation: Publish metric data to your Google Cloud projects, Scope: https://www.googleapis.com/auth/monitoring.write
Trait Implementations§
Source§impl Clone for CloudMonitoringAPIv3
impl Clone for CloudMonitoringAPIv3
Source§fn clone(&self) -> CloudMonitoringAPIv3
fn clone(&self) -> CloudMonitoringAPIv3
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudMonitoringAPIv3
impl Debug for CloudMonitoringAPIv3
Source§impl FromGoogleScope<CloudMonitoringAPIv3> for CloudMonitoringAPIv3
impl FromGoogleScope<CloudMonitoringAPIv3> for CloudMonitoringAPIv3
Source§fn from_google_scope(google_scope: &str) -> Result<CloudMonitoringAPIv3, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudMonitoringAPIv3, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudMonitoringAPIv3
impl Hash for CloudMonitoringAPIv3
Source§impl PartialEq for CloudMonitoringAPIv3
impl PartialEq for CloudMonitoringAPIv3
Source§impl ToGoogleScope for CloudMonitoringAPIv3
impl ToGoogleScope for CloudMonitoringAPIv3
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudMonitoringAPIv3
impl Eq for CloudMonitoringAPIv3
impl StructuralPartialEq for CloudMonitoringAPIv3
Auto Trait Implementations§
impl Freeze for CloudMonitoringAPIv3
impl RefUnwindSafe for CloudMonitoringAPIv3
impl Send for CloudMonitoringAPIv3
impl Sync for CloudMonitoringAPIv3
impl Unpin for CloudMonitoringAPIv3
impl UnwindSafe for CloudMonitoringAPIv3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more