Interface SearchCatalogRequest.ScopeOrBuilder (1.27.0)

public static interface SearchCatalogRequest.ScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIncludeGcpPublicDatasets()

public abstract boolean getIncludeGcpPublicDatasets()

If true, include Google Cloud public datasets in search results. By default, they are excluded.

See Google Cloud Public Datasets for more information.

bool include_gcp_public_datasets = 7;

Returns
TypeDescription
boolean

The includeGcpPublicDatasets.

getIncludeOrgIds(int index)

public abstract String getIncludeOrgIds(int index)

The list of organization IDs to search within.

To find your organization ID, follow the steps from Creating and managing organizations.

repeated string include_org_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The includeOrgIds at the given index.

getIncludeOrgIdsBytes(int index)

public abstract ByteString getIncludeOrgIdsBytes(int index)

The list of organization IDs to search within.

To find your organization ID, follow the steps from Creating and managing organizations.

repeated string include_org_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the includeOrgIds at the given index.

getIncludeOrgIdsCount()

public abstract int getIncludeOrgIdsCount()

The list of organization IDs to search within.

To find your organization ID, follow the steps from Creating and managing organizations.

repeated string include_org_ids = 2;

Returns
TypeDescription
int

The count of includeOrgIds.

getIncludeOrgIdsList()

public abstract List<String> getIncludeOrgIdsList()

The list of organization IDs to search within.

To find your organization ID, follow the steps from Creating and managing organizations.

repeated string include_org_ids = 2;

Returns
TypeDescription
List<String>

A list containing the includeOrgIds.

getIncludeProjectIds(int index)

public abstract String getIncludeProjectIds(int index)

The list of project IDs to search within.

For more information on the distinction between project names, IDs, and numbers, see Projects.

repeated string include_project_ids = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The includeProjectIds at the given index.

getIncludeProjectIdsBytes(int index)

public abstract ByteString getIncludeProjectIdsBytes(int index)

The list of project IDs to search within.

For more information on the distinction between project names, IDs, and numbers, see Projects.

repeated string include_project_ids = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the includeProjectIds at the given index.

getIncludeProjectIdsCount()

public abstract int getIncludeProjectIdsCount()

The list of project IDs to search within.

For more information on the distinction between project names, IDs, and numbers, see Projects.

repeated string include_project_ids = 3;

Returns
TypeDescription
int

The count of includeProjectIds.

getIncludeProjectIdsList()

public abstract List<String> getIncludeProjectIdsList()

The list of project IDs to search within.

For more information on the distinction between project names, IDs, and numbers, see Projects.

repeated string include_project_ids = 3;

Returns
TypeDescription
List<String>

A list containing the includeProjectIds.

getIncludePublicTagTemplates() (deprecated)

public abstract boolean getIncludePublicTagTemplates()

Deprecated. google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates is deprecated. See google/cloud/datacatalog/v1/datacatalog.proto;l=677

Optional. This field is deprecated. The search mechanism for public and private tag templates is the same.

bool include_public_tag_templates = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The includePublicTagTemplates.

getRestrictedLocations(int index)

public abstract String getRestrictedLocations(int index)

Optional. The list of locations to search within. If empty, all locations are searched.

Returns an error if any location in the list isn't one of the Supported regions.

If a location is unreachable, its name is returned in the SearchCatalogResponse.unreachable field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.

repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The restrictedLocations at the given index.

getRestrictedLocationsBytes(int index)

public abstract ByteString getRestrictedLocationsBytes(int index)

Optional. The list of locations to search within. If empty, all locations are searched.

Returns an error if any location in the list isn't one of the Supported regions.

If a location is unreachable, its name is returned in the SearchCatalogResponse.unreachable field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.

repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the restrictedLocations at the given index.

getRestrictedLocationsCount()

public abstract int getRestrictedLocationsCount()

Optional. The list of locations to search within. If empty, all locations are searched.

Returns an error if any location in the list isn't one of the Supported regions.

If a location is unreachable, its name is returned in the SearchCatalogResponse.unreachable field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.

repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of restrictedLocations.

getRestrictedLocationsList()

public abstract List<String> getRestrictedLocationsList()

Optional. The list of locations to search within. If empty, all locations are searched.

Returns an error if any location in the list isn't one of the Supported regions.

If a location is unreachable, its name is returned in the SearchCatalogResponse.unreachable field. To get additional information on the error, repeat the search request and set the location name as the value of this parameter.

repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the restrictedLocations.

getStarredOnly()

public abstract boolean getStarredOnly()

Optional. If true, search only among starred entries.

By default, all results are returned, starred or not.

bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The starredOnly.