google-cloud-data_catalog-v1 0.10.0 → 0.11.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: 8ad643a4d17fd3db4f1a03cbf47927c7dbe7689143e746855de9c5be56d87391
4
- data.tar.gz: 275d56cb790a053a2487ba4a104b043d1a2a05068420875897d9b87c92a0ec08
3
+ metadata.gz: 0d2ac533f362f302c63c40778819652898021a3db468b1cc1db5395dd574e8da
4
+ data.tar.gz: baf9acad4b086f189d542610857cf2ad923c089d24aa9551c857a81aa4582bbe
5
5
  SHA512:
6
- metadata.gz: a06e4b529947202ee77a3c92b5423bb766c983a0c05f9b36b77c585482f1a62080cd95718bdda89f7643a6d5c194df6ab2c95bd170e47c06df42d27bb345a467
7
- data.tar.gz: 21bc61fe436fb546ceff79e706c7fa55c486fc831e2ac13dd1d1bdbee5dae2bfe636a05a0d72eb7ec8a7030f942198f67b3a2678d42d0cf14e0358d86ac51cf7
6
+ metadata.gz: 42ccd2b3a488145b610f712c2e797ac21bc3e200c8a6cbc67e0d9e3119978a0db16fdc0ca7d13d200d6b6dcb284bbb24737980cb86390f72944fc01871a9ccfd
7
+ data.tar.gz: deba435488fa05e0ea0c9ec181f4f5710bf8731a4066ea2eb16770afba2170976305031e0d4b707acd121e2f65a116b2e56b6cfda73e8a6efa3b2547fc41f6de
@@ -3090,7 +3090,7 @@ module Google
3090
3090
  # @param options [::Gapic::CallOptions, ::Hash]
3091
3091
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3092
3092
  #
3093
- # @overload set_iam_policy(resource: nil, policy: nil)
3093
+ # @overload set_iam_policy(resource: nil, policy: nil, update_mask: nil)
3094
3094
  # Pass arguments to `set_iam_policy` via keyword arguments. Note that at
3095
3095
  # least one keyword argument is required. To specify no parameters, or to keep all
3096
3096
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -3103,6 +3103,12 @@ module Google
3103
3103
  # the policy is limited to a few 10s of KB. An empty policy is a
3104
3104
  # valid policy but certain Cloud Platform services (such as Projects)
3105
3105
  # might reject them.
3106
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
3107
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3108
+ # the fields in the mask will be modified. If no mask is provided, the
3109
+ # following default mask is used:
3110
+ #
3111
+ # `paths: "bindings, etag"`
3106
3112
  #
3107
3113
  # @yield [response, operation] Access the result along with the RPC operation
3108
3114
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -3211,7 +3217,7 @@ module Google
3211
3217
  # See the operation documentation for the appropriate value for this field.
3212
3218
  # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
3213
3219
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
3214
- # `GetIamPolicy`. This field is only used by Cloud IAM.
3220
+ # `GetIamPolicy`.
3215
3221
  #
3216
3222
  # @yield [response, operation] Access the result along with the RPC operation
3217
3223
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -1090,7 +1090,7 @@ module Google
1090
1090
  # See the operation documentation for the appropriate value for this field.
1091
1091
  # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
1092
1092
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
1093
- # `GetIamPolicy`. This field is only used by Cloud IAM.
1093
+ # `GetIamPolicy`.
1094
1094
  #
1095
1095
  # @yield [response, operation] Access the result along with the RPC operation
1096
1096
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -1169,7 +1169,7 @@ module Google
1169
1169
  # @param options [::Gapic::CallOptions, ::Hash]
1170
1170
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1171
1171
  #
1172
- # @overload set_iam_policy(resource: nil, policy: nil)
1172
+ # @overload set_iam_policy(resource: nil, policy: nil, update_mask: nil)
1173
1173
  # Pass arguments to `set_iam_policy` via keyword arguments. Note that at
1174
1174
  # least one keyword argument is required. To specify no parameters, or to keep all
1175
1175
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1182,6 +1182,12 @@ module Google
1182
1182
  # the policy is limited to a few 10s of KB. An empty policy is a
1183
1183
  # valid policy but certain Cloud Platform services (such as Projects)
1184
1184
  # might reject them.
1185
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1186
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1187
+ # the fields in the mask will be modified. If no mask is provided, the
1188
+ # following default mask is used:
1189
+ #
1190
+ # `paths: "bindings, etag"`
1185
1191
  #
1186
1192
  # @yield [response, operation] Access the result along with the RPC operation
1187
1193
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.0"
25
25
  end
26
26
  end
27
27
  end
@@ -27,6 +27,8 @@ module Google
27
27
  ##
28
28
  # To load this package, including all its services, and instantiate a client:
29
29
  #
30
+ # @example
31
+ #
30
32
  # require "google/cloud/data_catalog/v1"
31
33
  # client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
32
34
  #
@@ -15,6 +15,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  value :BIGQUERY, 1
16
16
  value :CLOUD_PUBSUB, 2
17
17
  value :DATAPROC_METASTORE, 3
18
+ value :DATAPLEX, 4
18
19
  end
19
20
  end
20
21
  end
