google-apis-notebooks_v1 0.15.0 → 0.16.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: cc94aed3602eef81233ac1cb5403d3c338f7657ec824c22e02dedf0366b5573e
4
- data.tar.gz: 1f33b070aa36e9452033dfc0321f3b66e4a96043747032ace0f456ebb7b4d4e9
3
+ metadata.gz: 2e080405ea8d112bdaa4f0a595aa1dbf80dbf29e8ef2e7a69d57593e6e6df0ca
4
+ data.tar.gz: 79028d7b2d6cb01741471ddf809a6a7f405384685f2d79f14be9ec0a74c35993
5
5
  SHA512:
6
- metadata.gz: 90ad10c2ecc805e6a75c5e63d6cdbbc90fab0e70a656b7f1f9f84e9acd376e7858430be8de704b6935c3398b036ef76690df06eae6e73cb46c7845f1a91375fa
7
- data.tar.gz: 4ca03dbd181c8b9b16af9a5a30d9a6fbeebae97480f64d536bb50cfb4e4db98f46a1ff5e738d9dfef1c8dea03d044790613a37e4543551ef099286ea793da1ec
6
+ metadata.gz: 5a94f6bc9e1c6715f08322037276f8d320d13a6023bbaa131e6b725b0c2c3033b2b7f4f5f590284d0a8dbff9b4058d4467aaf200716804336007fa976e139fc0
7
+ data.tar.gz: 734446a9778903df7ad44e73888dcb4c3e7669594015ed1512d417d7f10a8e1d1868260d459e86c3339de716f91ea29718b89cb0dd0b896ae94673ba92f288ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.16.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210812
6
+
3
7
  ### v0.15.0 (2021-07-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20210722
@@ -161,6 +161,26 @@ module Google
161
161
  end
162
162
  end
163
163
 
164
+ # Parameters used in Dataproc JobType executions.
165
+ class DataprocParameters
166
+ include Google::Apis::Core::Hashable
167
+
168
+ # URI for cluster used to run Dataproc execution. Format: 'projects/`PROJECT_ID`/
169
+ # regions/`REGION`/clusters/`CLUSTER_NAME`
170
+ # Corresponds to the JSON property `cluster`
171
+ # @return [String]
172
+ attr_accessor :cluster
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @cluster = args[:cluster] if args.key?(:cluster)
181
+ end
182
+ end
183
+
164
184
  # An instance-attached disk resource.
165
185
  class Disk
166
186
  include Google::Apis::Core::Hashable
@@ -480,6 +500,11 @@ module Google
480
500
  # @return [String]
481
501
  attr_accessor :container_image_uri
482
502
 
503
+ # Parameters used in Dataproc JobType executions.
504
+ # Corresponds to the JSON property `dataprocParameters`
505
+ # @return [Google::Apis::NotebooksV1::DataprocParameters]
506
+ attr_accessor :dataproc_parameters
507
+
483
508
  # Path to the notebook file to execute. Must be in a Google Cloud Storage bucket.
484
509
  # Format: gs://`project_id`/`folder`/`notebook_file_name` Ex: gs://
485
510
  # notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
@@ -487,6 +512,11 @@ module Google
487
512
  # @return [String]
488
513
  attr_accessor :input_notebook_file
489
514
 
515
+ # The type of Job to be used on this execution.
516
+ # Corresponds to the JSON property `jobType`
517
+ # @return [String]
518
+ attr_accessor :job_type
519
+
490
520
  # Labels for execution. If execution is scheduled, a field included will be 'nbs-
491
521
  # scheduled'. Otherwise, it is an immediate execution, and an included field
492
522
  # will be 'nbs-immediate'. Use fields to efficiently index between various types
@@ -555,7 +585,9 @@ module Google
555
585
  def update!(**args)
556
586
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
557
587
  @container_image_uri = args[:container_image_uri] if args.key?(:container_image_uri)
588
+ @dataproc_parameters = args[:dataproc_parameters] if args.key?(:dataproc_parameters)
558
589
  @input_notebook_file = args[:input_notebook_file] if args.key?(:input_notebook_file)
590
+ @job_type = args[:job_type] if args.key?(:job_type)
559
591
  @labels = args[:labels] if args.key?(:labels)
560
592
  @master_type = args[:master_type] if args.key?(:master_type)
561
593
  @output_notebook_folder = args[:output_notebook_folder] if args.key?(:output_notebook_folder)
@@ -1574,7 +1606,7 @@ module Google
1574
1606
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1575
1607
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1576
1608
  # description: Does not grant access after Sep 2020 expression: request.time <
1577
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1609
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1578
1610
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1579
1611
  # google.com/iam/docs/).
1580
1612
  class Policy
@@ -2211,7 +2243,7 @@ module Google
2211
2243
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2212
2244
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2213
2245
  # description: Does not grant access after Sep 2020 expression: request.time <
2214
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2246
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2215
2247
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2216
2248
  # google.com/iam/docs/).
2217
2249
  # Corresponds to the JSON property `policy`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV1
18
18
  # Version of the google-apis-notebooks_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210722"
25
+ REVISION = "20210812"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class DataprocParameters
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Disk
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -462,6 +468,13 @@ module Google
462
468
  end
463
469
  end
464
470
 
471
+ class DataprocParameters
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :cluster, as: 'cluster'
475
+ end
476
+ end
477
+
465
478
  class Disk
466
479
  # @private
467
480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -539,7 +552,10 @@ module Google
539
552
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig, decorator: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig::Representation
540
553
 
541
554
  property :container_image_uri, as: 'containerImageUri'
555
+ property :dataproc_parameters, as: 'dataprocParameters', class: Google::Apis::NotebooksV1::DataprocParameters, decorator: Google::Apis::NotebooksV1::DataprocParameters::Representation
556
+
542
557
  property :input_notebook_file, as: 'inputNotebookFile'
558
+ property :job_type, as: 'jobType'
543
559
  hash :labels, as: 'labels'
544
560
  property :master_type, as: 'masterType'
545
561
  property :output_notebook_folder, as: 'outputNotebookFolder'
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []