google-apis-compute_beta 0.100.0 → 0.102.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: 7ed2c184a58b773410b99b9e1340b49d77a1577cb4377e99df0bfc034fab4acd
4
- data.tar.gz: fba204fa62c8f0236dbf21a265ca454301aa2771d3ca1f865d57c3bfdf7358a5
3
+ metadata.gz: 62d0742137425557000381864d56aa19ef84d6c35692536efadb33b0db30549c
4
+ data.tar.gz: 5f1cfa73eefa4914b01eaea15e7253f6e3cef096ec7f2fba5b823be290b8f716
5
5
  SHA512:
6
- metadata.gz: 4f046c2c76934bbd04039c362bcbb2ac1450daf0bc8f53e4725923e607189fe6ed9bd604735f08e5a522674ac171b5f17aee37bf3ce4e616fb40de0872d96a36
7
- data.tar.gz: e4779c58a17b87ddfec1c78e23166d617ec41bd031ed26760045337c6189b148503d02435a4f19b0af0714fe288d10c1c28823276879d2735f1c7f1070d5c807
6
+ metadata.gz: 1fb0f3ff5711f3aabfb45815e0b5669ec45d385b406c0c3ec475738aa641f1145b08559db2c724970931f4967492d60bd968feecc27e63b06f5eb911cca9b5ac
7
+ data.tar.gz: bf51acb988306e220045c444ed0467bfc151015b9991b6e977d7dd92b57ccf6fc36bd15fa017a11325e90fb4e136c4d21a7f1bc524fb1ffa267e677489961125
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.102.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240519
6
+
7
+ ### v0.101.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240507
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.100.0 (2024-04-28)
4
13
 
5
14
  * 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]
@@ -1507,8 +1507,10 @@ module Google
1507
1507
  # the disk or when you attach the disk to a virtual machine instance. If you do
1508
1508
  # not provide an encryption key, then the disk will be encrypted using an
1509
1509
  # automatically generated key and you do not need to provide a key to use the
1510
- # disk later. Instance templates do not store customer-supplied encryption keys,
1511
- # so you cannot use your own keys to encrypt disks in a managed instance group.
1510
+ # disk later. Note: Instance templates do not store customer-supplied encryption
1511
+ # keys, so you cannot use your own keys to encrypt disks in a managed instance
1512
+ # group. You cannot create VMs that have disks with customer-supplied keys using
1513
+ # the bulk insert method.
1512
1514
  # Corresponds to the JSON property `diskEncryptionKey`
1513
1515
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1514
1516
  attr_accessor :disk_encryption_key
@@ -1953,25 +1955,6 @@ module Google
1953
1955
  end
1954
1956
  end
1955
1957
 
1956
- # This is deprecated and has no effect. Do not use.
1957
- class AuthorizationLoggingOptions
1958
- include Google::Apis::Core::Hashable
1959
-
1960
- # This is deprecated and has no effect. Do not use.
1961
- # Corresponds to the JSON property `permissionType`
1962
- # @return [String]
1963
- attr_accessor :permission_type
1964
-
1965
- def initialize(**args)
1966
- update!(**args)
1967
- end
1968
-
1969
- # Update properties of this object
1970
- def update!(**args)
1971
- @permission_type = args[:permission_type] if args.key?(:permission_type)
1972
- end
1973
- end
1974
-
1975
1958
  # Represents an Autoscaler resource. Google Compute Engine has two Autoscaler
1976
1959
  # resources: * [Zonal](/compute/docs/reference/rest/beta/autoscalers) * [
1977
1960
  # Regional](/compute/docs/reference/rest/beta/regionAutoscalers) Use autoscalers
@@ -6666,6 +6649,16 @@ module Google
6666
6649
  class Disk
6667
6650
  include Google::Apis::Core::Hashable
6668
6651
 
6652
+ # The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode,
6653
+ # means the disk can be attached to single instance in RW mode. -
6654
+ # READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple
6655
+ # instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be
6656
+ # attached to multiple instances in RO mode. The AccessMode is only valid for
6657
+ # Hyperdisk disk types.
6658
+ # Corresponds to the JSON property `accessMode`
6659
+ # @return [String]
6660
+ attr_accessor :access_mode
6661
+
6669
6662
  # The architecture of the disk. Valid values are ARM64 or X86_64.
6670
6663
  # Corresponds to the JSON property `architecture`
6671
6664
  # @return [String]
@@ -7075,6 +7068,7 @@ module Google
7075
7068
 
7076
7069
  # Update properties of this object
7077
7070
  def update!(**args)
7071
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
7078
7072
  @architecture = args[:architecture] if args.key?(:architecture)
7079
7073
  @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
7080
7074
  @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
@@ -11910,6 +11904,7 @@ module Google
11910
11904
  attr_accessor :proxy_header
11911
11905
 
11912
11906
  # The request path of the HTTP/2 health check request. The default value is /.
11907
+ # Must comply with RFC3986.
11913
11908
  # Corresponds to the JSON property `requestPath`
11914
11909
  # @return [String]
11915
11910
  attr_accessor :request_path
@@ -11992,6 +11987,7 @@ module Google
11992
11987
  attr_accessor :proxy_header
11993
11988
 
11994
11989
  # The request path of the HTTP health check request. The default value is /.
11990
+ # Must comply with RFC3986.
11995
11991
  # Corresponds to the JSON property `requestPath`
11996
11992
  # @return [String]
11997
11993
  attr_accessor :request_path
@@ -12074,6 +12070,7 @@ module Google
12074
12070
  attr_accessor :proxy_header
12075
12071
 
12076
12072
  # The request path of the HTTPS health check request. The default value is /.
12073
+ # Must comply with RFC3986.
12077
12074
  # Corresponds to the JSON property `requestPath`
12078
12075
  # @return [String]
12079
12076
  attr_accessor :request_path
@@ -12200,13 +12197,13 @@ module Google
12200
12197
 
12201
12198
  # The list of cloud regions from which health checks are performed. If any
12202
12199
  # regions are specified, then exactly 3 regions should be specified. The region
12203
- # names must be valid names of GCP regions. This can only be set for global
12204
- # health check. If this list is non-empty, then there are restrictions on what
12205
- # other health check fields are supported and what other resources can use this
12206
- # health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
12207
- # request field is not supported. - The proxyHeader field for HTTP, HTTPS, and
12208
- # TCP is not supported. - The checkIntervalSec field must be at least 30. - The
12209
- # health check cannot be used with BackendService nor with managed instance
12200
+ # names must be valid names of Google Cloud regions. This can only be set for
12201
+ # global health check. If this list is non-empty, then there are restrictions on
12202
+ # what other health check fields are supported and what other resources can use
12203
+ # this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The
12204
+ # TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS,
12205
+ # and TCP is not supported. - The checkIntervalSec field must be at least 30. -
12206
+ # The health check cannot be used with BackendService nor with managed instance
12210
12207
  # group auto-healing.
12211
12208
  # Corresponds to the JSON property `sourceRegions`
12212
12209
  # @return [Array<String>]
@@ -18845,6 +18842,9 @@ module Google
18845
18842
  attr_accessor :labels
18846
18843
 
18847
18844
  # The machine type to use for instances that are created from these properties.
18845
+ # This field only accept machine types name. e.g. n2-standard-4 and does not
18846
+ # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/
18847
+ # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.
18848
18848
  # Corresponds to the JSON property `machineType`
18849
18849
  # @return [String]
18850
18850
  attr_accessor :machine_type
@@ -23465,11 +23465,6 @@ module Google
23465
23465
  class LogConfigCloudAuditOptions
23466
23466
  include Google::Apis::Core::Hashable
23467
23467
 
23468
- # This is deprecated and has no effect. Do not use.
23469
- # Corresponds to the JSON property `authorizationLoggingOptions`
23470
- # @return [Google::Apis::ComputeBeta::AuthorizationLoggingOptions]
23471
- attr_accessor :authorization_logging_options
23472
-
23473
23468
  # This is deprecated and has no effect. Do not use.
23474
23469
  # Corresponds to the JSON property `logName`
23475
23470
  # @return [String]
@@ -23481,7 +23476,6 @@ module Google
23481
23476
 
23482
23477
  # Update properties of this object
