Enum google_cloudprofiler2::api::Scope
source · pub enum Scope {
CloudPlatform,
Monitoring,
MonitoringWrite,
}Expand description
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants§
CloudPlatform
See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
Monitoring
View and write monitoring data for all of your Google and third-party Cloud and API projects
MonitoringWrite
Publish metric data to your Google Cloud projects
Trait Implementations§
source§impl PartialEq<Scope> for Scope
impl PartialEq<Scope> for Scope
impl Eq for Scope
impl StructuralEq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.