pub enum CloudLoggingAPIv2 {
AuthCloudPlatform,
AuthCloudPlatformReadOnly,
AuthLoggingAdmin,
AuthLoggingRead,
AuthLoggingWrite,
}Expand description
Cloud Logging API, v2
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
AuthCloudPlatformReadOnly
Documentation: View your data across Google Cloud services and see the email address of your Google Account, Scope: https://www.googleapis.com/auth/cloud-platform.read-only
AuthLoggingAdmin
Documentation: Administrate log data for your projects, Scope: https://www.googleapis.com/auth/logging.admin
AuthLoggingRead
Documentation: View log data for your projects, Scope: https://www.googleapis.com/auth/logging.read
AuthLoggingWrite
Documentation: Submit log data for your projects, Scope: https://www.googleapis.com/auth/logging.write
Trait Implementations§
Source§impl Clone for CloudLoggingAPIv2
impl Clone for CloudLoggingAPIv2
Source§fn clone(&self) -> CloudLoggingAPIv2
fn clone(&self) -> CloudLoggingAPIv2
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 CloudLoggingAPIv2
impl Debug for CloudLoggingAPIv2
Source§impl FromGoogleScope<CloudLoggingAPIv2> for CloudLoggingAPIv2
impl FromGoogleScope<CloudLoggingAPIv2> for CloudLoggingAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<CloudLoggingAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<CloudLoggingAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudLoggingAPIv2
impl Hash for CloudLoggingAPIv2
Source§impl PartialEq for CloudLoggingAPIv2
impl PartialEq for CloudLoggingAPIv2
Source§impl ToGoogleScope for CloudLoggingAPIv2
impl ToGoogleScope for CloudLoggingAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudLoggingAPIv2
impl Eq for CloudLoggingAPIv2
impl StructuralPartialEq for CloudLoggingAPIv2
Auto Trait Implementations§
impl Freeze for CloudLoggingAPIv2
impl RefUnwindSafe for CloudLoggingAPIv2
impl Send for CloudLoggingAPIv2
impl Sync for CloudLoggingAPIv2
impl Unpin for CloudLoggingAPIv2
impl UnwindSafe for CloudLoggingAPIv2
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