@@ -9,12 +9,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_message "google.cloud.datacatalog.v1.DataSource" do
10
10
  optional :service, :enum, 1, "google.cloud.datacatalog.v1.DataSource.Service"
11
11
  optional :resource, :string, 2
12
+ optional :source_entry, :string, 3
13
+ oneof :properties do
14
+ optional :storage_properties, :message, 4, "google.cloud.datacatalog.v1.StorageProperties"
15
+ end
12
16
  end
13
17
  add_enum "google.cloud.datacatalog.v1.DataSource.Service" do
14
18
  value :SERVICE_UNSPECIFIED, 0
15
19
  value :CLOUD_STORAGE, 1
16
20
  value :BIGQUERY, 2
17
21
  end
22
+ add_message "google.cloud.datacatalog.v1.StorageProperties" do
23
+ repeated :file_pattern, :string, 1
24
+ optional :file_type, :string, 2
25
+ end
18
26
  end
19
27
  end
20
28
 
@@ -24,6 +32,7 @@ module Google
24
32
  module V1
25
33
  DataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSource").msgclass
26
34
  DataSource::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSource.Service").enummodule
35
+ StorageProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StorageProperties").msgclass
27
36
  end
28
37
  end
29
38
  end
@@ -8,6 +8,7 @@ require 'google/api/resource_pb'
8
8
  require 'google/cloud/datacatalog/v1/bigquery_pb'
9
9
  require 'google/cloud/datacatalog/v1/common_pb'
10
10
  require 'google/cloud/datacatalog/v1/data_source_pb'
11
+ require 'google/cloud/datacatalog/v1/dataplex_spec_pb'
11
12
  require 'google/cloud/datacatalog/v1/gcs_fileset_spec_pb'
12
13
  require 'google/cloud/datacatalog/v1/schema_pb'
13
14
  require 'google/cloud/datacatalog/v1/search_pb'
@@ -19,7 +20,6 @@ require 'google/iam/v1/iam_policy_pb'
19
20
  require 'google/iam/v1/policy_pb'
20
21
  require 'google/protobuf/empty_pb'
21
22
  require 'google/protobuf/field_mask_pb'
22
- require 'google/protobuf/timestamp_pb'
23
23
  require 'google/protobuf'
24
24
 
25
25
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -122,16 +122,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
122
122
  optional :database_table_spec, :message, 24, "google.cloud.datacatalog.v1.DatabaseTableSpec"
123
123
  optional :data_source_connection_spec, :message, 27, "google.cloud.datacatalog.v1.DataSourceConnectionSpec"
124
124
  optional :routine_spec, :message, 28, "google.cloud.datacatalog.v1.RoutineSpec"
125
+ optional :fileset_spec, :message, 33, "google.cloud.datacatalog.v1.FilesetSpec"
125
126
  end
126
127
  end
127
128
  add_message "google.cloud.datacatalog.v1.DatabaseTableSpec" do
128
129
  optional :type, :enum, 1, "google.cloud.datacatalog.v1.DatabaseTableSpec.TableType"
130
+ optional :dataplex_table, :message, 2, "google.cloud.datacatalog.v1.DataplexTableSpec"
129
131
  end
130
132
  add_enum "google.cloud.datacatalog.v1.DatabaseTableSpec.TableType" do
131
133
  value :TABLE_TYPE_UNSPECIFIED, 0
132
134
  value :NATIVE, 1
133
135
  value :EXTERNAL, 2
134
136
  end
137
+ add_message "google.cloud.datacatalog.v1.FilesetSpec" do
138
+ optional :dataplex_fileset, :message, 1, "google.cloud.datacatalog.v1.DataplexFilesetSpec"
139
+ end
135
140
  add_message "google.cloud.datacatalog.v1.DataSourceConnectionSpec" do
136
141
  optional :bigquery_connection_spec, :message, 1, "google.cloud.datacatalog.v1.BigQueryConnectionSpec"
137
142
  end
@@ -277,6 +282,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
277
282
  value :DATABASE, 7
278
283
  value :DATA_SOURCE_CONNECTION, 8
279
284
  value :ROUTINE, 9
285
+ value :LAKE, 10
286
+ value :ZONE, 11
280
287
  value :SERVICE, 14
281
288
  end
282
289
  end
@@ -303,6 +310,7 @@ module Google
303
310
  Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Entry").msgclass
304
311
  DatabaseTableSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DatabaseTableSpec").msgclass
305
312
  DatabaseTableSpec::TableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DatabaseTableSpec.TableType").enummodule
313
+ FilesetSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.FilesetSpec").msgclass
306
314
  DataSourceConnectionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSourceConnectionSpec").msgclass
307
315
  RoutineSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec").msgclass
308
316
  RoutineSpec::Argument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.Argument").msgclass
@@ -0,0 +1,44 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/datacatalog/v1/dataplex_spec.proto
3
+
4
+ require 'google/cloud/datacatalog/v1/common_pb'
5
+ require 'google/cloud/datacatalog/v1/physical_schema_pb'
6
+ require 'google/protobuf'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/datacatalog/v1/dataplex_spec.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.datacatalog.v1.DataplexSpec" do
11
+ optional :asset, :string, 1
12
+ optional :data_format, :message, 2, "google.cloud.datacatalog.v1.PhysicalSchema"
13
+ optional :compression_format, :string, 3
14
+ optional :project_id, :string, 4
15
+ end
16
+ add_message "google.cloud.datacatalog.v1.DataplexFilesetSpec" do
17
+ optional :dataplex_spec, :message, 1, "google.cloud.datacatalog.v1.DataplexSpec"
18
+ end
19
+ add_message "google.cloud.datacatalog.v1.DataplexTableSpec" do
20
+ repeated :external_tables, :message, 1, "google.cloud.datacatalog.v1.DataplexExternalTable"
21
+ optional :dataplex_spec, :message, 2, "google.cloud.datacatalog.v1.DataplexSpec"
22
+ optional :user_managed, :bool, 3
23
+ end
24
+ add_message "google.cloud.datacatalog.v1.DataplexExternalTable" do
25
+ optional :system, :enum, 1, "google.cloud.datacatalog.v1.IntegratedSystem"
26
+ optional :fully_qualified_name, :string, 28
27
+ optional :google_cloud_resource, :string, 3
28
+ optional :data_catalog_entry, :string, 4
29
+ end
30
+ end
31
+ end
32
+
33
+ module Google
34
+ module Cloud
35
+ module DataCatalog
36
+ module V1
37
+ DataplexSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexSpec").msgclass
38
+ DataplexFilesetSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexFilesetSpec").msgclass
39
+ DataplexTableSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexTableSpec").msgclass
40
+ DataplexExternalTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexExternalTable").msgclass
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/datacatalog/v1/physical_schema.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/datacatalog/v1/physical_schema.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema" do
9
+ oneof :schema do
10
+ optional :avro, :message, 1, "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema"
11
+ optional :thrift, :message, 2, "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema"
12
+ optional :protobuf, :message, 3, "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema"
13
+ optional :parquet, :message, 4, "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema"
14
+ optional :orc, :message, 5, "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema"
15
+ optional :csv, :message, 6, "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema"
16
+ end
17
+ end
18
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema" do
19
+ optional :text, :string, 1
20
+ end
21
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema" do
22
+ optional :text, :string, 1
23
+ end
24
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema" do
25
+ optional :text, :string, 1
26
+ end
27
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema" do
28
+ end
29
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema" do
30
+ end
31
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema" do
32
+ end
33
+ end
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module DataCatalog
39
+ module V1
40
+ PhysicalSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema").msgclass
41
+ PhysicalSchema::AvroSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema").msgclass
42
+ PhysicalSchema::ThriftSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema").msgclass
43
+ PhysicalSchema::ProtobufSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema").msgclass
44
+ PhysicalSchema::ParquetSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema").msgclass
45
+ PhysicalSchema::OrcSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema").msgclass
46
+ PhysicalSchema::CsvSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema").msgclass
47
+ end
48
+ end
49
+ end
50
+ end
@@ -6,7 +6,6 @@ require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/datacatalog/v1/policytagmanager_pb'
9
- require 'google/iam/v1/policy_pb'
10
9
  require 'google/protobuf'
11
10
 
12
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -46,6 +46,9 @@ module Google
46
46
 
47
47
  # Dataproc Metastore.
48
48
  DATAPROC_METASTORE = 3
49
+
50
+ # Dataplex.
51
+ DATAPLEX = 4
49
52
  end
50
53
  end
51
54
  end
@@ -30,6 +30,12 @@ module Google
30
30
  # Full name of a resource as defined by the service. For example:
31
31
  #
32
32
  # `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
33
+ # @!attribute [r] source_entry
34
+ # @return [::String]
35
+ # Output only. Data Catalog entry name, if applicable.
36
+ # @!attribute [rw] storage_properties
37
+ # @return [::Google::Cloud::DataCatalog::V1::StorageProperties]
38
+ # Detailed properties of the underlying storage.
33
39
  class DataSource
34
40
  include ::Google::Protobuf::MessageExts
35
41
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -46,6 +52,37 @@ module Google
46
52
  BIGQUERY = 2
47
53
  end
48
54
  end
55
+
56
+ # Details the properties of the underlying storage.
57
+ # @!attribute [rw] file_pattern
58
+ # @return [::Array<::String>]
59
+ # Patterns to identify a set of files for this fileset.
60
+ #
61
+ # Examples of a valid `file_pattern`:
62
+ #
63
+ # * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
64
+ # directory
65
+ # * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
66
+ # and all subdirectories recursively
67
+ # * `gs://bucket_name/file*`: matches files prefixed by `file` in
68
+ # `bucket_name`
69
+ # * `gs://bucket_name/??.txt`: matches files with two characters followed by
70
+ # `.txt` in `bucket_name`
71
+ # * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
72
+ # vowel character followed by `.txt` in
73
+ # `bucket_name`
74
+ # * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
75
+ # or `m` followed by `.txt` in `bucket_name`
76
+ # * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
77
+ # the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
78
+ # * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
79
+ # @!attribute [rw] file_type
80
+ # @return [::String]
81
+ # File type in MIME format, for example, `text/plain`.
82
+ class StorageProperties
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
49
86
  end
50
87
  end
51
88
  end
@@ -502,6 +502,10 @@ module Google
502
502
  # @return [::Google::Cloud::DataCatalog::V1::RoutineSpec]
503
503
  # Specification that applies to a user-defined function or procedure. Valid
504
504
  # only for entries with the `ROUTINE` type.
505
+ # @!attribute [rw] fileset_spec
506
+ # @return [::Google::Cloud::DataCatalog::V1::FilesetSpec]
507
+ # Specification that applies to a fileset resource. Valid only
508
+ # for entries with the `FILESET` type.
505
509
  # @!attribute [rw] display_name
506
510
  # @return [::String]
507
511
  # Display name of an entry.
@@ -522,7 +526,7 @@ module Google
522
526
  # Default value is an empty string.
523
527
  # @!attribute [rw] business_context
524
528
  # @return [::Google::Cloud::DataCatalog::V1::BusinessContext]
525
- # Business Context of the entry. Not supported for BigQuery datasets.
529
+ # Business Context of the entry. Not supported for BigQuery datasets
526
530
  # @!attribute [rw] schema
527
531
  # @return [::Google::Cloud::DataCatalog::V1::Schema]
528
532
  # Schema of the entry. An entry might not have any schema attached to it.
@@ -569,6 +573,10 @@ module Google
569
573
  # @!attribute [rw] type
570
574
  # @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::TableType]
571
575
  # Type of this table.
576
+ # @!attribute [rw] dataplex_table
577
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexTableSpec]
578
+ # Fields specific to a Dataplex table and present only in the Dataplex table
579
+ # entries.
572
580
  class DatabaseTableSpec
573
581
  include ::Google::Protobuf::MessageExts
574
582
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -586,6 +594,17 @@ module Google
586
594
  end
587
595
  end
588
596
 
597
+ # Specification that applies to a fileset. Valid only for entries with the
598
+ # 'FILESET' type.
599
+ # @!attribute [rw] dataplex_fileset
600
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexFilesetSpec]
601
+ # Fields specific to a Dataplex fileset and present only in the Dataplex
602
+ # fileset entries.
603
+ class FilesetSpec
604
+ include ::Google::Protobuf::MessageExts
605
+ extend ::Google::Protobuf::MessageExts::ClassMethods
606
+ end
607
+
589
608
  # Specification that applies to a data source connection. Valid only for
590
609
  # entries with the `DATA_SOURCE_CONNECTION` type.
591
610
  # @!attribute [rw] bigquery_connection_spec
@@ -711,8 +730,8 @@ module Google
711
730
  # Designation of the person, for example, Data Steward.
712
731
  # @!attribute [rw] email
713
732
  # @return [::String]
714
- # Email of the person in the format of `john.doe@example.com`,
715
- # `<john.doe@example.com>`, or `John Doe<john.doe@example.com>`.
733
+ # Email of the person in the format of `john.doe@xyz`,
734
+ # `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
716
735
  class Person
717
736
  include ::Google::Protobuf::MessageExts
718
737
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1130,6 +1149,12 @@ module Google
1130
1149
  # Output only. Routine, for example, a BigQuery routine.
1131
1150
  ROUTINE = 9
1132
1151
 
1152
+ # A Dataplex lake.
1153
+ LAKE = 10
1154
+
1155
+ # A Dataplex zone.
1156
+ ZONE = 11
1157
+
1133
1158
  # A service, for example, a Dataproc Metastore service.
1134
1159
  SERVICE = 14
1135
1160
  end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module DataCatalog
23
+ module V1
24
+ # Common Dataplex fields.
25
+ # @!attribute [rw] asset
26
+ # @return [::String]
27
+ # Fully qualified resource name of an asset in Dataplex, to which the
28
+ # underlying data source (Cloud Storage bucket or BigQuery dataset) of the
29
+ # entity is attached.
30
+ # @!attribute [rw] data_format
31
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema]
32
+ # Format of the data.
33
+ # @!attribute [rw] compression_format
34
+ # @return [::String]
35
+ # Compression format of the data, e.g., zip, gzip etc.
36
+ # @!attribute [rw] project_id
37
+ # @return [::String]
38
+ # Project ID of the underlying Cloud Storage or BigQuery data. Note that
39
+ # this may not be the same project as the correspondingly Dataplex lake /
40
+ # zone / asset.
41
+ class DataplexSpec
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Entry specyfication for a Dataplex fileset.
47
+ # @!attribute [rw] dataplex_spec
48
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexSpec]
49
+ # Common Dataplex fields.
50
+ class DataplexFilesetSpec
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Entry specification for a Dataplex table.
56
+ # @!attribute [rw] external_tables
57
+ # @return [::Array<::Google::Cloud::DataCatalog::V1::DataplexExternalTable>]
58
+ # List of external tables registered by Dataplex in other systems based on
59
+ # the same underlying data.
60
+ #
61
+ # External tables allow to query this data in those systems.
62
+ # @!attribute [rw] dataplex_spec
63
+ # @return [::Google::Cloud::DataCatalog::V1::DataplexSpec]
64
+ # Common Dataplex fields.
65
+ # @!attribute [rw] user_managed
66
+ # @return [::Boolean]
67
+ # Indicates if the table schema is managed by the user or not.
68
+ class DataplexTableSpec
69
+ include ::Google::Protobuf::MessageExts
70
+ extend ::Google::Protobuf::MessageExts::ClassMethods
71
+ end
72
+
73
+ # External table registered by Dataplex.
74
+ # Dataplex publishes data discovered from an asset into multiple other systems
75
+ # (BigQuery, DPMS) in form of tables. We call them "external tables". External
76
+ # tables are also synced into the Data Catalog.
77
+ # This message contains pointers to
78
+ # those external tables (fully qualified name, resource name et cetera) within
79
+ # the Data Catalog.
80
+ # @!attribute [rw] system
81
+ # @return [::Google::Cloud::DataCatalog::V1::IntegratedSystem]
82
+ # Service in which the external table is registered.
83
+ # @!attribute [rw] fully_qualified_name
84
+ # @return [::String]
85
+ # Fully qualified name (FQN) of the external table.
86
+ # @!attribute [rw] google_cloud_resource
87
+ # @return [::String]
88
+ # Google Cloud resource name of the external table.
89
+ # @!attribute [rw] data_catalog_entry
90
+ # @return [::String]
91
+ # Name of the Data Catalog entry representing the external table.
92
+ class DataplexExternalTable
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module DataCatalog
23
+ module V1
24
+ # Native schema used by a resource represented as an entry. Used by query
25
+ # engines for deserializing and parsing source data.
26
+ # @!attribute [rw] avro
27
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema]
28
+ # Schema in Avro JSON format.
29
+ # @!attribute [rw] thrift
30
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema]
31
+ # Schema in Thrift format.
32
+ # @!attribute [rw] protobuf
33
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema]
34
+ # Schema in protocol buffer format.
35
+ # @!attribute [rw] parquet
36
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema]
37
+ # Marks a Parquet-encoded data source.
38
+ # @!attribute [rw] orc
39
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema]
40
+ # Marks an ORC-encoded data source.
41
+ # @!attribute [rw] csv
42
+ # @return [::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema]
43
+ # Marks a CSV-encoded data source.
44
+ class PhysicalSchema
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+
48
+ # Schema in Avro JSON format.
49
+ # @!attribute [rw] text
50
+ # @return [::String]
51
+ # JSON source of the Avro schema.
52
+ class AvroSchema
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
57
+ # Schema in Thrift format.
58
+ # @!attribute [rw] text
59
+ # @return [::String]
60
+ # Thrift IDL source of the schema.
61
+ class ThriftSchema
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Schema in protocol buffer format.
67
+ # @!attribute [rw] text
68
+ # @return [::String]
69
+ # Protocol buffer source of the schema.
70
+ class ProtobufSchema
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # Marks a Parquet-encoded data source.
76
+ class ParquetSchema
77
+ include ::Google::Protobuf::MessageExts
78
+ extend ::Google::Protobuf::MessageExts::ClassMethods
79
+ end
80
+
81
+ # Marks an ORC-encoded data source.
82
+ class OrcSchema
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Marks a CSV-encoded data source.
88
+ class CsvSchema
89
+ include ::Google::Protobuf::MessageExts
90
+ extend ::Google::Protobuf::MessageExts::ClassMethods
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
96
+ end
@@ -57,6 +57,8 @@ module Google
57
57
  # The name can't start or end with spaces, must contain only Unicode letters,
58
58
  # numbers, underscores, dashes, and spaces, and be at most 200 bytes long
59
59
  # when encoded in UTF-8.
60
+ #
61
+ # The taxonomy display name must be unique within an organization.
60
62
  # @!attribute [rw] description
61
63
  # @return [::String]
62
64
  # Optional. Description of this taxonomy. If not set, defaults to empty.
@@ -154,7 +154,7 @@ module Google
154
154
  # [ListTags][google.cloud.datacatalog.v1.ListTags] API response.
155
155
  #
156
156
  # Additionally, you can search for a public tag by value with a
157
- # simple search query instead of using a ``tag:`` predicate.
157
+ # simple search query in addition to using a ``tag:`` predicate.
158
158
  # @!attribute [rw] fields
159
159
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagTemplateField}]
160
160
  # Required. Map of tag template field IDs to the settings for the field.
@@ -31,6 +31,13 @@ module Google
31
31
  # the policy is limited to a few 10s of KB. An empty policy is a
32
32
  # valid policy but certain Cloud Platform services (such as Projects)
33
33
  # might reject them.
34
+ # @!attribute [rw] update_mask
35
+ # @return [::Google::Protobuf::FieldMask]
36
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
37
+ # the fields in the mask will be modified. If no mask is provided, the
38
+ # following default mask is used:
39
+ #
40
+ # `paths: "bindings, etag"`
34
41
  class SetIamPolicyRequest
35
42
  include ::Google::Protobuf::MessageExts
36
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -44,7 +51,7 @@ module Google
44
51
  # @!attribute [rw] options
45
52
  # @return [::Google::Iam::V1::GetPolicyOptions]
46
53
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
47
- # `GetIamPolicy`. This field is only used by Cloud IAM.
54
+ # `GetIamPolicy`.
48
55
  class GetIamPolicyRequest
49
56
  include ::Google::Protobuf::MessageExts
50
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -23,14 +23,24 @@ module Google
23
23
  # Encapsulates settings provided to GetIamPolicy.
24
24
  # @!attribute [rw] requested_policy_version
25
25
  # @return [::Integer]
26
- # Optional. The policy format version to be returned.
26
+ # Optional. The maximum policy version that will be used to format the
27
+ # policy.
27
28
  #
28
29
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
29
30
  # rejected.
30
31
  #
31
- # Requests for policies with any conditional bindings must specify version 3.
32
- # Policies without any conditional bindings may specify any valid value or
33
- # leave the field unset.
32
+ # Requests for policies with any conditional role bindings must specify
33
+ # version 3. Policies with no conditional role bindings may specify any valid
34
+ # value or leave the field unset.
35
+ #
36
+ # The policy in the response might use the policy version that you specified,
37
+ # or it might use a lower policy version. For example, if you specify version
38
+ # 3, but the policy has no conditional role bindings, the response uses
39
+ # version 1.
40
+ #
41
+ # To learn which resources support conditions in their IAM policies, see the
42
+ # [IAM
43
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
34
44
  class GetPolicyOptions
35
45
  include ::Google::Protobuf::MessageExts
36
46
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -20,19 +20,24 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- # Defines an Identity and Access Management (IAM) policy. It is used to
24
- # specify access control policies for Cloud Platform resources.
23
+ # An Identity and Access Management (IAM) policy, which specifies access
24
+ # controls for Google Cloud resources.
25
25
  #
26
26
  #
27
27
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
28
- # `members` to a single `role`. Members can be user accounts, service accounts,
29
- # Google groups, and domains (such as G Suite). A `role` is a named list of
30
- # permissions (defined by IAM or configured by users). A `binding` can
31
- # optionally specify a `condition`, which is a logic expression that further
32
- # constrains the role binding based on attributes about the request and/or
33
- # target resource.
28
+ # `members`, or principals, to a single `role`. Principals can be user
29
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
30
+ # `role` is a named list of permissions; each `role` can be an IAM predefined
31
+ # role or a user-created custom role.
34
32
  #
35
- # **JSON Example**
33
+ # For some types of Google Cloud resources, a `binding` can also specify a
34
+ # `condition`, which is a logical expression that allows access to a resource
35
+ # only if the expression evaluates to `true`. A condition can add constraints
36
+ # based on attributes of the request, the resource, or both. To learn which
37
+ # resources support conditions in their IAM policies, see the
38
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
39
+ #
40
+ # **JSON example:**
36
41
  #
37
42
  # {
38
43
  # "bindings": [
@@ -47,18 +52,21 @@ module Google
47
52
  # },
48
53
  # {
49
54
  # "role": "roles/resourcemanager.organizationViewer",
50
- # "members": ["user:eve@example.com"],
55
+ # "members": [
56
+ # "user:eve@example.com"
57
+ # ],
51
58
  # "condition": {
52
59
  # "title": "expirable access",
53
60
  # "description": "Does not grant access after Sep 2020",
54
- # "expression": "request.time <
55
- # timestamp('2020-10-01T00:00:00.000Z')",
61
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
56
62
  # }
57
63
  # }
58
- # ]
64
+ # ],
65
+ # "etag": "BwWWja0YfJA=",
66
+ # "version": 3
59
67
  # }
60
68
  #
61
- # **YAML Example**
69
+ # **YAML example:**
62
70
  #
63
71
  # bindings:
64
72
  # - members:
@@ -74,30 +82,52 @@ module Google
74
82
  # title: expirable access
75
83
  # description: Does not grant access after Sep 2020
76
84
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
85
+ # etag: BwWWja0YfJA=
86
+ # version: 3
77
87
  #
78
88
  # For a description of IAM and its features, see the
79
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
89
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
80
90
  # @!attribute [rw] version
81
91
  # @return [::Integer]
82
92
  # Specifies the format of the policy.
83
93
  #
84
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
85
- # rejected.
94
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
95
+ # are rejected.
96
+ #
97
+ # Any operation that affects conditional role bindings must specify version
98
+ # `3`. This requirement applies to the following operations:
86
99
  #
87
- # Operations affecting conditional bindings must specify version 3. This can
88
- # be either setting a conditional policy, modifying a conditional binding,
89
- # or removing a binding (conditional or unconditional) from the stored
90
- # conditional policy.
91
- # Operations on non-conditional policies may specify any valid value or
92
- # leave the field unset.
100
+ # * Getting a policy that includes a conditional role binding
101
+ # * Adding a conditional role binding to a policy
102
+ # * Changing a conditional role binding in a policy
103
+ # * Removing any role binding, with or without a condition, from a policy
104
+ # that includes conditions
93
105
  #
94
- # If no etag is provided in the call to `setIamPolicy`, version compliance
95
- # checks against the stored policy is skipped.
106
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
107
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
108
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
109
+ # the conditions in the version `3` policy are lost.
110
+ #
111
+ # If a policy does not include any conditions, operations on that policy may
112
+ # specify any valid version or leave the field unset.
113
+ #
114
+ # To learn which resources support conditions in their IAM policies, see the
115
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
96
116
  # @!attribute [rw] bindings
97
117
  # @return [::Array<::Google::Iam::V1::Binding>]
98
- # Associates a list of `members` to a `role`. Optionally may specify a
99
- # `condition` that determines when binding is in effect.
100
- # `bindings` with no members will result in an error.
118
+ # Associates a list of `members`, or principals, with a `role`. Optionally,
119
+ # may specify a `condition` that determines how and when the `bindings` are
120
+ # applied. Each of the `bindings` must contain at least one principal.
121
+ #
122
+ # The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250
123
+ # of these principals can be Google groups. Each occurrence of a principal
124
+ # counts towards these limits. For example, if the `bindings` grant 50
125
+ # different roles to `user:alice@example.com`, and not to any other
126
+ # principal, then you can add another 1,450 principals to the `bindings` in
127
+ # the `Policy`.
128
+ # @!attribute [rw] audit_configs
129
+ # @return [::Array<::Google::Iam::V1::AuditConfig>]
130
+ # Specifies cloud audit logging configuration for this policy.
101
131
  # @!attribute [rw] etag
102
132
  # @return [::String]
103
133
  # `etag` is used for optimistic concurrency control as a way to help
@@ -108,23 +138,23 @@ module Google
108
138
  # systems are expected to put that etag in the request to `setIamPolicy` to
109
139
  # ensure that their change will be applied to the same version of the policy.
110
140
  #
111
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
112
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
113
- # 'setIamPolicy' will not fail even if the incoming policy version does not
114
- # meet the requirements for modifying the stored policy.
141
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
142
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
143
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
144
+ # the conditions in the version `3` policy are lost.
115
145
  class Policy
116
146
  include ::Google::Protobuf::MessageExts
117
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
118
148
  end
119
149
 
120
- # Associates `members` with a `role`.
150
+ # Associates `members`, or principals, with a `role`.
121
151
  # @!attribute [rw] role
122
152
  # @return [::String]
123
- # Role that is assigned to `members`.
153
+ # Role that is assigned to the list of `members`, or principals.
124
154
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
125
155
  # @!attribute [rw] members
126
156
  # @return [::Array<::String>]
127
- # Specifies the identities requesting access for a Cloud Platform resource.
157
+ # Specifies the principals requesting access for a Cloud Platform resource.
128
158
  # `members` can have the following values:
129
159
  #
130
160
  # * `allUsers`: A special identifier that represents anyone who is
@@ -143,20 +173,160 @@ module Google
143
173
  # * `group:{emailid}`: An email address that represents a Google group.
144
174
  # For example, `admins@example.com`.
145
175
  #
176
+ # * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
177
+ # identifier) representing a user that has been recently deleted. For
178
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
179
+ # recovered, this value reverts to `user:{emailid}` and the recovered user
180
+ # retains the role in the binding.
181
+ #
182
+ # * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
183
+ # unique identifier) representing a service account that has been recently
184
+ # deleted. For example,
185
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
186
+ # If the service account is undeleted, this value reverts to
187
+ # `serviceAccount:{emailid}` and the undeleted service account retains the
188
+ # role in the binding.
189
+ #
190
+ # * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
191
+ # identifier) representing a Google group that has been recently
192
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
193
+ # the group is recovered, this value reverts to `group:{emailid}` and the
194
+ # recovered group retains the role in the binding.
195
+ #
146
196
  #
147
197
  # * `domain:{domain}`: The G Suite domain (primary) that represents all the
148
198
  # users of that domain. For example, `google.com` or `example.com`.
149
199
  # @!attribute [rw] condition
150
200
  # @return [::Google::Type::Expr]
151
201
  # The condition that is associated with this binding.
152
- # NOTE: An unsatisfied condition will not allow user access via current
153
- # binding. Different bindings, including their conditions, are examined
154
- # independently.
202
+ #
203
+ # If the condition evaluates to `true`, then this binding applies to the
204
+ # current request.
205
+ #
206
+ # If the condition evaluates to `false`, then this binding does not apply to
207
+ # the current request. However, a different role binding might grant the same
208
+ # role to one or more of the principals in this binding.
209
+ #
210
+ # To learn which resources support conditions in their IAM policies, see the
211
+ # [IAM
212
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
155
213
  class Binding
156
214
  include ::Google::Protobuf::MessageExts
157
215
  extend ::Google::Protobuf::MessageExts::ClassMethods
158
216
  end
159
217
 
218
+ # Specifies the audit configuration for a service.
219
+ # The configuration determines which permission types are logged, and what
220
+ # identities, if any, are exempted from logging.
221
+ # An AuditConfig must have one or more AuditLogConfigs.
222
+ #
223
+ # If there are AuditConfigs for both `allServices` and a specific service,
224
+ # the union of the two AuditConfigs is used for that service: the log_types
225
+ # specified in each AuditConfig are enabled, and the exempted_members in each
226
+ # AuditLogConfig are exempted.
227
+ #
228
+ # Example Policy with multiple AuditConfigs:
229
+ #
230
+ # {
231
+ # "audit_configs": [
232
+ # {
233
+ # "service": "allServices",
234
+ # "audit_log_configs": [
235
+ # {
236
+ # "log_type": "DATA_READ",
237
+ # "exempted_members": [
238
+ # "user:jose@example.com"
239
+ # ]
240
+ # },
241
+ # {
242
+ # "log_type": "DATA_WRITE"
243
+ # },
244
+ # {
245
+ # "log_type": "ADMIN_READ"
246
+ # }
247
+ # ]
248
+ # },
249
+ # {
250
+ # "service": "sampleservice.googleapis.com",
251
+ # "audit_log_configs": [
252
+ # {
253
+ # "log_type": "DATA_READ"
254
+ # },
255
+ # {
256
+ # "log_type": "DATA_WRITE",
257
+ # "exempted_members": [
258
+ # "user:aliya@example.com"
259
+ # ]
260
+ # }
261
+ # ]
262
+ # }
263
+ # ]
264
+ # }
265
+ #
266
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
267
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
268
+ # aliya@example.com from DATA_WRITE logging.
269
+ # @!attribute [rw] service
270
+ # @return [::String]
271
+ # Specifies a service that will be enabled for audit logging.
272
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
273
+ # `allServices` is a special value that covers all services.
274
+ # @!attribute [rw] audit_log_configs
275
+ # @return [::Array<::Google::Iam::V1::AuditLogConfig>]
276
+ # The configuration for logging of each type of permission.
277
+ class AuditConfig
278
+ include ::Google::Protobuf::MessageExts
279
+ extend ::Google::Protobuf::MessageExts::ClassMethods
280
+ end
281
+
282
+ # Provides the configuration for logging a type of permissions.
283
+ # Example:
284
+ #
285
+ # {
286
+ # "audit_log_configs": [
287
+ # {
288
+ # "log_type": "DATA_READ",
289
+ # "exempted_members": [
290
+ # "user:jose@example.com"
291
+ # ]
292
+ # },
293
+ # {
294
+ # "log_type": "DATA_WRITE"
295
+ # }
296
+ # ]
297
+ # }
298
+ #
299
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
300
+ # jose@example.com from DATA_READ logging.
301
+ # @!attribute [rw] log_type
302
+ # @return [::Google::Iam::V1::AuditLogConfig::LogType]
303
+ # The log type that this config enables.
304
+ # @!attribute [rw] exempted_members
305
+ # @return [::Array<::String>]
306
+ # Specifies the identities that do not cause logging for this type of
307
+ # permission.
308
+ # Follows the same format of {::Google::Iam::V1::Binding#members Binding.members}.
309
+ class AuditLogConfig
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+
313
+ # The list of valid permission types for which logging can be configured.
314
+ # Admin writes are always logged, and are not configurable.
315
+ module LogType
316
+ # Default case. Should never be this.
317
+ LOG_TYPE_UNSPECIFIED = 0
318
+
319
+ # Admin reads. Example: CloudIAM getIamPolicy
320
+ ADMIN_READ = 1
321
+
322
+ # Data writes. Example: CloudSQL Users create
323
+ DATA_WRITE = 2
324
+
325
+ # Data reads. Example: CloudSQL Users list
326
+ DATA_READ = 3
327
+ end
328
+ end
329
+
160
330
  # The difference delta between two policies.
161
331
  # @!attribute [rw] binding_deltas
162
332
  # @return [::Array<::Google::Iam::V1::BindingDelta>]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-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: 2022-02-16 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -48,22 +48,16 @@ dependencies:
48
48
  name: grpc-google-iam-v1
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 0.6.10
54
- - - "<"
51
+ - - "~>"
55
52
  - !ruby/object:Gem::Version
56
- version: 2.a
53
+ version: '1.1'
57
54
  type: :runtime
58
55
  prerelease: false
59
56
  version_requirements: !ruby/object:Gem::Requirement
60
57
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 0.6.10
64
- - - "<"
58
+ - - "~>"
65
59
  - !ruby/object:Gem::Version
66
- version: 2.a
60
+ version: '1.1'
67
61
  - !ruby/object:Gem::Dependency
68
62
  name: google-style
69
63
  requirement: !ruby/object:Gem::Requirement
@@ -211,7 +205,9 @@ files:
211
205
  - lib/google/cloud/datacatalog/v1/data_source_pb.rb
212
206
  - lib/google/cloud/datacatalog/v1/datacatalog_pb.rb
213
207
  - lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb
208
+ - lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb
214
209
  - lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb
210
+ - lib/google/cloud/datacatalog/v1/physical_schema_pb.rb
215
211
  - lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb
216
212
  - lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb
217
213
  - lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb
@@ -229,7 +225,9 @@ files:
229
225
  - proto_docs/google/cloud/datacatalog/v1/common.rb
230
226
  - proto_docs/google/cloud/datacatalog/v1/data_source.rb
231
227
  - proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
228
+ - proto_docs/google/cloud/datacatalog/v1/dataplex_spec.rb
232
229
  - proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb
230
+ - proto_docs/google/cloud/datacatalog/v1/physical_schema.rb
233
231
  - proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb
234
232
  - proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb
235
233
  - proto_docs/google/cloud/datacatalog/v1/schema.rb