Class: Google::Apis::DatacatalogV1beta1::DataCatalogService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DatacatalogV1beta1::DataCatalogService
- Defined in:
- lib/google/apis/datacatalog_v1beta1/service.rb
Overview
Google Cloud Data Catalog API
A fully managed and highly scalable data discovery and metadata management service.
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
-
#create_project_location_entry_group(parent, google_cloud_datacatalog_v1beta1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
A maximum of 10,000 entry groups may be created per organization across all locations.
-
#create_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1beta1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Creates an entry.
-
#create_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Creates a tag on an Entry.
-
#create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Creates a tag on an Entry.
-
#create_project_location_tag_template(parent, google_cloud_datacatalog_v1beta1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Creates a tag template.
-
#create_project_location_tag_template_field(parent, google_cloud_datacatalog_v1beta1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Creates a field in a tag template.
-
#create_project_location_taxonomy(parent, google_cloud_datacatalog_v1beta1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Creates a taxonomy in the specified project.
-
#create_project_location_taxonomy_policy_tag(parent, google_cloud_datacatalog_v1beta1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
Creates a policy tag in the specified taxonomy.
-
#delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes an EntryGroup.
-
#delete_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes an existing entry.
-
#delete_project_location_entry_group_entry_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a tag.
-
#delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a tag.
-
#delete_project_location_tag_template(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a tag template and all tags using the template.
-
#delete_project_location_tag_template_field(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a field in a tag template and all uses of that field.
-
#delete_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a taxonomy.
-
#delete_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Empty
Deletes a policy tag.
-
#export_project_location_taxonomy(parent, serialized_taxonomies: nil, taxonomies: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse
Exports all taxonomies and their policy tags in a project.
-
#get_entry_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Gets the IAM policy for a taxonomy or a policy tag.
-
#get_project_location_entry_group(name, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
Gets an EntryGroup.
-
#get_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Gets an entry.
-
#get_project_location_tag_template(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Gets a tag template.
-
#get_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Gets a taxonomy.
-
#get_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
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::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Gets the IAM policy for a taxonomy or a policy tag.
-
#import_project_location_taxonomy(parent, google_cloud_datacatalog_v1beta1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse
Imports all taxonomies and their policy tags to a project as new taxonomies.
-
#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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse
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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
Lists entry groups.
-
#list_project_location_taxonomies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse
Lists all taxonomies in a project in a particular location that the caller has 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
Lists all policy tags in a taxonomy.
-
#lookup_entry(linked_resource: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Get an entry by target resource name.
-
#patch_project_location_entry_group(name, google_cloud_datacatalog_v1beta1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
Updates an EntryGroup.
-
#patch_project_location_entry_group_entry(name, google_cloud_datacatalog_v1beta1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Updates an existing entry.
-
#patch_project_location_entry_group_entry_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Updates an existing tag.
-
#patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Updates an existing tag.
-
#patch_project_location_tag_template(name, google_cloud_datacatalog_v1beta1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Updates a tag template.
-
#patch_project_location_tag_template_field(name, google_cloud_datacatalog_v1beta1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Updates a field in a tag template.
-
#patch_project_location_taxonomy(name, google_cloud_datacatalog_v1beta1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Updates a taxonomy.
-
#patch_project_location_taxonomy_policy_tag(name, google_cloud_datacatalog_v1beta1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
Updates a policy tag.
-
#rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Renames a field in a tag template.
-
#rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Renames an enum value in a tag template.
-
#search_catalogs(google_cloud_datacatalog_v1beta1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResponse
Searches Data Catalog for multiple resources like entries, 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::DatacatalogV1beta1::Policy
Sets the access control policy for a resource.
-
#set_policy_tag_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Policy
Sets the IAM policy for a taxonomy or a policy tag.
-
#set_tag_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Policy
Sets the 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::DatacatalogV1beta1::Policy
Sets the IAM policy for a taxonomy or a policy tag.
-
#test_entry_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's 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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's 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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has on the specified taxonomy or policy tag.
-
#test_tag_template_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's 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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has on the specified taxonomy or policy tag.
Constructor Details
#initialize ⇒ DataCatalogService
Returns a new instance of DataCatalogService.
46 47 48 49 50 51 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 46 def initialize super('https://datacatalog.googleapis.com/', '', client_name: 'google-apis-datacatalog_v1beta1', client_version: Google::Apis::DatacatalogV1beta1::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.
39 40 41 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 39 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.
44 45 46 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#create_project_location_entry_group(parent, google_cloud_datacatalog_v1beta1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
A maximum of 10,000 entry groups may be created per organization across all
locations. Users should enable the Data Catalog API in the project identified
by the parent parameter (see Data Catalog Resource Project for more information).
165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 165 def create_project_location_entry_group(parent, google_cloud_datacatalog_v1beta1_entry_group_object = nil, entry_group_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/entryGroups', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation command.request_object = google_cloud_datacatalog_v1beta1_entry_group_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup 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_v1beta1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Creates an entry. Only entries of 'FILESET' type or user-specified type can be
created. Users should enable the Data Catalog API in the project identified by
the parent parameter (see Data Catalog Resource Project for more information).
A maximum of 100,000 entries may be created per entry group.
488 489 490 491 492 493 494 495 496 497 498 499 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 488 def create_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1beta1_entry_object = nil, entry_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/entries', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.request_object = google_cloud_datacatalog_v1beta1_entry_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry 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_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Creates a tag on an Entry. Note: The project identified by the parent
parameter for the tag and the tag template
used to create the tag must be from the same organization.
773 774 775 776 777 778 779 780 781 782 783 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 773 def create_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/tags', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag 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_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Creates a tag on an Entry. Note: The project identified by the parent
parameter for the tag and the tag template
used to create the tag must be from the same organization.
929 930 931 932 933 934 935 936 937 938 939 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 929 def create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/tags', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag 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_v1beta1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Creates a tag template. The user should enable the Data Catalog API in the
project identified by the parent parameter (see Data Catalog Resource
Project
for more information).
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1084 def create_project_location_tag_template(parent, google_cloud_datacatalog_v1beta1_tag_template_object = nil, tag_template_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/tagTemplates', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_template_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate 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_v1beta1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Creates a field in a tag template. The user should enable the Data Catalog API
in the project identified by the parent parameter (see Data Catalog
Resource Project for more information).
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1370 def create_project_location_tag_template_field(parent, google_cloud_datacatalog_v1beta1_tag_template_field_object = nil, tag_template_field_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/fields', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_template_field_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField 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_v1beta1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Creates a taxonomy in the specified project.
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1568 def create_project_location_taxonomy(parent, google_cloud_datacatalog_v1beta1_taxonomy_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/taxonomies', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy::Representation command.request_object = google_cloud_datacatalog_v1beta1_taxonomy_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy 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_v1beta1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
Creates a policy tag in the specified taxonomy.
1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1921 def create_project_location_taxonomy_policy_tag(parent, google_cloud_datacatalog_v1beta1_policy_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/policyTags', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag::Representation command.request_object = google_cloud_datacatalog_v1beta1_policy_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag 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::DatacatalogV1beta1::Empty
Deletes an EntryGroup. Only entry groups that do not contain entries can be
deleted. Users should enable the Data Catalog API in the project identified by
the name parameter (see Data Catalog Resource Project for more information).
204 205 206 207 208 209 210 211 212 213 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 204 def delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes an existing entry. Only entries created through CreateEntry method can
be deleted. Users should enable the Data Catalog API in the project identified
by the name parameter (see Data Catalog Resource Project for more information).
525 526 527 528 529 530 531 532 533 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 525 def delete_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a tag.
807 808 809 810 811 812 813 814 815 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 807 def delete_project_location_entry_group_entry_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a tag.
963 964 965 966 967 968 969 970 971 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 963 def delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a tag template and all tags using the template. Users should enable
the Data Catalog API in the project identified by the name parameter (see
Data Catalog Resource Project for more information).
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1125 def delete_project_location_tag_template(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a field in a tag template and all uses of that field. Users should
enable the Data Catalog API in the project identified by the name parameter (
see Data Catalog Resource Project for more information).
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1412 def delete_project_location_tag_template_field(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.
1602 1603 1604 1605 1606 1607 1608 1609 1610 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1602 def delete_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Empty
Deletes a policy tag. Also deletes all of its descendant policy tags.
1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1954 def delete_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse
Exports all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future ImportTaxonomies calls.
1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1639 def export_project_location_taxonomy(parent, serialized_taxonomies: nil, taxonomies: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/taxonomies:export', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse 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::DatacatalogV1beta1::Policy
Gets the access control policy for a resource. A NOT_FOUND error is returned
if the resource does not exist. An empty policy is returned if the resource
exists but does not have a policy set on it. Supported resources are: - Tag
templates. - Entries. - Entry groups. Note, this method cannot be used to
manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform
resources synced to Data Catalog. Callers must have following Google IAM
permission - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entries.getIamPolicy to get policies on entries. -
datacatalog.entryGroups.getIamPolicy to get policies on entry groups.
280 281 282 283 284 285 286 287 288 289 290 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 280 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, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Gets the access control policy for a resource. A NOT_FOUND error is returned
if the resource does not exist. An empty policy is returned if the resource
exists but does not have a policy set on it. Supported resources are: - Tag
templates. - Entries. - Entry groups. Note, this method cannot be used to
manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform
resources synced to Data Catalog. Callers must have following Google IAM
permission - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entries.getIamPolicy to get policies on entries. -
datacatalog.entryGroups.getIamPolicy to get policies on entry groups.
597 598 599 600 601 602 603 604 605 606 607 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 597 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, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Gets the IAM policy for a taxonomy or a policy tag.
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 2017 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, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
Gets an EntryGroup.
238 239 240 241 242 243 244 245 246 247 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 238 def get_project_location_entry_group(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Gets an entry.
556 557 558 559 560 561 562 563 564 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 556 def get_project_location_entry_group_entry(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Gets a tag template.
1157 1158 1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1157 def get_project_location_tag_template(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Gets a taxonomy.
1671 1672 1673 1674 1675 1676 1677 1678 1679 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1671 def get_project_location_taxonomy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
Gets a policy tag.
1984 1985 1986 1987 1988 1989 1990 1991 1992 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1984 def get_project_location_taxonomy_policy_tag(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag 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::DatacatalogV1beta1::Policy
Gets the access control policy for a resource. A NOT_FOUND error is returned
if the resource does not exist. An empty policy is returned if the resource
exists but does not have a policy set on it. Supported resources are: - Tag
templates. - Entries. - Entry groups. Note, this method cannot be used to
manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform
resources synced to Data Catalog. Callers must have following Google IAM
permission - datacatalog.tagTemplates.getIamPolicy to get policies on tag
templates. - datacatalog.entries.getIamPolicy to get policies on entries. -
datacatalog.entryGroups.getIamPolicy to get policies on entry groups.
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1198 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, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Gets the IAM policy for a taxonomy or a policy tag.
1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1704 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, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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_taxonomy(parent, google_cloud_datacatalog_v1beta1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse
Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure.
1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1739 def import_project_location_taxonomy(parent, google_cloud_datacatalog_v1beta1_import_taxonomies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/taxonomies:import', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest::Representation command.request_object = google_cloud_datacatalog_v1beta1_import_taxonomies_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse
Lists entries.
641 642 643 644 645 646 647 648 649 650 651 652 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 641 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, 'v1beta1/{+parent}/entries', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
Lists tags assigned to an Entry. The columns in the response are lowercased.
845 846 847 848 849 850 851 852 853 854 855 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 845 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/tags', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
Lists tags assigned to an Entry. The columns in the response are lowercased.
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1001 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/tags', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse 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::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
Lists entry groups.
320 321 322 323 324 325 326 327 328 329 330 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 320 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, 'v1beta1/{+parent}/entryGroups', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse 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_taxonomies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse
Lists all taxonomies in a project in a particular location that the caller has permission to view.
1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1778 def list_project_location_taxonomies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/taxonomies', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse 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_taxonomy_policy_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
Lists all policy tags in a taxonomy.
2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 2055 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/policyTags', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse 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(linked_resource: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Get an entry by target resource name. This method allows clients to use the resource name from the source Google Cloud Platform service to get the Data Catalog Entry.
124 125 126 127 128 129 130 131 132 133 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 124 def lookup_entry(linked_resource: nil, sql_resource: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/entries:lookup', ) command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry command.query['linkedResource'] = linked_resource unless linked_resource.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 |
#patch_project_location_entry_group(name, google_cloud_datacatalog_v1beta1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
Updates an EntryGroup. The user should enable the Data Catalog API in the
project identified by the entry_group.name parameter (see Data Catalog
Resource Project for more information).
363 364 365 366 367 368 369 370 371 372 373 374 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 363 def patch_project_location_entry_group(name, google_cloud_datacatalog_v1beta1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation command.request_object = google_cloud_datacatalog_v1beta1_entry_group_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup 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_v1beta1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry
Updates an existing entry. Users should enable the Data Catalog API in the
project identified by the entry.name parameter (see Data Catalog Resource
Project
for more information).
691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 691 def patch_project_location_entry_group_entry(name, google_cloud_datacatalog_v1beta1_entry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.request_object = google_cloud_datacatalog_v1beta1_entry_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry 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_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Updates an existing tag.
887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 887 def patch_project_location_entry_group_entry_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag 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_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
Updates an existing tag.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1043 def patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag 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_v1beta1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate
Updates a tag template. This method cannot be used to update the fields of a
template. The tag template fields are represented as separate resources and
should be updated using their own create/update/delete methods. Users should
enable the Data Catalog API in the project identified by the tag_template.
name parameter (see Data Catalog Resource Project for more information).
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1244 def patch_project_location_tag_template(name, google_cloud_datacatalog_v1beta1_tag_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_template_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate 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_v1beta1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Updates a field in a tag template. This method cannot be used to update the
field type. Users should enable the Data Catalog API in the project identified
by the name parameter (see Data Catalog Resource Project for more information).
1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1459 def patch_project_location_tag_template_field(name, google_cloud_datacatalog_v1beta1_tag_template_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.request_object = google_cloud_datacatalog_v1beta1_tag_template_field_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField 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_v1beta1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
Updates a taxonomy.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1816 def patch_project_location_taxonomy(name, google_cloud_datacatalog_v1beta1_taxonomy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy::Representation command.request_object = google_cloud_datacatalog_v1beta1_taxonomy_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy 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_v1beta1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag
Updates a policy tag.
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 2098 def patch_project_location_taxonomy_policy_tag(name, google_cloud_datacatalog_v1beta1_policy_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag::Representation command.request_object = google_cloud_datacatalog_v1beta1_policy_tag_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag 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 |
#rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Renames a field in a tag template. The user should enable the Data Catalog API
in the project identified by the name parameter (see Data Catalog Resource
Project
for more information).
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1498 def rename_project_location_tag_template_field(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:rename', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest::Representation command.request_object = google_cloud_datacatalog_v1beta1_rename_tag_template_field_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField 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_v1beta1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value within the same enum field.
1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1535 def rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:rename', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest::Representation command.request_object = google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField 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_v1beta1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResponse
Searches Data Catalog for multiple resources like entries, tags that match a
query. This is a custom method (https://cloud.google.com/apis/design/
custom_methods) and does not return the complete resource, only the resource
identifier and high level fields. Clients can subsequently call Get methods.
Note that Data Catalog search queries do not guarantee full recall. Query
results that match your query may not be returned, even in subsequent result
pages. Also note that results returned (and not returned) can vary across
repeated search queries. See Data Catalog Search Syntax for more information.
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 80 def search_catalogs(google_cloud_datacatalog_v1beta1_search_catalog_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/catalog:search', ) command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogRequest::Representation command.request_object = google_cloud_datacatalog_v1beta1_search_catalog_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogResponse 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::DatacatalogV1beta1::Policy
Sets the access control policy for a resource. Replaces any existing policy.
Supported resources are: - Tag templates. - Entries. - Entry groups. Note,
this method cannot be used to manage policies for BigQuery, Pub/Sub and any
external Google Cloud Platform resources synced to Data Catalog. Callers must
have following Google IAM permission - datacatalog.tagTemplates.setIamPolicy
to set policies on tag templates. - datacatalog.entries.setIamPolicy to set
policies on entries. - datacatalog.entryGroups.setIamPolicy to set policies
on entry groups.
406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 406 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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_policy_tag_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Policy
Sets the IAM policy for a taxonomy or a policy tag.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 2134 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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_tag_template_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::Policy
Sets the access control policy for a resource. Replaces any existing policy.
Supported resources are: - Tag templates. - Entries. - Entry groups. Note,
this method cannot be used to manage policies for BigQuery, Pub/Sub and any
external Google Cloud Platform resources synced to Data Catalog. Callers must
have following Google IAM permission - datacatalog.tagTemplates.setIamPolicy
to set policies on tag templates. - datacatalog.entries.setIamPolicy to set
policies on entries. - datacatalog.entryGroups.setIamPolicy to set policies
on entry groups.
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1287 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::Policy
Sets the IAM policy for a taxonomy or a policy tag.
1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1852 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::DatacatalogV1beta1::Policy::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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 |
#test_entry_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's permissions on a resource. If the resource does not exist,
an empty set of permissions is returned (We don't return a NOT_FOUND error).
Supported resources are: - Tag templates. - Entries. - Entry groups. Note,
this method cannot be used to manage policies for BigQuery, Pub/Sub and any
external Google Cloud Platform resources synced to Data Catalog. A caller is
not required to have Google IAM permission to make this request.
446 447 448 449 450 451 452 453 454 455 456 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 446 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's permissions on a resource. If the resource does not exist,
an empty set of permissions is returned (We don't return a NOT_FOUND error).
Supported resources are: - Tag templates. - Entries. - Entry groups. Note,
this method cannot be used to manage policies for BigQuery, Pub/Sub and any
external Google Cloud Platform resources synced to Data Catalog. A caller is
not required to have Google IAM permission to make this request.
732 733 734 735 736 737 738 739 740 741 742 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 732 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has on the specified taxonomy or policy tag.
2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 2170 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the caller's permissions on a resource. If the resource does not exist,
an empty set of permissions is returned (We don't return a NOT_FOUND error).
Supported resources are: - Tag templates. - Entries. - Entry groups. Note,
this method cannot be used to manage policies for BigQuery, Pub/Sub and any
external Google Cloud Platform resources synced to Data Catalog. A caller is
not required to have Google IAM permission to make this request.
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1327 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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::DatacatalogV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has on the specified taxonomy or policy tag.
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 |
# File 'lib/google/apis/datacatalog_v1beta1/service.rb', line 1888 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DatacatalogV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::DatacatalogV1beta1::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 |