google-apis-datacatalog_v1 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6950d8a26bcc0fdeb2058c9e9b6322a1fa44255d435e21df35c226071756bfc4
4
- data.tar.gz: b8df67e5592a88ecdf3899605683f795a01fc087ebeba61727d8727a90deacdc
3
+ metadata.gz: 76d5738291891f6ae6427161d89fa1bb18ee78ffc17b43dae14c80789397bc38
4
+ data.tar.gz: 56fefc297b2bb5e4aee061b6159cdcce77d3484d6e7a1d9d0d495759c13f0560
5
5
  SHA512:
6
- metadata.gz: d1fc02dee357ce04b77152284f085b5a826c946e87c03b7ace5b1fdfef1392d5b7a568bdd298ff5739da35c42fb965caf60ffc719c5ed29751b55ca51f8e9c29
7
- data.tar.gz: e296ea1d3b21497d9d1aba3dd0b7b26ff61324b0f6c18d61a950e213157cfc456931e4d131c8c41cb9c5941b36f29e2d238fd60746028d9dd75a1594f3803fc7
6
+ metadata.gz: 10e1f68f1c3d51a7101c627bad68ecb7bbc75ff9b0a6ead765052da01e2bc3902b6a0620847226ef7ee0c2f208aa097c94d5f1a03a07df9c67111e8b1278c49e
7
+ data.tar.gz: 8a320082c027bd2599487bbd6145d39c5379b0b0080b0c11537ebd3ac50ebf6a782ce7d132ee02e24a7dd8f6e179577238307979343e0c3ed2231dfacf9dfcae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datacatalog_v1
2
2
 
3
+ ### v0.3.0 (2021-07-09)
4
+
5
+ * Regenerated from discovery document revision 20210702
6
+
3
7
  ### v0.2.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -208,6 +208,39 @@ module Google
208
208
  end
209
209
  end
210
210
 
211
+ # Specification for the BigQuery connection.
212
+ class GoogleCloudDatacatalogV1BigQueryConnectionSpec
213
+ include Google::Apis::Core::Hashable
214
+
215
+ # Specification for the BigQuery connection to a Cloud SQL instance.
216
+ # Corresponds to the JSON property `cloudSql`
217
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec]
218
+ attr_accessor :cloud_sql
219
+
220
+ # The type of the BigQuery connection.
221
+ # Corresponds to the JSON property `connectionType`
222
+ # @return [String]
223
+ attr_accessor :connection_type
224
+
225
+ # True if there are credentials attached to the BigQuery connection; false
226
+ # otherwise.
227
+ # Corresponds to the JSON property `hasCredential`
228
+ # @return [Boolean]
229
+ attr_accessor :has_credential
230
+ alias_method :has_credential?, :has_credential
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql)
239
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
240
+ @has_credential = args[:has_credential] if args.key?(:has_credential)
241
+ end
242
+ end
243
+
211
244
  # Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
212
245
  # pattern. For more information, see [Introduction to partitioned tables] (https:
213
246
  # //cloud.google.com/bigquery/docs/partitioned-tables#
@@ -296,6 +329,37 @@ module Google
296
329
  end
297
330
  end
298
331
 
332
+ # Specification for the BigQuery connection to a Cloud SQL instance.
333
+ class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # Database name.
337
+ # Corresponds to the JSON property `database`
338
+ # @return [String]
339
+ attr_accessor :database
340
+
341
+ # Cloud SQL instance ID in the format of `project:location:instance`.
342
+ # Corresponds to the JSON property `instanceId`
343
+ # @return [String]
344
+ attr_accessor :instance_id
345
+
346
+ # Type of the Cloud SQL database.
347
+ # Corresponds to the JSON property `type`
348
+ # @return [String]
349
+ attr_accessor :type
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @database = args[:database] if args.key?(:database)
358
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
359
+ @type = args[:type] if args.key?(:type)
360
+ end
361
+ end
362
+
299
363
  # A column within a schema. Columns can be nested inside other columns.
300
364
  class GoogleCloudDatacatalogV1ColumnSchema
301
365
  include Google::Apis::Core::Hashable
@@ -391,6 +455,26 @@ module Google
391
455
  end
392
456
  end
393
457
 
458
+ # Specification that applies to a data source connection. Valid only for entries
459
+ # with the `DATA_SOURCE_CONNECTION` type.
460
+ class GoogleCloudDatacatalogV1DataSourceConnectionSpec
461
+ include Google::Apis::Core::Hashable
462
+
463
+ # Specification for the BigQuery connection.
464
+ # Corresponds to the JSON property `bigqueryConnectionSpec`
465
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec]
466
+ attr_accessor :bigquery_connection_spec
467
+
468
+ def initialize(**args)
469
+ update!(**args)
470
+ end
471
+
472
+ # Update properties of this object
473
+ def update!(**args)
474
+ @bigquery_connection_spec = args[:bigquery_connection_spec] if args.key?(:bigquery_connection_spec)
475
+ end
476
+ end
477
+
394
478
  # Specification that applies to a table resource. Valid only for entries with
395
479
  # the `TABLE` type.
396
480
  class GoogleCloudDatacatalogV1DatabaseTableSpec
@@ -438,6 +522,12 @@ module Google
438
522
  # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource]
439
523
  attr_accessor :data_source
440
524
 
525
+ # Specification that applies to a data source connection. Valid only for entries
526
+ # with the `DATA_SOURCE_CONNECTION` type.
527
+ # Corresponds to the JSON property `dataSourceConnectionSpec`
528
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec]
529
+ attr_accessor :data_source_connection_spec
530
+
441
531
  # Specification that applies to a table resource. Valid only for entries with
442
532
  # the `TABLE` type.
443
533
  # Corresponds to the JSON property `databaseTableSpec`
@@ -484,6 +574,13 @@ module Google
484
574
  # @return [String]
485
575
  attr_accessor :integrated_system
486
576
 
577
+ # Cloud labels attached to the entry. In Data Catalog, you can create and modify
578
+ # labels attached only to custom entries. Synced entries have unmodifiable
579
+ # labels that come from the source system.
580
+ # Corresponds to the JSON property `labels`
581
+ # @return [Hash<String,String>]
582
+ attr_accessor :labels
583
+
487
584
  # The resource this metadata entry refers to. For Google Cloud Platform
488
585
  # resources, `linked_resource` is the [Full Resource Name] (https://cloud.google.
489
586
  # com/apis/design/resource_names#full_resource_name). For example, the `
@@ -565,12 +662,14 @@ module Google
565
662
  @bigquery_date_sharded_spec = args[:bigquery_date_sharded_spec] if args.key?(:bigquery_date_sharded_spec)
566
663
  @bigquery_table_spec = args[:bigquery_table_spec] if args.key?(:bigquery_table_spec)
567
664
  @data_source = args[:data_source] if args.key?(:data_source)
665
+ @data_source_connection_spec = args[:data_source_connection_spec] if args.key?(:data_source_connection_spec)
568
666
  @database_table_spec = args[:database_table_spec] if args.key?(:database_table_spec)
569
667
  @description = args[:description] if args.key?(:description)
570
668
  @display_name = args[:display_name] if args.key?(:display_name)
571
669
  @fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
572
670
  @gcs_fileset_spec = args[:gcs_fileset_spec] if args.key?(:gcs_fileset_spec)
573
671
  @integrated_system = args[:integrated_system] if args.key?(:integrated_system)
672
+ @labels = args[:labels] if args.key?(:labels)
574
673
  @linked_resource = args[:linked_resource] if args.key?(:linked_resource)
575
674
  @name = args[:name] if args.key?(:name)
576
675
  @routine_spec = args[:routine_spec] if args.key?(:routine_spec)
@@ -1281,6 +1380,16 @@ module Google
1281
1380
  # @return [Array<String>]
1282
1381
  attr_accessor :include_project_ids
1283
1382
 
1383
+ # Optional. If `true`, include public tag templates in the search results. By
1384
+ # default, they are included only if you have explicit permissions on them to
1385
+ # view them. For example, if you are the owner. Other scope fields, for example,
1386
+ # ``include_org_ids``, still restrict the returned public tag templates and at
1387
+ # least one of them is required.
1388
+ # Corresponds to the JSON property `includePublicTagTemplates`
1389
+ # @return [Boolean]
1390
+ attr_accessor :include_public_tag_templates
1391
+ alias_method :include_public_tag_templates?, :include_public_tag_templates
1392
+
1284
1393
  # Optional. The list of locations to search within. If empty, all locations are
1285
1394
  # searched. Returns an error if any location in the list isn't one of the [
1286
1395
  # Supported regions](https://cloud.google.com/data-catalog/docs/concepts/regions#
@@ -1301,6 +1410,7 @@ module Google
1301
1410
  @include_gcp_public_datasets = args[:include_gcp_public_datasets] if args.key?(:include_gcp_public_datasets)
1302
1411
  @include_org_ids = args[:include_org_ids] if args.key?(:include_org_ids)
1303
1412
  @include_project_ids = args[:include_project_ids] if args.key?(:include_project_ids)
1413
+ @include_public_tag_templates = args[:include_public_tag_templates] if args.key?(:include_public_tag_templates)
1304
1414
  @restricted_locations = args[:restricted_locations] if args.key?(:restricted_locations)
1305
1415
  end
1306
1416
  end
@@ -1717,6 +1827,23 @@ module Google
1717
1827
  # @return [Hash<String,Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField>]
1718
1828
  attr_accessor :fields
1719
1829
 
1830
+ # Indicates whether this is a public tag template. Every user has view access to
1831
+ # a *public* tag template by default. This means that: * Every user can use this
1832
+ # tag template to tag an entry. * If an entry is tagged using the tag template,
1833
+ # the tag is always shown in the response to ``ListTags`` called on the entry. *
1834
+ # To get the template using the GetTagTemplate method, you need view access
1835
+ # either on the project or the organization the tag template resides in but no
1836
+ # other permission is needed. * Operations on the tag template other than
1837
+ # viewing (for example, editing IAM policies) follow standard IAM structures.
1838
+ # Tags created with a public tag template are referred to as public tags. You
1839
+ # can search for a public tag by value with a simple search query instead of
1840
+ # using a ``tag:`` predicate. Public tag templates may not appear in search
1841
+ # results depending on scope, see: include_public_tag_templates
1842
+ # Corresponds to the JSON property `isPubliclyReadable`
1843
+ # @return [Boolean]
1844
+ attr_accessor :is_publicly_readable
1845
+ alias_method :is_publicly_readable?, :is_publicly_readable
1846
+
1720
1847
  # The resource name of the tag template in URL format. Note: The tag template
1721
1848
  # itself and its child resources might not be stored in the location specified
1722
1849
  # in its name.
@@ -1732,6 +1859,7 @@ module Google
1732
1859
  def update!(**args)
1733
1860
  @display_name = args[:display_name] if args.key?(:display_name)
1734
1861
  @fields = args[:fields] if args.key?(:fields)
1862
+ @is_publicly_readable = args[:is_publicly_readable] if args.key?(:is_publicly_readable)
1735
1863
  @name = args[:name] if args.key?(:name)
1736
1864
  end
1737
1865
  end
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.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 = "20210618"
25
+ REVISION = "20210702"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudDatacatalogV1BigQueryConnectionSpec
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudDatacatalogV1BigQueryDateShardedSpec
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudDatacatalogV1ColumnSchema
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -88,6 +100,12 @@ module Google
88
100
  include Google::Apis::Core::JsonObjectSupport
89
101
  end
90
102
 
103
+ class GoogleCloudDatacatalogV1DataSourceConnectionSpec
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
91
109
  class GoogleCloudDatacatalogV1DatabaseTableSpec
92
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
111
 
@@ -399,6 +417,16 @@ module Google
399
417
  end
400
418
  end
401
419
 
420
+ class GoogleCloudDatacatalogV1BigQueryConnectionSpec
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :cloud_sql, as: 'cloudSql', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec::Representation
424
+
425
+ property :connection_type, as: 'connectionType'
426
+ property :has_credential, as: 'hasCredential'
427
+ end
428
+ end
429
+
402
430
  class GoogleCloudDatacatalogV1BigQueryDateShardedSpec
403
431
  # @private
404
432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -426,6 +454,15 @@ module Google
426
454
  end
427
455
  end
428
456
 
457
+ class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :database, as: 'database'
461
+ property :instance_id, as: 'instanceId'
462
+ property :type, as: 'type'
463
+ end
464
+ end
465
+
429
466
  class GoogleCloudDatacatalogV1ColumnSchema
430
467
  # @private
431
468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -453,6 +490,14 @@ module Google
453
490
  end
454
491
  end
455
492
 
493
+ class GoogleCloudDatacatalogV1DataSourceConnectionSpec
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :bigquery_connection_spec, as: 'bigqueryConnectionSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryConnectionSpec::Representation
497
+
498
+ end
499
+ end
500
+
456
501
  class GoogleCloudDatacatalogV1DatabaseTableSpec
457
502
  # @private
458
503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -469,6 +514,8 @@ module Google
469
514
 
470
515
  property :data_source, as: 'dataSource', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource::Representation
471
516
 
517
+ property :data_source_connection_spec, as: 'dataSourceConnectionSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSourceConnectionSpec::Representation
518
+
472
519
  property :database_table_spec, as: 'databaseTableSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpec::Representation
473
520
 
474
521
  property :description, as: 'description'
@@ -477,6 +524,7 @@ module Google
477
524
  property :gcs_fileset_spec, as: 'gcsFilesetSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFilesetSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFilesetSpec::Representation
478
525
 
479
526
  property :integrated_system, as: 'integratedSystem'
527
+ hash :labels, as: 'labels'
480
528
  property :linked_resource, as: 'linkedResource'
481
529
  property :name, as: 'name'
482
530
  property :routine_spec, as: 'routineSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec::Representation
@@ -708,6 +756,7 @@ module Google
708
756
  property :include_gcp_public_datasets, as: 'includeGcpPublicDatasets'
709
757
  collection :include_org_ids, as: 'includeOrgIds'
710
758
  collection :include_project_ids, as: 'includeProjectIds'
759
+ property :include_public_tag_templates, as: 'includePublicTagTemplates'
711
760
  collection :restricted_locations, as: 'restrictedLocations'
712
761
  end
713
762
  end
@@ -813,6 +862,7 @@ module Google
813
862
  property :display_name, as: 'displayName'
814
863
  hash :fields, as: 'fields', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField::Representation
815
864
 
865
+ property :is_publicly_readable, as: 'isPubliclyReadable'
816
866
  property :name, as: 'name'
817
867
  end
818
868
  end
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.2.0
4
+ version: 0.3.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-07-12 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/master/generated/google-apis-datacatalog_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datacatalog_v1
63
63
  post_install_message:
64
64
  rdoc_options: []