Class: Google::Logging::V2::CreateSinkRequest
- Inherits:
-
Object
- Object
- Google::Logging::V2::CreateSinkRequest
- Defined in:
- lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb
Overview
The parameters to +CreateSink+.
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#sink ⇒ Google::Logging::V2::LogSink
Required.
-
#unique_writer_identity ⇒ true, false
Optional.
Instance Attribute Details
#parent ⇒ String
Returns Required. The resource in which to create the sink:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
147 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 147 class CreateSinkRequest; end |
#sink ⇒ Google::Logging::V2::LogSink
Returns Required. The new sink, whose +name+ parameter is a sink identifier that is not already in use.
147 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 147 class CreateSinkRequest; 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.
147 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_config.rb', line 147 class CreateSinkRequest; end |