google-apis-notebooks_v2 0.13.0 → 0.15.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: 64480c9b52b09c538b26e3b9e1d288190c85ff58cfb8b7044067531f25c6c477
4
- data.tar.gz: 46dc1eaed09113d5ac7c686a701bf9fefe0680d9f5a10d39b275106066f0812c
3
+ metadata.gz: 48349f408a707342dad6492aa9f6f461c11ad28bc40af5ca459cae18a8bc49ce
4
+ data.tar.gz: 446322ebcb392653c12c2d3548ce6690dfc1ff5618e9de503614775a9b103cfd
5
5
  SHA512:
6
- metadata.gz: fce435c2f3322cf0dd06a7124c398c58a81f963d293ae93a645526ec237496c3c482175569f9ba62ff8d07c5033f86657474530152d4b76973f5d9b46e5b4714
7
- data.tar.gz: 9a3c7ce4a71b13947397cad1a4e095fb913792f3ffbe9131ea7794c5d0acfabb28366ce57fd312bae417880ec223052ac1c5585b151472d60bf949edf33942aa
6
+ metadata.gz: 80698f32efdd2888c22470e665492a2229ac4e975d3d8fd722e002e7d02286f8f529ded63f1e5f5460476113bfd913dab1616bb2f30b5ef85787917d8dfa362e
7
+ data.tar.gz: eb326b69e34d7afb1f53aa04d3dc48dd64cf6acdc71fdbd7e788c350364e187828bb7e9df7d0eb7352fdc48121b932cc72e14e7baeae067d42c2b396a28eca78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-notebooks_v2
2
2
 
3
+ ### v0.15.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240731
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.14.0 (2024-06-09)
9
+
10
+ * Regenerated from discovery document revision 20240530
11
+
3
12
  ### v0.13.0 (2024-05-19)
4
13
 
5
14
  * Regenerated using generator version 0.15.0
@@ -50,6 +50,29 @@ module Google
50
50
  end
51
51
  end
52
52
 
53
+ # An access configuration attached to an instance's network interface.
54
+ class AccessConfig
55
+ include Google::Apis::Core::Hashable
56
+
57
+ # An external IP address associated with this instance. Specify an unused static
58
+ # external IP address available to the project or leave this field undefined to
59
+ # use an IP from a shared ephemeral IP address pool. If you specify a static
60
+ # external IP address, it must live in the same region as the zone of the
61
+ # instance.
62
+ # Corresponds to the JSON property `externalIp`
63
+ # @return [String]
64
+ attr_accessor :external_ip
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @external_ip = args[:external_ip] if args.key?(:external_ip)
73
+ end
74
+ end
75
+
53
76
  # Associates `members`, or principals, with a `role`.
54
77
  class Binding
55
78
  include Google::Apis::Core::Hashable
@@ -639,6 +662,13 @@ module Google
639
662
  # @return [Hash<String,String>]
640
663
  attr_accessor :metadata
641
664
 
665
+ # Optional. The minimum CPU platform to use for this instance. The list of valid
666
+ # values can be found in https://cloud.google.com/compute/docs/instances/specify-
667
+ # min-cpu-platform#availablezones
668
+ # Corresponds to the JSON property `minCpuPlatform`
669
+ # @return [String]
670
+ attr_accessor :min_cpu_platform
671
+
642
672
  # Optional. The network interfaces for the VM. Supports only one interface.
643
673
  # Corresponds to the JSON property `networkInterfaces`
644
674
  # @return [Array<Google::Apis::NotebooksV2::NetworkInterface>]
@@ -684,6 +714,7 @@ module Google
684
714
  @gpu_driver_config = args[:gpu_driver_config] if args.key?(:gpu_driver_config)
685
715
  @machine_type = args[:machine_type] if args.key?(:machine_type)
686
716
  @metadata = args[:metadata] if args.key?(:metadata)
717
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
687
718
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
688
719
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
689
720
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -786,6 +817,18 @@ module Google
786
817
  # @return [String]
787
818
  attr_accessor :proxy_uri
788
819
 
820
+ # Output only. Reserved for future use for Zone Isolation.
821
+ # Corresponds to the JSON property `satisfiesPzi`
822
+ # @return [Boolean]
823
+ attr_accessor :satisfies_pzi
824
+ alias_method :satisfies_pzi?, :satisfies_pzi
825
+
826
+ # Output only. Reserved for future use for Zone Separation.
827
+ # Corresponds to the JSON property `satisfiesPzs`
828
+ # @return [Boolean]
829
+ attr_accessor :satisfies_pzs
830
+ alias_method :satisfies_pzs?, :satisfies_pzs
831
+
789
832
  # Output only. The state of this instance.
790
833
  # Corresponds to the JSON property `state`
791
834
  # @return [String]
@@ -824,6 +867,8 @@ module Google
824
867
  @labels = args[:labels] if args.key?(:labels)
825
868
  @name = args[:name] if args.key?(:name)
826
869
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
870
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
871
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
827
872
  @state = args[:state] if args.key?(:state)
828
873
  @third_party_proxy_url = args[:third_party_proxy_url] if args.key?(:third_party_proxy_url)
829
874
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -966,6 +1011,14 @@ module Google
966
1011
  class NetworkInterface
967
1012
  include Google::Apis::Core::Hashable
968
1013
 
1014
+ # Optional. An array of configurations for this interface. Currently, only one
1015
+ # access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified,
1016
+ # the instance will have an external internet access through an ephemeral
1017
+ # external IP address.
1018
+ # Corresponds to the JSON property `accessConfigs`
1019
+ # @return [Array<Google::Apis::NotebooksV2::AccessConfig>]
1020
+ attr_accessor :access_configs
1021
+
969
1022
  # Optional. The name of the VPC that this VM instance is in. Format: `projects/`
970
1023
  # project_id`/global/networks/`network_id``
971
1024
  # Corresponds to the JSON property `network`
@@ -990,6 +1043,7 @@ module Google
990
1043
 
991
1044
  # Update properties of this object
992
1045
  def update!(**args)
1046
+ @access_configs = args[:access_configs] if args.key?(:access_configs)
993
1047
  @network = args[:network] if args.key?(:network)
994
1048
  @nic_type = args[:nic_type] if args.key?(:nic_type)
995
1049
  @subnet = args[:subnet] if args.key?(:subnet)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV2
18
18
  # Version of the google-apis-notebooks_v2 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240731"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AccessConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Binding
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -288,6 +294,13 @@ module Google
288
294
  end
289
295
  end
290
296
 
297
+ class AccessConfig
298
+ # @private
299
+ class Representation < Google::Apis::Core::JsonRepresentation
300
+ property :external_ip, as: 'externalIp'
301
+ end
302
+ end
303
+
291
304
  class Binding
292
305
  # @private
293
306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -431,6 +444,7 @@ module Google
431
444
 
432
445
  property :machine_type, as: 'machineType'
433
446
  hash :metadata, as: 'metadata'
447
+ property :min_cpu_platform, as: 'minCpuPlatform'
434
448
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::NotebooksV2::NetworkInterface, decorator: Google::Apis::NotebooksV2::NetworkInterface::Representation
435
449
 
436
450
  collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::NotebooksV2::ServiceAccount, decorator: Google::Apis::NotebooksV2::ServiceAccount::Representation
@@ -466,6 +480,8 @@ module Google
466
480
  hash :labels, as: 'labels'
467
481
  property :name, as: 'name'
468
482
  property :proxy_uri, as: 'proxyUri'
483
+ property :satisfies_pzi, as: 'satisfiesPzi'
484
+ property :satisfies_pzs, as: 'satisfiesPzs'
469
485
  property :state, as: 'state'
470
486
  property :third_party_proxy_url, as: 'thirdPartyProxyUrl'
471
487
  property :update_time, as: 'updateTime'
@@ -516,6 +532,8 @@ module Google
516
532
  class NetworkInterface
517
533
  # @private
518
534
  class Representation < Google::Apis::Core::JsonRepresentation
535
+ collection :access_configs, as: 'accessConfigs', class: Google::Apis::NotebooksV2::AccessConfig, decorator: Google::Apis::NotebooksV2::AccessConfig::Representation
536
+
519
537
  property :network, as: 'network'
520
538
  property :nic_type, as: 'nicType'
521
539
  property :subnet, as: 'subnet'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-08-11 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v2/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v2
63
63
  post_install_message:
64
64
  rdoc_options: []