google-cloud-dataplex-v1 0.2.0 → 0.4.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 +4 -4
- data/README.md +10 -5
- data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -2
- data/lib/google/cloud/dataplex/v1/content_pb.rb +4 -1
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +372 -0
- data/lib/google/cloud/dataplex/v1/content_services_pb.rb +24 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +67 -13
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +3 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service.rb +3 -3
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -2
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +38 -9
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -2
- data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -1
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +3 -3
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +11 -2
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +2 -0
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +4 -0
- data/proto_docs/google/cloud/dataplex/v1/metadata.rb +48 -45
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +1 -1
- data/proto_docs/google/cloud/dataplex/v1/service.rb +20 -9
- data/proto_docs/google/cloud/dataplex/v1/tasks.rb +31 -2
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +53 -12
@@ -61,7 +61,8 @@ module Google
|
|
61
61
|
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`.
|
62
62
|
# @!attribute [rw] etag
|
63
63
|
# @return [::String]
|
64
|
-
# Required. The etag associated with the
|
64
|
+
# Required. The etag associated with the entity, which can be retrieved with a
|
65
|
+
# [GetEntity][] request.
|
65
66
|
class DeleteEntityRequest
|
66
67
|
include ::Google::Protobuf::MessageExts
|
67
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -94,15 +95,16 @@ module Google
|
|
94
95
|
# - Entity ID: ?filter="id=entityID"
|
95
96
|
# - Asset ID: ?filter="asset=assetID"
|
96
97
|
# - Data path ?filter="data_path=gs://my-bucket"
|
97
|
-
# - Is HIVE compatible: ?filter
|
98
|
-
# - Is BigQuery compatible: ?filter
|
98
|
+
# - Is HIVE compatible: ?filter="hive_compatible=true"
|
99
|
+
# - Is BigQuery compatible: ?filter="bigquery_compatible=true"
|
99
100
|
class ListEntitiesRequest
|
100
101
|
include ::Google::Protobuf::MessageExts
|
101
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
103
|
|
103
104
|
# Entity views.
|
104
105
|
module EntityView
|
105
|
-
# The default unset value.
|
106
|
+
# The default unset value. Return both table and fileset entities
|
107
|
+
# if unspecified.
|
106
108
|
ENTITY_VIEW_UNSPECIFIED = 0
|
107
109
|
|
108
110
|
# Only list table entities.
|
@@ -173,14 +175,14 @@ module Google
|
|
173
175
|
# page token.
|
174
176
|
# @!attribute [rw] filter
|
175
177
|
# @return [::String]
|
176
|
-
# Optional. Filter the partitions returned to the caller using a key
|
177
|
-
# expression.
|
178
|
+
# Optional. Filter the partitions returned to the caller using a key value pair
|
179
|
+
# expression. Supported operators and syntax:
|
178
180
|
#
|
179
|
-
# -
|
181
|
+
# - logic operators: AND, OR
|
180
182
|
# - comparison operators: <, >, >=, <= ,=, !=
|
181
183
|
# - LIKE operators:
|
182
|
-
#
|
183
|
-
#
|
184
|
+
# - The right hand of a LIKE operator supports "." and
|
185
|
+
# "*" for wildcard searches, for example "value1 LIKE ".*oo.*"
|
184
186
|
# - parenthetical grouping: ( )
|
185
187
|
#
|
186
188
|
# Sample filter expression: `?filter="key1 < value1 OR key2 > value2"
|
@@ -224,7 +226,7 @@ module Google
|
|
224
226
|
# partition values separated by "/". All values must be provided.
|
225
227
|
# @!attribute [rw] etag
|
226
228
|
# @return [::String]
|
227
|
-
# Optional. The etag associated with the partition
|
229
|
+
# Optional. The etag associated with the partition.
|
228
230
|
class DeletePartitionRequest
|
229
231
|
include ::Google::Protobuf::MessageExts
|
230
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -262,7 +264,7 @@ module Google
|
|
262
264
|
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
|
263
265
|
# @!attribute [rw] display_name
|
264
266
|
# @return [::String]
|
265
|
-
# Optional. Display name must be shorter than or equal to
|
267
|
+
# Optional. Display name must be shorter than or equal to 256 characters.
|
266
268
|
# @!attribute [rw] description
|
267
269
|
# @return [::String]
|
268
270
|
# Optional. User friendly longer description text. Must be shorter than or equal to
|
@@ -279,11 +281,12 @@ module Google
|
|
279
281
|
# published table name. Specifying a new ID in an update entity
|
280
282
|
# request will override the existing value.
|
281
283
|
# The ID must contain only letters (a-z, A-Z), numbers (0-9), and
|
282
|
-
# underscores. Must begin with a letter
|
284
|
+
# underscores. Must begin with a letter and consist of 256 or fewer
|
285
|
+
# characters.
|
283
286
|
# @!attribute [rw] etag
|
284
287
|
# @return [::String]
|
285
|
-
# Optional. The etag
|
286
|
-
#
|
288
|
+
# Optional. The etag associated with the entity, which can be retrieved with a
|
289
|
+
# [GetEntity][] request. Required for update and delete requests.
|
287
290
|
# @!attribute [rw] type
|
288
291
|
# @return [::Google::Cloud::Dataplex::V1::Entity::Type]
|
289
292
|
# Required. Immutable. The type of entity.
|
@@ -367,13 +370,11 @@ module Google
|
|
367
370
|
# Represents partition metadata contained within entity instances.
|
368
371
|
# @!attribute [r] name
|
369
372
|
# @return [::String]
|
370
|
-
# Output only.
|
371
|
-
# For example,
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
# "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the
|
376
|
-
# responses will always have the encoded format.
|
373
|
+
# Output only. Partition values used in the HTTP URL must be
|
374
|
+
# double encoded. For example, `url_encode(url_encode(value))` can be used
|
375
|
+
# to encode "US:CA/CA#Sunnyvale so that the request URL ends
|
376
|
+
# with "/partitions/US%253ACA/CA%2523Sunnyvale".
|
377
|
+
# The name field in the response retains the encoded format.
|
377
378
|
# @!attribute [rw] values
|
378
379
|
# @return [::Array<::String>]
|
379
380
|
# Required. Immutable. The set of values representing the partition, which correspond to the
|
@@ -394,26 +395,23 @@ module Google
|
|
394
395
|
# Schema information describing the structure and layout of the data.
|
395
396
|
# @!attribute [rw] user_managed
|
396
397
|
# @return [::Boolean]
|
397
|
-
# Required.
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
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.
|
398
|
+
# Required. Set to `true` if user-managed or `false` if managed by Dataplex. The
|
399
|
+
# default is `false` (managed by Dataplex).
|
400
|
+
#
|
401
|
+
# - Set to `false`to enable Dataplex discovery to update the schema.
|
402
|
+
# including new data discovery, schema inference, and schema evolution.
|
403
|
+
# Users retain the ability to input and edit the schema. Dataplex
|
404
|
+
# treats schema input by the user as though produced
|
405
|
+
# by a previous Dataplex discovery operation, and it will
|
406
|
+
# evolve the schema and take action based on that treatment.
|
407
|
+
#
|
408
|
+
# - Set to `true` to fully manage the entity
|
409
|
+
# schema. This setting guarantees that Dataplex will not
|
410
|
+
# change schema fields.
|
414
411
|
# @!attribute [rw] fields
|
415
412
|
# @return [::Array<::Google::Cloud::Dataplex::V1::Schema::SchemaField>]
|
416
413
|
# Optional. The sequence of fields describing data in table entities.
|
414
|
+
# **Note:** BigQuery SchemaFields are immutable.
|
417
415
|
# @!attribute [rw] partition_fields
|
418
416
|
# @return [::Array<::Google::Cloud::Dataplex::V1::Schema::PartitionField>]
|
419
417
|
# Optional. The sequence of fields describing the partition structure in entities.
|
@@ -428,8 +426,9 @@ module Google
|
|
428
426
|
# Represents a column field within a table schema.
|
429
427
|
# @!attribute [rw] name
|
430
428
|
# @return [::String]
|
431
|
-
# Required. The name of the field.
|
432
|
-
#
|
429
|
+
# Required. The name of the field. Must contain only letters, numbers and
|
430
|
+
# underscores, with a maximum length of 767 characters,
|
431
|
+
# and must begin with a letter or underscore.
|
433
432
|
# @!attribute [rw] description
|
434
433
|
# @return [::String]
|
435
434
|
# Optional. User friendly field description. Must be less than or equal to 1024
|
@@ -450,11 +449,13 @@ module Google
|
|
450
449
|
|
451
450
|
# Represents a key field within the entity's partition structure. You could
|
452
451
|
# have up to 20 partition fields, but only the first 10 partitions have the
|
453
|
-
# filtering ability due to performance consideration.
|
452
|
+
# filtering ability due to performance consideration. **Note:**
|
453
|
+
# Partition fields are immutable.
|
454
454
|
# @!attribute [rw] name
|
455
455
|
# @return [::String]
|
456
|
-
# Required. Partition name
|
457
|
-
#
|
456
|
+
# Required. Partition field name must consist of letters, numbers, and underscores
|
457
|
+
# only, with a maximum of length of 256 characters,
|
458
|
+
# and must begin with a letter or underscore..
|
458
459
|
# @!attribute [rw] type
|
459
460
|
# @return [::Google::Cloud::Dataplex::V1::Schema::Type]
|
460
461
|
# Required. Immutable. The type of field.
|
@@ -555,6 +556,7 @@ module Google
|
|
555
556
|
# @return [::String]
|
556
557
|
# Required. The mime type descriptor for the data. Must match the pattern
|
557
558
|
# \\{type}/\\{subtype}. Supported values:
|
559
|
+
#
|
558
560
|
# - application/x-parquet
|
559
561
|
# - application/x-avro
|
560
562
|
# - application/x-orc
|
@@ -590,8 +592,9 @@ module Google
|
|
590
592
|
# Optional. The delimiter used to separate values. Defaults to ','.
|
591
593
|
# @!attribute [rw] quote
|
592
594
|
# @return [::String]
|
593
|
-
# Optional. The character used to quote column values. Accepts '"'
|
594
|
-
#
|
595
|
+
# Optional. The character used to quote column values. Accepts '"'
|
596
|
+
# (double quotation mark) or ''' (single quotation mark). Defaults to
|
597
|
+
# '"' (double quotation mark) if unspecified.
|
595
598
|
class CsvOptions
|
596
599
|
include ::Google::Protobuf::MessageExts
|
597
600
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -154,7 +154,7 @@ module Google
|
|
154
154
|
# @!attribute [r] name
|
155
155
|
# @return [::String]
|
156
156
|
# Output only. The relative resource name of the zone, of the form:
|
157
|
-
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
|
157
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
158
158
|
# @!attribute [rw] display_name
|
159
159
|
# @return [::String]
|
160
160
|
# Optional. User friendly display name.
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# @!attribute [rw] name
|
71
71
|
# @return [::String]
|
72
72
|
# Required. The resource name of the lake:
|
73
|
-
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}
|
73
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
74
74
|
class DeleteLakeRequest
|
75
75
|
include ::Google::Protobuf::MessageExts
|
76
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -123,7 +123,7 @@ module Google
|
|
123
123
|
# @!attribute [rw] parent
|
124
124
|
# @return [::String]
|
125
125
|
# Required. The resource name of the parent lake:
|
126
|
-
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}
|
126
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
127
127
|
# @!attribute [rw] page_size
|
128
128
|
# @return [::Integer]
|
129
129
|
# Optional. Maximum number of actions to return. The service may return fewer than this
|
@@ -292,7 +292,7 @@ module Google
|
|
292
292
|
# @!attribute [rw] parent
|
293
293
|
# @return [::String]
|
294
294
|
# Required. The resource name of the parent zone:
|
295
|
-
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}
|
295
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.
|
296
296
|
# @!attribute [rw] asset_id
|
297
297
|
# @return [::String]
|
298
298
|
# Required. Asset identifier.
|
@@ -536,7 +536,7 @@ module Google
|
|
536
536
|
# @!attribute [rw] name
|
537
537
|
# @return [::String]
|
538
538
|
# Required. The resource name of the task:
|
539
|
-
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}
|
539
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`.
|
540
540
|
class GetTaskRequest
|
541
541
|
include ::Google::Protobuf::MessageExts
|
542
542
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -600,7 +600,7 @@ module Google
|
|
600
600
|
# @!attribute [rw] parent
|
601
601
|
# @return [::String]
|
602
602
|
# Required. The resource name of the parent lake:
|
603
|
-
# projects
|
603
|
+
# `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
|
604
604
|
# @!attribute [rw] environment_id
|
605
605
|
# @return [::String]
|
606
606
|
# Required. Environment identifier.
|
@@ -642,7 +642,7 @@ module Google
|
|
642
642
|
# @!attribute [rw] name
|
643
643
|
# @return [::String]
|
644
644
|
# Required. The resource name of the environment:
|
645
|
-
# projects
|
645
|
+
# `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
|
646
646
|
class DeleteEnvironmentRequest
|
647
647
|
include ::Google::Protobuf::MessageExts
|
648
648
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -652,7 +652,7 @@ module Google
|
|
652
652
|
# @!attribute [rw] parent
|
653
653
|
# @return [::String]
|
654
654
|
# Required. The resource name of the parent lake:
|
655
|
-
# projects
|
655
|
+
# `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`.
|
656
656
|
# @!attribute [rw] page_size
|
657
657
|
# @return [::Integer]
|
658
658
|
# Optional. Maximum number of environments to return. The service may return fewer than
|
@@ -692,7 +692,7 @@ module Google
|
|
692
692
|
# @!attribute [rw] name
|
693
693
|
# @return [::String]
|
694
694
|
# Required. The resource name of the environment:
|
695
|
-
# projects
|
695
|
+
# `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`.
|
696
696
|
class GetEnvironmentRequest
|
697
697
|
include ::Google::Protobuf::MessageExts
|
698
698
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -702,7 +702,7 @@ module Google
|
|
702
702
|
# @!attribute [rw] parent
|
703
703
|
# @return [::String]
|
704
704
|
# Required. The resource name of the parent environment:
|
705
|
-
# projects
|
705
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`.
|
706
706
|
# @!attribute [rw] page_size
|
707
707
|
# @return [::Integer]
|
708
708
|
# Optional. Maximum number of sessions to return. The service may return fewer than
|
@@ -714,6 +714,17 @@ module Google
|
|
714
714
|
# retrieve the subsequent page. When paginating, all other parameters
|
715
715
|
# provided to `ListSessions` must match the call that provided the page
|
716
716
|
# token.
|
717
|
+
# @!attribute [rw] filter
|
718
|
+
# @return [::String]
|
719
|
+
# Optional. Filter request. The following `mode` filter is supported to return only the
|
720
|
+
# sessions belonging to the requester when the mode is USER and return
|
721
|
+
# sessions of all the users when the mode is ADMIN. When no filter is sent
|
722
|
+
# default to USER mode.
|
723
|
+
# NOTE: When the mode is ADMIN, the requester should have
|
724
|
+
# `dataplex.environments.listAllSessions` permission to list all sessions,
|
725
|
+
# in absence of the permission, the request fails.
|
726
|
+
#
|
727
|
+
# mode = ADMIN | USER
|
717
728
|
class ListSessionsRequest
|
718
729
|
include ::Google::Protobuf::MessageExts
|
719
730
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -55,6 +55,9 @@ module Google
|
|
55
55
|
# @!attribute [rw] execution_spec
|
56
56
|
# @return [::Google::Cloud::Dataplex::V1::Task::ExecutionSpec]
|
57
57
|
# Required. Spec related to how a task is executed.
|
58
|
+
# @!attribute [r] execution_status
|
59
|
+
# @return [::Google::Cloud::Dataplex::V1::Task::ExecutionStatus]
|
60
|
+
# Output only. Status of the latest task executions.
|
58
61
|
# @!attribute [rw] spark
|
59
62
|
# @return [::Google::Cloud::Dataplex::V1::Task::SparkTaskConfig]
|
60
63
|
# Config related to running custom Spark tasks.
|
@@ -80,26 +83,31 @@ module Google
|
|
80
83
|
# @!attribute [rw] executors_count
|
81
84
|
# @return [::Integer]
|
82
85
|
# Optional. Total number of job executors.
|
86
|
+
# Executor Count should be between 2 and 100. [Default=2]
|
83
87
|
# @!attribute [rw] max_executors_count
|
84
88
|
# @return [::Integer]
|
85
89
|
# Optional. Max configurable executors.
|
86
90
|
# If max_executors_count > executors_count, then auto-scaling is enabled.
|
91
|
+
# Max Executor Count should be between 2 and 1000. [Default=1000]
|
87
92
|
class BatchComputeResources
|
88
93
|
include ::Google::Protobuf::MessageExts
|
89
94
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
95
|
end
|
91
96
|
|
92
97
|
# Container Image Runtime Configuration used with Batch execution.
|
98
|
+
# @!attribute [rw] image
|
99
|
+
# @return [::String]
|
100
|
+
# Optional. Container image to use.
|
93
101
|
# @!attribute [rw] java_jars
|
94
102
|
# @return [::Array<::String>]
|
95
103
|
# Optional. A list of Java JARS to add to the classpath.
|
96
104
|
# Valid input includes Cloud Storage URIs to Jar binaries.
|
97
|
-
# For example,
|
105
|
+
# For example, gs://bucket-name/my/path/to/file.jar
|
98
106
|
# @!attribute [rw] python_packages
|
99
107
|
# @return [::Array<::String>]
|
100
108
|
# Optional. A list of python packages to be installed.
|
101
109
|
# Valid formats include Cloud Storage URI to a PIP installable library.
|
102
|
-
# For example,
|
110
|
+
# For example, gs://bucket-name/my/path/to/lib.tar.gz
|
103
111
|
# @!attribute [rw] properties
|
104
112
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
105
113
|
# Optional. Override to common configuration of open source components installed on
|
@@ -205,9 +213,18 @@ module Google
|
|
205
213
|
# Required. Service account to use to execute a task.
|
206
214
|
# If not provided, the default Compute service account for the project is
|
207
215
|
# used.
|
216
|
+
# @!attribute [rw] project
|
217
|
+
# @return [::String]
|
218
|
+
# Optional. The project in which jobs are run. By default, the project containing the
|
219
|
+
# Lake is used. If a project is provided, the
|
220
|
+
# {::Google::Cloud::Dataplex::V1::Task::ExecutionSpec#service_account ExecutionSpec.service_account} must belong to this project.
|
208
221
|
# @!attribute [rw] max_job_execution_lifetime
|
209
222
|
# @return [::Google::Protobuf::Duration]
|
210
223
|
# Optional. The maximum duration after which the job execution is expired.
|
224
|
+
# @!attribute [rw] kms_key
|
225
|
+
# @return [::String]
|
226
|
+
# Optional. The Cloud KMS key to use for encryption, of the form:
|
227
|
+
# `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.
|
211
228
|
class ExecutionSpec
|
212
229
|
include ::Google::Protobuf::MessageExts
|
213
230
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -268,6 +285,18 @@ module Google
|
|
268
285
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
269
286
|
end
|
270
287
|
|
288
|
+
# Status of the task execution (e.g. Jobs).
|
289
|
+
# @!attribute [r] update_time
|
290
|
+
# @return [::Google::Protobuf::Timestamp]
|
291
|
+
# Output only. Last update time of the status.
|
292
|
+
# @!attribute [r] latest_job
|
293
|
+
# @return [::Google::Cloud::Dataplex::V1::Job]
|
294
|
+
# Output only. latest job execution
|
295
|
+
class ExecutionStatus
|
296
|
+
include ::Google::Protobuf::MessageExts
|
297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
|
+
end
|
299
|
+
|
271
300
|
# @!attribute [rw] key
|
272
301
|
# @return [::String]
|
273
302
|
# @!attribute [rw] value
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
@@ -0,0 +1,75 @@
|
|
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 Type
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
25
|
+
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
53
|
+
# @!attribute [rw] expression
|
54
|
+
# @return [::String]
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
57
|
+
# @!attribute [rw] title
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
60
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
61
|
+
# expression.
|
62
|
+
# @!attribute [rw] description
|
63
|
+
# @return [::String]
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
65
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
66
|
+
# @!attribute [rw] location
|
67
|
+
# @return [::String]
|
68
|
+
# Optional. String indicating the location of the expression for error
|
69
|
+
# reporting, e.g. a file name and a position in the file.
|
70
|
+
class Expr
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
end
|
75
|
+
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.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,34 +44,74 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: google-iam-v1
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.0'
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.a
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.0'
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.a
|
47
87
|
- !ruby/object:Gem::Dependency
|
48
88
|
name: google-style
|
49
89
|
requirement: !ruby/object:Gem::Requirement
|
50
90
|
requirements:
|
51
91
|
- - "~>"
|
52
92
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
93
|
+
version: 1.26.1
|
54
94
|
type: :development
|
55
95
|
prerelease: false
|
56
96
|
version_requirements: !ruby/object:Gem::Requirement
|
57
97
|
requirements:
|
58
98
|
- - "~>"
|
59
99
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
100
|
+
version: 1.26.1
|
61
101
|
- !ruby/object:Gem::Dependency
|
62
102
|
name: minitest
|
63
103
|
requirement: !ruby/object:Gem::Requirement
|
64
104
|
requirements:
|
65
105
|
- - "~>"
|
66
106
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
107
|
+
version: '5.16'
|
68
108
|
type: :development
|
69
109
|
prerelease: false
|
70
110
|
version_requirements: !ruby/object:Gem::Requirement
|
71
111
|
requirements:
|
72
112
|
- - "~>"
|
73
113
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
114
|
+
version: '5.16'
|
75
115
|
- !ruby/object:Gem::Dependency
|
76
116
|
name: minitest-focus
|
77
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +146,14 @@ dependencies:
|
|
106
146
|
requirements:
|
107
147
|
- - ">="
|
108
148
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
149
|
+
version: '13.0'
|
110
150
|
type: :development
|
111
151
|
prerelease: false
|
112
152
|
version_requirements: !ruby/object:Gem::Requirement
|
113
153
|
requirements:
|
114
154
|
- - ">="
|
115
155
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
156
|
+
version: '13.0'
|
117
157
|
- !ruby/object:Gem::Dependency
|
118
158
|
name: redcarpet
|
119
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,6 +254,7 @@ files:
|
|
214
254
|
- proto_docs/google/protobuf/field_mask.rb
|
215
255
|
- proto_docs/google/protobuf/timestamp.rb
|
216
256
|
- proto_docs/google/rpc/status.rb
|
257
|
+
- proto_docs/google/type/expr.rb
|
217
258
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
218
259
|
licenses:
|
219
260
|
- Apache-2.0
|
@@ -226,14 +267,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
267
|
requirements:
|
227
268
|
- - ">="
|
228
269
|
- !ruby/object:Gem::Version
|
229
|
-
version: '2.
|
270
|
+
version: '2.6'
|
230
271
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
272
|
requirements:
|
232
273
|
- - ">="
|
233
274
|
- !ruby/object:Gem::Version
|
234
275
|
version: '0'
|
235
276
|
requirements: []
|
236
|
-
rubygems_version: 3.3.
|
277
|
+
rubygems_version: 3.3.14
|
237
278
|
signing_key:
|
238
279
|
specification_version: 4
|
239
280
|
summary: API Client library for the Dataplex V1 API
|