Class: Google::Logging::V2::UpdateSinkRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb

Overview

The parameters to +UpdateSink+.

Instance Attribute Summary collapse

Instance Attribute Details

#sinkGoogle::Logging::V2::LogSink

Returns Required. The updated sink, whose name is the same identifier that appears as part of +sinkName+. If +sinkName+ does not exist, then this method creates a new sink.

Returns:

  • (Google::Logging::V2::LogSink)

    Required. The updated sink, whose name is the same identifier that appears as part of +sinkName+. If +sinkName+ does not exist, then this method creates a new sink.



171
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171

class UpdateSinkRequest; end

#sink_nameString

Returns Required. The 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]"

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

Returns:

  • (String)

    Required. The 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]"
    

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



171
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171

class UpdateSinkRequest; end

#unique_writer_identitytrue, false

Returns Optional. Whether the sink will have a dedicated service account returned in the sink's writer_identity. Set this field to be true to export logs from one project to a different project. This field is ignored for non-project sinks (e.g. organization sinks) because those sinks are required to have dedicated service accounts.

Returns:

  • (true, false)

    Optional. Whether the sink will have a dedicated service account returned in the sink's writer_identity. Set this field to be true to export logs from one project to a different project. This field is ignored for non-project sinks (e.g. organization sinks) because those sinks are required to have dedicated service accounts.



171
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171

class UpdateSinkRequest; end