google-apis-compute_alpha 0.100.0 → 0.102.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: 7f5bc21525efea3314ce7920b39fa53d548ad16904802266970475a72902a3e5
4
- data.tar.gz: d1bda9b9c5d885e4834dac09799af24cbc1bd8d1973b12e43b32ad3166f61e9e
3
+ metadata.gz: a09e98dfdd2109466be5681821bee5c88e2e06cba1427f6f1ce8d32d9626b107
4
+ data.tar.gz: 8bb562080074d515fc31cfa92c598653e187acd65e1511c37704bcdb2e23ffac
5
5
  SHA512:
6
- metadata.gz: edf84f23a0b32028ac7408b2bfc1f028e8c5427fe131f6203be35f15132425dee6002cc918383be5413be6f57218d2dada85bb392bc074f2241b4850cdee96a3
7
- data.tar.gz: 718623cfd5cf4934cd05cc3e72dc2c25ffc2cda788266996d8e60d11ffd3c3b789a7b85b6138c7831866620e68dbf7e9a41c3b3146c89189b6ee8ff8440f515e
6
+ metadata.gz: 73104f6eb9339f0b7d036a9350cf116f12d1328cc3d83475e787643d599eb142f67f74597ab89faf2443f32c25d17f6039e97dd9edf63f22275d515b090851b8
7
+ data.tar.gz: 4cd8f458aba7838d1ba047a14adbad73d2ad72123a4ae80f55b5f97f647541f19b9c7dc7c917c82a096c516ff06d4813d52bcc6d88bcaa6796afc889d5ab82c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.102.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240526
6
+
7
+ ### v0.101.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240519
10
+
3
11
  ### v0.100.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240507
@@ -1552,8 +1552,10 @@ module Google
1552
1552
  # the disk or when you attach the disk to a virtual machine instance. If you do
1553
1553
  # not provide an encryption key, then the disk will be encrypted using an
1554
1554
  # automatically generated key and you do not need to provide a key to use the
1555
- # disk later. Instance templates do not store customer-supplied encryption keys,
1556
- # so you cannot use your own keys to encrypt disks in a managed instance group.
1555
+ # disk later. Note: Instance templates do not store customer-supplied encryption
1556
+ # keys, so you cannot use your own keys to encrypt disks in a managed instance
1557
+ # group. You cannot create VMs that have disks with customer-supplied keys using
1558
+ # the bulk insert method.
1557
1559
  # Corresponds to the JSON property `diskEncryptionKey`
1558
1560
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1559
1561
  attr_accessor :disk_encryption_key
@@ -1646,12 +1648,11 @@ module Google
1646
1648
  attr_accessor :shielded_instance_initial_state
1647
1649
 
1648
1650
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1649
- # When creating a new instance, one of initializeParams.sourceImage or
1650
- # initializeParams.sourceSnapshot or disks.source is required except for local
1651
- # SSD. If desired, you can also attach existing non-root persistent disks using
1652
- # this property. This field is only applicable for persistent disks. Note that
1653
- # for InstanceTemplate, specify the disk name for zonal disk, and the URL for
1654
- # regional disk.
1651
+ # When creating a new instance boot disk, one of initializeParams.sourceImage or
1652
+ # initializeParams.sourceSnapshot or disks.source is required. If desired, you
1653
+ # can also attach existing non-root persistent disks using this property. This
1654
+ # field is only applicable for persistent disks. Note that for InstanceTemplate,
1655
+ # specify the disk name for zonal disk, and the URL for regional disk.
1655
1656
  # Corresponds to the JSON property `source`
1656
1657
  # @return [String]
1657
1658
  attr_accessor :source
@@ -1833,19 +1834,19 @@ module Google
1833
1834
  # @return [Array<String>]
1834
1835
  attr_accessor :resource_policies
1835
1836
 
1836
- # The source image to create this disk. When creating a new instance, one of
1837
- # initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
1838
- # source is required except for local SSD. To create a disk with one of the
1839
- # public operating system images, specify the image by its family name. For
1840
- # example, specify family/debian-9 to use the latest Debian 9 image: projects/
1841
- # debian-cloud/global/images/family/debian-9 Alternatively, use a specific
1842
- # version of a public operating system image: projects/debian-cloud/global/
1843
- # images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that
1844
- # you created, specify the image name in the following format: global/images/my-
1845
- # custom-image You can also specify a custom image by its image family, which
1846
- # returns the latest version of the image in that family. Replace the image name
1847
- # with family/family-name: global/images/family/my-image-family If the source
1848
- # image is deleted later, this field will not be set.
1837
+ # The source image to create this disk. When creating a new instance boot disk,
1838
+ # one of initializeParams.sourceImage or initializeParams.sourceSnapshot or
1839
+ # disks.source is required. To create a disk with one of the public operating
1840
+ # system images, specify the image by its family name. For example, specify
1841
+ # family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/
1842
+ # images/family/debian-9 Alternatively, use a specific version of a public
1843
+ # operating system image: projects/debian-cloud/global/images/debian-9-stretch-
1844
+ # vYYYYMMDD To create a disk with a custom image that you created, specify the
1845
+ # image name in the following format: global/images/my-custom-image You can also
1846
+ # specify a custom image by its image family, which returns the latest version
1847
+ # of the image in that family. Replace the image name with family/family-name:
1848
+ # global/images/family/my-image-family If the source image is deleted later,
1849
+ # this field will not be set.
1849
1850
  # Corresponds to the JSON property `sourceImage`
1850
1851
  # @return [String]
1851
1852
  attr_accessor :source_image
@@ -1859,23 +1860,21 @@ module Google
1859
1860
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1860
1861
  attr_accessor :source_image_encryption_key
1861
1862
 
1862
- # The source instant-snapshot to create this disk. When creating a new instance,
1863
- # one of initializeParams.sourceSnapshot or initializeParams.
1864
- # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
1865
- # except for local SSD. To create a disk with a snapshot that you created,
1866
- # specify the snapshot name in the following format: us-central1-a/
1867
- # instantSnapshots/my-backup If the source instant-snapshot is deleted later,
1868
- # this field will not be set.
1863
+ # The source instant-snapshot to create this disk. When creating a new instance
1864
+ # boot disk, one of initializeParams.sourceSnapshot or initializeParams.
1865
+ # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required.
1866
+ # To create a disk with a snapshot that you created, specify the snapshot name
1867
+ # in the following format: us-central1-a/instantSnapshots/my-backup If the
1868
+ # source instant-snapshot is deleted later, this field will not be set.
1869
1869
  # Corresponds to the JSON property `sourceInstantSnapshot`
1870
1870
  # @return [String]
1871
1871
  attr_accessor :source_instant_snapshot
1872
1872
 
1873
- # The source snapshot to create this disk. When creating a new instance, one of
1874
- # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1875
- # source is required except for local SSD. To create a disk with a snapshot that
1876
- # you created, specify the snapshot name in the following format: global/
1877
- # snapshots/my-backup If the source snapshot is deleted later, this field will
1878
- # not be set.
1873
+ # The source snapshot to create this disk. When creating a new instance boot
1874
+ # disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
1875
+ # or disks.source is required. To create a disk with a snapshot that you created,
1876
+ # specify the snapshot name in the following format: global/snapshots/my-backup
1877
+ # If the source snapshot is deleted later, this field will not be set.
1879
1878
  # Corresponds to the JSON property `sourceSnapshot`
1880
1879
  # @return [String]
1881
1880
  attr_accessor :source_snapshot
@@ -10540,6 +10539,11 @@ module Google
10540
10539
  # @return [Array<String>]
10541
10540
  attr_accessor :dest_ip_ranges
10542
10541
 
10542
+ # Network scope of the traffic destination.
10543
+ # Corresponds to the JSON property `destNetworkScope`
10544
+ # @return [String]
10545
+ attr_accessor :dest_network_scope
10546
+
10543
10547
  # Region codes whose IP addresses will be used to match for destination of
10544
10548
  # traffic. Should be specified as 2 letter country code defined as per ISO 3166
10545
10549
  # alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is
@@ -10576,6 +10580,16 @@ module Google
10576
10580
  # @return [Array<String>]
10577
10581
  attr_accessor :src_ip_ranges
10578
10582
 
10583
+ # Network scope of the traffic source.
10584
+ # Corresponds to the JSON property `srcNetworkScope`
10585
+ # @return [String]
10586
+ attr_accessor :src_network_scope
10587
+
10588
+ # Networks of the traffic source. It can be either a full or partial url.
10589
+ # Corresponds to the JSON property `srcNetworks`
10590
+ # @return [Array<String>]
10591
+ attr_accessor :src_networks
10592
+
10579
10593
  # Region codes whose IP addresses will be used to match for source of traffic.
10580
10594
  # Should be specified as 2 letter country code defined as per ISO 3166 alpha-2
10581
10595
  # country codes. ex."US" Maximum number of source region codes allowed is 5000.
@@ -10606,12 +10620,15 @@ module Google
10606
10620
  @dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
10607
10621
  @dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
10608
10622
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
10623
+ @dest_network_scope = args[:dest_network_scope] if args.key?(:dest_network_scope)
10609
10624
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
10610
10625
  @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
10611
10626
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
10612
10627
  @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
10613
10628
  @src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
10614
10629
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
10630
+ @src_network_scope = args[:src_network_scope] if args.key?(:src_network_scope)
10631
+ @src_networks = args[:src_networks] if args.key?(:src_networks)
10615
10632
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
10616
10633
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
10617
10634
  @src_threat_intelligences = args[:src_threat_intelligences] if args.key?(:src_threat_intelligences)
@@ -17230,6 +17247,18 @@ module Google
17230
17247
  # @return [String]
17231
17248
  attr_accessor :region
17232
17249
 
17250
+ # [Output Only] Reserved for future use.
17251
+ # Corresponds to the JSON property `satisfiesPzi`
17252
+ # @return [Boolean]
17253
+ attr_accessor :satisfies_pzi
17254
+ alias_method :satisfies_pzi?, :satisfies_pzi
17255
+
17256
+ # [Output Only] Reserved for future use.
17257
+ # Corresponds to the JSON property `satisfiesPzs`
17258
+ # @return [Boolean]
17259
+ attr_accessor :satisfies_pzs
17260
+ alias_method :satisfies_pzs?, :satisfies_pzs
17261
+
17233
17262
  # [Output Only] The URL for this managed instance group. The server defines this
17234
17263
  # URL.
17235
17264
  # Corresponds to the JSON property `selfLink`
@@ -17347,6 +17376,8 @@ module Google
17347
17376
  @named_ports = args[:named_ports] if args.key?(:named_ports)
17348
17377
  @params = args[:params] if args.key?(:params)
17349
17378
  @region = args[:region] if args.key?(:region)
17379
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
17380
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
17350
17381
  @self_link = args[:self_link] if args.key?(:self_link)
17351
17382
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
17352
17383
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -20267,6 +20298,9 @@ module Google
20267
20298
  attr_accessor :labels
20268
20299
 
20269
20300
  # The machine type to use for instances that are created from these properties.
20301
+ # This field only accept machine types name. e.g. n2-standard-4 and does not
20302
+ # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/
20303
+ # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.
20270
20304
  # Corresponds to the JSON property `machineType`
20271
20305
  # @return [String]
20272
20306
  attr_accessor :machine_type
@@ -27211,6 +27245,15 @@ module Google
27211
27245
  # @return [String]
27212
27246
  attr_accessor :network_placement
27213
27247
 
27248
+ # A full or partial URL of the network profile to apply to this network. This
27249
+ # field can be set only at resource creation time. For example, the following
27250
+ # are valid URLs: - https://www.googleapis.com/compute/alpha/projects/`
27251
+ # project_id`/global/networkProfiles/`network_profile_name` - projects/`
27252
+ # project_id`/global/networkProfiles/`network_profile_name`
27253
+ # Corresponds to the JSON property `networkProfile`
27254
+ # @return [String]
27255
+ attr_accessor :network_profile
27256
+
27214
27257
  # [Output Only] A list of network peerings for the resource.
27215
27258
  # Corresponds to the JSON property `peerings`
27216
27259
  # @return [Array<Google::Apis::ComputeAlpha::NetworkPeering>]
@@ -27266,6 +27309,7 @@ module Google
27266
27309
  @name = args[:name] if args.key?(:name)
27267
27310
  @network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
27268
27311
  @network_placement = args[:network_placement] if args.key?(:network_placement)
27312
+ @network_profile = args[:network_profile] if args.key?(:network_profile)
27269
27313
  @peerings = args[:peerings] if args.key?(:peerings)
27270
27314
  @region = args[:region] if args.key?(:region)
27271
27315
  @routing_config = args[:routing_config] if args.key?(:routing_config)
@@ -58197,7 +58241,7 @@ module Google
58197
58241
  end
58198
58242
 
58199
58243
  # Represents a Zone resource. A zone is a deployment area. These deployment
58200
- # areas are subsets of a region. For example the zone us-east1-a is located in
58244
+ # areas are subsets of a region. For example the zone us-east1-b is located in
58201
58245
  # the us-east1 region. For more information, read Regions and Zones.
58202
58246
  class Zone
58203
58247
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha 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
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240507"
25
+ REVISION = "20240526"
26
26
  end
27
27
  end
28
28
  end
@@ -10084,6 +10084,7 @@ module Google
10084
10084
  collection :dest_address_groups, as: 'destAddressGroups'
10085
10085
  collection :dest_fqdns, as: 'destFqdns'
10086
10086
  collection :dest_ip_ranges, as: 'destIpRanges'
10087
+ property :dest_network_scope, as: 'destNetworkScope'
10087
10088
  collection :dest_region_codes, as: 'destRegionCodes'
10088
10089
  collection :dest_threat_intelligences, as: 'destThreatIntelligences'
10089
10090
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
@@ -10091,6 +10092,8 @@ module Google
10091
10092
  collection :src_address_groups, as: 'srcAddressGroups'
10092
10093
  collection :src_fqdns, as: 'srcFqdns'
10093
10094
  collection :src_ip_ranges, as: 'srcIpRanges'
10095
+ property :src_network_scope, as: 'srcNetworkScope'
10096
+ collection :src_networks, as: 'srcNetworks'
10094
10097
  collection :src_region_codes, as: 'srcRegionCodes'
10095
10098
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
10096
10099
 
@@ -11603,6 +11606,8 @@ module Google
11603
11606
  property :params, as: 'params', class: Google::Apis::ComputeAlpha::InstanceGroupManagerParams, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerParams::Representation
11604
11607
 
11605
11608
  property :region, as: 'region'
11609
+ property :satisfies_pzi, as: 'satisfiesPzi'
11610
+ property :satisfies_pzs, as: 'satisfiesPzs'
11606
11611
  property :self_link, as: 'selfLink'
11607
11612
  property :self_link_with_id, as: 'selfLinkWithId'
11608
11613
  property :service_account, as: 'serviceAccount'
@@ -14192,6 +14197,7 @@ module Google
14192
14197
  property :name, as: 'name'
14193
14198
  property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
14194
14199
  property :network_placement, as: 'networkPlacement'
14200
+ property :network_profile, as: 'networkProfile'
14195
14201
  collection :peerings, as: 'peerings', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
14196
14202
 
14197
14203
  property :region, as: 'region'
@@ -23145,8 +23145,8 @@ module Google
23145
23145
  execute_or_queue_command(command, &block)
23146
23146
  end
23147
23147
 
23148
- # Patches the specified network with the data included in the request. Only the
23149
- # following fields can be modified: routingConfig.routingMode.
23148
+ # Patches the specified network with the data included in the request. Only
23149
+ # routingConfig can be modified.
23150
23150
  # @param [String] project
23151
23151
  # Project ID for this request.
23152
23152
  # @param [String] network
@@ -39424,7 +39424,13 @@ module Google
39424
39424
  # To exclude one or more fields, set your request's `fields` query parameter to
39425
39425
  # only include the fields you need. For example, to only include the `id` and `
39426
39426
  # selfLink` fields, add the query parameter `?fields=id,selfLink` to your
39427
- # request.
39427
+ # request. This method fails if the quota information is unavailable for the
39428
+ # region and if the organization policy constraint compute.
39429
+ # requireBasicQuotaInResponse is enforced. This constraint, when enforced,
39430
+ # disables the fail-open behaviour when quota information (the `items.quotas`
39431
+ # field) is unavailable for the region. It is recommended to use the default
39432
+ # setting for the constraint unless your application requires the fail-closed
39433
+ # behaviour for this method.
39428
39434
  # @param [String] project
39429
39435
  # Project ID for this request.
39430
39436
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
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-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-02 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-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.100.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.102.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []