google-apis-compute_v1 0.97.0 → 0.98.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cfe663077e3061156b77877080c7d44a5a69f8a0ad668d6303713efcb3636bd
4
- data.tar.gz: 199be7ba756651eea596096d7b763918dff20fc21d86866ef2dac963e3f4527b
3
+ metadata.gz: 38481f5a49e66167520e934f2af1e35099a67b7c2101f2e052372bbd67388ac6
4
+ data.tar.gz: 0f5a3b221aaea3b706fa199fe86a81e261d4a8f043f8f35791bb4c05b7682acd
5
5
  SHA512:
6
- metadata.gz: d5f9b47754a8ae3fa0bdef34f5ecdb7da3c8a4285af6482bf8577e8c4638f46039750488a5a7b2c349cca38fccfdf235770ee2d33d1b466258c2d7bc4cb6d11f
7
- data.tar.gz: c304205c164ab5a943cf441021c99bef277e5d042db467be0e9821d8fcaf340c5bff9ce9b810a7bf4135831012b37aa0a1266c0e732a508ba67af3deb02562c9
6
+ metadata.gz: a74f5ac89841b105935aebc2e7d4d721531eb16b13ed71adb150897bf939505264e0db18b2002ceaba998ec0e5750eecf23dab169fd04e185f411f4188429002
7
+ data.tar.gz: 6cf2332d2e85d10446d141986666df86fc07c57e944d3260dcd7e6f7c59dd1955963a446018598a06cc3889576847ea6e743637dcf031f4cce78dab61207fe22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.98.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240519
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.97.0 (2024-04-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240421
@@ -561,7 +561,7 @@ module Google
561
561
 
562
562
  # The DNS domain name for the public PTR record. You can set this field only if
563
563
  # the `setPublicPtr` field is enabled in accessConfig. If this field is
564
- # unspecified in ipv6AccessConfig, a default PTR record will be createc for
564
+ # unspecified in ipv6AccessConfig, a default PTR record will be created for
565
565
  # first IP in associated external IPv6 range.
566
566
  # Corresponds to the JSON property `publicPtrDomainName`
567
567
  # @return [String]
@@ -1493,8 +1493,10 @@ module Google
1493
1493
  # the disk or when you attach the disk to a virtual machine instance. If you do
1494
1494
  # not provide an encryption key, then the disk will be encrypted using an
1495
1495
  # automatically generated key and you do not need to provide a key to use the
1496
- # disk later. Instance templates do not store customer-supplied encryption keys,
1497
- # so you cannot use your own keys to encrypt disks in a managed instance group.
1496
+ # disk later. Note: Instance templates do not store customer-supplied encryption
1497
+ # keys, so you cannot use your own keys to encrypt disks in a managed instance
1498
+ # group. You cannot create VMs that have disks with customer-supplied keys using
1499
+ # the bulk insert method.
1498
1500
  # Corresponds to the JSON property `diskEncryptionKey`
1499
1501
  # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
1500
1502
  attr_accessor :disk_encryption_key
@@ -1890,25 +1892,6 @@ module Google
1890
1892
  end
1891
1893
  end
1892
1894
 
1893
- # This is deprecated and has no effect. Do not use.
1894
- class AuthorizationLoggingOptions
1895
- include Google::Apis::Core::Hashable
1896
-
1897
- # This is deprecated and has no effect. Do not use.
1898
- # Corresponds to the JSON property `permissionType`
1899
- # @return [String]
1900
- attr_accessor :permission_type
1901
-
1902
- def initialize(**args)
1903
- update!(**args)
1904
- end
1905
-
1906
- # Update properties of this object
1907
- def update!(**args)
1908
- @permission_type = args[:permission_type] if args.key?(:permission_type)
1909
- end
1910
- end
1911
-
1912
1895
  # Represents an Autoscaler resource. Google Compute Engine has two Autoscaler
1913
1896
  # resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * [Regional](
1914
1897
  # /compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to
@@ -6314,6 +6297,16 @@ module Google
6314
6297
  class Disk
6315
6298
  include Google::Apis::Core::Hashable
6316
6299
 
6300
+ # The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode,
6301
+ # means the disk can be attached to single instance in RW mode. -
6302
+ # READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple
6303
+ # instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be
6304
+ # attached to multiple instances in RO mode. The AccessMode is only valid for
6305
+ # Hyperdisk disk types.
6306
+ # Corresponds to the JSON property `accessMode`
6307
+ # @return [String]
6308
+ attr_accessor :access_mode
6309
+
6317
6310
  # The architecture of the disk. Valid values are ARM64 or X86_64.
6318
6311
  # Corresponds to the JSON property `architecture`
6319
6312
  # @return [String]
@@ -6673,6 +6666,7 @@ module Google
6673
6666
 
6674
6667
  # Update properties of this object
6675
6668
  def update!(**args)
6669
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
6676
6670
  @architecture = args[:architecture] if args.key?(:architecture)
6677
6671
  @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
6678
6672
  @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
@@ -10763,6 +10757,7 @@ module Google
10763
10757
  attr_accessor :proxy_header
10764
10758
 
10765
10759
  # The request path of the HTTP/2 health check request. The default value is /.
10760
+ # Must comply with RFC3986.
10766
10761
  # Corresponds to the JSON property `requestPath`
10767
10762
  # @return [String]
10768
10763
  attr_accessor :request_path
@@ -10845,6 +10840,7 @@ module Google
10845
10840
  attr_accessor :proxy_header
10846
10841
 
10847
10842
  # The request path of the HTTP health check request. The default value is /.
10843
+ # Must comply with RFC3986.
10848
10844
  # Corresponds to the JSON property `requestPath`
10849
10845
  # @return [String]
10850
10846
  attr_accessor :request_path
@@ -10927,6 +10923,7 @@ module Google
10927
10923
  attr_accessor :proxy_header
10928
10924
 
10929
10925
  # The request path of the HTTPS health check request. The default value is /.
10926
+ # Must comply with RFC3986.
10930
10927
  # Corresponds to the JSON property `requestPath`
10931
10928
  # @return [String]
10932
10929
  attr_accessor :request_path
@@ -17172,6 +17169,9 @@ module Google
17172
17169
  attr_accessor :labels
17173
17170
 
17174
17171
  # The machine type to use for instances that are created from these properties.
17172
+ # This field only accept machine types name. e.g. n2-standard-4 and does not
17173
+ # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/
17174
+ # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.
17175
17175
  # Corresponds to the JSON property `machineType`
17176
17176
  # @return [String]
17177
17177
  attr_accessor :machine_type
@@ -21709,11 +21709,6 @@ module Google
21709
21709
  class LogConfigCloudAuditOptions
21710
21710
  include Google::Apis::Core::Hashable
21711
21711
 
21712
- # This is deprecated and has no effect. Do not use.
21713
- # Corresponds to the JSON property `authorizationLoggingOptions`
21714
- # @return [Google::Apis::ComputeV1::AuthorizationLoggingOptions]
21715
- attr_accessor :authorization_logging_options
21716
-
21717
21712
  # This is deprecated and has no effect. Do not use.
21718
21713
  # Corresponds to the JSON property `logName`
21719
21714
  # @return [String]
@@ -21725,7 +21720,6 @@ module Google
21725
21720
 
21726
21721
  # Update properties of this object
21727
21722
  def update!(**args)
21728
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
21729
21723
  @log_name = args[:log_name] if args.key?(:log_name)
21730
21724
  end
21731
21725
  end
@@ -39311,7 +39305,8 @@ module Google
39311
39305
  include Google::Apis::Core::Hashable
39312
39306
 
39313
39307
  # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
39314
- # locations listed in this field. Keys are GCS bucket locations.
39308
+ # locations listed in this field. Keys are Cloud Storage bucket locations. Only
39309
+ # one location can be specified.
39315
39310
  # Corresponds to the JSON property `locations`
39316
39311
  # @return [Hash<String,Google::Apis::ComputeV1::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
39317
39312
  attr_accessor :locations
@@ -39336,7 +39331,8 @@ module Google
39336
39331
  class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
39337
39332
  include Google::Apis::Core::Hashable
39338
39333
 
39339
- # Name of the location. It should be one of the GCS buckets.
39334
+ # Name of the location. It should be one of the Cloud Storage buckets. Only one
39335
+ # location can be specified.
39340
39336
  # Corresponds to the JSON property `name`
39341
39337
  # @return [String]
39342
39338
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.97.0"
19
+ GEM_VERSION = "0.98.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240421"
25
+ REVISION = "20240519"
26
26
  end
27
27
  end
28
28
  end
@@ -244,12 +244,6 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class AuthorizationLoggingOptions
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
247
  class Autoscaler
254
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
249
 
@@ -6938,13 +6932,6 @@ module Google
6938
6932
  end
6939
6933
  end
6940
6934
 
6941
- class AuthorizationLoggingOptions
6942
- # @private
6943
- class Representation < Google::Apis::Core::JsonRepresentation
6944
- property :permission_type, as: 'permissionType'
6945
- end
6946
- end
6947
-
6948
6935
  class Autoscaler
6949
6936
  # @private
6950
6937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7915,6 +7902,7 @@ module Google
7915
7902
  class Disk
7916
7903
  # @private
7917
7904
  class Representation < Google::Apis::Core::JsonRepresentation
7905
+ property :access_mode, as: 'accessMode'
7918
7906
  property :architecture, as: 'architecture'
7919
7907
  property :async_primary_disk, as: 'asyncPrimaryDisk', class: Google::Apis::ComputeV1::DiskAsyncReplication, decorator: Google::Apis::ComputeV1::DiskAsyncReplication::Representation
7920
7908
 
@@ -11627,8 +11615,6 @@ module Google
11627
11615
  class LogConfigCloudAuditOptions
11628
11616
  # @private
11629
11617
  class Representation < Google::Apis::Core::JsonRepresentation
11630
- property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::ComputeV1::AuthorizationLoggingOptions, decorator: Google::Apis::ComputeV1::AuthorizationLoggingOptions::Representation
11631
-
11632
11618
  property :log_name, as: 'logName'
11633
11619
  end
11634
11620
  end
@@ -33483,7 +33483,13 @@ module Google
33483
33483
  # To exclude one or more fields, set your request's `fields` query parameter to
33484
33484
  # only include the fields you need. For example, to only include the `id` and `
33485
33485
  # selfLink` fields, add the query parameter `?fields=id,selfLink` to your
33486
- # request.
33486
+ # request. This method fails if the quota information is unavailable for the
33487
+ # region and if the organization policy constraint compute.
33488
+ # requireBasicQuotaInResponse is enforced. This constraint, when enforced,
33489
+ # disables the fail-open behaviour when quota information (the `items.quotas`
33490
+ # field) is unavailable for the region. It is recommended to use the default
33491
+ # setting for the constraint unless your application requires the fail-closed
33492
+ # behaviour for this method.
33487
33493
  # @param [String] project
33488
33494
  # Project ID for this request.
33489
33495
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.0
4
+ version: 0.98.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
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.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-compute_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.97.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.98.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []