Struct gapi_grpc::google::logging::v2::CreateSinkRequest[][src]

pub struct CreateSinkRequest {
    pub parent: String,
    pub sink: Option<LogSink>,
    pub unique_writer_identity: bool,
}

The parameters to CreateSink.

Fields

parent: String

Required. The resource in which to create the sink:

"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"

Examples: "projects/my-logging-project", "organizations/123456789".

sink: Option<LogSink>

Required. The new sink, whose name parameter is a sink identifier that is not already in use.

unique_writer_identity: bool

Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink’s parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink’s destination must be in the same project as the sink itself.

If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in [LogSink][google.logging.v2.LogSink].

Trait Implementations

impl Clone for CreateSinkRequest[src]

impl Debug for CreateSinkRequest[src]

impl Default for CreateSinkRequest[src]

impl Message for CreateSinkRequest[src]

impl PartialEq<CreateSinkRequest> for CreateSinkRequest[src]

impl StructuralPartialEq for CreateSinkRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateSinkRequest

impl Send for CreateSinkRequest

impl Sync for CreateSinkRequest

impl Unpin for CreateSinkRequest

impl UnwindSafe for CreateSinkRequest

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]