google-cloud-dataplex-v1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fdae0307f328bf97514eb59eda15e43858e53ff185f4a0d1d202ee0c2f64665
4
- data.tar.gz: ebf6c7b4d1818fae6e7d974686b72d444132d92bbf073ad491b0f22deade6fd8
3
+ metadata.gz: c9c6da3ad2ddcc67665849d27eb39c1bfb7d5de47ea6e29415d165014d2eef88
4
+ data.tar.gz: fe559fdc880f44d102ccd2f71bf22801d5abe3bf991f0f22a49d271cf42b6e90
5
5
  SHA512:
6
- metadata.gz: 7bf4419212b2c90cc5f4d7a25194291985c704b24d0b5c8a9053e8451f94830f5ea4e4d5cfaf3397ead3e9d21820391588f0917b5b943a6a57a20cd3afc5519d
7
- data.tar.gz: 85f84b7b32306d85d53bf0c7c19db9e397fffe60d0047e3b4785395afee95b654146dc297eacf77d5293c583fe488e58877ed942dc105a667cac430f55b6005a
6
+ metadata.gz: 3edafb5fb059618c8b02063b2c6acac7e88424df75855aa094e91d3809e445f8e18703f22a65705e26bf7fda0ddeb6db1d5f22bb39061e11c8e6b15e3b2d4d04
7
+ data.tar.gz: a99005faba092b281cf99cf467b88d87c69ca50699dcea6672790f59d21a09184f045b4eec84d272645980e197b584619e1c95f9570edafccceb8756b95d399a
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -19,7 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/dataplex/v1/content_pb"
21
21
  require "google/cloud/location"
22
- require "google/iam/v1/iam_policy"
22
+ require "google/iam/v1"
23
23
 
24
24
  module Google
25
25
  module Cloud
@@ -19,7 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/dataplex/v1/service_pb"
21
21
  require "google/cloud/location"
22
- require "google/iam/v1/iam_policy"
22
+ require "google/iam/v1"
23
23
 
24
24
  module Google
25
25
  module Cloud
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/resource_pb'
6
7
  require 'google/protobuf/duration_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
@@ -85,6 +86,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
85
86
  optional :user_id, :string, 2
86
87
  optional :session_id, :string, 3
87
88
  optional :type, :enum, 4, "google.cloud.dataplex.v1.SessionEvent.EventType"
89
+ optional :event_succeeded, :bool, 6
90
+ optional :fast_startup_enabled, :bool, 7
91
+ optional :unassigned_duration, :message, 8, "google.protobuf.Duration"
88
92
  oneof :detail do
89
93
  optional :query, :message, 5, "google.cloud.dataplex.v1.SessionEvent.QueryDetail"
90
94
  end
@@ -107,6 +111,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
107
111
  value :START, 1
108
112
  value :STOP, 2
109
113
  value :QUERY, 3
114
+ value :CREATE, 4
110
115
  end
111
116
  end
112
117
  end
@@ -19,7 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/dataplex/v1/metadata_pb"
21
21
  require "google/cloud/location"
22
- require "google/iam/v1/iam_policy"
22
+ require "google/iam/v1"
23
23
 
24
24
  module Google
25
25
  module Cloud
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  optional :execution_status, :message, 201, "google.cloud.dataplex.v1.Task.ExecutionStatus"
26
26
  oneof :config do
27
27
  optional :spark, :message, 300, "google.cloud.dataplex.v1.Task.SparkTaskConfig"
28
+ optional :notebook, :message, 302, "google.cloud.dataplex.v1.Task.NotebookTaskConfig"
28
29
  end
29
30
  end
30
31
  add_message "google.cloud.dataplex.v1.Task.InfrastructureSpec" do
@@ -88,6 +89,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
88
89
  optional :sql_script, :string, 105
89
90
  end
90
91
  end
92
+ add_message "google.cloud.dataplex.v1.Task.NotebookTaskConfig" do
93
+ optional :notebook, :string, 4
94
+ optional :infrastructure_spec, :message, 3, "google.cloud.dataplex.v1.Task.InfrastructureSpec"
95
+ repeated :file_uris, :string, 5
96
+ repeated :archive_uris, :string, 6
97
+ end
91
98
  add_message "google.cloud.dataplex.v1.Task.ExecutionStatus" do
92
99
  optional :update_time, :message, 3, "google.protobuf.Timestamp"
93
100
  optional :latest_job, :message, 9, "google.cloud.dataplex.v1.Job"
@@ -132,6 +139,7 @@ module Google
132
139
  Task::TriggerSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Task.TriggerSpec.Type").enummodule
133
140
  Task::ExecutionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Task.ExecutionSpec").msgclass
134
141
  Task::SparkTaskConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Task.SparkTaskConfig").msgclass
142
+ Task::NotebookTaskConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Task.NotebookTaskConfig").msgclass
135
143
  Task::ExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Task.ExecutionStatus").msgclass
136
144
  Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Job").msgclass
137
145
  Job::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.Job.Service").enummodule
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataplex
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -241,7 +241,8 @@ module Google
241
241
  # The log message.
242
242
  # @!attribute [rw] user_id
243
243
  # @return [::String]
244
- # The information about the user that created the session.
244
+ # The information about the user that created the session. It will be the
245
+ # email address of the user.
245
246
  # @!attribute [rw] session_id
246
247
  # @return [::String]
247
248
  # Unique identifier for the session.
@@ -251,6 +252,16 @@ module Google
251
252
  # @!attribute [rw] query
252
253
  # @return [::Google::Cloud::Dataplex::V1::SessionEvent::QueryDetail]
253
254
  # The execution details of the query.
255
+ # @!attribute [rw] event_succeeded
256
+ # @return [::Boolean]
257
+ # The status of the event.
258
+ # @!attribute [rw] fast_startup_enabled
259
+ # @return [::Boolean]
260
+ # If the session is associated with an Environment with fast startup enabled,
261
+ # and was pre-created before being assigned to a user.
262
+ # @!attribute [rw] unassigned_duration
263
+ # @return [::Google::Protobuf::Duration]
264
+ # The idle duration of a warm pooled session before it is assigned to user.
254
265
  class SessionEvent
255
266
  include ::Google::Protobuf::MessageExts
256
267
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -296,7 +307,7 @@ module Google
296
307
  # An unspecified event type.
297
308
  EVENT_TYPE_UNSPECIFIED = 0
298
309
 
299
- # Event for start of a session.
310
+ # Event when the session is assigned to a user.
300
311
  START = 1
301
312
 
302
313
  # Event for stop of a session.
@@ -304,6 +315,10 @@ module Google
304
315
 
305
316
  # Query events in the session.
306
317
  QUERY = 3
318
+
319
+ # Event for creation of a cluster. It is not yet assigned to a user.
320
+ # This comes before START in the sequence
321
+ CREATE = 4
307
322
  end
308
323
  end
309
324
  end
@@ -61,6 +61,9 @@ module Google
61
61
  # @!attribute [rw] spark
62
62
  # @return [::Google::Cloud::Dataplex::V1::Task::SparkTaskConfig]
63
63
  # Config related to running custom Spark tasks.
64
+ # @!attribute [rw] notebook
65
+ # @return [::Google::Cloud::Dataplex::V1::Task::NotebookTaskConfig]
66
+ # Config related to running scheduled Notebooks.
64
67
  class Task
65
68
  include ::Google::Protobuf::MessageExts
66
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -285,6 +288,30 @@ module Google
285
288
  extend ::Google::Protobuf::MessageExts::ClassMethods
286
289
  end
287
290
 
291
+ # Config for running scheduled notebooks.
292
+ # @!attribute [rw] notebook
293
+ # @return [::String]
294
+ # Required. Path to input notebook. This can be the Cloud Storage URI of the notebook
295
+ # file or the path to a Notebook Content. The execution args are accessible
296
+ # as environment variables
297
+ # (`TASK_key=value`).
298
+ # @!attribute [rw] infrastructure_spec
299
+ # @return [::Google::Cloud::Dataplex::V1::Task::InfrastructureSpec]
300
+ # Optional. Infrastructure specification for the execution.
301
+ # @!attribute [rw] file_uris
302
+ # @return [::Array<::String>]
303
+ # Optional. Cloud Storage URIs of files to be placed in the working directory of each
304
+ # executor.
305
+ # @!attribute [rw] archive_uris
306
+ # @return [::Array<::String>]
307
+ # Optional. Cloud Storage URIs of archives to be extracted into the working directory
308
+ # of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and
309
+ # .zip.
310
+ class NotebookTaskConfig
311
+ include ::Google::Protobuf::MessageExts
312
+ extend ::Google::Protobuf::MessageExts::ClassMethods
313
+ end
314
+
288
315
  # Status of the task execution (e.g. Jobs).
289
316
  # @!attribute [r] update_time
290
317
  # @return [::Google::Protobuf::Timestamp]
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.0
4
+ version: 0.5.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-07-20 00:00:00.000000000 Z
11
+ date: 2022-10-18 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.10'
19
+ version: '0.12'
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.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a