google-apis-compute_alpha 0.101.0 → 0.103.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: 5adc90310c792709913f87aa940ddd44065cfdaadb510263c33adab10ddf0903
4
- data.tar.gz: ebd6e2c490bfb32a188597980592c0dd05469f1fbfe81bc472d29ae291cb7788
3
+ metadata.gz: da0f4cd8a82d490f00516c6e311a725b8d3a6316fd34fc50d76c3c6e4cbc24b0
4
+ data.tar.gz: f0adc4ee646638c24836d153eb246058bfd53703433dc02f168452e0c4aa6829
5
5
  SHA512:
6
- metadata.gz: 96ba25d2aeae5b3cca0eac53b6d9e4a62ba840b08055cc3b5f7d4ecce1f6fd39250ba6f4b7b0c4f4b8b9aacf27003cddbd3078db7963c2aebb2ddfba0c3e0973
7
- data.tar.gz: d90608325e4603b6cac4b2831967a3fb9d197142cefc5156ef4ff5df572a90d33e10091b3e61e0cea0448f50e19ac09b3f571be15482063e34c3e344f21082a0
6
+ metadata.gz: ece831d3bee0c4d8899f42df12e13fa41c32fb2901853e2640b6f4afd7a912622df968c8230bcfc948ae2c3aef100a6ade89c0a234a8eb8131e5428841fea6cd
7
+ data.tar.gz: b2c7cd7603f937444a4314e1eb29e5b418e7625776d1004990629ebcc85f550ca8b82e0ee31f9ae1fc8ef7bf42f925e1f6503644a9bd5a0315f3b39a751ba1b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.103.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240604
6
+
7
+ ### v0.102.0 (2024-06-02)
8
+
9
+ * Regenerated from discovery document revision 20240526
10
+
3
11
  ### v0.101.0 (2024-05-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240519
@@ -1194,6 +1194,12 @@ module Google
1194
1194
  # @return [Fixnum]
1195
1195
  attr_accessor :threads_per_core
1196
1196
 
1197
+ # Turbo mode to use for the instance. Supported modes include: * ALL_CORE_MAX
1198
+ # Using empty string or not setting this field will use the default turbo mode.
1199
+ # Corresponds to the JSON property `turboMode`
1200
+ # @return [String]
1201
+ attr_accessor :turbo_mode
1202
+
1197
1203
  # The number of physical cores to expose to an instance. Multiply by the number
1198
1204
  # of threads per core to compute the total number of virtual CPUs to expose to
1199
1205
  # the instance. If unset, the number of cores is inferred from the instance's
@@ -1214,6 +1220,7 @@ module Google
1214
1220
  @numa_node_count = args[:numa_node_count] if args.key?(:numa_node_count)
1215
1221
  @performance_monitoring_unit = args[:performance_monitoring_unit] if args.key?(:performance_monitoring_unit)
1216
1222
  @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
1223
+ @turbo_mode = args[:turbo_mode] if args.key?(:turbo_mode)
1217
1224
  @visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
1218
1225
  end
1219
1226
  end
@@ -1648,12 +1655,11 @@ module Google
1648
1655
  attr_accessor :shielded_instance_initial_state
1649
1656
 
1650
1657
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1651
- # When creating a new instance, one of initializeParams.sourceImage or
1652
- # initializeParams.sourceSnapshot or disks.source is required except for local
1653
- # SSD. If desired, you can also attach existing non-root persistent disks using
1654
- # this property. This field is only applicable for persistent disks. Note that
1655
- # for InstanceTemplate, specify the disk name for zonal disk, and the URL for
1656
- # regional disk.
1658
+ # When creating a new instance boot disk, one of initializeParams.sourceImage or
1659
+ # initializeParams.sourceSnapshot or disks.source is required. If desired, you
1660
+ # can also attach existing non-root persistent disks using this property. This
1661
+ # field is only applicable for persistent disks. Note that for InstanceTemplate,
1662
+ # specify the disk name for zonal disk, and the URL for regional disk.
1657
1663
  # Corresponds to the JSON property `source`
1658
1664
  # @return [String]
1659
1665
  attr_accessor :source
@@ -1835,19 +1841,19 @@ module Google
1835
1841
  # @return [Array<String>]
1836
1842
  attr_accessor :resource_policies
1837
1843
 
1838
- # The source image to create this disk. When creating a new instance, one of
1839
- # initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
1840
- # source is required except for local SSD. To create a disk with one of the
1841
- # public operating system images, specify the image by its family name. For
1842
- # example, specify family/debian-9 to use the latest Debian 9 image: projects/
1843
- # debian-cloud/global/images/family/debian-9 Alternatively, use a specific
1844
- # version of a public operating system image: projects/debian-cloud/global/
1845
- # images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that
1846
- # you created, specify the image name in the following format: global/images/my-
1847
- # custom-image You can also specify a custom image by its image family, which
1848
- # returns the latest version of the image in that family. Replace the image name
1849
- # with family/family-name: global/images/family/my-image-family If the source
1850
- # image is deleted later, this field will not be set.
1844
+ # The source image to create this disk. When creating a new instance boot disk,
1845
+ # one of initializeParams.sourceImage or initializeParams.sourceSnapshot or
1846
+ # disks.source is required. To create a disk with one of the public operating
1847
+ # system images, specify the image by its family name. For example, specify
1848
+ # family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/
1849
+ # images/family/debian-9 Alternatively, use a specific version of a public
1850
+ # operating system image: projects/debian-cloud/global/images/debian-9-stretch-
1851
+ # vYYYYMMDD To create a disk with a custom image that you created, specify the
1852
+ # image name in the following format: global/images/my-custom-image You can also
1853
+ # specify a custom image by its image family, which returns the latest version
1854
+ # of the image in that family. Replace the image name with family/family-name:
1855
+ # global/images/family/my-image-family If the source image is deleted later,
1856
+ # this field will not be set.
1851
1857
  # Corresponds to the JSON property `sourceImage`
1852
1858
  # @return [String]
1853
1859
  attr_accessor :source_image
