Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogRequestScope
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogRequestScope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
The criteria that select the subspace used for query matching.
Instance Attribute Summary collapse
-
#include_gcp_public_datasets ⇒ Boolean
(also: #include_gcp_public_datasets?)
If
true, include Google Cloud Platform (GCP) public datasets in search results. -
#include_org_ids ⇒ Array<String>
The list of organization IDs to search within.
-
#include_project_ids ⇒ Array<String>
The list of project IDs to search within.
-
#include_public_tag_templates ⇒ Boolean
(also: #include_public_tag_templates?)
Optional.
-
#restricted_locations ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SearchCatalogRequestScope
constructor
A new instance of GoogleCloudDatacatalogV1SearchCatalogRequestScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SearchCatalogRequestScope
Returns a new instance of GoogleCloudDatacatalogV1SearchCatalogRequestScope.
1410 1411 1412 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_gcp_public_datasets ⇒ Boolean Also known as: include_gcp_public_datasets?
If true, include Google Cloud Platform (GCP) public datasets in search
results. By default, they are excluded. See Google Cloud Public Datasets for more information.
Corresponds to the JSON property includeGcpPublicDatasets
1372 1373 1374 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1372 def include_gcp_public_datasets @include_gcp_public_datasets end |
#include_org_ids ⇒ Array<String>
The list of organization IDs to search within. To find your organization ID,
follow the steps from Creating and managing organizations.
Corresponds to the JSON property includeOrgIds
1380 1381 1382 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1380 def include_org_ids @include_org_ids end |
#include_project_ids ⇒ Array<String>
The list of project IDs to search within. For more information on the
distinction between project names, IDs, and numbers, see Projects.
Corresponds to the JSON property includeProjectIds
1387 1388 1389 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1387 def include_project_ids @include_project_ids end |
#include_public_tag_templates ⇒ Boolean Also known as: include_public_tag_templates?
Optional. If true, include public tag templates 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.
Corresponds to the JSON property includePublicTagTemplates
1396 1397 1398 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1396 def include_public_tag_templates @include_public_tag_templates end |
#restricted_locations ⇒ Array<String>
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.
Corresponds to the JSON property restrictedLocations
1408 1409 1410 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1408 def restricted_locations @restricted_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1415 def update!(**args) @include_gcp_public_datasets = args[:include_gcp_public_datasets] if args.key?(:include_gcp_public_datasets) @include_org_ids = args[:include_org_ids] if args.key?(:include_org_ids) @include_project_ids = args[:include_project_ids] if args.key?(:include_project_ids) @include_public_tag_templates = args[:include_public_tag_templates] if args.key?(:include_public_tag_templates) @restricted_locations = args[:restricted_locations] if args.key?(:restricted_locations) end |