23483
23478
  def update!(**args)
23484
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
23485
23479
  @log_name = args[:log_name] if args.key?(:log_name)
23486
23480
  end
23487
23481
  end
@@ -39637,6 +39631,18 @@ module Google
39637
39631
  # @return [String]
39638
39632
  attr_accessor :self_link_with_id
39639
39633
 
39634
+ # User-provided name of the organization security policy. The name should be
39635
+ # unique in the organization in which the security policy is created. This
39636
+ # should only be used when SecurityPolicyType is CLOUD_ARMOR. The name must be 1-
39637
+ # 63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt.
39638
+ # Specifically, the name must be 1-63 characters long and match the regular
39639
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
39640
+ # be a lowercase letter, and all following characters must be a dash, lowercase
39641
+ # letter, or digit, except the last character, which cannot be a dash.
39642
+ # Corresponds to the JSON property `shortName`
39643
+ # @return [String]
39644
+ attr_accessor :short_name
39645
+
39640
39646
  # The type indicates the intended use of the security policy. - CLOUD_ARMOR:
39641
39647
  # Cloud Armor backend security policies can be configured to filter incoming
39642
39648
  # HTTP requests targeting backend services. They filter requests before they hit
@@ -39692,6 +39698,7 @@ module Google
39692
39698
  @rules = args[:rules] if args.key?(:rules)
39693
39699
  @self_link = args[:self_link] if args.key?(:self_link)
39694
39700
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
39701
+ @short_name = args[:short_name] if args.key?(:short_name)
39695
39702
  @type = args[:type] if args.key?(:type)
39696
39703
  @user_defined_fields = args[:user_defined_fields] if args.key?(:user_defined_fields)
39697
39704
  end
@@ -39977,6 +39984,16 @@ module Google
39977
39984
  # @return [String]
39978
39985
  attr_accessor :display_name
39979
39986
 
39987
+ # A list of folders to exclude from the security policy.
39988
+ # Corresponds to the JSON property `excludedFolders`
39989
+ # @return [Array<String>]
39990
+ attr_accessor :excluded_folders
39991
+
39992
+ # A list of projects to exclude from the security policy.
39993
+ # Corresponds to the JSON property `excludedProjects`
39994
+ # @return [Array<String>]
39995
+ attr_accessor :excluded_projects
39996
+
39980
39997
  # The name for an association.
39981
39998
  # Corresponds to the JSON property `name`
39982
39999
  # @return [String]
@@ -39987,6 +40004,11 @@ module Google
39987
40004
  # @return [String]
39988
40005
  attr_accessor :security_policy_id
39989
40006
 
40007
+ # [Output Only] The short name of the security policy of the association.
40008
+ # Corresponds to the JSON property `shortName`
40009
+ # @return [String]
40010
+ attr_accessor :short_name
40011
+
39990
40012
  def initialize(**args)
39991
40013
  update!(**args)
39992
40014
  end
@@ -39995,8 +40017,11 @@ module Google
39995
40017
  def update!(**args)
39996
40018
  @attachment_id = args[:attachment_id] if args.key?(:attachment_id)
39997
40019
  @display_name = args[:display_name] if args.key?(:display_name)
40020
+ @excluded_folders = args[:excluded_folders] if args.key?(:excluded_folders)
40021
+ @excluded_projects = args[:excluded_projects] if args.key?(:excluded_projects)
39998
40022
  @name = args[:name] if args.key?(:name)
39999
40023
  @security_policy_id = args[:security_policy_id] if args.key?(:security_policy_id)
40024
+ @short_name = args[:short_name] if args.key?(:short_name)
40000
40025
  end
40001
40026
  end
40002
40027
 
@@ -42606,7 +42631,8 @@ module Google
42606
42631
  include Google::Apis::Core::Hashable
42607
42632
 
42608
42633
  # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
42609
- # locations listed in this field. Keys are GCS bucket locations.
42634
+ # locations listed in this field. Keys are Cloud Storage bucket locations. Only
42635
+ # one location can be specified.
42610
42636
  # Corresponds to the JSON property `locations`
42611
42637
  # @return [Hash<String,Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
42612
42638
  attr_accessor :locations
@@ -42631,7 +42657,8 @@ module Google
42631
42657
  class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
42632
42658
  include Google::Apis::Core::Hashable
42633
42659
 
42634
- # Name of the location. It should be one of the GCS buckets.
42660
+ # Name of the location. It should be one of the Cloud Storage buckets. Only one
42661
+ # location can be specified.
42635
42662
  # Corresponds to the JSON property `name`
42636
42663
  # @return [String]
42637
42664
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.100.0"
19
+ GEM_VERSION = "0.102.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
 
@@ -7402,13 +7396,6 @@ module Google
7402
7396
  end
7403
7397
  end
7404
7398
 
7405
- class AuthorizationLoggingOptions
7406
- # @private
7407
- class Representation < Google::Apis::Core::JsonRepresentation
7408
- property :permission_type, as: 'permissionType'
7409
- end
7410
- end
7411
-
7412
7399
  class Autoscaler
7413
7400
  # @private
7414
7401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8451,6 +8438,7 @@ module Google
8451
8438
  class Disk
8452
8439
  # @private
8453
8440
  class Representation < Google::Apis::Core::JsonRepresentation
8441
+ property :access_mode, as: 'accessMode'
8454
8442
  property :architecture, as: 'architecture'
8455
8443
  property :async_primary_disk, as: 'asyncPrimaryDisk', class: Google::Apis::ComputeBeta::DiskAsyncReplication, decorator: Google::Apis::ComputeBeta::DiskAsyncReplication::Representation
8456
8444
 
@@ -12513,8 +12501,6 @@ module Google
12513
12501
  class LogConfigCloudAuditOptions
12514
12502
  # @private
12515
12503
  class Representation < Google::Apis::Core::JsonRepresentation
12516
- property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::ComputeBeta::AuthorizationLoggingOptions, decorator: Google::Apis::ComputeBeta::AuthorizationLoggingOptions::Representation
12517
-
12518
12504
  property :log_name, as: 'logName'
12519
12505
  end
12520
12506
  end
@@ -16646,6 +16632,7 @@ module Google
16646
16632
 
16647
16633
  property :self_link, as: 'selfLink'
16648
16634
  property :self_link_with_id, as: 'selfLinkWithId'
16635
+ property :short_name, as: 'shortName'
16649
16636
  property :type, as: 'type'
16650
16637
  collection :user_defined_fields, as: 'userDefinedFields', class: Google::Apis::ComputeBeta::SecurityPolicyUserDefinedField, decorator: Google::Apis::ComputeBeta::SecurityPolicyUserDefinedField::Representation
16651
16638
 
@@ -16730,8 +16717,11 @@ module Google
16730
16717
  class Representation < Google::Apis::Core::JsonRepresentation
16731
16718
  property :attachment_id, as: 'attachmentId'
16732
16719
  property :display_name, as: 'displayName'
16720
+ collection :excluded_folders, as: 'excludedFolders'
16721
+ collection :excluded_projects, as: 'excludedProjects'
16733
16722
  property :name, as: 'name'
16734
16723
  property :security_policy_id, as: 'securityPolicyId'
16724
+ property :short_name, as: 'shortName'
16735
16725
  end
16736
16726
  end
16737
16727
 
@@ -37059,7 +37059,13 @@ module Google
37059
37059
  # To exclude one or more fields, set your request's `fields` query parameter to
37060
37060
  # only include the fields you need. For example, to only include the `id` and `
37061
37061
  # selfLink` fields, add the query parameter `?fields=id,selfLink` to your
37062
- # request.
37062
+ # request. This method fails if the quota information is unavailable for the
37063
+ # region and if the organization policy constraint compute.
37064
+ # requireBasicQuotaInResponse is enforced. This constraint, when enforced,
37065
+ # disables the fail-open behaviour when quota information (the `items.quotas`
37066
+ # field) is unavailable for the region. It is recommended to use the default
37067
+ # setting for the constraint unless your application requires the fail-closed
37068
+ # behaviour for this method.
37063
37069
  # @param [String] project
37064
37070
  # Project ID for this request.
37065
37071
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.100.0
4
+ version: 0.102.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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.100.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.102.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []