google-cloud-dataplex-v1 0.1.0 → 0.2.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.
@@ -21,6 +21,52 @@ module Google
21
21
  module Cloud
22
22
  module Dataplex
23
23
  module V1
24
+ # Create a metadata entity request.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The resource name of the parent zone:
28
+ # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
29
+ # @!attribute [rw] entity
30
+ # @return [::Google::Cloud::Dataplex::V1::Entity]
31
+ # Required. Entity resource.
32
+ # @!attribute [rw] validate_only
33
+ # @return [::Boolean]
34
+ # Optional. Only validate the request, but do not perform mutations.
35
+ # The default is false.
36
+ class CreateEntityRequest
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
+ end
40
+
41
+ # Update a metadata entity request.
42
+ # The exiting entity will be fully replaced by the entity in the request.
43
+ # The entity ID is mutable. To modify the ID, use the current entity ID in the
44
+ # request URL and specify the new ID in the request body.
45
+ # @!attribute [rw] entity
46
+ # @return [::Google::Cloud::Dataplex::V1::Entity]
47
+ # Required. Update description.
48
+ # @!attribute [rw] validate_only
49
+ # @return [::Boolean]
50
+ # Optional. Only validate the request, but do not perform mutations.
51
+ # The default is false.
52
+ class UpdateEntityRequest
53
+ include ::Google::Protobuf::MessageExts
54
+ extend ::Google::Protobuf::MessageExts::ClassMethods
55
+ end
56
+
57
+ # Delete a metadata entity request.
58
+ # @!attribute [rw] name
59
+ # @return [::String]
60
+ # Required. The resource name of the entity:
61
+ # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
62
+ # @!attribute [rw] etag
63
+ # @return [::String]
64
+ # Required. The etag associated with the partition if it was previously retrieved.
65
+ class DeleteEntityRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
24
70
  # List metadata entities request.
25
71
  # @!attribute [rw] parent
26
72
  # @return [::String]
@@ -32,8 +78,8 @@ module Google
32
78
  # @!attribute [rw] page_size
33
79
  # @return [::Integer]
34
80
  # Optional. Maximum number of entities to return. The service may return fewer than
35
- # this value. If unspecified, at most 10 entities will be returned. The
36
- # maximum value is 1000; values above 1000 are set to 1000.
81
+ # this value. If unspecified, 100 entities will be returned by default. The
82
+ # maximum value is 500; larger values will will be truncated to 500.
37
83
  # @!attribute [rw] page_token
38
84
  # @return [::String]
39
85
  # Optional. Page token received from a previous `ListEntities` call. Provide
@@ -42,7 +88,14 @@ module Google
42
88
  # page token.
43
89
  # @!attribute [rw] filter
44
90
  # @return [::String]
45
- # Optional. Filter request by name prefix.
91
+ # Optional. The following filter parameters can be added to the URL to limit the
92
+ # entities returned by the API:
93
+ #
94
+ # - Entity ID: ?filter="id=entityID"
95
+ # - Asset ID: ?filter="asset=assetID"
96
+ # - Data path ?filter="data_path=gs://my-bucket"
97
+ # - Is HIVE compatible: ?filter=”hive_compatible=true”
98
+ # - Is BigQuery compatible: ?filter=”bigquery_compatible=true”
46
99
  class ListEntitiesRequest
47
100
  include ::Google::Protobuf::MessageExts
48
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -97,7 +150,7 @@ module Google
97
150
  # Include basic information and schema.
98
151
  SCHEMA = 2
99
152
 
100
- # Include everything.
153
+ # Include everything. Currently, this is the same as the SCHEMA view.
101
154
  FULL = 4
102
155
  end
103
156
  end
@@ -110,8 +163,8 @@ module Google
110
163
  # @!attribute [rw] page_size
111
164
  # @return [::Integer]
112
165
  # Optional. Maximum number of partitions to return. The service may return fewer than
113
- # this value. If unspecified, at most 10 partitions will be returned. The
114
- # maximum value is 1000; values above 1000 will be coerced to 1000.
166
+ # this value. If unspecified, 100 partitions will be returned by default. The
167
+ # maximum page size is 500; larger values will will be truncated to 500.
115
168
  # @!attribute [rw] page_token
116
169
  # @return [::String]
117
170
  # Optional. Page token received from a previous `ListPartitions` call. Provide
@@ -120,12 +173,63 @@ module Google
120
173
  # page token.
121
174
  # @!attribute [rw] filter
122
175
  # @return [::String]
123
- # Optional. Filter request.
176
+ # Optional. Filter the partitions returned to the caller using a key vslue pair
177
+ # expression. The filter expression supports:
178
+ #
179
+ # - logical operators: AND, OR
180
+ # - comparison operators: <, >, >=, <= ,=, !=
181
+ # - LIKE operators:
182
+ # - The right hand of a LIKE operator supports “.” and
183
+ # “*” for wildcard searches, for example "value1 LIKE ".*oo.*"
184
+ # - parenthetical grouping: ( )
185
+ #
186
+ # Sample filter expression: `?filter="key1 < value1 OR key2 > value2"
187
+ #
188
+ # **Notes:**
189
+ #
190
+ # - Keys to the left of operators are case insensitive.
191
+ # - Partition results are sorted first by creation time, then by
192
+ # lexicographic order.
193
+ # - Up to 20 key value filter pairs are allowed, but due to performance
194
+ # considerations, only the first 10 will be used as a filter.
124
195
  class ListPartitionsRequest
125
196
  include ::Google::Protobuf::MessageExts
126
197
  extend ::Google::Protobuf::MessageExts::ClassMethods
127
198
  end
128
199
 
200
+ # Create metadata partition request.
201
+ # @!attribute [rw] parent
202
+ # @return [::String]
203
+ # Required. The resource name of the parent zone:
204
+ # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
205
+ # @!attribute [rw] partition
206
+ # @return [::Google::Cloud::Dataplex::V1::Partition]
207
+ # Required. Partition resource.
208
+ # @!attribute [rw] validate_only
209
+ # @return [::Boolean]
210
+ # Optional. Only validate the request, but do not perform mutations.
211
+ # The default is false.
212
+ class CreatePartitionRequest
213
+ include ::Google::Protobuf::MessageExts
214
+ extend ::Google::Protobuf::MessageExts::ClassMethods
215
+ end
216
+
217
+ # Delete metadata partition request.
218
+ # @!attribute [rw] name
219
+ # @return [::String]
220
+ # Required. The resource name of the partition.
221
+ # format:
222
+ # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
223
+ # The \\{partition_value_path} segment consists of an ordered sequence of
224
+ # partition values separated by "/". All values must be provided.
225
+ # @!attribute [rw] etag
226
+ # @return [::String]
227
+ # Optional. The etag associated with the partition if it was previously retrieved.
228
+ class DeletePartitionRequest
229
+ include ::Google::Protobuf::MessageExts
230
+ extend ::Google::Protobuf::MessageExts::ClassMethods
231
+ end
232
+
129
233
  # List metadata partitions response.
130
234
  # @!attribute [rw] partitions
131
235
  # @return [::Array<::Google::Cloud::Dataplex::V1::Partition>]
@@ -143,7 +247,9 @@ module Google
143
247
  # @!attribute [rw] name
144
248
  # @return [::String]
145
249
  # Required. The resource name of the partition:
146
- # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_id}`.
250
+ # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`.
251
+ # The \\{partition_value_path} segment consists of an ordered sequence of
252
+ # partition values separated by "/". All values must be provided.
147
253
  class GetPartitionRequest
148
254
  include ::Google::Protobuf::MessageExts
149
255
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -156,10 +262,11 @@ module Google
156
262
  # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
157
263
  # @!attribute [rw] display_name
158
264
  # @return [::String]
159
- # Optional. User friendly display name.
265
+ # Optional. Display name must be shorter than or equal to 63 characters.
160
266
  # @!attribute [rw] description
161
267
  # @return [::String]
162
- # Optional. User friendly longer description text.
268
+ # Optional. User friendly longer description text. Must be shorter than or equal to
269
+ # 1024 characters.
163
270
  # @!attribute [r] create_time
164
271
  # @return [::Google::Protobuf::Timestamp]
165
272
  # Output only. The time when the entity was created.
@@ -171,17 +278,19 @@ module Google
171
278
  # Required. A user-provided entity ID. It is mutable, and will be used as the
172
279
  # published table name. Specifying a new ID in an update entity
173
280
  # request will override the existing value.
281
+ # The ID must contain only letters (a-z, A-Z), numbers (0-9), and
282
+ # underscores. Must begin with a letter.
174
283
  # @!attribute [rw] etag
175
284
  # @return [::String]
176
- # Optional. The etag for this entity.
177
- # Required for update requests. It must match the server's etag.
285
+ # Optional. The etag for this entity. Required for update and delete requests. Must
286
+ # match the server's etag.
178
287
  # @!attribute [rw] type
179
288
  # @return [::Google::Cloud::Dataplex::V1::Entity::Type]
180
- # Required. The type of entity.
289
+ # Required. Immutable. The type of entity.
181
290
  # @!attribute [rw] asset
182
291
  # @return [::String]
183
- # Required. The name of the asset associated with the storage location containing the
184
- # entity data.
292
+ # Required. Immutable. The ID of the asset associated with the storage location containing the
293
+ # entity data. The entity must be with in the same zone with the asset.
185
294
  # @!attribute [rw] data_path
186
295
  # @return [::String]
187
296
  # Required. Immutable. The storage path of the entity data.
@@ -199,7 +308,7 @@ module Google
199
308
  # Output only. The name of the associated Data Catalog entry.
200
309
  # @!attribute [rw] system
201
310
  # @return [::Google::Cloud::Dataplex::V1::StorageSystem]
202
- # Required. Identifies the storage system of the entity data.
311
+ # Required. Immutable. Identifies the storage system of the entity data.
203
312
  # @!attribute [rw] format
204
313
  # @return [::Google::Cloud::Dataplex::V1::StorageFormat]
205
314
  # Required. Identifies the storage format of the entity data.
@@ -258,9 +367,13 @@ module Google
258
367
  # Represents partition metadata contained within entity instances.
259
368
  # @!attribute [r] name
260
369
  # @return [::String]
261
- # Output only. The resource name of the partition, of the form:
262
- # `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_id}`.
263
- # \\{partition_id} is a generated unique ID.
370
+ # Output only. The values must be HTML URL encoded two times before constructing the path.
371
+ # For example, if you have a value of "US:CA", encoded it two times and you
372
+ # get "US%253ACA". Then if you have the 2nd value is "CA#Sunnyvale", encoded
373
+ # two times and you get "CA%2523Sunnyvale". The partition values path is
374
+ # "US%253ACA/CA%2523Sunnyvale". The final URL will be
375
+ # "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the
376
+ # responses will always have the encoded format.
264
377
  # @!attribute [rw] values
265
378
  # @return [::Array<::String>]
266
379
  # Required. Immutable. The set of values representing the partition, which correspond to the
@@ -269,10 +382,10 @@ module Google
269
382
  # @return [::String]
270
383
  # Required. Immutable. The location of the entity data within the partition, for example,
271
384
  # `gs://bucket/path/to/entity/key1=value1/key2=value2`.
385
+ # Or `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`
272
386
  # @!attribute [rw] etag
273
387
  # @return [::String]
274
388
  # Optional. The etag for this partition.
275
- # Required for update requests. It must match the server's etag.
276
389
  class Partition
277
390
  include ::Google::Protobuf::MessageExts
278
391
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -281,8 +394,23 @@ module Google
281
394
  # Schema information describing the structure and layout of the data.
282
395
  # @!attribute [rw] user_managed
283
396
  # @return [::Boolean]
284
- # Required. Whether the schema is user-managed or managed by the service. User-managed
285
- # schemas are not automatically updated by discovery jobs.
397
+ # Required. Whether the schema is user-managed or managed by the service.
398
+ # - Set user_manage to false if you would like Dataplex to help you manage
399
+ # the schema. You will get the full service provided by Dataplex discovery,
400
+ # including new data discovery, schema inference and schema evolution. You
401
+ # can still provide input the schema of the entities, for example renaming a
402
+ # schema field, changing CSV or Json options if you think the discovered
403
+ # values are not as accurate. Dataplex will consider your input as the
404
+ # initial schema (as if they were produced by the previous discovery run),
405
+ # and will evolve schema or flag actions based on that.
406
+ # - Set user_manage to true if you would like to fully manage the entity
407
+ # schema by yourself. This is useful when you would like to manually specify
408
+ # the schema for a table. In this case, the schema defined by the user is
409
+ # guaranteed to be kept unchanged and would not be overwritten. But this also
410
+ # means Dataplex will not provide schema evolution management for you.
411
+ # Dataplex will still be able to manage partition registration (i.e., keeping
412
+ # the list of partitions up to date) when Dataplex discovery is turned on and
413
+ # user_managed is set to true.
286
414
  # @!attribute [rw] fields
287
415
  # @return [::Array<::Google::Cloud::Dataplex::V1::Schema::SchemaField>]
288
416
  # Optional. The sequence of fields describing data in table entities.
@@ -300,10 +428,12 @@ module Google
300
428
  # Represents a column field within a table schema.
301
429
  # @!attribute [rw] name
302
430
  # @return [::String]
303
- # Required. The name of the field.
431
+ # Required. The name of the field. The maximum length is 767 characters. The name
432
+ # must begins with a letter and not contains `:` and `.`.
304
433
  # @!attribute [rw] description
305
434
  # @return [::String]
306
- # Optional. User friendly field description.
435
+ # Optional. User friendly field description. Must be less than or equal to 1024
436
+ # characters.
307
437
  # @!attribute [rw] type
308
438
  # @return [::Google::Cloud::Dataplex::V1::Schema::Type]
309
439
  # Required. The type of field.
@@ -318,13 +448,16 @@ module Google
318
448
  extend ::Google::Protobuf::MessageExts::ClassMethods
319
449
  end
320
450
 
321
- # Represents a key field within the entity's partition structure.
451
+ # Represents a key field within the entity's partition structure. You could
452
+ # have up to 20 partition fields, but only the first 10 partitions have the
453
+ # filtering ability due to performance consideration.
322
454
  # @!attribute [rw] name
323
455
  # @return [::String]
324
- # Required. The name of the field.
456
+ # Required. Partition name is editable if only the partition style is not HIVE
457
+ # compatible. The maximum length allowed is 767 characters.
325
458
  # @!attribute [rw] type
326
459
  # @return [::Google::Cloud::Dataplex::V1::Schema::Type]
327
- # Required. The type of field.
460
+ # Required. Immutable. The type of field.
328
461
  class PartitionField
329
462
  include ::Google::Protobuf::MessageExts
330
463
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -413,15 +546,26 @@ module Google
413
546
  # @!attribute [r] format
414
547
  # @return [::Google::Cloud::Dataplex::V1::StorageFormat::Format]
415
548
  # Output only. The data format associated with the stored data, which represents
416
- # content type values.
549
+ # content type values. The value is inferred from mime type.
417
550
  # @!attribute [rw] compression_format
418
551
  # @return [::Google::Cloud::Dataplex::V1::StorageFormat::CompressionFormat]
419
552
  # Optional. The compression type associated with the stored data.
420
553
  # If unspecified, the data is uncompressed.
421
554
  # @!attribute [rw] mime_type
422
555
  # @return [::String]
423
- # Required. The mime type descriptor for the data. This field is valid for formats
424
- # other than `UNKNOWN` and `MIXED`.
556
+ # Required. The mime type descriptor for the data. Must match the pattern
557
+ # \\{type}/\\{subtype}. Supported values:
558
+ # - application/x-parquet
559
+ # - application/x-avro
560
+ # - application/x-orc
561
+ # - application/x-tfrecord
562
+ # - application/json
563
+ # - application/\\{subtypes}
564
+ # - text/csv
565
+ # - text/<subtypes>
566
+ # - image/\\{image subtype}
567
+ # - video/\\{video subtype}
568
+ # - audio/\\{audio subtype}
425
569
  # @!attribute [rw] csv
426
570
  # @return [::Google::Cloud::Dataplex::V1::StorageFormat::CsvOptions]
427
571
  # Optional. Additional information about CSV formatted data.
@@ -435,18 +579,19 @@ module Google
435
579
  # Describes CSV and similar semi-structured data formats.
436
580
  # @!attribute [rw] encoding
437
581
  # @return [::String]
438
- # Optional. The character encoding of the data. The default is UTF-8.
582
+ # Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and
583
+ # "ISO-8859-1". Defaults to UTF-8 if unspecified.
439
584
  # @!attribute [rw] header_rows
440
585
  # @return [::Integer]
441
586
  # Optional. The number of rows to interpret as header rows that should be skipped
442
- # when reading data rows.
587
+ # when reading data rows. Defaults to 0.
443
588
  # @!attribute [rw] delimiter
444
589
  # @return [::String]
445
590
  # Optional. The delimiter used to separate values. Defaults to ','.
446
591
  # @!attribute [rw] quote
447
592
  # @return [::String]
448
- # Optional. The character used to quote column values. Defaults to empty,
449
- # implying unquoted data.
593
+ # Optional. The character used to quote column values. Accepts '"' and '''.
594
+ # Defaults to '"' if unspecified.
450
595
  class CsvOptions
451
596
  include ::Google::Protobuf::MessageExts
452
597
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -455,7 +600,8 @@ module Google
455
600
  # Describes JSON data format.
456
601
  # @!attribute [rw] encoding
457
602
  # @return [::String]
458
- # Optional. The character encoding of the data. The default is UTF-8.
603
+ # Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and
604
+ # "ISO-8859-1". Defaults to UTF-8 if not specified.
459
605
  class JsonOptions
460
606
  include ::Google::Protobuf::MessageExts
461
607
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -484,7 +630,7 @@ module Google
484
630
  # Image data formats (such as jpg and png).
485
631
  IMAGE = 200
486
632
 
487
- # Audio data formats (such as mp3 and wav).
633
+ # Audio data formats (such as mp3, and wav).
488
634
  AUDIO = 201
489
635
 
490
636
  # Video data formats (such as mp4 and mpg).
@@ -673,13 +673,6 @@ module Google
673
673
  # being managed within a lake. For example:
674
674
  # `projects/{project_number}/buckets/{bucket_id}`
675
675
  # `projects/{project_number}/datasets/{dataset_id}`
676
- # If the creation policy indicates ATTACH behavior, then an existing
677
- # resource must be provided.
678
- # If the policy indicates CREATE behavior, new resource will be created
679
- # with the given name.However if it is empty, then the resource will be
680
- # created using \\{asset_id}-\\{UUID} template for name.
681
- # The location of the referenced resource must always match that of the
682
- # asset.
683
676
  # @!attribute [rw] type
684
677
  # @return [::Google::Cloud::Dataplex::V1::Asset::ResourceSpec::Type]
685
678
  # Required. Immutable. Type of resource.
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] parent
26
26
  # @return [::String]
27
27
  # Required. The resource name of the lake location, of the form:
28
- # `projects/{project_number}/locations/{location_id}`
28
+ # projects/\\{project_number}/locations/\\{location_id}
29
29
  # where `location_id` refers to a GCP region.
30
30
  # @!attribute [rw] lake_id
31
31
  # @return [::String]
@@ -595,6 +595,142 @@ module Google
595
595
  include ::Google::Protobuf::MessageExts
596
596
  extend ::Google::Protobuf::MessageExts::ClassMethods
597
597
  end
598
+
599
+ # Create environment request.
600
+ # @!attribute [rw] parent
601
+ # @return [::String]
602
+ # Required. The resource name of the parent lake:
603
+ # projects/\\{project_id}/locations/\\{location_id}/lakes/\\{lake_id}
604
+ # @!attribute [rw] environment_id
605
+ # @return [::String]
606
+ # Required. Environment identifier.
607
+ # * Must contain only lowercase letters, numbers and hyphens.
608
+ # * Must start with a letter.
609
+ # * Must be between 1-63 characters.
610
+ # * Must end with a number or a letter.
611
+ # * Must be unique within the lake.
612
+ # @!attribute [rw] environment
613
+ # @return [::Google::Cloud::Dataplex::V1::Environment]
614
+ # Required. Environment resource.
615
+ # @!attribute [rw] validate_only
616
+ # @return [::Boolean]
617
+ # Optional. Only validate the request, but do not perform mutations.
618
+ # The default is false.
619
+ class CreateEnvironmentRequest
620
+ include ::Google::Protobuf::MessageExts
621
+ extend ::Google::Protobuf::MessageExts::ClassMethods
622
+ end
623
+
624
+ # Update environment request.
625
+ # @!attribute [rw] update_mask
626
+ # @return [::Google::Protobuf::FieldMask]
627
+ # Required. Mask of fields to update.
628
+ # @!attribute [rw] environment
629
+ # @return [::Google::Cloud::Dataplex::V1::Environment]
630
+ # Required. Update description.
631
+ # Only fields specified in `update_mask` are updated.
632
+ # @!attribute [rw] validate_only
633
+ # @return [::Boolean]
634
+ # Optional. Only validate the request, but do not perform mutations.
635
+ # The default is false.
636
+ class UpdateEnvironmentRequest
637
+ include ::Google::Protobuf::MessageExts
638
+ extend ::Google::Protobuf::MessageExts::ClassMethods
639
+ end
640
+
641
+ # Delete environment request.
642
+ # @!attribute [rw] name
643
+ # @return [::String]
644
+ # Required. The resource name of the environment:
645
+ # projects/\\{project_id}/locations/\\{location_id}/lakes/\\{lake_id}/environments/\\{environment_id}`
646
+ class DeleteEnvironmentRequest
647
+ include ::Google::Protobuf::MessageExts
648
+ extend ::Google::Protobuf::MessageExts::ClassMethods
649
+ end
650
+
651
+ # List environments request.
652
+ # @!attribute [rw] parent
653
+ # @return [::String]
654
+ # Required. The resource name of the parent lake:
655
+ # projects/\\{project_id}/locations/\\{location_id}/lakes/\\{lake_id}
656
+ # @!attribute [rw] page_size
657
+ # @return [::Integer]
658
+ # Optional. Maximum number of environments to return. The service may return fewer than
659
+ # this value. If unspecified, at most 10 environments will be returned. The
660
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
661
+ # @!attribute [rw] page_token
662
+ # @return [::String]
663
+ # Optional. Page token received from a previous `ListEnvironments` call. Provide this
664
+ # to retrieve the subsequent page. When paginating, all other parameters
665
+ # provided to `ListEnvironments` must match the call that provided the page
666
+ # token.
667
+ # @!attribute [rw] filter
668
+ # @return [::String]
669
+ # Optional. Filter request.
670
+ # @!attribute [rw] order_by
671
+ # @return [::String]
672
+ # Optional. Order by fields for the result.
673
+ class ListEnvironmentsRequest
674
+ include ::Google::Protobuf::MessageExts
675
+ extend ::Google::Protobuf::MessageExts::ClassMethods
676
+ end
677
+
678
+ # List environments response.
679
+ # @!attribute [rw] environments
680
+ # @return [::Array<::Google::Cloud::Dataplex::V1::Environment>]
681
+ # Environments under the given parent lake.
682
+ # @!attribute [rw] next_page_token
683
+ # @return [::String]
684
+ # Token to retrieve the next page of results, or empty if there are no more
685
+ # results in the list.
686
+ class ListEnvironmentsResponse
687
+ include ::Google::Protobuf::MessageExts
688
+ extend ::Google::Protobuf::MessageExts::ClassMethods
689
+ end
690
+
691
+ # Get environment request.
692
+ # @!attribute [rw] name
693
+ # @return [::String]
694
+ # Required. The resource name of the environment:
695
+ # projects/\\{project_id}/locations/\\{location_id}/lakes/\\{lake_id}/environments/\\{environment_id}
696
+ class GetEnvironmentRequest
697
+ include ::Google::Protobuf::MessageExts
698
+ extend ::Google::Protobuf::MessageExts::ClassMethods
699
+ end
700
+
701
+ # List sessions request.
702
+ # @!attribute [rw] parent
703
+ # @return [::String]
704
+ # Required. The resource name of the parent environment:
705
+ # projects/\\{project_number}/locations/\\{location_id}/lakes/\\{lake_id}/environment/\\{environment_id}
706
+ # @!attribute [rw] page_size
707
+ # @return [::Integer]
708
+ # Optional. Maximum number of sessions to return. The service may return fewer than
709
+ # this value. If unspecified, at most 10 sessions will be returned. The
710
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
711
+ # @!attribute [rw] page_token
712
+ # @return [::String]
713
+ # Optional. Page token received from a previous `ListSessions` call. Provide this to
714
+ # retrieve the subsequent page. When paginating, all other parameters
715
+ # provided to `ListSessions` must match the call that provided the page
716
+ # token.
717
+ class ListSessionsRequest
718
+ include ::Google::Protobuf::MessageExts
719
+ extend ::Google::Protobuf::MessageExts::ClassMethods
720
+ end
721
+
722
+ # List sessions response.
723
+ # @!attribute [rw] sessions
724
+ # @return [::Array<::Google::Cloud::Dataplex::V1::Session>]
725
+ # Sessions under a given environment.
726
+ # @!attribute [rw] next_page_token
727
+ # @return [::String]
728
+ # Token to retrieve the next page of results, or empty if there are no more
729
+ # results in the list.
730
+ class ListSessionsResponse
731
+ include ::Google::Protobuf::MessageExts
732
+ extend ::Google::Protobuf::MessageExts::ClassMethods
733
+ end
598
734
  end
599
735
  end
600
736
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataplex-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-15 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -173,6 +173,13 @@ files:
173
173
  - README.md
174
174
  - lib/google-cloud-dataplex-v1.rb
175
175
  - lib/google/cloud/dataplex/v1.rb
176
+ - lib/google/cloud/dataplex/v1/analyze_pb.rb
177
+ - lib/google/cloud/dataplex/v1/content_pb.rb
178
+ - lib/google/cloud/dataplex/v1/content_service.rb
179
+ - lib/google/cloud/dataplex/v1/content_service/client.rb
180
+ - lib/google/cloud/dataplex/v1/content_service/credentials.rb
181
+ - lib/google/cloud/dataplex/v1/content_service/paths.rb
182
+ - lib/google/cloud/dataplex/v1/content_services_pb.rb
176
183
  - lib/google/cloud/dataplex/v1/dataplex_service.rb
177
184
  - lib/google/cloud/dataplex/v1/dataplex_service/client.rb
178
185
  - lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb
@@ -193,6 +200,8 @@ files:
193
200
  - proto_docs/README.md
194
201
  - proto_docs/google/api/field_behavior.rb
195
202
  - proto_docs/google/api/resource.rb
203
+ - proto_docs/google/cloud/dataplex/v1/analyze.rb
204
+ - proto_docs/google/cloud/dataplex/v1/content.rb
196
205
  - proto_docs/google/cloud/dataplex/v1/logs.rb
197
206
  - proto_docs/google/cloud/dataplex/v1/metadata.rb
198
207
  - proto_docs/google/cloud/dataplex/v1/resources.rb