Class: Google::Apis::DatacatalogV1::DataCatalogService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DatacatalogV1::DataCatalogService
- Defined in:
- lib/google/apis/datacatalog_v1/service.rb
Overview
Google Cloud Data Catalog API
A fully managed and highly scalable data discovery and metadata management service.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://datacatalog.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_entry_group(parent, google_cloud_datacatalog_v1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Creates an entry group.
-
#create_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Creates an entry.
-
#create_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Creates a tag and assigns it to: * An Entry if the method name is `projects.
-
#create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Creates a tag and assigns it to: * An Entry if the method name is `projects.
-
#create_project_location_tag_template(parent, google_cloud_datacatalog_v1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Creates a tag template.
-
#create_project_location_tag_template_field(parent, google_cloud_datacatalog_v1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Creates a field in a tag template.
-
#create_project_location_taxonomy(parent, google_cloud_datacatalog_v1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Creates a taxonomy in a specified project.
-
#create_project_location_taxonomy_policy_tag(parent, google_cloud_datacatalog_v1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Creates a policy tag in a taxonomy.
-
#delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes an entry group.
-
#delete_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes an existing entry.
-
#delete_project_location_entry_group_entry_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag.
-
#delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a long-running operation.
-
#delete_project_location_tag_template(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag template and all tags that use it.
-
#delete_project_location_tag_template_field(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a field in a tag template and all uses of this field from the tags based on this template.
-
#delete_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.
-
#delete_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a policy tag together with the following: * All of its descendant policy tags, if any * Policies associated with the policy tag and its descendants * References from BigQuery table schema of the policy tag and its descendants.
-
#export_project_location_taxonomy(parent, serialized_taxonomies: nil, taxonomies: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ExportTaxonomiesResponse
Exports taxonomies in the requested type and returns them, including their policy tags.
-
#get_entry_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource.
-
#get_entry_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource.
-
#get_policy_tag_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the IAM policy for a policy tag or a taxonomy.
-
#get_project_location_entry_group(name, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Gets an entry group.
-
#get_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Gets an entry.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_tag_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Gets a tag template.
-
#get_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Gets a taxonomy.
-
#get_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Gets a policy tag.
-
#get_tag_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource.
-
#get_taxonomy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the IAM policy for a policy tag or a taxonomy.
-
#import_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_import_entries_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
Imports entries from a source, such as data previously dumped into a Cloud Storage bucket, into Data Catalog.
-
#import_project_location_taxonomy(parent, google_cloud_datacatalog_v1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportTaxonomiesResponse
Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources.
-
#initialize ⇒ DataCatalogService
constructor
A new instance of DataCatalogService.
-
#list_project_location_entry_group_entries(parent, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntriesResponse
Lists entries.
-
#list_project_location_entry_group_entry_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse
Lists tags assigned to an Entry.
-
#list_project_location_entry_group_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse
Lists tags assigned to an Entry.
-
#list_project_location_entry_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntryGroupsResponse
Lists entry groups.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_taxonomies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse
Lists all taxonomies in a project in a particular location that you have a permission to view.
-
#list_project_location_taxonomy_policy_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListPolicyTagsResponse
Lists all policy tags in a taxonomy.
-
#lookup_entry(fully_qualified_name: nil, linked_resource: nil, location: nil, project: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Gets an entry by its target resource name.
-
#modify_project_location_entry_group_entry_entry_contacts(name, google_cloud_datacatalog_v1_modify_entry_contacts_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts
Modifies contacts, part of the business context of an Entry.
-
#modify_project_location_entry_group_entry_entry_overview(name, google_cloud_datacatalog_v1_modify_entry_overview_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview
Modifies entry overview, part of the business context of an Entry.
-
#patch_project_location_entry_group(name, google_cloud_datacatalog_v1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Updates an entry group.
-
#patch_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Updates an existing entry.
-
#patch_project_location_entry_group_entry_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Updates an existing tag.
-
#patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Updates an existing tag.
-
#patch_project_location_tag_template(name, google_cloud_datacatalog_v1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Updates a tag template.
-
#patch_project_location_tag_template_field(name, google_cloud_datacatalog_v1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Updates a field in a tag template.
-
#patch_project_location_taxonomy(name, google_cloud_datacatalog_v1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Updates a taxonomy, including its display name, description, and activated policy types.
-
#patch_project_location_taxonomy_policy_tag(name, google_cloud_datacatalog_v1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Updates a policy tag, including its display name, description, and parent policy tag.
-
#reconcile_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_reconcile_tags_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
ReconcileTagscreates or updates a list of tags on the entry. -
#rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Renames a field in a tag template.
-
#rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Renames an enum value in a tag template.
-
#replace_project_location_taxonomy(name, google_cloud_datacatalog_v1_replace_taxonomy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Replaces (updates) a taxonomy and all its policy tags.
-
#retrieve_organization_location_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1OrganizationConfig
Retrieves the configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization, including all the projects under it which have a separate configuration set.
-
#retrieve_organization_location_effective_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Retrieves the effective configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization or project.
-
#retrieve_project_location_effective_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Retrieves the effective configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization or project.
-
#search_catalogs(google_cloud_datacatalog_v1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResponse
Searches Data Catalog for multiple resources like entries and tags that match a query.
-
#set_entry_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets an access control policy for a resource.
-
#set_organization_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Sets the configuration related to the migration to Dataplex Universal Catalog for an organization or project.
-
#set_policy_tag_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets the IAM policy for a policy tag or a taxonomy.
-
#set_project_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Sets the configuration related to the migration to Dataplex Universal Catalog for an organization or project.
-
#set_tag_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets an access control policy for a resource.
-
#set_taxonomy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets the IAM policy for a policy tag or a taxonomy.
-
#star_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_star_entry_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse
Marks an Entry as starred by the current user.
-
#test_entry_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource.
-
#test_entry_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource.
-
#test_policy_tag_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Returns your permissions on a specified policy tag or taxonomy.
-
#test_tag_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource.
-
#test_taxonomy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Returns your permissions on a specified policy tag or taxonomy.
-
#unstar_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_unstar_entry_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse
Marks an Entry as NOT starred by the current user.
Constructor Details
#initialize ⇒ DataCatalogService
Returns a new instance of DataCatalogService.
48 49 50 51 52 53 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-datacatalog_v1', client_version: Google::Apis::DatacatalogV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41 42 43 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 41 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
46 47 48 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
1494 1495 1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1494 def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_entry_group(parent, google_cloud_datacatalog_v1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Creates an entry group. An entry group contains logically related entries
together with Cloud Identity and Access Management policies. These policies specify users who can create, edit, and
view entries within entry groups. Data Catalog automatically creates entry
groups with names that start with the @ symbol for the following resources: *
BigQuery entries (@bigquery) * Pub/Sub topics (@pubsub) * Dataproc
Metastore services (@dataproc_metastore_SERVICE_NAME_HASH`) You can create
your own entry groups for Cloud Storage fileset entries and custom entries
together with the corresponding IAM policies. User-created entry groups can't
contain the@symbol, it is reserved for automatically created groups. Entry
groups, like entries, can be searched. A maximum of 10,000 entry groups may be
created per organization across all locations. You must enable the Data
Catalog API in the project identified by theparent` parameter. For more
information, see Data Catalog resource project.
367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 367 def create_project_location_entry_group(parent, google_cloud_datacatalog_v1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/entryGroups', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup::Representation command.request_object = google_cloud_datacatalog_v1_entry_group_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup command.params['parent'] = parent unless parent.nil? command.query['entryGroupId'] = entry_group_id unless entry_group_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', '
DATA_STREAM', or custom types. Data Catalog automatically creates entries with
other types during metadata ingestion from integrated systems. You must enable
the Data Catalog API in the project identified by the parent parameter. For
more information, see Data Catalog resource project. An entry group can have a
maximum of 100,000 entries.
689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 689 def create_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/entries', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.request_object = google_cloud_datacatalog_v1_entry_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry command.params['parent'] = parent unless parent.nil? command.query['entryId'] = entry_id unless entry_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Creates a tag and assigns it to: * An Entry if the method name is projects.
locations.entryGroups.entries.tags.create. * Or EntryGroupif the method name
is projects.locations.entryGroups.tags.create. Note: The project identified
by the parent parameter for the tag and the tag template used
to create the tag must be in the same organization.
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1153 def create_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tags', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.request_object = google_cloud_datacatalog_v1_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Creates a tag and assigns it to: * An Entry if the method name is projects.
locations.entryGroups.entries.tags.create. * Or EntryGroupif the method name
is projects.locations.entryGroups.tags.create. Note: The project identified
by the parent parameter for the tag and the tag template used
to create the tag must be in the same organization.
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1345 def create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tags', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.request_object = google_cloud_datacatalog_v1_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_tag_template(parent, google_cloud_datacatalog_v1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Creates a tag template. You must enable the Data Catalog API in the project
identified by the parent parameter. For more information, see Data Catalog
resource project.
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1647 def create_project_location_tag_template(parent, google_cloud_datacatalog_v1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tagTemplates', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate::Representation command.request_object = google_cloud_datacatalog_v1_tag_template_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate command.params['parent'] = parent unless parent.nil? command.query['tagTemplateId'] = tag_template_id unless tag_template_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_tag_template_field(parent, google_cloud_datacatalog_v1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Creates a field in a tag template. You must enable the Data Catalog API in the
project identified by the parent parameter. For more information, see Data
Catalog resource project.
1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1931 def create_project_location_tag_template_field(parent, google_cloud_datacatalog_v1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/fields', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.request_object = google_cloud_datacatalog_v1_tag_template_field_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField command.params['parent'] = parent unless parent.nil? command.query['tagTemplateFieldId'] = tag_template_field_id unless tag_template_field_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_taxonomy(parent, google_cloud_datacatalog_v1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags.
2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2121 def create_project_location_taxonomy(parent, google_cloud_datacatalog_v1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/taxonomies', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.request_object = google_cloud_datacatalog_v1_taxonomy_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_taxonomy_policy_tag(parent, google_cloud_datacatalog_v1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Creates a policy tag in a taxonomy.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2520 def create_project_location_taxonomy_policy_tag(parent, google_cloud_datacatalog_v1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/policyTags', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag::Representation command.request_object = google_cloud_datacatalog_v1_policy_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes an entry group. You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource project.
405 406 407 408 409 410 411 412 413 414 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 405 def delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes an existing entry. You can delete only the entries created by the
CreateEntry method. You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource project.
726 727 728 729 730 731 732 733 734 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 726 def delete_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_entry_group_entry_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag.
1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1185 def delete_project_location_entry_group_entry_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag.
1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1377 def delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
1527 1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1527 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_tag_template(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a tag template and all tags that use it. You must enable the Data
Catalog API in the project identified by the name parameter. For more
information, see Data Catalog resource project.
1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1686 def delete_project_location_tag_template(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_tag_template_field(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a field in a tag template and all uses of this field from the tags
based on this template. You must enable the Data Catalog API in the project
identified by the name parameter. For more information, see Data Catalog
resource project.
1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1971 def delete_project_location_tag_template_field(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.
2155 2156 2157 2158 2159 2160 2161 2162 2163 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2155 def delete_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Empty
Deletes a policy tag together with the following: * All of its descendant policy tags, if any * Policies associated with the policy tag and its descendants * References from BigQuery table schema of the policy tag and its descendants
2556 2557 2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2556 def delete_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#export_project_location_taxonomy(parent, serialized_taxonomies: nil, taxonomies: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ExportTaxonomiesResponse
Exports taxonomies in the requested type and returns them, including their
policy tags. The requested taxonomies must belong to the same project. This
method generates SerializedTaxonomy protocol buffers with nested policy tags
that can be used as input for ImportTaxonomies calls.
2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2193 def export_project_location_taxonomy(parent, serialized_taxonomies: nil, taxonomies: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/taxonomies:export', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ExportTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ExportTaxonomiesResponse command.params['parent'] = parent unless parent.nil? command.query['serializedTaxonomies'] = serialized_taxonomies unless serialized_taxonomies.nil? command.query['taxonomies'] = taxonomies unless taxonomies.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_entry_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource. May return: * ANOT_FOUND
error if the resource doesn't exist or you don't have the permission to view
it. * An empty policy if the resource exists but doesn't have a set policy.
Supported resources are: - Tag templates - Entry groups Note: This method
doesn't get policies from Google Cloud Platform resources ingested into Data
Catalog. To call this method, you must have the following Google IAM
permissions: - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entryGroups.getIamPolicy to get policies on entry
groups.
480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 480 def get_entry_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_entry_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource. May return: * ANOT_FOUND
error if the resource doesn't exist or you don't have the permission to view
it. * An empty policy if the resource exists but doesn't have a set policy.
Supported resources are: - Tag templates - Entry groups Note: This method
doesn't get policies from Google Cloud Platform resources ingested into Data
Catalog. To call this method, you must have the following Google IAM
permissions: - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entryGroups.getIamPolicy to get policies on entry
groups.
797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 797 def get_entry_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_policy_tag_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the IAM policy for a policy tag or a taxonomy.
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2619 def get_policy_tag_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_entry_group(name, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Gets an entry group.
438 439 440 441 442 443 444 445 446 447 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 438 def get_project_location_entry_group(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup command.params['name'] = name unless name.nil? command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Gets an entry.
756 757 758 759 760 761 762 763 764 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 756 def get_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1558 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation command.response_class = Google::Apis::DatacatalogV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_tag_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Gets a tag template.
1717 1718 1719 1720 1721 1722 1723 1724 1725 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1717 def get_project_location_tag_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Gets a taxonomy.
2225 2226 2227 2228 2229 2230 2231 2232 2233 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2225 def get_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Gets a policy tag.
2586 2587 2588 2589 2590 2591 2592 2593 2594 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2586 def get_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_tag_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the access control policy for a resource. May return: * ANOT_FOUND
error if the resource doesn't exist or you don't have the permission to view
it. * An empty policy if the resource exists but doesn't have a set policy.
Supported resources are: - Tag templates - Entry groups Note: This method
doesn't get policies from Google Cloud Platform resources ingested into Data
Catalog. To call this method, you must have the following Google IAM
permissions: - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entryGroups.getIamPolicy to get policies on entry
groups.
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1758 def get_tag_template_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_taxonomy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Gets the IAM policy for a policy tag or a taxonomy.
2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2258 def get_taxonomy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_import_entries_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
Imports entries from a source, such as data previously dumped into a Cloud
Storage bucket, into Data Catalog. Import of entries is a sync operation that
reconciles the state of the third-party system with the Data Catalog.
ImportEntries accepts source data snapshots of a third-party system. Snapshot
should be delivered as a .wire or base65-encoded .txt file containing a
sequence of Protocol Buffer messages of DumpItem type. ImportEntries returns
a long-running operation resource that can be queried with Operations.
GetOperation to return ImportEntriesMetadata and an ImportEntriesResponse
message.
838 839 840 841 842 843 844 845 846 847 848 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 838 def import_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_import_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/entries:import', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportEntriesRequest::Representation command.request_object = google_cloud_datacatalog_v1_import_entries_request_object command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation command.response_class = Google::Apis::DatacatalogV1::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#import_project_location_taxonomy(parent, google_cloud_datacatalog_v1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportTaxonomiesResponse
Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources. For a cross-regional source, new taxonomies are created by copying from a source in another region. For an inlined source, taxonomies and policy tags are created in bulk using nested protocol buffer structures.
2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2295 def import_project_location_taxonomy(parent, google_cloud_datacatalog_v1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/taxonomies:import', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportTaxonomiesRequest::Representation command.request_object = google_cloud_datacatalog_v1_import_taxonomies_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportTaxonomiesResponse command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_entry_group_entries(parent, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntriesResponse
Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog.
882 883 884 885 886 887 888 889 890 891 892 893 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 882 def list_project_location_entry_group_entries(parent, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/entries', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntriesResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntriesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_entry_group_entry_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse
Lists tags assigned to an Entry. The columns in the response are lowercased.
1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1222 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tags', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_entry_group_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse
Lists tags assigned to an Entry. The columns in the response are lowercased.
1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1414 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tags', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTagsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_entry_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntryGroupsResponse
Lists entry groups.
519 520 521 522 523 524 525 526 527 528 529 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 519 def list_project_location_entry_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/entryGroups', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntryGroupsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListEntryGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1603 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::DatacatalogV1::ListOperationsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_taxonomies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse
Lists all taxonomies in a project in a particular location that you have a permission to view.
2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2337 def list_project_location_taxonomies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/taxonomies', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_taxonomy_policy_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListPolicyTagsResponse
Lists all policy tags in a taxonomy.
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2657 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/policyTags', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListPolicyTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListPolicyTagsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#lookup_entry(fully_qualified_name: nil, linked_resource: nil, location: nil, project: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Gets an entry by its target resource name. The resource name comes from the source Google Cloud Platform service.
144 145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 144 def lookup_entry(fully_qualified_name: nil, linked_resource: nil, location: nil, project: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entries:lookup', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry command.query['fullyQualifiedName'] = fully_qualified_name unless fully_qualified_name.nil? command.query['linkedResource'] = linked_resource unless linked_resource.nil? command.query['location'] = location unless location.nil? command.query['project'] = project unless project.nil? command.query['sqlResource'] = sql_resource unless sql_resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#modify_project_location_entry_group_entry_entry_contacts(name, google_cloud_datacatalog_v1_modify_entry_contacts_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts
Modifies contacts, part of the business context of an Entry. To call this
method, you must have the datacatalog.entries.updateContacts IAM permission
on the corresponding project.
918 919 920 921 922 923 924 925 926 927 928 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 918 def modify_project_location_entry_group_entry_entry_contacts(name, google_cloud_datacatalog_v1_modify_entry_contacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:modifyEntryContacts', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryContactsRequest::Representation command.request_object = google_cloud_datacatalog_v1_modify_entry_contacts_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#modify_project_location_entry_group_entry_entry_overview(name, google_cloud_datacatalog_v1_modify_entry_overview_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview
Modifies entry overview, part of the business context of an Entry. To call
this method, you must have the datacatalog.entries.updateOverview IAM
permission on the corresponding project.
953 954 955 956 957 958 959 960 961 962 963 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 953 def modify_project_location_entry_group_entry_entry_overview(name, google_cloud_datacatalog_v1_modify_entry_overview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:modifyEntryOverview', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryOverviewRequest::Representation command.request_object = google_cloud_datacatalog_v1_modify_entry_overview_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_entry_group(name, google_cloud_datacatalog_v1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup
Updates an entry group. You must enable the Data Catalog API in the project
identified by the entry_group.name parameter. For more information, see
Data Catalog resource project.
561 562 563 564 565 566 567 568 569 570 571 572 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 561 def patch_project_location_entry_group(name, google_cloud_datacatalog_v1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup::Representation command.request_object = google_cloud_datacatalog_v1_entry_group_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryGroup command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry
Updates an existing entry. You must enable the Data Catalog API in the project
identified by the entry.name parameter. For more information, see Data
Catalog resource project.
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1001 def patch_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.request_object = google_cloud_datacatalog_v1_entry_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Entry command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_entry_group_entry_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Updates an existing tag.
1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1262 def patch_project_location_entry_group_entry_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.request_object = google_cloud_datacatalog_v1_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag
Updates an existing tag.
1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1454 def patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.request_object = google_cloud_datacatalog_v1_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_tag_template(name, google_cloud_datacatalog_v1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate
Updates a tag template. You can't update template fields with this method.
These fields are separate resources with their own create, update, and delete
methods. You must enable the Data Catalog API in the project identified by the
tag_template.name parameter. For more information, see Data Catalog
resource project.
1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1805 def patch_project_location_tag_template(name, google_cloud_datacatalog_v1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate::Representation command.request_object = google_cloud_datacatalog_v1_tag_template_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplate command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_tag_template_field(name, google_cloud_datacatalog_v1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Updates a field in a tag template. You can't update the field type with this
method. You must enable the Data Catalog API in the project identified by the
name parameter. For more information, see Data Catalog resource project.
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2016 def patch_project_location_tag_template_field(name, google_cloud_datacatalog_v1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.request_object = google_cloud_datacatalog_v1_tag_template_field_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_taxonomy(name, google_cloud_datacatalog_v1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Updates a taxonomy, including its display name, description, and activated policy types.
2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2377 def patch_project_location_taxonomy(name, google_cloud_datacatalog_v1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.request_object = google_cloud_datacatalog_v1_taxonomy_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_taxonomy_policy_tag(name, google_cloud_datacatalog_v1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag
Updates a policy tag, including its display name, description, and parent policy tag.
2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2697 def patch_project_location_taxonomy_policy_tag(name, google_cloud_datacatalog_v1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag::Representation command.request_object = google_cloud_datacatalog_v1_policy_tag_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PolicyTag command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reconcile_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_reconcile_tags_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Operation
ReconcileTags creates or updates a list of tags on the entry. If the
ReconcileTagsRequest.force_delete_missing parameter is set, the operation
deletes tags not included in the input tag list. ReconcileTags returns a
long-running operation resource that can be queried with Operations.
GetOperation to return ReconcileTagsMetadata and a ReconcileTagsResponse
message. Note: SearchCatalog might return stale search results for up to 24
hours after the ReconcileTags operation completes.
1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1302 def reconcile_project_location_entry_group_entry_tag(parent, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tags:reconcile', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReconcileTagsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation command.response_class = Google::Apis::DatacatalogV1::Operation command.params['parent'] = parent unless parent.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Renames a field in a tag template. You must enable the Data Catalog API in the
project identified by the name parameter. For more information, see Data
Catalog resource project.
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2053 def rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:rename', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest::Representation command.request_object = google_cloud_datacatalog_v1_rename_tag_template_field_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField
Renames an enum value in a tag template. Within a single enum field, enum values must be unique.
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2087 def rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:rename', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest::Representation command.request_object = google_cloud_datacatalog_v1_rename_tag_template_field_enum_value_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_taxonomy(name, google_cloud_datacatalog_v1_replace_taxonomy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
Replaces (updates) a taxonomy and all its policy tags. The taxonomy and its
entire hierarchy of policy tags must be represented literally by
SerializedTaxonomy and the nested SerializedPolicyTag messages. This
operation automatically does the following: - Deletes the existing policy tags
that are missing from the SerializedPolicyTag. - Creates policy tags that
don't have resource names. They are considered new. - Updates policy tags with
valid resources names accordingly.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2417 def replace_project_location_taxonomy(name, google_cloud_datacatalog_v1_replace_taxonomy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:replace', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReplaceTaxonomyRequest::Representation command.request_object = google_cloud_datacatalog_v1_replace_taxonomy_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_organization_location_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1OrganizationConfig
Retrieves the configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization, including all the projects under it which have a separate configuration set.
180 181 182 183 184 185 186 187 188 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 180 def retrieve_organization_location_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:retrieveConfig', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1OrganizationConfig::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1OrganizationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_organization_location_effective_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Retrieves the effective configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.
214 215 216 217 218 219 220 221 222 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 214 def retrieve_organization_location_effective_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:retrieveEffectiveConfig', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#retrieve_project_location_effective_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Retrieves the effective configuration related to the migration from Data Catalog to Dataplex Universal Catalog for a specific organization or project. If there is no specific configuration set for the resource, the setting is checked hierarchicahlly through the ancestors of the resource, starting from the resource itself.
282 283 284 285 286 287 288 289 290 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 282 def retrieve_project_location_effective_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:retrieveEffectiveConfig', ) command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_catalogs(google_cloud_datacatalog_v1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResponse
Searches Data Catalog for multiple resources like entries and tags that match a query. This is a Custom Method that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods. Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries. For more information, see Data Catalog search syntax.
83 84 85 86 87 88 89 90 91 92 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 83 def search_catalogs(google_cloud_datacatalog_v1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/catalog:search', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogRequest::Representation command.request_object = google_cloud_datacatalog_v1_search_catalog_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SearchCatalogResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_entry_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are: - Tag templates - Entry groups Note: This method sets
policies only within Data Catalog and can't be used to manage policies in
BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform
resources synced with the Data Catalog. To call this method, you must have the
following Google IAM permissions: - datacatalog.tagTemplates.setIamPolicy to
set policies on tag templates. - datacatalog.entryGroups.setIamPolicy to set
policies on entry groups.
604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 604 def set_entry_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_organization_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Sets the configuration related to the migration to Dataplex Universal Catalog for an organization or project.
246 247 248 249 250 251 252 253 254 255 256 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 246 def set_organization_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:setConfig', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SetConfigRequest::Representation command.request_object = google_cloud_datacatalog_v1_set_config_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_policy_tag_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets the IAM policy for a policy tag or a taxonomy.
2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2733 def set_policy_tag_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig
Sets the configuration related to the migration to Dataplex Universal Catalog for an organization or project.
314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 314 def set_project_location_config(name, google_cloud_datacatalog_v1_set_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:setConfig', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SetConfigRequest::Representation command.request_object = google_cloud_datacatalog_v1_set_config_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_tag_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets an access control policy for a resource. Replaces any existing policy.
Supported resources are: - Tag templates - Entry groups Note: This method sets
policies only within Data Catalog and can't be used to manage policies in
BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform
resources synced with the Data Catalog. To call this method, you must have the
following Google IAM permissions: - datacatalog.tagTemplates.setIamPolicy to
set policies on tag templates. - datacatalog.entryGroups.setIamPolicy to set
policies on entry groups.
1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1848 def set_tag_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_taxonomy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::Policy
Sets the IAM policy for a policy tag or a taxonomy.
2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2452 def set_taxonomy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#star_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_star_entry_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse
Marks an Entry as starred by the current user. Starring information is private to each user.
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1036 def star_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_star_entry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:star', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryRequest::Representation command.request_object = google_cloud_datacatalog_v1_star_entry_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_entry_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 644 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_entry_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1076 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_policy_tag_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Returns your permissions on a specified policy tag or taxonomy.
2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2768 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_tag_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1888 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_taxonomy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::TestIamPermissionsResponse
Returns your permissions on a specified policy tag or taxonomy.
2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 2487 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#unstar_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_unstar_entry_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse
Marks an Entry as NOT starred by the current user. Starring information is private to each user.
1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 |
# File 'lib/google/apis/datacatalog_v1/service.rb', line 1110 def unstar_project_location_entry_group_entry(name, google_cloud_datacatalog_v1_unstar_entry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:unstar', ) command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryRequest::Representation command.request_object = google_cloud_datacatalog_v1_unstar_entry_request_object command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse::Representation command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |