google-apis-datacatalog_v1 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 756984b99d0e21014157f78a1b567dc102c508b7525ee050142977440bc8adba
4
- data.tar.gz: 210b7d8f9acc08fd341fa5eca95284d112273c399d75147c7197761fd3e1fd52
3
+ metadata.gz: '09a9eb97d51162943ecf6b8bca6b37353af87ef1f3abbff5dd188f0424eb34eb'
4
+ data.tar.gz: a60f09a1da0be99968641cd8fba498f4e8c6bea0dfdb5fd51cb1f4f9db813120
5
5
  SHA512:
6
- metadata.gz: 2540b240837b8faccf3c4f9dd52ec2b349861fcbeaaa197eecd85856c133d667210913d0ee3b0e918e0f25c793039a6a667ac3e9a04c968a7a1f5337f595306e
7
- data.tar.gz: c8ac864f1e49bf59dbc5049e23cfbf923365c613152d75b245fe2265e761445e10b7b242df2db470ddb56e15726c9494de80cf93e5a53030daee0c0eef83f61f
6
+ metadata.gz: 7e9a73ec21b05174d8fc5962c96f69fa47597e1d57dd9a76df7185b655c89ec4cd2557734600d37c220b27c3cb7331e754c94d5e9a4dca8c711b4359669c0c01
7
+ data.tar.gz: a95cc59c843eeeba8ca28ca3b224f60f06315ca0233b78d9f83ed0a3aa3a984c76745393130f1d6009ae36514f2046659813ae81c78c486e1ea693edf7080ec4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datacatalog_v1
2
2
 
3
+ ### v0.11.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211201
6
+
3
7
  ### v0.10.0 (2021-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20211110
@@ -611,6 +611,11 @@ module Google
611
611
  # @return [String]
612
612
  attr_accessor :name
613
613
 
614
+ # Entry metadata relevant only to the user and private to them.
615
+ # Corresponds to the JSON property `personalDetails`
616
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails]
617
+ attr_accessor :personal_details
618
+
614
619
  # Specification that applies to a routine. Valid only for entries with the `
615
620
  # ROUTINE` type.
616
621
  # Corresponds to the JSON property `routineSpec`
@@ -681,6 +686,7 @@ module Google
681
686
  @labels = args[:labels] if args.key?(:labels)
682
687
  @linked_resource = args[:linked_resource] if args.key?(:linked_resource)
683
688
  @name = args[:name] if args.key?(:name)
689
+ @personal_details = args[:personal_details] if args.key?(:personal_details)
684
690
  @routine_spec = args[:routine_spec] if args.key?(:routine_spec)
685
691
  @schema = args[:schema] if args.key?(:schema)
686
692
  @source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
@@ -1089,6 +1095,32 @@ module Google
1089
1095
  end
1090
1096
  end
1091
1097
 
1098
+ # Entry metadata relevant only to the user and private to them.
1099
+ class GoogleCloudDatacatalogV1PersonalDetails
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Set if the entry is starred; unset otherwise.
1103
+ # Corresponds to the JSON property `starTime`
1104
+ # @return [String]
1105
+ attr_accessor :star_time
1106
+
1107
+ # True if the entry is starred by the user; false otherwise.
1108
+ # Corresponds to the JSON property `starred`
1109
+ # @return [Boolean]
1110
+ attr_accessor :starred
1111
+ alias_method :starred?, :starred
1112
+
1113
+ def initialize(**args)
1114
+ update!(**args)
1115
+ end
1116
+
1117
+ # Update properties of this object
1118
+ def update!(**args)
1119
+ @star_time = args[:star_time] if args.key?(:star_time)
1120
+ @starred = args[:starred] if args.key?(:starred)
1121
+ end
1122
+ end
1123
+
1092
1124
  # Denotes one policy tag in a taxonomy, for example, SSN. Policy tags can be
1093
1125
  # defined in a hierarchy. For example: ``` + Geolocation + LatLong + City +
1094
1126
  # ZipCode ``` Where the "Geolocation" policy tag contains three children.
@@ -1314,8 +1346,8 @@ module Google
1314
1346
 
1315
1347
  # Specifies the order of results. Currently supported case-sensitive values are:
1316
1348
  # * `relevance` that can only be descending * `last_modified_timestamp [asc|desc]
1317
- # ` with descending (`desc`) as default If this parameter is omitted, it
1318
- # defaults to the descending `relevance`.
1349
+ # ` with descending (`desc`) as default * `default` that can only be descending
1350
+ # If this parameter is omitted, it defaults to the descending `relevance`.
1319
1351
  # Corresponds to the JSON property `orderBy`
1320
1352
  # @return [String]
1321
1353
  attr_accessor :order_by
@@ -1411,6 +1443,13 @@ module Google
1411
1443
  # @return [Array<String>]
1412
1444
  attr_accessor :restricted_locations
1413
1445
 
1446
+ # Optional. If `true`, search only among starred entries. By default, all
1447
+ # results are returned, starred or not.
1448
+ # Corresponds to the JSON property `starredOnly`
1449
+ # @return [Boolean]
1450
+ attr_accessor :starred_only
1451
+ alias_method :starred_only?, :starred_only
1452
+
1414
1453
  def initialize(**args)
1415
1454
  update!(**args)
1416
1455
  end
@@ -1422,6 +1461,7 @@ module Google
1422
1461
  @include_project_ids = args[:include_project_ids] if args.key?(:include_project_ids)
1423
1462
  @include_public_tag_templates = args[:include_public_tag_templates] if args.key?(:include_public_tag_templates)
1424
1463
  @restricted_locations = args[:restricted_locations] if args.key?(:restricted_locations)
1464
+ @starred_only = args[:starred_only] if args.key?(:starred_only)
1425
1465
  end
1426
1466
  end
1427
1467
 
@@ -1629,6 +1669,32 @@ module Google
1629
1669
  end
1630
1670
  end
1631
1671
 
1672
+ # Request message for StarEntry.
1673
+ class GoogleCloudDatacatalogV1StarEntryRequest
1674
+ include Google::Apis::Core::Hashable
1675
+
1676
+ def initialize(**args)
1677
+ update!(**args)
1678
+ end
1679
+
1680
+ # Update properties of this object
1681
+ def update!(**args)
1682
+ end
1683
+ end
1684
+
1685
+ # Response message for StarEntry. Empty for now
1686
+ class GoogleCloudDatacatalogV1StarEntryResponse
1687
+ include Google::Apis::Core::Hashable
1688
+
1689
+ def initialize(**args)
1690
+ update!(**args)
1691
+ end
1692
+
1693
+ # Update properties of this object
1694
+ def update!(**args)
1695
+ end
1696
+ end
1697
+
1632
1698
  # Timestamps associated with this resource in a particular system.
1633
1699
  class GoogleCloudDatacatalogV1SystemTimestamps
1634
1700
  include Google::Apis::Core::Hashable
@@ -2019,6 +2085,32 @@ module Google
2019
2085
  end
2020
2086
  end
2021
2087
 
2088
+ # Request message for UnstarEntry.
2089
+ class GoogleCloudDatacatalogV1UnstarEntryRequest
2090
+ include Google::Apis::Core::Hashable
2091
+
2092
+ def initialize(**args)
2093
+ update!(**args)
2094
+ end
2095
+
2096
+ # Update properties of this object
2097
+ def update!(**args)
2098
+ end
2099
+ end
2100
+
2101
+ # Response message for UnstarEntry. Empty for now
2102
+ class GoogleCloudDatacatalogV1UnstarEntryResponse
2103
+ include Google::Apis::Core::Hashable
2104
+
2105
+ def initialize(**args)
2106
+ update!(**args)
2107
+ end
2108
+
2109
+ # Update properties of this object
2110
+ def update!(**args)
2111
+ end
2112
+ end
2113
+
2022
2114
  # The set of all usage signals that Data Catalog stores. Note: Usually, these
2023
2115
  # signals are updated daily. In rare cases, an update may fail but will be
2024
2116
  # performed again on the next day.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatacatalogV1
18
18
  # Version of the google-apis-datacatalog_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211110"
25
+ REVISION = "20211201"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudDatacatalogV1PersonalDetails
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleCloudDatacatalogV1PolicyTag
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -286,6 +292,18 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class GoogleCloudDatacatalogV1StarEntryRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudDatacatalogV1StarEntryResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
289
307
  class GoogleCloudDatacatalogV1SystemTimestamps
290
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
309
 
@@ -334,6 +352,18 @@ module Google
334
352
  include Google::Apis::Core::JsonObjectSupport
335
353
  end
336
354
 
355
+ class GoogleCloudDatacatalogV1UnstarEntryRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudDatacatalogV1UnstarEntryResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
337
367
  class GoogleCloudDatacatalogV1UsageSignal
338
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
369
 
@@ -528,6 +558,8 @@ module Google
528
558
  hash :labels, as: 'labels'
529
559
  property :linked_resource, as: 'linkedResource'
530
560
  property :name, as: 'name'
561
+ property :personal_details, as: 'personalDetails', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails::Representation
562
+
531
563
  property :routine_spec, as: 'routineSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec::Representation
532
564
 
533
565
  property :schema, as: 'schema', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Schema, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Schema::Representation
@@ -675,6 +707,14 @@ module Google
675
707
  end
676
708
  end
677
709
 
710
+ class GoogleCloudDatacatalogV1PersonalDetails
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :star_time, as: 'starTime'
714
+ property :starred, as: 'starred'
715
+ end
716
+ end
717
+
678
718
  class GoogleCloudDatacatalogV1PolicyTag
679
719
  # @private
680
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -759,6 +799,7 @@ module Google
759
799
  collection :include_project_ids, as: 'includeProjectIds'
760
800
  property :include_public_tag_templates, as: 'includePublicTagTemplates'
761
801
  collection :restricted_locations, as: 'restrictedLocations'
802
+ property :starred_only, as: 'starredOnly'
762
803
  end
763
804
  end
764
805
 
@@ -810,6 +851,18 @@ module Google
810
851
  end
811
852
  end
812
853
 
854
+ class GoogleCloudDatacatalogV1StarEntryRequest
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ end
858
+ end
859
+
860
+ class GoogleCloudDatacatalogV1StarEntryResponse
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ end
864
+ end
865
+
813
866
  class GoogleCloudDatacatalogV1SystemTimestamps
814
867
  # @private
815
868
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -897,6 +950,18 @@ module Google
897
950
  end
898
951
  end
899
952
 
953
+ class GoogleCloudDatacatalogV1UnstarEntryRequest
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ end
957
+ end
958
+
959
+ class GoogleCloudDatacatalogV1UnstarEntryResponse
960
+ # @private
961
+ class Representation < Google::Apis::Core::JsonRepresentation
962
+ end
963
+ end
964
+
900
965
  class GoogleCloudDatacatalogV1UsageSignal
901
966
  # @private
902
967
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -715,6 +715,40 @@ module Google
715
715
  execute_or_queue_command(command, &block)
716
716
  end
717
717
 
718
+ # Marks an Entry as starred by the current user. Starring information is private
719
+ # to each user.
720
+ # @param [String] name
721
+ # Required. The name of the entry to mark as starred.
722
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryRequest] google_cloud_datacatalog_v1_star_entry_request_object
723
+ # @param [String] fields
724
+ # Selector specifying which fields to include in a partial response.
725
+ # @param [String] quota_user
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
728
+ # @param [Google::Apis::RequestOptions] options
729
+ # Request-specific options
730
+ #
731
+ # @yield [result, err] Result & error if block supplied
732
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse] parsed result object
733
+ # @yieldparam err [StandardError] error object if request failed
734
+ #
735
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse]
736
+ #
737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
740
+ 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)
741
+ command = make_simple_command(:post, 'v1/{+name}:star', options)
742
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryRequest::Representation
743
+ command.request_object = google_cloud_datacatalog_v1_star_entry_request_object
744
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse::Representation
745
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StarEntryResponse
746
+ command.params['name'] = name unless name.nil?
747
+ command.query['fields'] = fields unless fields.nil?
748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
749
+ execute_or_queue_command(command, &block)
750
+ end
751
+
718
752
  # Gets your permissions on a resource. Returns an empty set of permissions if
719
753
  # the resource doesn't exist. Supported resources are: - Tag templates - Entry
720
754
  # groups Note: This method gets policies only within Data Catalog and can't be
@@ -754,6 +788,40 @@ module Google
754
788
  execute_or_queue_command(command, &block)
755
789
  end
756
790
 
791
+ # Marks an Entry as NOT starred by the current user. Starring information is
792
+ # private to each user.
793
+ # @param [String] name
794
+ # Required. The name of the entry to mark as **not** starred.
795
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryRequest] google_cloud_datacatalog_v1_unstar_entry_request_object
796
+ # @param [String] fields
797
+ # Selector specifying which fields to include in a partial response.
798
+ # @param [String] quota_user
799
+ # Available to use for quota purposes for server-side applications. Can be any
800
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
801
+ # @param [Google::Apis::RequestOptions] options
802
+ # Request-specific options
803
+ #
804
+ # @yield [result, err] Result & error if block supplied
805
+ # @yieldparam result [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse] parsed result object
806
+ # @yieldparam err [StandardError] error object if request failed
807
+ #
808
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse]
809
+ #
810
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
811
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
812
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
813
+ 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)
814
+ command = make_simple_command(:post, 'v1/{+name}:unstar', options)
815
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryRequest::Representation
816
+ command.request_object = google_cloud_datacatalog_v1_unstar_entry_request_object
817
+ command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse::Representation
818
+ command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UnstarEntryResponse
819
+ command.params['name'] = name unless name.nil?
820
+ command.query['fields'] = fields unless fields.nil?
821
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
822
+ execute_or_queue_command(command, &block)
823
+ end
824
+
757
825
  # Creates a tag and assigns it to: * An Entry if the method name is `projects.
758
826
  # locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name
759
827
  # is `projects.locations.entryGroups.tags.create`. Note: The project identified
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.11.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: 2021-12-13 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.11.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: []