google-apis-datacatalog_v1 0.10.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -666,6 +666,76 @@ module Google
666
666
  execute_or_queue_command(command, &block)
667
667
  end
668
668
 
669
+ # Modifies contacts, part of the business context of an Entry. To call this
670
+ # method, you must have the `datacatalog.entries.updateContacts` IAM permission
671
+ # on the corresponding project.
672
+ # @param [String] name
673
+ # Required. The full resource name of the entry.
674
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryContactsRequest] google_cloud_datacatalog_v1_modify_entry_contacts_request_object
675
+ # @param [String] fields
676
+ # Selector specifying which fields to include in a partial response.
677
+ # @param [String] quota_user
678
+ # Available to use for quota purposes for server-side applications. Can be any
679
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
680
+ # @param [Google::Apis::RequestOptions] options
681
+ # Request-specific options
682
+ #
683
+ # @yield [result, err] Result & error if block supplied
684
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts] parsed result object
685
+ # @yieldparam err [StandardError] error object if request failed
686
+ #
687
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts]
688
+ #
689
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
690
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
691
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
692
+ 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)
693
+ command = make_simple_command(:post, 'v1/{+name}:modifyEntryContacts', options)
694
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryContactsRequest::Representation
695
+ command.request_object = google_cloud_datacatalog_v1_modify_entry_contacts_request_object
696
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts::Representation
697
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts
698
+ command.params['name'] = name unless name.nil?
699
+ command.query['fields'] = fields unless fields.nil?
700
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
701
+ execute_or_queue_command(command, &block)
702
+ end
703
+
704
+ # Modifies entry overview, part of the business context of an Entry. To call
705
+ # this method, you must have the `datacatalog.entries.updateOverview` IAM
706
+ # permission on the corresponding project.
707
+ # @param [String] name
708
+ # Required. The full resource name of the entry.
709
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryOverviewRequest] google_cloud_datacatalog_v1_modify_entry_overview_request_object
710
+ # @param [String] fields
711
+ # Selector specifying which fields to include in a partial response.
712
+ # @param [String] quota_user
713
+ # Available to use for quota purposes for server-side applications. Can be any
714
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
715
+ # @param [Google::Apis::RequestOptions] options
716
+ # Request-specific options
717
+ #
718
+ # @yield [result, err] Result & error if block supplied
719
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview] parsed result object
720
+ # @yieldparam err [StandardError] error object if request failed
721
+ #
722
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview]
723
+ #
724
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
725
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
726
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
727
+ 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)
728
+ command = make_simple_command(:post, 'v1/{+name}:modifyEntryOverview', options)
729
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ModifyEntryOverviewRequest::Representation
730
+ command.request_object = google_cloud_datacatalog_v1_modify_entry_overview_request_object
731
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview::Representation
732
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview
733
+ command.params['name'] = name unless name.nil?
734
+ command.query['fields'] = fields unless fields.nil?
735
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
736
+ execute_or_queue_command(command, &block)
737
+ end
738
+
669
739
  # Updates an existing entry. You must enable the Data Catalog API in the project
670
740
  # identified by the `entry.name` parameter. For more information, see [Data
671
741
  # Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/
@@ -715,6 +785,40 @@ module Google
715
785
  execute_or_queue_command(command, &block)
716
786
  end
717
787
 
788
+ # Marks an Entry as starred by the current user. Starring information is private
789
+ # to each user.
790
+ # @param [String] name
791
+ # Required. The name of the entry to mark as starred.
792
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryRequest] google_cloud_datacatalog_v1_star_entry_request_object
793
+ # @param [String] fields
794
+ # Selector specifying which fields to include in a partial response.
795
+ # @param [String] quota_user
796
+ # Available to use for quota purposes for server-side applications. Can be any
797
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
798
+ # @param [Google::Apis::RequestOptions] options
799
+ # Request-specific options
800
+ #
801
+ # @yield [result, err] Result & error if block supplied
802
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse] parsed result object
803
+ # @yieldparam err [StandardError] error object if request failed
804
+ #
805
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse]
806
+ #
807
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
808
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
809
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
810
+ 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)
811
+ command = make_simple_command(:post, 'v1/{+name}:star', options)
812
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryRequest::Representation
813
+ command.request_object = google_cloud_datacatalog_v1_star_entry_request_object
814
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse::Representation
815
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse
816
+ command.params['name'] = name unless name.nil?
817
+ command.query['fields'] = fields unless fields.nil?
818
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
819
+ execute_or_queue_command(command, &block)
820
+ end
821
+
718
822
  # Gets your permissions on a resource. Returns an empty set of permissions if
