Interface CreateMeasurementProtocolSecretRequestOrBuilder (0.49.0)

See more code actions.
public interface CreateMeasurementProtocolSecretRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder

getMeasurementProtocolSecret()

public abstract MeasurementProtocolSecret getMeasurementProtocolSecret()

Required. The measurement protocol secret to create.

.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MeasurementProtocolSecret

The measurementProtocolSecret.

getMeasurementProtocolSecretOrBuilder()

public abstract MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder()

Required. The measurement protocol secret to create.

.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED];

getParent()

public abstract String getParent()

Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasMeasurementProtocolSecret()

public abstract boolean hasMeasurementProtocolSecret()

Required. The measurement protocol secret to create.

.google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the measurementProtocolSecret field is set.