public interface ActionConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsUserDefinedScopesMapping(String key)
public abstract boolean containsUserDefinedScopesMapping(String key)Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getActionConfigParamsCase()
public abstract ActionConfig.ActionConfigParamsCase getActionConfigParamsCase()| Returns | |
|---|---|
| Type | Description |
ActionConfig.ActionConfigParamsCase |
|
getActionParams()
public abstract Struct getActionParams()Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The actionParams. |
getActionParamsOrBuilder()
public abstract StructOrBuilder getActionParamsOrBuilder()Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getCreateBapConnection()
public abstract boolean getCreateBapConnection()Optional. Whether to create a BAP connection for the connector.
bool create_bap_connection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The createBapConnection. |
getIsActionConfigured()
public abstract boolean getIsActionConfigured()Output only. The connector contains the necessary parameters and is configured to support actions.
bool is_action_configured = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isActionConfigured. |
getJsonActionParams()
public abstract String getJsonActionParams()Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The jsonActionParams. |
getJsonActionParamsBytes()
public abstract ByteString getJsonActionParamsBytes()Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jsonActionParams. |
getServiceName()
public abstract String getServiceName() Optional. The Service Directory resource name
(projects/*/locations/*/namespaces/*/services/*)
representing a VPC network endpoint used to connect to the data source's
instance_uri, defined in
DataConnector.params.
Required when VPC Service Controls are enabled.
string service_name = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public abstract ByteString getServiceNameBytes() Optional. The Service Directory resource name
(projects/*/locations/*/namespaces/*/services/*)
representing a VPC network endpoint used to connect to the data source's
instance_uri, defined in
DataConnector.params.
Required when VPC Service Controls are enabled.
string service_name = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceName. |
getUseStaticSecrets()
public abstract boolean getUseStaticSecrets()Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.
bool use_static_secrets = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The useStaticSecrets. |
getUserDefinedScopesMapping() (deprecated)
public abstract Map<String,ActionConfig.ScopeList> getUserDefinedScopesMapping()Use #getUserDefinedScopesMappingMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeList> |
|
getUserDefinedScopesMappingCount()
public abstract int getUserDefinedScopesMappingCount()Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getUserDefinedScopesMappingMap()
public abstract Map<String,ActionConfig.ScopeList> getUserDefinedScopesMappingMap()Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeList> |
|
getUserDefinedScopesMappingOrDefault(String key, ActionConfig.ScopeList defaultValue)
public abstract ActionConfig.ScopeList getUserDefinedScopesMappingOrDefault(String key, ActionConfig.ScopeList defaultValue)Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ActionConfig.ScopeList |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList |
|
getUserDefinedScopesMappingOrThrow(String key)
public abstract ActionConfig.ScopeList getUserDefinedScopesMappingOrThrow(String key)Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes.
map<string, .google.cloud.discoveryengine.v1.ActionConfig.ScopeList> user_defined_scopes_mapping = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ActionConfig.ScopeList |
|
hasActionParams()
public abstract boolean hasActionParams()Optional. Action parameters in structured json format.
.google.protobuf.Struct action_params = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the actionParams field is set. |
hasJsonActionParams()
public abstract boolean hasJsonActionParams()Optional. Action parameters in json string format.
string json_action_params = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the jsonActionParams field is set. |