Class: Google::Logging::V2::UpdateSinkRequest
- Inherits:
-
Object
- Object
- Google::Logging::V2::UpdateSinkRequest
- Defined in:
- lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb
Overview
The parameters to +UpdateSink+.
Instance Attribute Summary collapse
-
#sink ⇒ Google::Logging::V2::LogSink
Required.
-
#sink_name ⇒ String
Required.
-
#unique_writer_identity ⇒ true, false
Optional.
Instance Attribute Details
#sink ⇒ Google::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.
171 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171 class UpdateSinkRequest; end |
#sink_name ⇒ String
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"+.
171 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171 class UpdateSinkRequest; end |
#unique_writer_identity ⇒ true, 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.
171 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 171 class UpdateSinkRequest; end |