Cloud Logging V2 API - Class Google::Cloud::Logging::V2::GetSinkRequest (v0.13.0)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::GetSinkRequest.

The parameters to GetSink.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#sink_name

def sink_name() -> ::String
Returns
  • (::String) — Required. The resource name of the sink:

    "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]"
    

    For example:

    "projects/my-project/sinks/my-sink"

#sink_name=

def sink_name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the sink:

    "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]"
    

    For example:

    "projects/my-project/sinks/my-sink"

Returns
  • (::String) — Required. The resource name of the sink:

    "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]"
    

    For example:

    "projects/my-project/sinks/my-sink"