google-apis-notebooks_v1 0.20.0 → 0.23.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: 78716f41dec7011d979df7f10faa46cd70b584338bb6c72decac3d0f8ff2cd42
4
- data.tar.gz: d4f3a38a0d61aaffbeec750d0bc0218412c1a95374ddd3e7e25678950de37d54
3
+ metadata.gz: 5789618c2e7b882452883e91d2abeb6f950e2e49cf21c5827661bab1924784e6
4
+ data.tar.gz: 5b87b930313d78530685575c6cdef4f96861b75493e612045f339a5380b8d2c5
5
5
  SHA512:
6
- metadata.gz: c03b24fb94472cb1834da8fd68f5bbca342520fcbfe50e9dd32f834dbd24689cb8a695a9b34bd9896048eaf16640f38c4f6c67bd155e0260df672fa73d71d48b
7
- data.tar.gz: d5a1c3fe62e350a6a889f16f7f4cde6800fac50bcafd178670aa24cc140625ccc3c825efb9746c1e140748e9d7ad7cd39d17a655eeaf589ff870481344807fee
6
+ metadata.gz: d49a94015cf3f0d91ffa7c795ad2667c48824a7290039beeeb39ce51ef25a6c7546a82e89325bdb95a9091e3c175a657a49562a1574cd9694c20a5f6f6a28578
7
+ data.tar.gz: 535b1a4e4dd4ad227b0e2c707bc8999a18a1b2f8f7826f165222546571b5e2a1a97cae5841ee55362b65eae928b393ef7e0da45f8fa26c5edaaafbcd6bc10021
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.23.0 (2022-03-06)
4
+
5
+ * Regenerated from discovery document revision 20220224
6
+
7
+ ### v0.22.0 (2022-02-19)
8
+
9
+ * Regenerated from discovery document revision 20220214
10
+
11
+ ### v0.21.0 (2022-02-13)
12
+
13
+ * Regenerated from discovery document revision 20220205
14
+
3
15
  ### v0.20.0 (2022-01-31)
4
16
 
5
17
  * Regenerated from discovery document revision 20220125
@@ -120,6 +120,20 @@ module Google
120
120
  end
121
121
  end
122
122
 
123
+ # Definition of the boot image used by the Runtime. Used to facilitate runtime
124
+ # upgradeability.
125
+ class BootImage
126
+ include Google::Apis::Core::Hashable
127
+
128
+ def initialize(**args)
129
+ update!(**args)
130
+ end
131
+
132
+ # Update properties of this object
133
+ def update!(**args)
134
+ end
135
+ end
136
+
123
137
  # The request message for Operations.CancelOperation.
124
138
  class CancelOperationRequest
125
139
  include Google::Apis::Core::Hashable
@@ -392,6 +406,11 @@ module Google
392
406
  class Event
393
407
  include Google::Apis::Core::Hashable
394
408
 
409
+ # Optional. Event details. This field is used to pass event information.
410
+ # Corresponds to the JSON property `details`
411
+ # @return [Hash<String,String>]
412
+ attr_accessor :details
413
+
395
414
  # Event report time.
396
415
  # Corresponds to the JSON property `reportTime`
397
416
  # @return [String]
@@ -408,6 +427,7 @@ module Google
408
427
 
409
428
  # Update properties of this object
410
429
  def update!(**args)
430
+ @details = args[:details] if args.key?(:details)
411
431
  @report_time = args[:report_time] if args.key?(:report_time)
412
432
  @type = args[:type] if args.key?(:type)
413
433
  end
@@ -585,6 +605,13 @@ module Google
585
605
  # @return [String]
586
606
  attr_accessor :service_account
587
607
 
608
+ # The name of a Vertex AI [Tensorboard] resource to which this execution will
609
+ # upload Tensorboard logs. Format: `projects/`project`/locations/`location`/
610
+ # tensorboards/`tensorboard``
611
+ # Corresponds to the JSON property `tensorboard`
612
+ # @return [String]
613
+ attr_accessor :tensorboard
614
+
588
615
  # Parameters used in Vertex AI JobType executions.
589
616
  # Corresponds to the JSON property `vertexAiParameters`
590
617
  # @return [Google::Apis::NotebooksV1::VertexAiParameters]
@@ -609,6 +636,7 @@ module Google
609
636
  @params_yaml_file = args[:params_yaml_file] if args.key?(:params_yaml_file)
610
637
  @scale_tier = args[:scale_tier] if args.key?(:scale_tier)
611
638
  @service_account = args[:service_account] if args.key?(:service_account)
639
+ @tensorboard = args[:tensorboard] if args.key?(:tensorboard)
612
640
  @vertex_ai_parameters = args[:vertex_ai_parameters] if args.key?(:vertex_ai_parameters)
613
641
  end
614
642
  end
@@ -741,6 +769,13 @@ module Google
741
769
  # @return [String]
742
770
  attr_accessor :boot_disk_type
743
771
 
772
+ # Optional. Flag to enable ip forwarding or not, default false/off. https://
773
+ # cloud.google.com/vpc/docs/using-routes#canipforward
774
+ # Corresponds to the JSON property `canIpForward`
775
+ # @return [Boolean]
776
+ attr_accessor :can_ip_forward
777
+ alias_method :can_ip_forward?, :can_ip_forward
778
+
744
779
  # Definition of a container image for starting a notebook instance with the
745
780
  # environment installed in a container.
746
781
  # Corresponds to the JSON property `containerImage`
@@ -752,6 +787,11 @@ module Google
752
787
  # @return [String]
753
788
  attr_accessor :create_time
754
789
 
790
+ # Output only. Email address of entity that sent original CreateInstance request.
791
+ # Corresponds to the JSON property `creator`
792
+ # @return [String]
793
+ attr_accessor :creator
794
+
755
795
  # Specify a custom Cloud Storage path where the GPU driver is stored. If not
756
796
  # specified, we'll automatically choose from official GPU drivers.
757
797
  # Corresponds to the JSON property `customGpuDriverPath`
@@ -943,8 +983,10 @@ module Google
943
983
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
944
984
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
945
985
  @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
986
+ @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
946
987
  @container_image = args[:container_image] if args.key?(:container_image)
947
988
  @create_time = args[:create_time] if args.key?(:create_time)
989
+ @creator = args[:creator] if args.key?(:creator)
948
990
  @custom_gpu_driver_path = args[:custom_gpu_driver_path] if args.key?(:custom_gpu_driver_path)
949
991
  @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb)
950
992
  @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type)
@@ -1793,7 +1835,7 @@ module Google
1793
1835
  end
1794
1836
  end
1795
1837
 
1796
- # Request for reseting a notebook instance
1838
+ # Request for resetting a notebook instance
1797
1839
  class ResetInstanceRequest
1798
1840
  include Google::Apis::Core::Hashable
1799
1841
 
@@ -1806,7 +1848,7 @@ module Google
1806
1848
  end
1807
1849
  end
1808
1850
 
1809
- # Request for reseting a Managed Notebook Runtime.
1851
+ # Request for resetting a Managed Notebook Runtime.
1810
1852
  class ResetRuntimeRequest
1811
1853
  include Google::Apis::Core::Hashable
1812
1854
 
@@ -2091,7 +2133,7 @@ module Google
2091
2133
  # @return [Fixnum]
2092
2134
  attr_accessor :idle_shutdown_timeout
2093
2135
 
2094
- # Install Nvidia Driver automatically.
2136
+ # Install Nvidia Driver automatically. Default: True
2095
2137
  # Corresponds to the JSON property `installGpuDriver`
2096
2138
  # @return [Boolean]
2097
2139
  attr_accessor :install_gpu_driver
@@ -2116,6 +2158,13 @@ module Google
2116
2158
  # @return [String]
2117
2159
  attr_accessor :post_startup_script
2118
2160
 
2161
+ # Output only. Bool indicating whether an newer image is available in an image
2162
+ # family.
2163
+ # Corresponds to the JSON property `upgradeable`
2164
+ # @return [Boolean]
2165
+ attr_accessor :upgradeable
2166
+ alias_method :upgradeable?, :upgradeable
2167
+
2119
2168
  def initialize(**args)
2120
2169
  update!(**args)
2121
2170
  end
@@ -2130,6 +2179,7 @@ module Google
2130
2179
  @kernels = args[:kernels] if args.key?(:kernels)
2131
2180
  @notebook_upgrade_schedule = args[:notebook_upgrade_schedule] if args.key?(:notebook_upgrade_schedule)
2132
2181
  @post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
2182
+ @upgradeable = args[:upgradeable] if args.key?(:upgradeable)
2133
2183
  end
2134
2184
  end
2135
2185
 
@@ -2848,6 +2898,12 @@ module Google
2848
2898
  # @return [Google::Apis::NotebooksV1::RuntimeAcceleratorConfig]
2849
2899
  attr_accessor :accelerator_config
2850
2900
 
2901
+ # Definition of the boot image used by the Runtime. Used to facilitate runtime
2902
+ # upgradeability.
2903
+ # Corresponds to the JSON property `bootImage`
2904
+ # @return [Google::Apis::NotebooksV1::BootImage]
2905
+ attr_accessor :boot_image
2906
+
2851
2907
  # Optional. Use a list of container images to use as Kernels in the notebook
2852
2908
  # instance.
2853
2909
  # Corresponds to the JSON property `containerImages`
@@ -2924,6 +2980,17 @@ module Google
2924
2980
  # @return [String]
2925
2981
  attr_accessor :nic_type
2926
2982
 
2983
+ # Optional. Reserved IP Range name is used for VPC Peering. The subnetwork
2984
+ # allocation will use the range *name* if it's assigned. Example: managed-
2985
+ # notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud
2986
+ # compute addresses create $PEERING_RANGE_NAME_3 \ --global \ --prefix-length=24
2987
+ # \ --description="Google Cloud Managed Notebooks Range 24 c" \ --network=$
2988
+ # NETWORK \ --addresses=192.168.0.0 \ --purpose=VPC_PEERING Field value will be:
2989
+ # `managed-notebooks-range-c`
2990
+ # Corresponds to the JSON property `reservedIpRange`
2991
+ # @return [String]
2992
+ attr_accessor :reserved_ip_range
2993
+
2927
2994
  # A set of Shielded Instance options. Check [Images using supported Shielded VM
2928
2995
  # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
2929
2996
  # vm). Not all combinations are valid.
@@ -2961,6 +3028,7 @@ module Google
2961
3028
  # Update properties of this object
2962
3029
  def update!(**args)
2963
3030
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
3031
+ @boot_image = args[:boot_image] if args.key?(:boot_image)
2964
3032
  @container_images = args[:container_images] if args.key?(:container_images)
2965
3033
  @data_disk = args[:data_disk] if args.key?(:data_disk)
2966
3034
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -2971,6 +3039,7 @@ module Google
2971
3039
  @metadata = args[:metadata] if args.key?(:metadata)
2972
3040
  @network = args[:network] if args.key?(:network)
2973
3041
  @nic_type = args[:nic_type] if args.key?(:nic_type)
3042
+ @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
2974
3043
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
2975
3044
  @subnet = args[:subnet] if args.key?(:subnet)
2976
3045
  @tags = args[:tags] if args.key?(:tags)
@@ -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.20.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220125"
25
+ REVISION = "20220224"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BootImage
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CancelOperationRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -472,6 +478,12 @@ module Google
472
478
  end
473
479
  end
474
480
 
481
+ class BootImage
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ end
485
+ end
486
+
475
487
  class CancelOperationRequest
476
488
  # @private
477
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -543,6 +555,7 @@ module Google
543
555
  class Event
544
556
  # @private
545
557
  class Representation < Google::Apis::Core::JsonRepresentation
558
+ hash :details, as: 'details'
546
559
  property :report_time, as: 'reportTime'
547
560
  property :type, as: 'type'
548
561
  end
@@ -582,6 +595,7 @@ module Google
582
595
  property :params_yaml_file, as: 'paramsYamlFile'
583
596
  property :scale_tier, as: 'scaleTier'
584
597
  property :service_account, as: 'serviceAccount'
598
+ property :tensorboard, as: 'tensorboard'
585
599
  property :vertex_ai_parameters, as: 'vertexAiParameters', class: Google::Apis::NotebooksV1::VertexAiParameters, decorator: Google::Apis::NotebooksV1::VertexAiParameters::Representation
586
600
 
587
601
  end
@@ -619,9 +633,11 @@ module Google
619
633
 
620
634
  property :boot_disk_size_gb, :numeric_string => true, as: 'bootDiskSizeGb'
621
635
  property :boot_disk_type, as: 'bootDiskType'
636
+ property :can_ip_forward, as: 'canIpForward'
622
637
  property :container_image, as: 'containerImage', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
623
638
 
624
639
  property :create_time, as: 'createTime'
640
+ property :creator, as: 'creator'
625
641
  property :custom_gpu_driver_path, as: 'customGpuDriverPath'
626
642
  property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb'
627
643
  property :data_disk_type, as: 'dataDiskType'
@@ -946,6 +962,7 @@ module Google
946
962
 
947
963
  property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
948
964
  property :post_startup_script, as: 'postStartupScript'
965
+ property :upgradeable, as: 'upgradeable'
949
966
  end
950
967
  end
951
968
 
@@ -1160,6 +1177,8 @@ module Google
1160
1177
  class Representation < Google::Apis::Core::JsonRepresentation
1161
1178
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1162
1179
 
1180
+ property :boot_image, as: 'bootImage', class: Google::Apis::NotebooksV1::BootImage, decorator: Google::Apis::NotebooksV1::BootImage::Representation
1181
+
1163
1182
  collection :container_images, as: 'containerImages', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
1164
1183
 
1165
1184
  property :data_disk, as: 'dataDisk', class: Google::Apis::NotebooksV1::LocalDisk, decorator: Google::Apis::NotebooksV1::LocalDisk::Representation
@@ -1173,6 +1192,7 @@ module Google
1173
1192
  hash :metadata, as: 'metadata'
1174
1193
  property :network, as: 'network'
1175
1194
  property :nic_type, as: 'nicType'
1195
+ property :reserved_ip_range, as: 'reservedIpRange'
1176
1196
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig::Representation
1177
1197
 
1178
1198
  property :subnet, as: 'subnet'
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.20.0
4
+ version: 0.23.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-07 00:00:00.000000000 Z
11
+ date: 2022-03-07 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/main/generated/google-apis-notebooks_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []