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

pub struct UpdateSinkRequest {
    pub sink_name: String,
    pub sink: Option<LogSink>,
    pub unique_writer_identity: bool,
    pub update_mask: Option<FieldMask>,
}

The parameters to UpdateSink.

Fields

sink_name: String

Required. The full resource name of the sink to update, including the parent resource and the sink identifier:

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

Example: "projects/my-project-id/sinks/my-sink-id".

sink: Option<LogSink>

Required. The updated sink, whose name is the same identifier that appears as part of sink_name.

unique_writer_identity: bool

Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:

update_mask: Option<FieldMask>

Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.

An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.

For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask

Example: updateMask=filter.

Trait Implementations

impl Clone for UpdateSinkRequest[src]

impl Debug for UpdateSinkRequest[src]

impl Default for UpdateSinkRequest[src]

impl Message for UpdateSinkRequest[src]

impl PartialEq<UpdateSinkRequest> for UpdateSinkRequest[src]

impl StructuralPartialEq for UpdateSinkRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateSinkRequest

impl Send for UpdateSinkRequest

impl Sync for UpdateSinkRequest

impl Unpin for UpdateSinkRequest

impl UnwindSafe for UpdateSinkRequest

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]