Struct gapi_grpc::google::devtools::cloudprofiler::v2::Deployment[][src]

pub struct Deployment {
    pub project_id: String,
    pub target: String,
    pub labels: HashMap<String, String>,
}

Deployment contains the deployment identification information.

Fields

project_id: String

Project ID is the ID of a cloud project. Validation regex: ^[a-z][-a-z0-9:.]{4,61}[a-z0-9]$.

target: String

Target is the service name used to group related deployments:

labels: HashMap<String, String>

Labels identify the deployment within the user universe and same target. Validation regex for label names: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$. Value for an individual label must be <= 512 bytes, the total size of all label names and values must be <= 1024 bytes.

Label named “language” can be used to record the programming language of the profiled deployment. The standard choices for the value include “java”, “go”, “python”, “ruby”, “nodejs”, “php”, “dotnet”.

For deployments running on Google Cloud Platform, “zone” or “region” label should be present describing the deployment location. An example of a zone is “us-central1-a”, an example of a region is “us-central1” or “us-central”.

Trait Implementations

impl Clone for Deployment[src]

impl Debug for Deployment[src]

impl Default for Deployment[src]

impl Message for Deployment[src]

impl PartialEq<Deployment> for Deployment[src]

impl StructuralPartialEq for Deployment[src]

Auto Trait Implementations

impl RefUnwindSafe for Deployment

impl Send for Deployment

impl Sync for Deployment

impl Unpin for Deployment

impl UnwindSafe for Deployment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]