Interface ReportConsentChangeRequestOrBuilder (0.48.0)

public interface ReportConsentChangeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsentChangeAction()

public abstract ReportConsentChangeRequest.ConsentChangeAction getConsentChangeAction()

Required. Whether customer decides to accept or decline service term.

At this moment, only accept action is supported.

.google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction consent_change_action = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportConsentChangeRequest.ConsentChangeAction

The consentChangeAction.

getConsentChangeActionValue()

public abstract int getConsentChangeActionValue()

Required. Whether customer decides to accept or decline service term.

At this moment, only accept action is supported.

.google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction consent_change_action = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for consentChangeAction.

getProject()

public abstract String getProject()

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for project.

getServiceTermId()

public abstract String getServiceTermId()

Required. The unique identifier of the terms of service to update. Available term ids:

  • GA_DATA_USE_TERMS: Terms for data use. When using this service term id, the acceptable service_term_version to provide is 2022-11-23.

string service_term_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceTermId.

getServiceTermIdBytes()

public abstract ByteString getServiceTermIdBytes()

Required. The unique identifier of the terms of service to update. Available term ids:

  • GA_DATA_USE_TERMS: Terms for data use. When using this service term id, the acceptable service_term_version to provide is 2022-11-23.

string service_term_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceTermId.

getServiceTermVersion()

public abstract String getServiceTermVersion()

Required. The version string of the terms of service to update.

string service_term_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceTermVersion.

getServiceTermVersionBytes()

public abstract ByteString getServiceTermVersionBytes()

Required. The version string of the terms of service to update.

string service_term_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceTermVersion.