public interface UpdateSinkRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
LogSink |
getSink()
Required.
|
java.lang.String |
getSinkName()
Required.
|
com.google.protobuf.ByteString |
getSinkNameBytes()
Required.
|
LogSinkOrBuilder |
getSinkOrBuilder()
Required.
|
boolean |
getUniqueWriterIdentity()
Optional.
|
boolean |
hasSink()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getSinkName()
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"`.
string sink_name = 1;com.google.protobuf.ByteString getSinkNameBytes()
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"`.
string sink_name = 1;boolean hasSink()
Required. The updated sink, whose name is the same identifier that appears as part of `sink_name`. If `sink_name` does not exist, then this method creates a new sink.
.google.logging.v2.LogSink sink = 2;LogSink getSink()
Required. The updated sink, whose name is the same identifier that appears as part of `sink_name`. If `sink_name` does not exist, then this method creates a new sink.
.google.logging.v2.LogSink sink = 2;LogSinkOrBuilder getSinkOrBuilder()
Required. The updated sink, whose name is the same identifier that appears as part of `sink_name`. If `sink_name` does not exist, then this method creates a new sink.
.google.logging.v2.LogSink sink = 2;boolean getUniqueWriterIdentity()
Optional. See
[sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create)
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:
+ If the old and new values of this field are both false or both true,
then there is no change to the sink's `writer_identity`.
+ If the old value is false and the new value is true, then
`writer_identity` is changed to a unique service account.
+ It is an error if the old value is true and the new value is false.
bool unique_writer_identity = 3;