Interface SearchCatalogRequest.ScopeOrBuilder

public static interface SearchCatalogRequest.ScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIncludeGcpPublicDatasets()

public abstract boolean getIncludeGcpPublicDatasets()
If `true`, include Google Cloud Platform (GCP) public datasets in
 search results. By default, they are excluded.
 See [Google Cloud Public Datasets](/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]
 (/resource-manager/docs/creating-managing-organization).

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]
 (/resource-manager/docs/creating-managing-organization).

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]
 (/resource-manager/docs/creating-managing-organization).

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]
 (/resource-manager/docs/creating-managing-organization).

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](/docs/overview/#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](/docs/overview/#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](/docs/overview/#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](/docs/overview/#projects).

repeated string include_project_ids = 3;

Returns
TypeDescription
List<String>

A list containing the includeProjectIds.

getIncludePublicTagTemplates()

public abstract boolean getIncludePublicTagTemplates()
Optional. If `true`, include [public tag
 templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
 in the search results. By default, they are included only if you have
 explicit permissions on them to view them. For example, if you are the
 owner.
 Other scope fields, for example, ``include_org_ids``,
 still restrict the returned public tag templates and at least one of
 them is required.

bool include_public_tag_templates = 19 [(.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](https://cloud.google.com/data-catalog/docs/concepts/regions#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](https://cloud.google.com/data-catalog/docs/concepts/regions#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](https://cloud.google.com/data-catalog/docs/concepts/regions#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](https://cloud.google.com/data-catalog/docs/concepts/regions#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.