pub enum MonitoredResource {
AppEngine {
project_id: String,
module_id: Option<String>,
version_id: Option<String>,
zone: Option<String>,
},
CloudFunction {
project_id: String,
function_name: Option<String>,
region: Option<String>,
},
CloudRunJob {
project_id: String,
job_name: Option<String>,
location: Option<String>,
},
CloudRunRevision {
project_id: String,
service_name: Option<String>,
revision_name: Option<String>,
location: Option<String>,
configuration_name: Option<String>,
},
ComputeEngine {
project_id: String,
instance_id: Option<String>,
zone: Option<String>,
},
KubernetesEngine {
project_id: String,
location: Option<String>,
cluster_name: Option<String>,
namespace_name: Option<String>,
pod_name: Option<String>,
container_name: Option<String>,
},
GenericNode {
project_id: String,
location: Option<String>,
namespace: Option<String>,
node_id: Option<String>,
},
GenericTask {
project_id: String,
location: Option<String>,
namespace: Option<String>,
job: Option<String>,
task_id: Option<String>,
},
Global {
project_id: String,
},
}
Expand description
A description of a MonitoredResource
.
Possible values are listed in the API documentation. Please submit an issue or pull request if you want to use a resource type not listed here.
Variants§
AppEngine
CloudFunction
CloudRunJob
CloudRunRevision
Fields
ComputeEngine
KubernetesEngine
Fields
GenericNode
Fields
GenericTask
Fields
Global
Trait Implementations§
Source§impl Clone for MonitoredResource
impl Clone for MonitoredResource
Source§fn clone(&self) -> MonitoredResource
fn clone(&self) -> MonitoredResource
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MonitoredResource
impl RefUnwindSafe for MonitoredResource
impl Send for MonitoredResource
impl Sync for MonitoredResource
impl Unpin for MonitoredResource
impl UnwindSafe for MonitoredResource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request