@@ -1861,23 +1867,21 @@ module Google
1861
1867
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1862
1868
  attr_accessor :source_image_encryption_key
1863
1869
 
1864
- # The source instant-snapshot to create this disk. When creating a new instance,
1865
- # one of initializeParams.sourceSnapshot or initializeParams.
1866
- # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
1867
- # except for local SSD. To create a disk with a snapshot that you created,
1868
- # specify the snapshot name in the following format: us-central1-a/
1869
- # instantSnapshots/my-backup If the source instant-snapshot is deleted later,
1870
- # this field will not be set.
1870
+ # The source instant-snapshot to create this disk. When creating a new instance
1871
+ # boot disk, one of initializeParams.sourceSnapshot or initializeParams.
1872
+ # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required.
1873
+ # To create a disk with a snapshot that you created, specify the snapshot name
1874
+ # in the following format: us-central1-a/instantSnapshots/my-backup If the
1875
+ # source instant-snapshot is deleted later, this field will not be set.
1871
1876
  # Corresponds to the JSON property `sourceInstantSnapshot`
1872
1877
  # @return [String]
1873
1878
  attr_accessor :source_instant_snapshot
1874
1879
 
1875
- # The source snapshot to create this disk. When creating a new instance, one of
1876
- # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1877
- # source is required except for local SSD. To create a disk with a snapshot that
1878
- # you created, specify the snapshot name in the following format: global/
1879
- # snapshots/my-backup If the source snapshot is deleted later, this field will
1880
- # not be set.
1880
+ # The source snapshot to create this disk. When creating a new instance boot
1881
+ # disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
1882
+ # or disks.source is required. To create a disk with a snapshot that you created,
1883
+ # specify the snapshot name in the following format: global/snapshots/my-backup
1884
+ # If the source snapshot is deleted later, this field will not be set.
1881
1885
  # Corresponds to the JSON property `sourceSnapshot`
1882
1886
  # @return [String]
1883
1887
  attr_accessor :source_snapshot
@@ -3158,6 +3162,14 @@ module Google
3158
3162
  # @return [String]
3159
3163
  attr_accessor :kind
3160
3164
 
3165
+ # The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load
3166
+ # balancer. If loadBalancingScheme is not specified, the backend bucket can be
3167
+ # used by classic global external load balancers, or global application external
3168
+ # load balancers, or both.
3169
+ # Corresponds to the JSON property `loadBalancingScheme`
3170
+ # @return [String]
3171
+ attr_accessor :load_balancing_scheme
3172
+
3161
3173
  # Name of the resource. Provided by the client when the resource is created. The
3162
3174
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
3163
3175
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -3194,6 +3206,7 @@ module Google
3194
3206
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
3195
3207
  @id = args[:id] if args.key?(:id)
3196
3208
  @kind = args[:kind] if args.key?(:kind)
3209
+ @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3197
3210
  @name = args[:name] if args.key?(:name)
3198
3211
  @self_link = args[:self_link] if args.key?(:self_link)
3199
3212
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -10542,6 +10555,11 @@ module Google
10542
10555
  # @return [Array<String>]
10543
10556
  attr_accessor :dest_ip_ranges
10544
10557
 
10558
+ # Network scope of the traffic destination.
10559
+ # Corresponds to the JSON property `destNetworkScope`
10560
+ # @return [String]
10561
+ attr_accessor :dest_network_scope
10562
+
10545
10563
  # Region codes whose IP addresses will be used to match for destination of
10546
10564
  # traffic. Should be specified as 2 letter country code defined as per ISO 3166
10547
10565
  # alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is
@@ -10578,6 +10596,16 @@ module Google
10578
10596
  # @return [Array<String>]
10579
10597
  attr_accessor :src_ip_ranges
10580
10598
 
10599
+ # Network scope of the traffic source.
10600
+ # Corresponds to the JSON property `srcNetworkScope`
10601
+ # @return [String]
10602
+ attr_accessor :src_network_scope
10603
+
10604
+ # Networks of the traffic source. It can be either a full or partial url.
10605
+ # Corresponds to the JSON property `srcNetworks`
10606
+ # @return [Array<String>]
10607
+ attr_accessor :src_networks
10608
+
10581
10609
  # Region codes whose IP addresses will be used to match for source of traffic.
10582
10610
  # Should be specified as 2 letter country code defined as per ISO 3166 alpha-2
10583
10611
  # country codes. ex."US" Maximum number of source region codes allowed is 5000.
@@ -10608,12 +10636,15 @@ module Google
10608
10636
  @dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
10609
10637
  @dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
10610
10638
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
10639
+ @dest_network_scope = args[:dest_network_scope] if args.key?(:dest_network_scope)
10611
10640
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
10612
10641
  @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
10613
10642
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
10614
10643
  @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
10615
10644
  @src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
10616
10645
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
10646
+ @src_network_scope = args[:src_network_scope] if args.key?(:src_network_scope)
10647
+ @src_networks = args[:src_networks] if args.key?(:src_networks)
10617
10648
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
10618
10649
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
10619
10650
  @src_threat_intelligences = args[:src_threat_intelligences] if args.key?(:src_threat_intelligences)
@@ -17232,6 +17263,18 @@ module Google
17232
17263
  # @return [String]
17233
17264
  attr_accessor :region
17234
17265
 
17266
+ # [Output Only] Reserved for future use.
17267
+ # Corresponds to the JSON property `satisfiesPzi`
17268
+ # @return [Boolean]
17269
+ attr_accessor :satisfies_pzi
17270
+ alias_method :satisfies_pzi?, :satisfies_pzi
17271
+
17272
+ # [Output Only] Reserved for future use.
17273
+ # Corresponds to the JSON property `satisfiesPzs`
17274
+ # @return [Boolean]
17275
+ attr_accessor :satisfies_pzs
17276
+ alias_method :satisfies_pzs?, :satisfies_pzs
17277
+
17235
17278
  # [Output Only] The URL for this managed instance group. The server defines this
17236
17279
  # URL.
17237
17280
  # Corresponds to the JSON property `selfLink`
@@ -17349,6 +17392,8 @@ module Google
17349
17392
  @named_ports = args[:named_ports] if args.key?(:named_ports)
17350
17393
  @params = args[:params] if args.key?(:params)
17351
17394
  @region = args[:region] if args.key?(:region)
17395
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
17396
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
17352
17397
  @self_link = args[:self_link] if args.key?(:self_link)
17353
17398
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
17354
17399
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -26435,6 +26480,12 @@ module Google
26435
26480
  # @return [Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy]
26436
26481
  attr_accessor :properties_from_flexibility_policy
26437
26482
 
26483
+ # [Output only] The size of the VM represented by this Managed Instance. This is
26484
+ # how much this Managed Instance contributes to the size of the group.
26485
+ # Corresponds to the JSON property `sizeInUnit`
26486
+ # @return [Float]
26487
+ attr_accessor :size_in_unit
26488
+
26438
26489
  # [Output Only] Tag describing the version.
26439
26490
  # Corresponds to the JSON property `tag`
26440
26491
  # @return [String]
@@ -26471,6 +26522,7 @@ module Google
26471
26522
  @preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
26472
26523
  @preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
26473
26524
  @properties_from_flexibility_policy = args[:properties_from_flexibility_policy] if args.key?(:properties_from_flexibility_policy)
26525
+ @size_in_unit = args[:size_in_unit] if args.key?(:size_in_unit)
26474
26526
  @tag = args[:tag] if args.key?(:tag)
26475
26527
  @target_status = args[:target_status] if args.key?(:target_status)
26476
26528
  @version = args[:version] if args.key?(:version)
@@ -27216,6 +27268,15 @@ module Google
27216
27268
  # @return [String]
27217
27269
  attr_accessor :network_placement
27218
27270
 
27271
+ # A full or partial URL of the network profile to apply to this network. This
27272
+ # field can be set only at resource creation time. For example, the following
27273
+ # are valid URLs: - https://www.googleapis.com/compute/alpha/projects/`
27274
+ # project_id`/global/networkProfiles/`network_profile_name` - projects/`
27275
+ # project_id`/global/networkProfiles/`network_profile_name`
27276
+ # Corresponds to the JSON property `networkProfile`
27277
+ # @return [String]
27278
+ attr_accessor :network_profile
27279
+
27219
27280
  # [Output Only] A list of network peerings for the resource.
27220
27281
  # Corresponds to the JSON property `peerings`
27221
27282
  # @return [Array<Google::Apis::ComputeAlpha::NetworkPeering>]
@@ -27271,6 +27332,7 @@ module Google
27271
27332
  @name = args[:name] if args.key?(:name)
27272
27333
  @network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
27273
27334
  @network_placement = args[:network_placement] if args.key?(:network_placement)
27335
+ @network_profile = args[:network_profile] if args.key?(:network_profile)
27274
27336
  @peerings = args[:peerings] if args.key?(:peerings)
27275
27337
  @region = args[:region] if args.key?(:region)
27276
27338
  @routing_config = args[:routing_config] if args.key?(:routing_config)
@@ -30010,6 +30072,360 @@ module Google
30010
30072
  end
30011
30073
  end
30012
30074
 
30075
+ # NetworkProfile represents a Google managed network profile resource.
30076
+ class NetworkProfile
30077
+ include Google::Apis::Core::Hashable
30078
+
30079
+ # [Output Only] Creation timestamp in RFC3339 text format.
30080
+ # Corresponds to the JSON property `creationTimestamp`
30081
+ # @return [String]
30082
+ attr_accessor :creation_timestamp
30083
+
30084
+ # [Output Only] An optional description of this resource.
30085
+ # Corresponds to the JSON property `description`
30086
+ # @return [String]
30087
+ attr_accessor :description
30088
+
30089
+ # [Output Only] Features supported by the network.
30090
+ # Corresponds to the JSON property `features`
30091
+ # @return [Google::Apis::ComputeAlpha::NetworkProfileNetworkFeatures]
30092
+ attr_accessor :features
30093
+
30094
+ # [Output Only] The unique identifier for the resource. This identifier is
30095
+ # defined by the server.
30096
+ # Corresponds to the JSON property `id`
30097
+ # @return [Fixnum]
30098
+ attr_accessor :id
30099
+
30100
+ # [Output Only] Type of the resource. Always compute#networkProfile for network
30101
+ # profiles.
30102
+ # Corresponds to the JSON property `kind`
30103
+ # @return [String]
30104
+ attr_accessor :kind
30105
+
30106
+ # [Output Only] Name of the resource.
30107
+ # Corresponds to the JSON property `name`
30108
+ # @return [String]
30109
+ attr_accessor :name
30110
+
30111
+ # [Output Only] Server-defined URL for the resource.
30112
+ # Corresponds to the JSON property `selfLink`
30113
+ # @return [String]
30114
+ attr_accessor :self_link
30115
+
30116
+ # [Output Only] Server-defined URL for this resource with the resource id.
30117
+ # Corresponds to the JSON property `selfLinkWithId`
30118
+ # @return [String]
30119
+ attr_accessor :self_link_with_id
30120
+
30121
+ # [Output Only] Zone to which the network is restricted.
30122
+ # Corresponds to the JSON property `zone`
30123
+ # @return [String]
30124
+ attr_accessor :zone
30125
+
30126
+ def initialize(**args)
30127
+ update!(**args)
30128
+ end
30129
+
30130
+ # Update properties of this object
30131
+ def update!(**args)
30132
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
30133
+ @description = args[:description] if args.key?(:description)
30134
+ @features = args[:features] if args.key?(:features)
30135
+ @id = args[:id] if args.key?(:id)
30136
+ @kind = args[:kind] if args.key?(:kind)
30137
+ @name = args[:name] if args.key?(:name)
30138
+ @self_link = args[:self_link] if args.key?(:self_link)
30139
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
30140
+ @zone = args[:zone] if args.key?(:zone)
30141
+ end
30142
+ end
30143
+
30144
+ #
30145
+ class NetworkProfileNetworkFeatures
30146
+ include Google::Apis::Core::Hashable
30147
+
30148
+ # Specifies what address purposes are supported. If empty, all address purposes
30149
+ # are supported.
30150
+ # Corresponds to the JSON property `addressPurposes`
30151
+ # @return [Array<String>]
30152
+ attr_accessor :address_purposes
30153
+
30154
+ # Specifies whether alias IP ranges (and secondary address ranges) are allowed.
30155
+ # Corresponds to the JSON property `allowAliasIpRanges`
30156
+ # @return [String]
30157
+ attr_accessor :allow_alias_ip_ranges
30158
+
30159
+ # Specifies whether auto mode subnet creation is allowed.
30160
+ # Corresponds to the JSON property `allowAutoModeSubnet`
30161
+ # @return [String]
30162
+ attr_accessor :allow_auto_mode_subnet
30163
+
30164
+ # Specifies whether firewalls for Class D address ranges are supported.
30165
+ # Corresponds to the JSON property `allowClassDFirewalls`
30166
+ # @return [String]
30167
+ attr_accessor :allow_class_d_firewalls
30168
+
30169
+ # Specifies whether cloud NAT creation is allowed.
30170
+ # Corresponds to the JSON property `allowCloudNat`
30171
+ # @return [String]
30172
+ attr_accessor :allow_cloud_nat
30173
+
30174
+ # Specifies whether cloud router creation is allowed.
30175
+ # Corresponds to the JSON property `allowCloudRouter`
30176
+ # @return [String]
30177
+ attr_accessor :allow_cloud_router
30178
+
30179
+ # Specifies whether VMs are allowed to have external IP access on network
30180
+ # interfaces connected to this VPC.
30181
+ # Corresponds to the JSON property `allowExternalIpAccess`
30182
+ # @return [String]
30183
+ attr_accessor :allow_external_ip_access
30184
+
30185
+ # Specifies whether Cloud Interconnect creation is allowed.
30186
+ # Corresponds to the JSON property `allowInterconnect`
30187
+ # @return [String]
30188
+ attr_accessor :allow_interconnect
30189
+
30190
+ # Specifies whether cloud load balancing is allowed.
30191
+ # Corresponds to the JSON property `allowLoadBalancing`
30192
+ # @return [String]
30193
+ attr_accessor :allow_load_balancing
30194
+
30195
+ # Specifies whether multi-nic in the same network is allowed.
30196
+ # Corresponds to the JSON property `allowMultiNicInSameNetwork`
30197
+ # @return [String]
30198
+ attr_accessor :allow_multi_nic_in_same_network
30199
+
30200
+ # Specifies whether Packet Mirroring 1.0 is supported.
30201
+ # Corresponds to the JSON property `allowPacketMirroring`
30202
+ # @return [String]
30203
+ attr_accessor :allow_packet_mirroring
30204
+
30205
+ # Specifies whether private Google access is allowed.
30206
+ # Corresponds to the JSON property `allowPrivateGoogleAccess`
30207
+ # @return [String]
30208
+ attr_accessor :allow_private_google_access
30209
+
30210
+ # Specifies whether PSC creation is allowed.
30211
+ # Corresponds to the JSON property `allowPsc`
30212
+ # @return [String]
30213
+ attr_accessor :allow_psc
30214
+
30215
+ # Specifies whether unicast within the same network is allowed.
30216
+ # Corresponds to the JSON property `allowSameNetworkUnicast`
30217
+ # @return [String]
30218
+ attr_accessor :allow_same_network_unicast
30219
+
30220
+ # Specifies whether static route creation is allowed.
30221
+ # Corresponds to the JSON property `allowStaticRoutes`
30222
+ # @return [String]
30223
+ attr_accessor :allow_static_routes
30224
+
30225
+ # Specifies whether sub interfaces are allowed.
30226
+ # Corresponds to the JSON property `allowSubInterfaces`
30227
+ # @return [String]
30228
+ attr_accessor :allow_sub_interfaces
30229
+
30230
+ # Specifies whether VPC peering is allowed.
30231
+ # Corresponds to the JSON property `allowVpcPeering`
30232
+ # @return [String]
30233
+ attr_accessor :allow_vpc_peering
30234
+
30235
+ # Specifies whether VPN creation is allowed.
30236
+ # Corresponds to the JSON property `allowVpn`
30237
+ # @return [String]
30238
+ attr_accessor :allow_vpn
30239
+
30240
+ # Specifies which subnetwork purposes are supported.
30241
+ # Corresponds to the JSON property `allowedSubnetPurposes`
30242
+ # @return [Array<String>]
30243
+ attr_accessor :allowed_subnet_purposes
30244
+
30245
+ # Specifies which subnetwork stack types are supported.
30246
+ # Corresponds to the JSON property `allowedSubnetStackTypes`
30247
+ # @return [Array<String>]
30248
+ attr_accessor :allowed_subnet_stack_types
30249
+
30250
+ # If set, limits the interface types that the network supports. If empty, all
30251
+ # interface types are supported.
30252
+ # Corresponds to the JSON property `interfaceTypes`
30253
+ # @return [Array<String>]
30254
+ attr_accessor :interface_types
30255
+
30256
+ # Specifies which type of multicast is supported.
30257
+ # Corresponds to the JSON property `multicast`
30258
+ # @return [String]
30259
+ attr_accessor :multicast
30260
+
30261
+ # Specifies which type of unicast is supported.
30262
+ # Corresponds to the JSON property `unicast`
30263
+ # @return [String]
30264
+ attr_accessor :unicast
30265
+
30266
+ def initialize(**args)
30267
+ update!(**args)
30268
+ end
30269
+
30270
+ # Update properties of this object
30271
+ def update!(**args)
30272
+ @address_purposes = args[:address_purposes] if args.key?(:address_purposes)
30273
+ @allow_alias_ip_ranges = args[:allow_alias_ip_ranges] if args.key?(:allow_alias_ip_ranges)
30274
+ @allow_auto_mode_subnet = args[:allow_auto_mode_subnet] if args.key?(:allow_auto_mode_subnet)
30275
+ @allow_class_d_firewalls = args[:allow_class_d_firewalls] if args.key?(:allow_class_d_firewalls)
30276
+ @allow_cloud_nat = args[:allow_cloud_nat] if args.key?(:allow_cloud_nat)
30277
+ @allow_cloud_router = args[:allow_cloud_router] if args.key?(:allow_cloud_router)
30278
+ @allow_external_ip_access = args[:allow_external_ip_access] if args.key?(:allow_external_ip_access)
30279
+ @allow_interconnect = args[:allow_interconnect] if args.key?(:allow_interconnect)
30280
+ @allow_load_balancing = args[:allow_load_balancing] if args.key?(:allow_load_balancing)
30281
+ @allow_multi_nic_in_same_network = args[:allow_multi_nic_in_same_network] if args.key?(:allow_multi_nic_in_same_network)
30282
+ @allow_packet_mirroring = args[:allow_packet_mirroring] if args.key?(:allow_packet_mirroring)
30283
+ @allow_private_google_access = args[:allow_private_google_access] if args.key?(:allow_private_google_access)
30284
+ @allow_psc = args[:allow_psc] if args.key?(:allow_psc)
30285
+ @allow_same_network_unicast = args[:allow_same_network_unicast] if args.key?(:allow_same_network_unicast)
30286
+ @allow_static_routes = args[:allow_static_routes] if args.key?(:allow_static_routes)
30287
+ @allow_sub_interfaces = args[:allow_sub_interfaces] if args.key?(:allow_sub_interfaces)
30288
+ @allow_vpc_peering = args[:allow_vpc_peering] if args.key?(:allow_vpc_peering)
30289
+ @allow_vpn = args[:allow_vpn] if args.key?(:allow_vpn)
30290
+ @allowed_subnet_purposes = args[:allowed_subnet_purposes] if args.key?(:allowed_subnet_purposes)
30291
+ @allowed_subnet_stack_types = args[:allowed_subnet_stack_types] if args.key?(:allowed_subnet_stack_types)
30292
+ @interface_types = args[:interface_types] if args.key?(:interface_types)
30293
+ @multicast = args[:multicast] if args.key?(:multicast)
30294
+ @unicast = args[:unicast] if args.key?(:unicast)
30295
+ end
30296
+ end
30297
+
30298
+ # Contains a list of network profiles.
30299
+ class NetworkProfilesListResponse
30300
+ include Google::Apis::Core::Hashable
30301
+
30302
+ #
30303
+ # Corresponds to the JSON property `etag`
30304
+ # @return [String]
30305
+ attr_accessor :etag
30306
+
30307
+ # [Output Only] Unique identifier for the resource; defined by the server.
30308
+ # Corresponds to the JSON property `id`
30309
+ # @return [String]
30310
+ attr_accessor :id
30311
+
30312
+ # A list of NetworkProfile resources.
30313
+ # Corresponds to the JSON property `items`
30314
+ # @return [Array<Google::Apis::ComputeAlpha::NetworkProfile>]
30315
+ attr_accessor :items
30316
+
30317
+ # [Output Only] Type of resource. Always compute#networkProfileList for network
30318
+ # profiles.
30319
+ # Corresponds to the JSON property `kind`
30320
+ # @return [String]
30321
+ attr_accessor :kind
30322
+
30323
+ # [Output Only] This token allows you to get the next page of results for list
30324
+ # requests. If the number of results is larger than maxResults, use the
30325
+ # nextPageToken as a value for the query parameter pageToken in the next list
30326
+ # request. Subsequent list requests will have their own nextPageToken to
30327
+ # continue paging through the results.
30328
+ # Corresponds to the JSON property `nextPageToken`
30329
+ # @return [String]
30330
+ attr_accessor :next_page_token
30331
+
30332
+ # [Output Only] Server-defined URL for this resource.
30333
+ # Corresponds to the JSON property `selfLink`
30334
+ # @return [String]
30335
+ attr_accessor :self_link
30336
+
30337
+ # [Output Only] Unreachable resources. end_interface:
30338
+ # MixerListResponseWithEtagBuilder
30339
+ # Corresponds to the JSON property `unreachables`
30340
+ # @return [Array<String>]
30341
+ attr_accessor :unreachables
30342
+
30343
+ # [Output Only] Informational warning message.
30344
+ # Corresponds to the JSON property `warning`
30345
+ # @return [Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning]
30346
+ attr_accessor :warning
30347
+
30348
+ def initialize(**args)
30349
+ update!(**args)
30350
+ end
30351
+
30352
+ # Update properties of this object
30353
+ def update!(**args)
30354
+ @etag = args[:etag] if args.key?(:etag)
30355
+ @id = args[:id] if args.key?(:id)
30356
+ @items = args[:items] if args.key?(:items)
30357
+ @kind = args[:kind] if args.key?(:kind)
30358
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
30359
+ @self_link = args[:self_link] if args.key?(:self_link)
30360
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
30361
+ @warning = args[:warning] if args.key?(:warning)
30362
+ end
30363
+
30364
+ # [Output Only] Informational warning message.
30365
+ class Warning
30366
+ include Google::Apis::Core::Hashable
30367
+
30368
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
30369
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
30370
+ # Corresponds to the JSON property `code`
30371
+ # @return [String]
30372
+ attr_accessor :code
30373
+
30374
+ # [Output Only] Metadata about this warning in key: value format. For example: "
30375
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
30376
+ # Corresponds to the JSON property `data`
30377
+ # @return [Array<Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning::Datum>]
30378
+ attr_accessor :data
30379
+
30380
+ # [Output Only] A human-readable description of the warning code.
30381
+ # Corresponds to the JSON property `message`
30382
+ # @return [String]
30383
+ attr_accessor :message
30384
+
30385
+ def initialize(**args)
30386
+ update!(**args)
30387
+ end
30388
+
30389
+ # Update properties of this object
30390
+ def update!(**args)
30391
+ @code = args[:code] if args.key?(:code)
30392
+ @data = args[:data] if args.key?(:data)
30393
+ @message = args[:message] if args.key?(:message)
30394
+ end
30395
+
30396
+ #
30397
+ class Datum
30398
+ include Google::Apis::Core::Hashable
30399
+
30400
+ # [Output Only] A key that provides more detail on the warning being returned.
30401
+ # For example, for warnings where there are no results in a list request for a
30402
+ # particular zone, this key might be scope and the key value might be the zone
30403
+ # name. Other examples might be a key indicating a deprecated resource and a
30404
+ # suggested replacement, or a warning about invalid network settings (for
30405
+ # example, if an instance attempts to perform IP forwarding but is not enabled
30406
+ # for IP forwarding).
30407
+ # Corresponds to the JSON property `key`
30408
+ # @return [String]
30409
+ attr_accessor :key
30410
+
30411
+ # [Output Only] A warning data value corresponding to the key.
30412
+ # Corresponds to the JSON property `value`
30413
+ # @return [String]
30414
+ attr_accessor :value
30415
+
30416
+ def initialize(**args)
30417
+ update!(**args)
30418
+ end
30419
+
30420
+ # Update properties of this object
30421
+ def update!(**args)
30422
+ @key = args[:key] if args.key?(:key)
30423
+ @value = args[:value] if args.key?(:value)
30424
+ end
30425
+ end
30426
+ end
30427
+ end
30428
+
30013
30429
  # A routing configuration attached to a network resource. The message includes
30014
30430
  # the list of routers associated with the network, and a flag indicating the
30015
30431
  # type of routing behavior to enforce network-wide.
@@ -58040,7 +58456,9 @@ module Google
58040
58456
  # selection of a backend service is determined only for new traffic. Once a user'
58041
58457
  # s request has been directed to a backend service, subsequent requests are sent
58042
58458
  # to the same backend service as determined by the backend service's session
58043
- # affinity policy. The value must be from 0 to 1000.
58459
+ # affinity policy. Don't configure session affinity if you're using weighted
58460
+ # traffic splitting. If you do, the weighted traffic splitting configuration
58461
+ # takes precedence. The value must be from 0 to 1000.
58044
58462
  # Corresponds to the JSON property `weight`
58045
58463
  # @return [Fixnum]
58046
58464
  attr_accessor :weight
@@ -58202,7 +58620,7 @@ module Google
58202
58620
  end
58203
58621
 
58204
58622
  # Represents a Zone resource. A zone is a deployment area. These deployment
58205
- # areas are subsets of a region. For example the zone us-east1-a is located in
58623
+ # areas are subsets of a region. For example the zone us-east1-b is located in
58206
58624
  # the us-east1 region. For more information, read Regions and Zones.
58207
58625
  class Zone
58208
58626
  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.101.0"
19
+ GEM_VERSION = "0.103.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 = "20240519"
25
+ REVISION = "20240604"
26
26
  end
27
27
  end
28
28
  end
@@ -3748,6 +3748,36 @@ module Google
3748
3748
  include Google::Apis::Core::JsonObjectSupport
3749
3749
  end
3750
3750
 
3751
+ class NetworkProfile
3752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3753
+
3754
+ include Google::Apis::Core::JsonObjectSupport
3755
+ end
3756
+
3757
+ class NetworkProfileNetworkFeatures
3758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3759
+
3760
+ include Google::Apis::Core::JsonObjectSupport
3761
+ end
3762
+
3763
+ class NetworkProfilesListResponse
3764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3765
+
3766
+ class Warning
3767
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3768
+
3769
+ class Datum
3770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3771
+
3772
+ include Google::Apis::Core::JsonObjectSupport
3773
+ end
3774
+
3775
+ include Google::Apis::Core::JsonObjectSupport
3776
+ end
3777
+
3778
+ include Google::Apis::Core::JsonObjectSupport
3779
+ end
3780
+
3751
3781
  class NetworkRoutingConfig
3752
3782
  class Representation < Google::Apis::Core::JsonRepresentation; end
3753
3783
 
@@ -7959,6 +7989,7 @@ module Google
7959
7989
  property :numa_node_count, as: 'numaNodeCount'
7960
7990
  property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
7961
7991
  property :threads_per_core, as: 'threadsPerCore'
7992
+ property :turbo_mode, as: 'turboMode'
7962
7993
  property :visible_core_count, as: 'visibleCoreCount'
7963
7994
  end
7964
7995
  end
@@ -8388,6 +8419,7 @@ module Google
8388
8419
  property :enable_cdn, as: 'enableCdn'
8389
8420
  property :id, :numeric_string => true, as: 'id'
8390
8421
  property :kind, as: 'kind'
8422
+ property :load_balancing_scheme, as: 'loadBalancingScheme'
8391
8423
  property :name, as: 'name'
8392
8424
  property :self_link, as: 'selfLink'
8393
8425
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -10084,6 +10116,7 @@ module Google
10084
10116
  collection :dest_address_groups, as: 'destAddressGroups'
10085
10117
  collection :dest_fqdns, as: 'destFqdns'
10086
10118
  collection :dest_ip_ranges, as: 'destIpRanges'
10119
+ property :dest_network_scope, as: 'destNetworkScope'
10087
10120
  collection :dest_region_codes, as: 'destRegionCodes'
10088
10121
  collection :dest_threat_intelligences, as: 'destThreatIntelligences'
10089
10122
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
@@ -10091,6 +10124,8 @@ module Google
10091
10124
  collection :src_address_groups, as: 'srcAddressGroups'
10092
10125
  collection :src_fqdns, as: 'srcFqdns'
10093
10126
  collection :src_ip_ranges, as: 'srcIpRanges'
10127
+ property :src_network_scope, as: 'srcNetworkScope'
10128
+ collection :src_networks, as: 'srcNetworks'
10094
10129
  collection :src_region_codes, as: 'srcRegionCodes'
10095
10130
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
10096
10131
 
@@ -11603,6 +11638,8 @@ module Google
11603
11638
  property :params, as: 'params', class: Google::Apis::ComputeAlpha::InstanceGroupManagerParams, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerParams::Representation
11604
11639
 
11605
11640
  property :region, as: 'region'
11641
+ property :satisfies_pzi, as: 'satisfiesPzi'
11642
+ property :satisfies_pzs, as: 'satisfiesPzs'
11606
11643
  property :self_link, as: 'selfLink'
11607
11644
  property :self_link_with_id, as: 'selfLinkWithId'
11608
11645
  property :service_account, as: 'serviceAccount'
@@ -13983,6 +14020,7 @@ module Google
13983
14020
 
13984
14021
  property :properties_from_flexibility_policy, as: 'propertiesFromFlexibilityPolicy', class: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy, decorator: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy::Representation
13985
14022
 
14023
+ property :size_in_unit, as: 'sizeInUnit'
13986
14024
  property :tag, as: 'tag'
13987
14025
  property :target_status, as: 'targetStatus'
13988
14026
  property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
@@ -14192,6 +14230,7 @@ module Google
14192
14230
  property :name, as: 'name'
14193
14231
  property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
14194
14232
  property :network_placement, as: 'networkPlacement'
14233
+ property :network_profile, as: 'networkProfile'
14195
14234
  collection :peerings, as: 'peerings', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
14196
14235
 
14197
14236
  property :region, as: 'region'
@@ -14855,6 +14894,85 @@ module Google
14855
14894
  end
14856
14895
  end
14857
14896
 
14897
+ class NetworkProfile
14898
+ # @private
14899
+ class Representation < Google::Apis::Core::JsonRepresentation
14900
+ property :creation_timestamp, as: 'creationTimestamp'
14901
+ property :description, as: 'description'
14902
+ property :features, as: 'features', class: Google::Apis::ComputeAlpha::NetworkProfileNetworkFeatures, decorator: Google::Apis::ComputeAlpha::NetworkProfileNetworkFeatures::Representation
14903
+
14904
+ property :id, :numeric_string => true, as: 'id'
14905
+ property :kind, as: 'kind'
14906
+ property :name, as: 'name'
14907
+ property :self_link, as: 'selfLink'
14908
+ property :self_link_with_id, as: 'selfLinkWithId'
14909
+ property :zone, as: 'zone'
14910
+ end
14911
+ end
14912
+
14913
+ class NetworkProfileNetworkFeatures
14914
+ # @private
14915
+ class Representation < Google::Apis::Core::JsonRepresentation
14916
+ collection :address_purposes, as: 'addressPurposes'
14917
+ property :allow_alias_ip_ranges, as: 'allowAliasIpRanges'
14918
+ property :allow_auto_mode_subnet, as: 'allowAutoModeSubnet'
14919
+ property :allow_class_d_firewalls, as: 'allowClassDFirewalls'
14920
+ property :allow_cloud_nat, as: 'allowCloudNat'
14921
+ property :allow_cloud_router, as: 'allowCloudRouter'
14922
+ property :allow_external_ip_access, as: 'allowExternalIpAccess'
14923
+ property :allow_interconnect, as: 'allowInterconnect'
14924
+ property :allow_load_balancing, as: 'allowLoadBalancing'
14925
+ property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
14926
+ property :allow_packet_mirroring, as: 'allowPacketMirroring'
14927
+ property :allow_private_google_access, as: 'allowPrivateGoogleAccess'
14928
+ property :allow_psc, as: 'allowPsc'
14929
+ property :allow_same_network_unicast, as: 'allowSameNetworkUnicast'
14930
+ property :allow_static_routes, as: 'allowStaticRoutes'
14931
+ property :allow_sub_interfaces, as: 'allowSubInterfaces'
14932
+ property :allow_vpc_peering, as: 'allowVpcPeering'
14933
+ property :allow_vpn, as: 'allowVpn'
14934
+ collection :allowed_subnet_purposes, as: 'allowedSubnetPurposes'
14935
+ collection :allowed_subnet_stack_types, as: 'allowedSubnetStackTypes'
14936
+ collection :interface_types, as: 'interfaceTypes'
14937
+ property :multicast, as: 'multicast'
14938
+ property :unicast, as: 'unicast'
14939
+ end
14940
+ end
14941
+
14942
+ class NetworkProfilesListResponse
14943
+ # @private
14944
+ class Representation < Google::Apis::Core::JsonRepresentation
14945
+ property :etag, as: 'etag'
14946
+ property :id, as: 'id'
14947
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NetworkProfile, decorator: Google::Apis::ComputeAlpha::NetworkProfile::Representation
14948
+
14949
+ property :kind, as: 'kind'
14950
+ property :next_page_token, as: 'nextPageToken'
14951
+ property :self_link, as: 'selfLink'
14952
+ collection :unreachables, as: 'unreachables'
14953
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning, decorator: Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning::Representation
14954
+
14955
+ end
14956
+
14957
+ class Warning
14958
+ # @private
14959
+ class Representation < Google::Apis::Core::JsonRepresentation
14960
+ property :code, as: 'code'
14961
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Warning::Datum::Representation
14962
+
14963
+ property :message, as: 'message'
14964
+ end
14965
+
14966
+ class Datum
14967
+ # @private
14968
+ class Representation < Google::Apis::Core::JsonRepresentation
14969
+ property :key, as: 'key'
14970
+ property :value, as: 'value'
14971
+ end
14972
+ end
14973
+ end
14974
+ end
14975
+
14858
14976
  class NetworkRoutingConfig
14859
14977
  # @private
14860
14978
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22526,6 +22526,133 @@ module Google
22526
22526
  execute_or_queue_command(command, &block)
22527
22527
  end
22528
22528
 
22529
+ # Returns the specified network profile.
22530
+ # @param [String] project
22531
+ # Project ID for this request.
22532
+ # @param [String] network_profile
22533
+ # Name of the network profile to return.
22534
+ # @param [String] fields
22535
+ # Selector specifying which fields to include in a partial response.
22536
+ # @param [String] quota_user
22537
+ # Available to use for quota purposes for server-side applications. Can be any
22538
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22539
+ # @param [String] user_ip
22540
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22541
+ # @param [Google::Apis::RequestOptions] options
22542
+ # Request-specific options
22543
+ #
22544
+ # @yield [result, err] Result & error if block supplied
22545
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkProfile] parsed result object
22546
+ # @yieldparam err [StandardError] error object if request failed
22547
+ #
22548
+ # @return [Google::Apis::ComputeAlpha::NetworkProfile]
22549
+ #
22550
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22551
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22552
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22553
+ def get_network_profile(project, network_profile, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22554
+ command = make_simple_command(:get, 'projects/{project}/global/networkProfiles/{networkProfile}', options)
22555
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkProfile::Representation
22556
+ command.response_class = Google::Apis::ComputeAlpha::NetworkProfile
22557
+ command.params['project'] = project unless project.nil?
22558
+ command.params['networkProfile'] = network_profile unless network_profile.nil?
22559
+ command.query['fields'] = fields unless fields.nil?
22560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22561
+ command.query['userIp'] = user_ip unless user_ip.nil?
22562
+ execute_or_queue_command(command, &block)
22563
+ end
22564
+
22565
+ # Retrieves a list of network profiles available to the specified project.
22566
+ # @param [String] project
22567
+ # Project ID for this request.
22568
+ # @param [String] filter
22569
+ # A filter expression that filters resources listed in the response. Most
22570
+ # Compute resources support two types of filter expressions: expressions that
22571
+ # support regular expressions and expressions that follow API improvement
22572
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
22573
+ # request. If you want to use AIP-160, your expression must specify the field
22574
+ # name, an operator, and the value that you want to use for filtering. The value
22575
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
22576
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
22577
+ # Engine instances, you can exclude instances named `example-instance` by
22578
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
22579
+ # whether a key has been defined. For example, to find all objects with `owner`
22580
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
22581
+ # example, you could specify `scheduling.automaticRestart = false` to include
22582
+ # instances only if they are not scheduled for automatic restarts. You can use
22583
+ # filtering on nested fields to filter based on resource labels. To filter on
22584
+ # multiple expressions, provide each separate expression within parentheses. For
22585
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
22586
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
22587
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
22588
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
22589
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
22590
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
22591
+ # un-parenthesized expression with or without quotes or against multiple
22592
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
22593
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
22594
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
22595
+ # interpreted as a regular expression using Google RE2 library syntax. The
22596
+ # literal value must match the entire field. For example, to filter for
22597
+ # instances that do not end with name "instance", you would use `name ne .*
22598
+ # instance`. You cannot combine constraints on multiple fields using regular
22599
+ # expressions.
22600
+ # @param [Fixnum] max_results
22601
+ # The maximum number of results per page that should be returned. If the number
22602
+ # of available results is larger than `maxResults`, Compute Engine returns a `
22603
+ # nextPageToken` that can be used to get the next page of results in subsequent
22604
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
22605
+ # @param [String] order_by
22606
+ # Sorts list results by a certain order. By default, results are returned in
22607
+ # alphanumerical order based on the resource name. You can also sort results in
22608
+ # descending order based on the creation timestamp using `orderBy="
22609
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
22610
+ # field in reverse chronological order (newest result first). Use this to sort
22611
+ # resources like operations so that the newest operation is returned first.
22612
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
22613
+ # @param [String] page_token
22614
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
22615
+ # by a previous list request to get the next page of results.
22616
+ # @param [Boolean] return_partial_success
22617
+ # Opt-in for partial success behavior which provides partial results in case of
22618
+ # failure. The default value is false. For example, when partial success
22619
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
22620
+ # resources in the zone or no resources, with an error code.
22621
+ # @param [String] fields
22622
+ # Selector specifying which fields to include in a partial response.
22623
+ # @param [String] quota_user
22624
+ # Available to use for quota purposes for server-side applications. Can be any
22625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22626
+ # @param [String] user_ip
22627
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22628
+ # @param [Google::Apis::RequestOptions] options
22629
+ # Request-specific options
22630
+ #
22631
+ # @yield [result, err] Result & error if block supplied
22632
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkProfilesListResponse] parsed result object
22633
+ # @yieldparam err [StandardError] error object if request failed
22634
+ #
22635
+ # @return [Google::Apis::ComputeAlpha::NetworkProfilesListResponse]
22636
+ #
22637
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22638
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22639
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22640
+ def list_network_profiles(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22641
+ command = make_simple_command(:get, 'projects/{project}/global/networkProfiles', options)
22642
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkProfilesListResponse::Representation
22643
+ command.response_class = Google::Apis::ComputeAlpha::NetworkProfilesListResponse
22644
+ command.params['project'] = project unless project.nil?
22645
+ command.query['filter'] = filter unless filter.nil?
22646
+ command.query['maxResults'] = max_results unless max_results.nil?
22647
+ command.query['orderBy'] = order_by unless order_by.nil?
22648
+ command.query['pageToken'] = page_token unless page_token.nil?
22649
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
22650
+ command.query['fields'] = fields unless fields.nil?
22651
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22652
+ command.query['userIp'] = user_ip unless user_ip.nil?
22653
+ execute_or_queue_command(command, &block)
22654
+ end
22655
+
22529
22656
  # Adds a peering to the specified network.
22530
22657
  # @param [String] project
22531
22658
  # Project ID for this request.
@@ -23145,8 +23272,8 @@ module Google
23145
23272
  execute_or_queue_command(command, &block)
23146
23273
  end
23147
23274
 
23148
- # Patches the specified network with the data included in the request. Only the
23149
- # following fields can be modified: routingConfig.routingMode.
23275
+ # Patches the specified network with the data included in the request. Only
23276
+ # routingConfig can be modified.
23150
23277
  # @param [String] project
23151
23278
  # Project ID for this request.
23152
23279
  # @param [String] network
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.101.0
4
+ version: 0.103.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-26 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.101.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.103.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: []