google-apis-compute_alpha 0.102.0 → 0.103.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: a09e98dfdd2109466be5681821bee5c88e2e06cba1427f6f1ce8d32d9626b107
4
- data.tar.gz: 8bb562080074d515fc31cfa92c598653e187acd65e1511c37704bcdb2e23ffac
3
+ metadata.gz: da0f4cd8a82d490f00516c6e311a725b8d3a6316fd34fc50d76c3c6e4cbc24b0
4
+ data.tar.gz: f0adc4ee646638c24836d153eb246058bfd53703433dc02f168452e0c4aa6829
5
5
  SHA512:
6
- metadata.gz: 73104f6eb9339f0b7d036a9350cf116f12d1328cc3d83475e787643d599eb142f67f74597ab89faf2443f32c25d17f6039e97dd9edf63f22275d515b090851b8
7
- data.tar.gz: 4cd8f458aba7838d1ba047a14adbad73d2ad72123a4ae80f55b5f97f647541f19b9c7dc7c917c82a096c516ff06d4813d52bcc6d88bcaa6796afc889d5ab82c0
6
+ metadata.gz: ece831d3bee0c4d8899f42df12e13fa41c32fb2901853e2640b6f4afd7a912622df968c8230bcfc948ae2c3aef100a6ade89c0a234a8eb8131e5428841fea6cd
7
+ data.tar.gz: b2c7cd7603f937444a4314e1eb29e5b418e7625776d1004990629ebcc85f550ca8b82e0ee31f9ae1fc8ef7bf42f925e1f6503644a9bd5a0315f3b39a751ba1b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.102.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240526
@@ -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
@@ -3155,6 +3162,14 @@ module Google
3155
3162
  # @return [String]
3156
3163
  attr_accessor :kind
3157
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
+
3158
3173
  # Name of the resource. Provided by the client when the resource is created. The
3159
3174
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
3160
3175
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -3191,6 +3206,7 @@ module Google
3191
3206
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
3192
3207
  @id = args[:id] if args.key?(:id)
3193
3208
  @kind = args[:kind] if args.key?(:kind)
3209
+ @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3194
3210
  @name = args[:name] if args.key?(:name)
3195
3211
  @self_link = args[:self_link] if args.key?(:self_link)
3196
3212
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -26464,6 +26480,12 @@ module Google
26464
26480
  # @return [Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy]
26465
26481
  attr_accessor :properties_from_flexibility_policy
26466
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
+
26467
26489
  # [Output Only] Tag describing the version.
26468
26490
  # Corresponds to the JSON property `tag`
26469
26491
  # @return [String]
@@ -26500,6 +26522,7 @@ module Google
26500
26522
  @preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
26501
26523
  @preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
26502
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)
26503
26526
  @tag = args[:tag] if args.key?(:tag)
26504
26527
  @target_status = args[:target_status] if args.key?(:target_status)
26505
26528
  @version = args[:version] if args.key?(:version)
@@ -30049,6 +30072,360 @@ module Google
30049
30072
  end
30050
30073
  end
30051
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
+
30052
30429
  # A routing configuration attached to a network resource. The message includes
30053
30430
  # the list of routers associated with the network, and a flag indicating the
30054
30431
  # type of routing behavior to enforce network-wide.
@@ -58079,7 +58456,9 @@ module Google
58079
58456
  # selection of a backend service is determined only for new traffic. Once a user'
58080
58457
  # s request has been directed to a backend service, subsequent requests are sent
58081
58458
  # to the same backend service as determined by the backend service's session
58082
- # 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.
58083
58462
  # Corresponds to the JSON property `weight`
58084
58463
  # @return [Fixnum]
58085
58464
  attr_accessor :weight
@@ -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.102.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 = "20240526"
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'
@@ -13988,6 +14020,7 @@ module Google
13988
14020
 
13989
14021
  property :properties_from_flexibility_policy, as: 'propertiesFromFlexibilityPolicy', class: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy, decorator: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy::Representation
13990
14022
 
14023
+ property :size_in_unit, as: 'sizeInUnit'
13991
14024
  property :tag, as: 'tag'
13992
14025
  property :target_status, as: 'targetStatus'
13993
14026
  property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
@@ -14861,6 +14894,85 @@ module Google
14861
14894
  end
14862
14895
  end
14863
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
+
14864
14976
  class NetworkRoutingConfig
14865
14977
  # @private
14866
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.
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.102.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-06-02 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.102.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: []