719
823
  # the resource doesn't exist. Supported resources are: - Tag templates - Entry
720
824
  # groups Note: This method gets policies only within Data Catalog and can't be
@@ -754,6 +858,40 @@ module Google
754
858
  execute_or_queue_command(command, &block)
755
859
  end
756
860
 
861
+ # Marks an Entry as NOT starred by the current user. Starring information is
862
+ # private to each user.
863
+ # @param [String] name
864
+ # Required. The name of the entry to mark as **not** starred.
865
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryRequest] google_cloud_datacatalog_v1_unstar_entry_request_object
866
+ # @param [String] fields
867
+ # Selector specifying which fields to include in a partial response.
868
+ # @param [String] quota_user
869
+ # Available to use for quota purposes for server-side applications. Can be any
870
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
871
+ # @param [Google::Apis::RequestOptions] options
872
+ # Request-specific options
873
+ #
874
+ # @yield [result, err] Result & error if block supplied
875
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse] parsed result object
876
+ # @yieldparam err [StandardError] error object if request failed
877
+ #
878
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse]
879
+ #
880
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
883
+ 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)
884
+ command = make_simple_command(:post, 'v1/{+name}:unstar', options)
885
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryRequest::Representation
886
+ command.request_object = google_cloud_datacatalog_v1_unstar_entry_request_object
887
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse::Representation
888
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse
889
+ command.params['name'] = name unless name.nil?
890
+ command.query['fields'] = fields unless fields.nil?
891
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
892
+ execute_or_queue_command(command, &block)
893
+ end
894
+
757
895
  # Creates a tag and assigns it to: * An Entry if the method name is `projects.
758
896
  # locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name
759
897
  # is `projects.locations.entryGroups.tags.create`. Note: The project identified
@@ -827,7 +965,7 @@ module Google
827
965
  execute_or_queue_command(command, &block)
828
966
  end
829
967
 
830
- # Lists tags assigned to an Entry.
968
+ # Lists tags assigned to an Entry. The columns in the response are lowercased.
831
969
  # @param [String] parent
832
970
  # Required. The name of the Data Catalog resource to list the tags of. The
833
971
  # resource can be an Entry or an EntryGroup (without `/entries/`entries`` at the
@@ -980,7 +1118,7 @@ module Google
980
1118
  execute_or_queue_command(command, &block)
981
1119
  end
982
1120
 
983
- # Lists tags assigned to an Entry.
1121
+ # Lists tags assigned to an Entry. The columns in the response are lowercased.
984
1122
  # @param [String] parent
985
1123
  # Required. The name of the Data Catalog resource to list the tags of. The
986
1124
  # resource can be an Entry or an EntryGroup (without `/entries/`entries`` at the
@@ -1229,8 +1367,7 @@ module Google
1229
1367
  # is absent or empty, all modifiable fields are overwritten. If such fields are
1230
1368
  # non-required and omitted in the request body, their values are emptied. Note:
1231
1369
  # Updating the `is_publicly_readable` field may require up to 12 hours to take
1232
- # effect in search results. Additionally, it also requires the `tagTemplates.
1233
- # getIamPolicy` and `tagTemplates.setIamPolicy` permissions.
1370
+ # effect in search results.
1234
1371
  # @param [String] fields
1235
1372
  # Selector specifying which fields to include in a partial response.
1236
1373
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datacatalog_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Data Catalog API V1