google-apis-compute_alpha 0.93.0 → 0.95.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: c9368233fa98fc18ac782033c6ba5f25fe2de38a8fc83a38e93b57fb299b4f08
4
- data.tar.gz: 942910bc72ac77e8d6e1a083da4199c287b7a9d2a47a5c5c5566fc2ae6e96cef
3
+ metadata.gz: a238f940627373a11859c46e678073c112e5c53dd18a3e131969cc20b50ff077
4
+ data.tar.gz: 2cee3521a4d7a0cc451b24a7c3f0fa564ab8e3f809bee470f386db418db0d2ed
5
5
  SHA512:
6
- metadata.gz: 5899fe42fba542dc1f324806228a411c8c1ab9c9c10d29875d94f566c85fac8fd6b5d3befb467b51c5068ff8e931040396ecc48115f14752afabe461e00c6e6f
7
- data.tar.gz: 2a643049f4fa5ffa8436f0b101a3734dc83be7bcfdd9029528e925db4e187ed10e5c58da72169021044a557cfd2faea7aaa3c19298a7773897f0c30d64f06b39
6
+ metadata.gz: 0ff76c4ca7e9b518ce10f9e789c14b83ac1159f6bc13562c4daa77220e07a31f76a014dfc39be2fffa0a43e0ab2412a3336b05124441bebef022be6637689565
7
+ data.tar.gz: 42d6b334257a0cf19dbbf261a8b1cc9f04875930fc8996ab68bf75d05116cec6164afcca86f0fd252ff10b202aa51accb274fdf2961af300e928d9a63cebcf95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.95.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240312
6
+
7
+ ### v0.94.0 (2024-03-17)
8
+
9
+ * Regenerated from discovery document revision 20240305
10
+
3
11
  ### v0.93.0 (2024-03-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20240227
@@ -3667,35 +3667,6 @@ module Google
3667
3667
  attr_accessor :enable_cdn
3668
3668
  alias_method :enable_cdn?, :enable_cdn
3669
3669
 
3670
- # Specifies the canary migration state. Possible values are PREPARE, TEST, and
3671
- # FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state
3672
- # must be changed to PREPARE. The state must be changed to FINALIZE before the
3673
- # loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST
3674
- # state can be used to migrate traffic by percentage using
3675
- # externalManagedMigrationTestingRate. Rolling back a migration requires the
3676
- # states to be set in reverse order. So changing the scheme from
3677
- # EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the
3678
- # same time. Optionally, the TEST state can be used to migrate some traffic back
3679
- # to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
3680
- # Corresponds to the JSON property `externalManagedMigrationState`
3681
- # @return [String]
3682
- attr_accessor :external_managed_migration_state
3683
-
3684
- # Determines the fraction of requests that should be processed by the Global
3685
- # external Application Load Balancer. The value of this field must be in the
3686
- # range [0, 1]. For example: - A value of 0 will send all requests through the
3687
- # Classic ALB for the given resource. - A value of .001 will send .1% of
3688
- # requests through the Global external ALB for the given resource. - A value of .
3689
- # 01 will send 1% of requests through the Global external ALB for the given
3690
- # resource. - A value of 1 will send all requests through the Global external
3691
- # ALB for the given resource. Session affinity options will slightly affect this
3692
- # routing behavior, for more details, see: Session Affinity. This value is only
3693
- # used if the loadBalancingScheme in the BackendService is set to EXTERNAL when
3694
- # using the classic Application Load Balancer.
3695
- # Corresponds to the JSON property `externalManagedMigrationTestingRate`
3696
- # @return [Float]
3697
- attr_accessor :external_managed_migration_testing_rate
3698
-
3699
3670
  # For load balancers that have configurable failover: [Internal passthrough
3700
3671
  # Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/
3701
3672
  # failover-overview) and [external passthrough Network Load Balancers](https://
@@ -3998,8 +3969,6 @@ module Google
3998
3969
  @description = args[:description] if args.key?(:description)
3999
3970
  @edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy)
4000
3971
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
4001
- @external_managed_migration_state = args[:external_managed_migration_state] if args.key?(:external_managed_migration_state)
4002
- @external_managed_migration_testing_rate = args[:external_managed_migration_testing_rate] if args.key?(:external_managed_migration_testing_rate)
4003
3972
  @failover_policy = args[:failover_policy] if args.key?(:failover_policy)
4004
3973
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
4005
3974
  @ha_policy = args[:ha_policy] if args.key?(:ha_policy)
@@ -6888,10 +6857,10 @@ module Google
6888
6857
  attr_accessor :allow_methods
6889
6858
 
6890
6859
  # Specifies a regular expression that matches allowed origins. For more
6891
- # information about the regular expression syntax, see Syntax. An origin is
6892
- # allowed if it matches either an item in allowOrigins or an item in
6893
- # allowOriginRegexes. Regular expressions can only be used when the
6894
- # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
6860
+ # information, see regular expression syntax . An origin is allowed if it
6861
+ # matches either an item in allowOrigins or an item in allowOriginRegexes.
6862
+ # Regular expressions can only be used when the loadBalancingScheme is set to
6863
+ # INTERNAL_SELF_MANAGED.
6895
6864
  # Corresponds to the JSON property `allowOriginRegexes`
6896
6865
  # @return [Array<String>]
6897
6866
  attr_accessor :allow_origin_regexes
@@ -6903,8 +6872,8 @@ module Google
6903
6872
  # @return [Array<String>]
6904
6873
  attr_accessor :allow_origins
6905
6874
 
6906
- # If true, the setting specifies the CORS policy is disabled. The default value
6907
- # of false, which indicates that the CORS policy is in effect.
6875
+ # If true, disables the CORS policy. The default value is false, which indicates
6876
+ # that the CORS policy is in effect.
6908
6877
  # Corresponds to the JSON property `disabled`
6909
6878
  # @return [Boolean]
6910
6879
  attr_accessor :disabled
@@ -12218,6 +12187,59 @@ module Google
12218
12187
  end
12219
12188
  end
12220
12189
 
12190
+ #
12191
+ class GrpctlsHealthCheck
12192
+ include Google::Apis::Core::Hashable
12193
+
12194
+ # The gRPC service name for the health check. This field is optional. The value
12195
+ # of grpc_service_name has the following meanings by convention: - Empty
12196
+ # service_name means the overall status of all services at the backend. - Non-
12197
+ # empty service_name means the health of that gRPC service, as defined by the
12198
+ # owner of the service. The grpc_service_name can only be ASCII.
12199
+ # Corresponds to the JSON property `grpcServiceName`
12200
+ # @return [String]
12201
+ attr_accessor :grpc_service_name
12202
+
12203
+ # The TCP port number to which the health check prober sends packets. Valid
12204
+ # values are 1 through 65535.
12205
+ # Corresponds to the JSON property `port`
12206
+ # @return [Fixnum]
12207
+ attr_accessor :port
12208
+
12209
+ # Specifies how a port is selected for health checking. Can be one of the
12210
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
12211
+ # port field in the health check. Supported by backend services for passthrough
12212
+ # load balancers and backend services for proxy load balancers. Not supported by
12213
+ # target pools. The health check supports all backends supported by the backend
12214
+ # service provided the backend can be health checked. For example, GCE_VM_IP
12215
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
12216
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
12217
+ # indirect method of specifying the health check port by referring to the
12218
+ # backend service. Only supported by backend services for proxy load balancers.
12219
+ # Not supported by target pools. Not supported by backend services for
12220
+ # passthrough load balancers. Supports all backends that can be health checked;
12221
+ # for example, GCE_VM_IP_PORT network endpoint groups and instance group
12222
+ # backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
12223
+ # uses the port number specified for each endpoint in the network endpoint group.
12224
+ # For instance group backends, the health check uses the port number determined
12225
+ # by looking up the backend service's named port in the instance group's list of
12226
+ # named ports.
12227
+ # Corresponds to the JSON property `portSpecification`
12228
+ # @return [String]
12229
+ attr_accessor :port_specification
12230
+
12231
+ def initialize(**args)
12232
+ update!(**args)
12233
+ end
12234
+
12235
+ # Update properties of this object
12236
+ def update!(**args)
12237
+ @grpc_service_name = args[:grpc_service_name] if args.key?(:grpc_service_name)
12238
+ @port = args[:port] if args.key?(:port)
12239
+ @port_specification = args[:port_specification] if args.key?(:port_specification)
12240
+ end
12241
+ end
12242
+
12221
12243
  #
12222
12244
  class GetOwnerInstanceResponse
12223
12245
  include Google::Apis::Core::Hashable
@@ -12917,6 +12939,11 @@ module Google
12917
12939
  # @return [Google::Apis::ComputeAlpha::GrpcHealthCheck]
12918
12940
  attr_accessor :grpc_health_check
12919
12941
 
12942
+ #
12943
+ # Corresponds to the JSON property `grpcTlsHealthCheck`
12944
+ # @return [Google::Apis::ComputeAlpha::GrpctlsHealthCheck]
12945
+ attr_accessor :grpc_tls_health_check
12946
+
12920
12947
  # A so-far unhealthy instance will be marked healthy after this many consecutive
12921
12948
  # successes. The default value is 2.
12922
12949
  # Corresponds to the JSON property `healthyThreshold`
@@ -13041,6 +13068,7 @@ module Google
13041
13068
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
13042
13069
  @description = args[:description] if args.key?(:description)
13043
13070
  @grpc_health_check = args[:grpc_health_check] if args.key?(:grpc_health_check)
13071
+ @grpc_tls_health_check = args[:grpc_tls_health_check] if args.key?(:grpc_tls_health_check)
13044
13072
  @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
13045
13073
  @http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
13046
13074
  @http_health_check = args[:http_health_check] if args.key?(:http_health_check)
@@ -17804,10 +17832,9 @@ module Google
17804
17832
  class InstanceGroupManagerParams
17805
17833
  include Google::Apis::Core::Hashable
17806
17834
 
17807
- # Resource manager tags to be bound to the instance group manager. Tag keys and
17808
- # values have the same definition as resource manager tags. Keys must be in the
17809
- # format `tagKeys/123`, and values are in the format `tagValues/456`. The field
17810
- # is allowed for INSERT only.
17835
+ # Resource manager tags to bind to the managed instance group. The tags are key-
17836
+ # value pairs. Keys must be in the format tagKeys/123 and values in the format
17837
+ # tagValues/456. For more information, see Manage tags for resources.
17811
17838
  # Corresponds to the JSON property `resourceManagerTags`
17812
17839
  # @return [Hash<String,String>]
17813
17840
  attr_accessor :resource_manager_tags
@@ -17829,7 +17856,8 @@ module Google
17829
17856
  class InstanceGroupManagerResizeRequest
17830
17857
  include Google::Apis::Core::Hashable
17831
17858
 
17832
- # The count of instances to create as part of this resize request.
17859
+ # This field is deprecated, please use resize_by instead. The count of instances
17860
+ # to create as part of this resize request.
17833
17861
  # Corresponds to the JSON property `count`
17834
17862
  # @return [Fixnum]
17835
17863
  attr_accessor :count
@@ -20906,7 +20934,7 @@ module Google
20906
20934
  attr_accessor :short_name
20907
20935
 
20908
20936
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
20909
- # NETWORK, NETWORK_REGIONAL.
20937
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
20910
20938
  # Corresponds to the JSON property `type`
20911
20939
  # @return [String]
20912
20940
  attr_accessor :type
@@ -26909,6 +26937,15 @@ module Google
26909
26937
  # @return [String]
26910
26938
  attr_accessor :network_firewall_policy_enforcement_order
26911
26939
 
26940
+ # A full or partial URL of the network placement to apply to this network. This
26941
+ # field can be set only at resource creation time. For example, the following
26942
+ # are valid URLs: - https://www.googleapis.com/compute/alpha/projects/`
26943
+ # project_id`/global/networkPlacements/`network_placement_name` - projects/`
26944
+ # project_id`/global/networkPlacements/`network_placement_name`
26945
+ # Corresponds to the JSON property `networkPlacement`
26946
+ # @return [String]
26947
+ attr_accessor :network_placement
26948
+
26912
26949
  # [Output Only] A list of network peerings for the resource.
26913
26950
  # Corresponds to the JSON property `peerings`
26914
26951
  # @return [Array<Google::Apis::ComputeAlpha::NetworkPeering>]
@@ -26963,6 +27000,7 @@ module Google
26963
27000
  @mtu = args[:mtu] if args.key?(:mtu)
26964
27001
  @name = args[:name] if args.key?(:name)
26965
27002
  @network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
27003
+ @network_placement = args[:network_placement] if args.key?(:network_placement)
26966
27004
  @peerings = args[:peerings] if args.key?(:peerings)
26967
27005
  @region = args[:region] if args.key?(:region)
26968
27006
  @routing_config = args[:routing_config] if args.key?(:routing_config)
@@ -29373,6 +29411,328 @@ module Google
29373
29411
  end
29374
29412
  end
29375
29413
 
29414
+ # NetworkPlacement Represents a Google managed network placement resource.
29415
+ class NetworkPlacement
29416
+ include Google::Apis::Core::Hashable
29417
+
29418
+ # [Output Only] Creation timestamp in RFC3339 text format.
29419
+ # Corresponds to the JSON property `creationTimestamp`
29420
+ # @return [String]
29421
+ attr_accessor :creation_timestamp
29422
+
29423
+ # [Output Only] An optional description of this resource.
29424
+ # Corresponds to the JSON property `description`
29425
+ # @return [String]
29426
+ attr_accessor :description
29427
+
29428
+ # [Output Only] Features supported by the network.
29429
+ # Corresponds to the JSON property `features`
29430
+ # @return [Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures]
29431
+ attr_accessor :features
29432
+
29433
+ # [Output Only] The unique identifier for the resource. This identifier is
29434
+ # defined by the server.
29435
+ # Corresponds to the JSON property `id`
29436
+ # @return [Fixnum]
29437
+ attr_accessor :id
29438
+
29439
+ # [Output Only] Type of the resource. Always compute#networkPlacement for
29440
+ # network placements.
29441
+ # Corresponds to the JSON property `kind`
29442
+ # @return [String]
29443
+ attr_accessor :kind
29444
+
29445
+ # [Output Only] Name of the resource.
29446
+ # Corresponds to the JSON property `name`
29447
+ # @return [String]
29448
+ attr_accessor :name
29449
+
29450
+ # [Output Only] Server-defined URL for the resource.
29451
+ # Corresponds to the JSON property `selfLink`
29452
+ # @return [String]
29453
+ attr_accessor :self_link
29454
+
29455
+ # [Output Only] Server-defined URL for this resource with the resource id.
29456
+ # Corresponds to the JSON property `selfLinkWithId`
29457
+ # @return [String]
29458
+ attr_accessor :self_link_with_id
29459
+
29460
+ # [Output Only] Zone to which the network is restricted.
29461
+ # Corresponds to the JSON property `zone`
29462
+ # @return [String]
29463
+ attr_accessor :zone
29464
+
29465
+ def initialize(**args)
29466
+ update!(**args)
29467
+ end
29468
+
29469
+ # Update properties of this object
29470
+ def update!(**args)
29471
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
29472
+ @description = args[:description] if args.key?(:description)
29473
+ @features = args[:features] if args.key?(:features)
29474
+ @id = args[:id] if args.key?(:id)
29475
+ @kind = args[:kind] if args.key?(:kind)
29476
+ @name = args[:name] if args.key?(:name)
29477
+ @self_link = args[:self_link] if args.key?(:self_link)
29478
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
29479
+ @zone = args[:zone] if args.key?(:zone)
29480
+ end
29481
+ end
29482
+
29483
+ #
29484
+ class NetworkPlacementNetworkFeatures
29485
+ include Google::Apis::Core::Hashable
29486
+
29487
+ # Specifies whether auto mode subnet creation is allowed.
29488
+ # Corresponds to the JSON property `allowAutoModeSubnet`
29489
+ # @return [String]
29490
+ attr_accessor :allow_auto_mode_subnet
29491
+
29492
+ # Specifies whether cloud NAT creation is allowed.
29493
+ # Corresponds to the JSON property `allowCloudNat`
29494
+ # @return [String]
29495
+ attr_accessor :allow_cloud_nat
29496
+
29497
+ # Specifies whether cloud router creation is allowed.
29498
+ # Corresponds to the JSON property `allowCloudRouter`
29499
+ # @return [String]
29500
+ attr_accessor :allow_cloud_router
29501
+
29502
+ # Specifies whether Cloud Interconnect creation is allowed.
29503
+ # Corresponds to the JSON property `allowInterconnect`
29504
+ # @return [String]
29505
+ attr_accessor :allow_interconnect
29506
+
29507
+ # Specifies whether cloud load balancing is allowed.
29508
+ # Corresponds to the JSON property `allowLoadBalancing`
29509
+ # @return [String]
29510
+ attr_accessor :allow_load_balancing
29511
+
29512
+ # Specifies whether multi-nic in the same network is allowed.
29513
+ # Corresponds to the JSON property `allowMultiNicInSameNetwork`
29514
+ # @return [String]
29515
+ attr_accessor :allow_multi_nic_in_same_network
29516
+
29517
+ # Specifies whether Packet Mirroring 1.0 is supported.
29518
+ # Corresponds to the JSON property `allowPacketMirroring`
29519
+ # @return [String]
29520
+ attr_accessor :allow_packet_mirroring
29521
+
29522
+ # Specifies whether private Google access is allowed.
29523
+ # Corresponds to the JSON property `allowPrivateGoogleAccess`
29524
+ # @return [String]
29525
+ attr_accessor :allow_private_google_access
29526
+
29527
+ # Specifies whether PSC creation is allowed.
29528
+ # Corresponds to the JSON property `allowPsc`
29529
+ # @return [String]
29530
+ attr_accessor :allow_psc
29531
+
29532
+ # Specifies whether unicast within the same network is allowed.
29533
+ # Corresponds to the JSON property `allowSameNetworkUnicast`
29534
+ # @return [String]
29535
+ attr_accessor :allow_same_network_unicast
29536
+
29537
+ # Specifies whether static route creation is allowed.
29538
+ # Corresponds to the JSON property `allowStaticRoutes`
29539
+ # @return [String]
29540
+ attr_accessor :allow_static_routes
29541
+
29542
+ # Specifies whether VPC peering is allowed.
29543
+ # Corresponds to the JSON property `allowVpcPeering`
29544
+ # @return [String]
29545
+ attr_accessor :allow_vpc_peering
29546
+
29547
+ # Specifies whether VPN creation is allowed.
29548
+ # Corresponds to the JSON property `allowVpn`
29549
+ # @return [String]
29550
+ attr_accessor :allow_vpn
29551
+
29552
+ # Specifies which subnetwork purposes are supported.
29553
+ # Corresponds to the JSON property `allowedSubnetPurposes`
29554
+ # @return [Array<String>]
29555
+ attr_accessor :allowed_subnet_purposes
29556
+
29557
+ # Specifies which subnetwork stack types are supported.
29558
+ # Corresponds to the JSON property `allowedSubnetStackTypes`
29559
+ # @return [Array<String>]
29560
+ attr_accessor :allowed_subnet_stack_types
29561
+
29562
+ # If set, limits the interface types that the network supports. If empty, all
29563
+ # interface types are supported.
29564
+ # Corresponds to the JSON property `interfaceTypes`
29565
+ # @return [Array<String>]
29566
+ attr_accessor :interface_types
29567
+
29568
+ # Specifies which type of multicast is supported.
29569
+ # Corresponds to the JSON property `multicast`
29570
+ # @return [String]
29571
+ attr_accessor :multicast
29572
+
29573
+ # Specifies which type of unicast is supported.
29574
+ # Corresponds to the JSON property `unicast`
29575
+ # @return [String]
29576
+ attr_accessor :unicast
29577
+
29578
+ def initialize(**args)
29579
+ update!(**args)
29580
+ end
29581
+
29582
+ # Update properties of this object
29583
+ def update!(**args)
29584
+ @allow_auto_mode_subnet = args[:allow_auto_mode_subnet] if args.key?(:allow_auto_mode_subnet)
29585
+ @allow_cloud_nat = args[:allow_cloud_nat] if args.key?(:allow_cloud_nat)
29586
+ @allow_cloud_router = args[:allow_cloud_router] if args.key?(:allow_cloud_router)
29587
+ @allow_interconnect = args[:allow_interconnect] if args.key?(:allow_interconnect)
29588
+ @allow_load_balancing = args[:allow_load_balancing] if args.key?(:allow_load_balancing)
29589
+ @allow_multi_nic_in_same_network = args[:allow_multi_nic_in_same_network] if args.key?(:allow_multi_nic_in_same_network)
29590
+ @allow_packet_mirroring = args[:allow_packet_mirroring] if args.key?(:allow_packet_mirroring)
29591
+ @allow_private_google_access = args[:allow_private_google_access] if args.key?(:allow_private_google_access)
29592
+ @allow_psc = args[:allow_psc] if args.key?(:allow_psc)
29593
+ @allow_same_network_unicast = args[:allow_same_network_unicast] if args.key?(:allow_same_network_unicast)
29594
+ @allow_static_routes = args[:allow_static_routes] if args.key?(:allow_static_routes)
29595
+ @allow_vpc_peering = args[:allow_vpc_peering] if args.key?(:allow_vpc_peering)
29596
+ @allow_vpn = args[:allow_vpn] if args.key?(:allow_vpn)
29597
+ @allowed_subnet_purposes = args[:allowed_subnet_purposes] if args.key?(:allowed_subnet_purposes)
29598
+ @allowed_subnet_stack_types = args[:allowed_subnet_stack_types] if args.key?(:allowed_subnet_stack_types)
29599
+ @interface_types = args[:interface_types] if args.key?(:interface_types)
29600
+ @multicast = args[:multicast] if args.key?(:multicast)
29601
+ @unicast = args[:unicast] if args.key?(:unicast)
29602
+ end
29603
+ end
29604
+
29605
+ # Contains a list of network placements.
29606
+ class NetworkPlacementsListResponse
29607
+ include Google::Apis::Core::Hashable
29608
+
29609
+ #
29610
+ # Corresponds to the JSON property `etag`
29611
+ # @return [String]
29612
+ attr_accessor :etag
29613
+
29614
+ # [Output Only] Unique identifier for the resource; defined by the server.
29615
+ # Corresponds to the JSON property `id`
29616
+ # @return [String]
29617
+ attr_accessor :id
29618
+
29619
+ # A list of NetworkPlacement resources.
29620
+ # Corresponds to the JSON property `items`
29621
+ # @return [Array<Google::Apis::ComputeAlpha::NetworkPlacement>]
29622
+ attr_accessor :items
29623
+
29624
+ # [Output Only] Type of resource. Always compute#networkPlacementList for
29625
+ # network placements.
29626
+ # Corresponds to the JSON property `kind`
29627
+ # @return [String]
29628
+ attr_accessor :kind
29629
+
29630
+ # [Output Only] This token allows you to get the next page of results for list
29631
+ # requests. If the number of results is larger than maxResults, use the
29632
+ # nextPageToken as a value for the query parameter pageToken in the next list
29633
+ # request. Subsequent list requests will have their own nextPageToken to
29634
+ # continue paging through the results.
29635
+ # Corresponds to the JSON property `nextPageToken`
29636
+ # @return [String]
29637
+ attr_accessor :next_page_token
29638
+
29639
+ # [Output Only] Server-defined URL for this resource.
29640
+ # Corresponds to the JSON property `selfLink`
29641
+ # @return [String]
29642
+ attr_accessor :self_link
29643
+
29644
+ # [Output Only] Unreachable resources. end_interface:
29645
+ # MixerListResponseWithEtagBuilder
29646
+ # Corresponds to the JSON property `unreachables`
29647
+ # @return [Array<String>]
29648
+ attr_accessor :unreachables
29649
+
29650
+ # [Output Only] Informational warning message.
29651
+ # Corresponds to the JSON property `warning`
29652
+ # @return [Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning]
29653
+ attr_accessor :warning
29654
+
29655
+ def initialize(**args)
29656
+ update!(**args)
29657
+ end
29658
+
29659
+ # Update properties of this object
29660
+ def update!(**args)
29661
+ @etag = args[:etag] if args.key?(:etag)
29662
+ @id = args[:id] if args.key?(:id)
29663
+ @items = args[:items] if args.key?(:items)
29664
+ @kind = args[:kind] if args.key?(:kind)
29665
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
29666
+ @self_link = args[:self_link] if args.key?(:self_link)
29667
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
29668
+ @warning = args[:warning] if args.key?(:warning)
29669
+ end
29670
+
29671
+ # [Output Only] Informational warning message.
29672
+ class Warning
29673
+ include Google::Apis::Core::Hashable
29674
+
29675
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
29676
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
29677
+ # Corresponds to the JSON property `code`
29678
+ # @return [String]
29679
+ attr_accessor :code
29680
+
29681
+ # [Output Only] Metadata about this warning in key: value format. For example: "
29682
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
29683
+ # Corresponds to the JSON property `data`
29684
+ # @return [Array<Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning::Datum>]
29685
+ attr_accessor :data
29686
+
29687
+ # [Output Only] A human-readable description of the warning code.
29688
+ # Corresponds to the JSON property `message`
29689
+ # @return [String]
29690
+ attr_accessor :message
29691
+
29692
+ def initialize(**args)
29693
+ update!(**args)
29694
+ end
29695
+
29696
+ # Update properties of this object
29697
+ def update!(**args)
29698
+ @code = args[:code] if args.key?(:code)
29699
+ @data = args[:data] if args.key?(:data)
29700
+ @message = args[:message] if args.key?(:message)
29701
+ end
29702
+
29703
+ #
29704
+ class Datum
29705
+ include Google::Apis::Core::Hashable
29706
+
29707
+ # [Output Only] A key that provides more detail on the warning being returned.
29708
+ # For example, for warnings where there are no results in a list request for a
29709
+ # particular zone, this key might be scope and the key value might be the zone
29710
+ # name. Other examples might be a key indicating a deprecated resource and a
29711
+ # suggested replacement, or a warning about invalid network settings (for
29712
+ # example, if an instance attempts to perform IP forwarding but is not enabled
29713
+ # for IP forwarding).
29714
+ # Corresponds to the JSON property `key`
29715
+ # @return [String]
29716
+ attr_accessor :key
29717
+
29718
+ # [Output Only] A warning data value corresponding to the key.
29719
+ # Corresponds to the JSON property `value`
29720
+ # @return [String]
29721
+ attr_accessor :value
29722
+
29723
+ def initialize(**args)
29724
+ update!(**args)
29725
+ end
29726
+
29727
+ # Update properties of this object
29728
+ def update!(**args)
29729
+ @key = args[:key] if args.key?(:key)
29730
+ @value = args[:value] if args.key?(:value)
29731
+ end
29732
+ end
29733
+ end
29734
+ end
29735
+
29376
29736
  # A routing configuration attached to a network resource. The message includes
29377
29737
  # the list of routers associated with the network, and a flag indicating the
29378
29738
  # type of routing behavior to enforce network-wide.
@@ -36095,6 +36455,12 @@ module Google
36095
36455
  # @return [String]
36096
36456
  attr_accessor :name
36097
36457
 
36458
+ # [Output Only] Warning of fetching the `quotas` field for this region. This
36459
+ # field is populated only if fetching of the `quotas` field fails.
36460
+ # Corresponds to the JSON property `quotaStatusWarning`
36461
+ # @return [Google::Apis::ComputeAlpha::Region::QuotaStatusWarning]
36462
+ attr_accessor :quota_status_warning
36463
+
36098
36464
  # [Output Only] Quotas assigned to this region.
36099
36465
  # Corresponds to the JSON property `quotas`
36100
36466
  # @return [Array<Google::Apis::ComputeAlpha::Quota>]
@@ -36139,6 +36505,7 @@ module Google
36139
36505
  @id = args[:id] if args.key?(:id)
36140
36506
  @kind = args[:kind] if args.key?(:kind)
36141
36507
  @name = args[:name] if args.key?(:name)
36508
+ @quota_status_warning = args[:quota_status_warning] if args.key?(:quota_status_warning)
36142
36509
  @quotas = args[:quotas] if args.key?(:quotas)
36143
36510
  @self_link = args[:self_link] if args.key?(:self_link)
36144
36511
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -36146,6 +36513,71 @@ module Google
36146
36513
  @supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
36147
36514
  @zones = args[:zones] if args.key?(:zones)
36148
36515
  end
36516
+
36517
+ # [Output Only] Warning of fetching the `quotas` field for this region. This
36518
+ # field is populated only if fetching of the `quotas` field fails.
36519
+ class QuotaStatusWarning
36520
+ include Google::Apis::Core::Hashable
36521
+
36522
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
36523
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
36524
+ # Corresponds to the JSON property `code`
36525
+ # @return [String]
36526
+ attr_accessor :code
36527
+
36528
+ # [Output Only] Metadata about this warning in key: value format. For example: "
36529
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
36530
+ # Corresponds to the JSON property `data`
36531
+ # @return [Array<Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Datum>]
36532
+ attr_accessor :data
36533
+
36534
+ # [Output Only] A human-readable description of the warning code.
36535
+ # Corresponds to the JSON property `message`
36536
+ # @return [String]
36537
+ attr_accessor :message
36538
+
36539
+ def initialize(**args)
36540
+ update!(**args)
36541
+ end
36542
+
36543
+ # Update properties of this object
36544
+ def update!(**args)
36545
+ @code = args[:code] if args.key?(:code)
36546
+ @data = args[:data] if args.key?(:data)
36547
+ @message = args[:message] if args.key?(:message)
36548
+ end
36549
+
36550
+ #
36551
+ class Datum
36552
+ include Google::Apis::Core::Hashable
36553
+
36554
+ # [Output Only] A key that provides more detail on the warning being returned.
36555
+ # For example, for warnings where there are no results in a list request for a
36556
+ # particular zone, this key might be scope and the key value might be the zone
36557
+ # name. Other examples might be a key indicating a deprecated resource and a
36558
+ # suggested replacement, or a warning about invalid network settings (for
36559
+ # example, if an instance attempts to perform IP forwarding but is not enabled
36560
+ # for IP forwarding).
36561
+ # Corresponds to the JSON property `key`
36562
+ # @return [String]
36563
+ attr_accessor :key
36564
+
36565
+ # [Output Only] A warning data value corresponding to the key.
36566
+ # Corresponds to the JSON property `value`
36567
+ # @return [String]
36568
+ attr_accessor :value
36569
+
36570
+ def initialize(**args)
36571
+ update!(**args)
36572
+ end
36573
+
36574
+ # Update properties of this object
36575
+ def update!(**args)
36576
+ @key = args[:key] if args.key?(:key)
36577
+ @value = args[:value] if args.key?(:value)
36578
+ end
36579
+ end
36580
+ end
36149
36581
  end
36150
36582
 
36151
36583
  #
@@ -36919,15 +37351,6 @@ module Google
36919
37351
  # @return [Array<String>]
36920
37352
  attr_accessor :instances
36921
37353
 
36922
- # Skip instances which cannot be deleted (instances not belonging to this
36923
- # managed group, already being deleted or being abandoned). If `false`, fail
36924
- # whole flow, if such instance is passed. DEPRECATED: Use
36925
- # skip_instances_on_validation_error instead.
36926
- # Corresponds to the JSON property `skipInapplicableInstances`
36927
- # @return [Boolean]
36928
- attr_accessor :skip_inapplicable_instances
36929
- alias_method :skip_inapplicable_instances?, :skip_inapplicable_instances
36930
-
36931
37354
  # Specifies whether the request should proceed despite the inclusion of
36932
37355
  # instances that are not members of the group or that are already in the process
36933
37356
  # of being deleted or abandoned. If this field is set to `false` and such an
@@ -36947,7 +37370,6 @@ module Google
36947
37370
  # Update properties of this object
36948
37371
  def update!(**args)
36949
37372
  @instances = args[:instances] if args.key?(:instances)
36950
- @skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances)
36951
37373
  @skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
36952
37374
  end
36953
37375
  end
@@ -37711,7 +38133,7 @@ module Google
37711
38133
  attr_accessor :rules
37712
38134
 
37713
38135
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
37714
- # NETWORK, NETWORK_REGIONAL.
38136
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
37715
38137
  # Corresponds to the JSON property `type`
37716
38138
  # @return [String]
37717
38139
  attr_accessor :type
@@ -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.93.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240227"
25
+ REVISION = "20240312"
26
26
  end
27
27
  end
28
28
  end
@@ -1444,6 +1444,12 @@ module Google
1444
1444
  include Google::Apis::Core::JsonObjectSupport
1445
1445
  end
1446
1446
 
1447
+ class GrpctlsHealthCheck
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1447
1453
  class GetOwnerInstanceResponse
1448
1454
  class Representation < Google::Apis::Core::JsonRepresentation; end
1449
1455
 
@@ -3676,6 +3682,36 @@ module Google
3676
3682
  include Google::Apis::Core::JsonObjectSupport
3677
3683
  end
3678
3684
 
3685
+ class NetworkPlacement
3686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3687
+
3688
+ include Google::Apis::Core::JsonObjectSupport
3689
+ end
3690
+
3691
+ class NetworkPlacementNetworkFeatures
3692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3693
+
3694
+ include Google::Apis::Core::JsonObjectSupport
3695
+ end
3696
+
3697
+ class NetworkPlacementsListResponse
3698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3699
+
3700
+ class Warning
3701
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3702
+
3703
+ class Datum
3704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3705
+
3706
+ include Google::Apis::Core::JsonObjectSupport
3707
+ end
3708
+
3709
+ include Google::Apis::Core::JsonObjectSupport
3710
+ end
3711
+
3712
+ include Google::Apis::Core::JsonObjectSupport
3713
+ end
3714
+
3679
3715
  class NetworkRoutingConfig
3680
3716
  class Representation < Google::Apis::Core::JsonRepresentation; end
3681
3717
 
@@ -4602,6 +4638,18 @@ module Google
4602
4638
 
4603
4639
  class Region
4604
4640
  class Representation < Google::Apis::Core::JsonRepresentation; end
4641
+
4642
+ class QuotaStatusWarning
4643
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4644
+
4645
+ class Datum
4646
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4647
+
4648
+ include Google::Apis::Core::JsonObjectSupport
4649
+ end
4650
+
4651
+ include Google::Apis::Core::JsonObjectSupport
4652
+ end
4605
4653
 
4606
4654
  include Google::Apis::Core::JsonObjectSupport
4607
4655
  end
@@ -8416,8 +8464,6 @@ module Google
8416
8464
  property :description, as: 'description'
8417
8465
  property :edge_security_policy, as: 'edgeSecurityPolicy'
8418
8466
  property :enable_cdn, as: 'enableCDN'
8419
- property :external_managed_migration_state, as: 'externalManagedMigrationState'
8420
- property :external_managed_migration_testing_rate, as: 'externalManagedMigrationTestingRate'
8421
8467
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation
8422
8468
 
8423
8469
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -10369,6 +10415,15 @@ module Google
10369
10415
  end
10370
10416
  end
10371
10417
 
10418
+ class GrpctlsHealthCheck
10419
+ # @private
10420
+ class Representation < Google::Apis::Core::JsonRepresentation
10421
+ property :grpc_service_name, as: 'grpcServiceName'
10422
+ property :port, as: 'port'
10423
+ property :port_specification, as: 'portSpecification'
10424
+ end
10425
+ end
10426
+
10372
10427
  class GetOwnerInstanceResponse
10373
10428
  # @private
10374
10429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10528,6 +10583,8 @@ module Google
10528
10583
  property :description, as: 'description'
10529
10584
  property :grpc_health_check, as: 'grpcHealthCheck', class: Google::Apis::ComputeAlpha::GrpcHealthCheck, decorator: Google::Apis::ComputeAlpha::GrpcHealthCheck::Representation
10530
10585
 
10586
+ property :grpc_tls_health_check, as: 'grpcTlsHealthCheck', class: Google::Apis::ComputeAlpha::GrpctlsHealthCheck, decorator: Google::Apis::ComputeAlpha::GrpctlsHealthCheck::Representation
10587
+
10531
10588
  property :healthy_threshold, as: 'healthyThreshold'
10532
10589
  property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeAlpha::Http2HealthCheck, decorator: Google::Apis::ComputeAlpha::Http2HealthCheck::Representation
10533
10590
 
@@ -14034,6 +14091,7 @@ module Google
14034
14091
  property :mtu, as: 'mtu'
14035
14092
  property :name, as: 'name'
14036
14093
  property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
14094
+ property :network_placement, as: 'networkPlacement'
14037
14095
  collection :peerings, as: 'peerings', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
14038
14096
 
14039
14097
  property :region, as: 'region'
@@ -14622,6 +14680,80 @@ module Google
14622
14680
  end
14623
14681
  end
14624
14682
 
14683
+ class NetworkPlacement
14684
+ # @private
14685
+ class Representation < Google::Apis::Core::JsonRepresentation
14686
+ property :creation_timestamp, as: 'creationTimestamp'
14687
+ property :description, as: 'description'
14688
+ property :features, as: 'features', class: Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures, decorator: Google::Apis::ComputeAlpha::NetworkPlacementNetworkFeatures::Representation
14689
+
14690
+ property :id, :numeric_string => true, as: 'id'
14691
+ property :kind, as: 'kind'
14692
+ property :name, as: 'name'
14693
+ property :self_link, as: 'selfLink'
14694
+ property :self_link_with_id, as: 'selfLinkWithId'
14695
+ property :zone, as: 'zone'
14696
+ end
14697
+ end
14698
+
14699
+ class NetworkPlacementNetworkFeatures
14700
+ # @private
14701
+ class Representation < Google::Apis::Core::JsonRepresentation
14702
+ property :allow_auto_mode_subnet, as: 'allowAutoModeSubnet'
14703
+ property :allow_cloud_nat, as: 'allowCloudNat'
14704
+ property :allow_cloud_router, as: 'allowCloudRouter'
14705
+ property :allow_interconnect, as: 'allowInterconnect'
14706
+ property :allow_load_balancing, as: 'allowLoadBalancing'
14707
+ property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
14708
+ property :allow_packet_mirroring, as: 'allowPacketMirroring'
14709
+ property :allow_private_google_access, as: 'allowPrivateGoogleAccess'
14710
+ property :allow_psc, as: 'allowPsc'
14711
+ property :allow_same_network_unicast, as: 'allowSameNetworkUnicast'
14712
+ property :allow_static_routes, as: 'allowStaticRoutes'
14713
+ property :allow_vpc_peering, as: 'allowVpcPeering'
14714
+ property :allow_vpn, as: 'allowVpn'
14715
+ collection :allowed_subnet_purposes, as: 'allowedSubnetPurposes'
14716
+ collection :allowed_subnet_stack_types, as: 'allowedSubnetStackTypes'
14717
+ collection :interface_types, as: 'interfaceTypes'
14718
+ property :multicast, as: 'multicast'
14719
+ property :unicast, as: 'unicast'
14720
+ end
14721
+ end
14722
+
14723
+ class NetworkPlacementsListResponse
14724
+ # @private
14725
+ class Representation < Google::Apis::Core::JsonRepresentation
14726
+ property :etag, as: 'etag'
14727
+ property :id, as: 'id'
14728
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NetworkPlacement, decorator: Google::Apis::ComputeAlpha::NetworkPlacement::Representation
14729
+
14730
+ property :kind, as: 'kind'
14731
+ property :next_page_token, as: 'nextPageToken'
14732
+ property :self_link, as: 'selfLink'
14733
+ collection :unreachables, as: 'unreachables'
14734
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning, decorator: Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning::Representation
14735
+
14736
+ end
14737
+
14738
+ class Warning
14739
+ # @private
14740
+ class Representation < Google::Apis::Core::JsonRepresentation
14741
+ property :code, as: 'code'
14742
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Warning::Datum::Representation
14743
+
14744
+ property :message, as: 'message'
14745
+ end
14746
+
14747
+ class Datum
14748
+ # @private
14749
+ class Representation < Google::Apis::Core::JsonRepresentation
14750
+ property :key, as: 'key'
14751
+ property :value, as: 'value'
14752
+ end
14753
+ end
14754
+ end
14755
+ end
14756
+
14625
14757
  class NetworkRoutingConfig
14626
14758
  # @private
14627
14759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16364,6 +16496,8 @@ module Google
16364
16496
  property :id, :numeric_string => true, as: 'id'
16365
16497
  property :kind, as: 'kind'
16366
16498
  property :name, as: 'name'
16499
+ property :quota_status_warning, as: 'quotaStatusWarning', class: Google::Apis::ComputeAlpha::Region::QuotaStatusWarning, decorator: Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Representation
16500
+
16367
16501
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeAlpha::Quota, decorator: Google::Apis::ComputeAlpha::Quota::Representation
16368
16502
 
16369
16503
  property :self_link, as: 'selfLink'
@@ -16372,6 +16506,24 @@ module Google
16372
16506
  property :supports_pzs, as: 'supportsPzs'
16373
16507
  collection :zones, as: 'zones'
16374
16508
  end
16509
+
16510
+ class QuotaStatusWarning
16511
+ # @private
16512
+ class Representation < Google::Apis::Core::JsonRepresentation
16513
+ property :code, as: 'code'
16514
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Datum, decorator: Google::Apis::ComputeAlpha::Region::QuotaStatusWarning::Datum::Representation
16515
+
16516
+ property :message, as: 'message'
16517
+ end
16518
+
16519
+ class Datum
16520
+ # @private
16521
+ class Representation < Google::Apis::Core::JsonRepresentation
16522
+ property :key, as: 'key'
16523
+ property :value, as: 'value'
16524
+ end
16525
+ end
16526
+ end
16375
16527
  end
16376
16528
 
16377
16529
  class RegionAddressesMoveRequest
@@ -16599,7 +16751,6 @@ module Google
16599
16751
  # @private
16600
16752
  class Representation < Google::Apis::Core::JsonRepresentation
16601
16753
  collection :instances, as: 'instances'
16602
- property :skip_inapplicable_instances, as: 'skipInapplicableInstances'
16603
16754
  property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
16604
16755
  end
16605
16756
  end
@@ -22019,6 +22019,133 @@ module Google
22019
22019
  execute_or_queue_command(command, &block)
22020
22020
  end
22021
22021
 
22022
+ # Returns the specified network placement.
22023
+ # @param [String] project
22024
+ # Project ID for this request.
22025
+ # @param [String] network_placement
22026
+ # Name of the network placement to return.
22027
+ # @param [String] fields
22028
+ # Selector specifying which fields to include in a partial response.
22029
+ # @param [String] quota_user
22030
+ # Available to use for quota purposes for server-side applications. Can be any
22031
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22032
+ # @param [String] user_ip
22033
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22034
+ # @param [Google::Apis::RequestOptions] options
22035
+ # Request-specific options
22036
+ #
22037
+ # @yield [result, err] Result & error if block supplied
22038
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkPlacement] parsed result object
22039
+ # @yieldparam err [StandardError] error object if request failed
22040
+ #
22041
+ # @return [Google::Apis::ComputeAlpha::NetworkPlacement]
22042
+ #
22043
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22044
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22045
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22046
+ def get_network_placement(project, network_placement, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
22047
+ command = make_simple_command(:get, 'projects/{project}/global/networkPlacements/{networkPlacement}', options)
22048
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkPlacement::Representation
22049
+ command.response_class = Google::Apis::ComputeAlpha::NetworkPlacement
22050
+ command.params['project'] = project unless project.nil?
22051
+ command.params['networkPlacement'] = network_placement unless network_placement.nil?
22052
+ command.query['fields'] = fields unless fields.nil?
22053
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22054
+ command.query['userIp'] = user_ip unless user_ip.nil?
22055
+ execute_or_queue_command(command, &block)
22056
+ end
22057
+
22058
+ # Retrieves a list of network placements available to the specified project.
22059
+ # @param [String] project
22060
+ # Project ID for this request.
22061
+ # @param [String] filter
22062
+ # A filter expression that filters resources listed in the response. Most
22063
+ # Compute resources support two types of filter expressions: expressions that
22064
+ # support regular expressions and expressions that follow API improvement
22065
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
22066
+ # request. If you want to use AIP-160, your expression must specify the field
22067
+ # name, an operator, and the value that you want to use for filtering. The value
22068
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
22069
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
22070
+ # Engine instances, you can exclude instances named `example-instance` by
22071
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
22072
+ # whether a key has been defined. For example, to find all objects with `owner`
22073
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
22074
+ # example, you could specify `scheduling.automaticRestart = false` to include
22075
+ # instances only if they are not scheduled for automatic restarts. You can use
22076
+ # filtering on nested fields to filter based on resource labels. To filter on
22077
+ # multiple expressions, provide each separate expression within parentheses. For
22078
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
22079
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
22080
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
22081
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
22082
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
22083
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
22084
+ # un-parenthesized expression with or without quotes or against multiple
22085
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
22086
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
22087
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
22088
+ # interpreted as a regular expression using Google RE2 library syntax. The
22089
+ # literal value must match the entire field. For example, to filter for
22090
+ # instances that do not end with name "instance", you would use `name ne .*
22091
+ # instance`. You cannot combine constraints on multiple fields using regular
22092
+ # expressions.
22093
+ # @param [Fixnum] max_results
22094
+ # The maximum number of results per page that should be returned. If the number
22095
+ # of available results is larger than `maxResults`, Compute Engine returns a `
22096
+ # nextPageToken` that can be used to get the next page of results in subsequent
22097
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
22098
+ # @param [String] order_by
22099
+ # Sorts list results by a certain order. By default, results are returned in
22100
+ # alphanumerical order based on the resource name. You can also sort results in
22101
+ # descending order based on the creation timestamp using `orderBy="
22102
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
22103
+ # field in reverse chronological order (newest result first). Use this to sort
22104
+ # resources like operations so that the newest operation is returned first.
22105
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
22106
+ # @param [String] page_token
22107
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
22108
+ # by a previous list request to get the next page of results.
22109
+ # @param [Boolean] return_partial_success
22110
+ # Opt-in for partial success behavior which provides partial results in case of
22111
+ # failure. The default value is false. For example, when partial success
22112
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
22113
+ # resources in the zone or no resources, with an error code.
22114
+ # @param [String] fields
22115
+ # Selector specifying which fields to include in a partial response.
22116
+ # @param [String] quota_user
22117
+ # Available to use for quota purposes for server-side applications. Can be any
22118
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22119
+ # @param [String] user_ip
22120
+ # Legacy name for parameter that has been superseded by `quotaUser`.
22121
+ # @param [Google::Apis::RequestOptions] options
22122
+ # Request-specific options
22123
+ #
22124
+ # @yield [result, err] Result & error if block supplied
22125
+ # @yieldparam result [Google::Apis::ComputeAlpha::NetworkPlacementsListResponse] parsed result object
22126
+ # @yieldparam err [StandardError] error object if request failed
22127
+ #
22128
+ # @return [Google::Apis::ComputeAlpha::NetworkPlacementsListResponse]
22129
+ #
22130
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22131
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22132
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22133
+ def list_network_placements(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)
22134
+ command = make_simple_command(:get, 'projects/{project}/global/networkPlacements', options)
22135
+ command.response_representation = Google::Apis::ComputeAlpha::NetworkPlacementsListResponse::Representation
22136
+ command.response_class = Google::Apis::ComputeAlpha::NetworkPlacementsListResponse
22137
+ command.params['project'] = project unless project.nil?
22138
+ command.query['filter'] = filter unless filter.nil?
22139
+ command.query['maxResults'] = max_results unless max_results.nil?
22140
+ command.query['orderBy'] = order_by unless order_by.nil?
22141
+ command.query['pageToken'] = page_token unless page_token.nil?
22142
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
22143
+ command.query['fields'] = fields unless fields.nil?
22144
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22145
+ command.query['userIp'] = user_ip unless user_ip.nil?
22146
+ execute_or_queue_command(command, &block)
22147
+ end
22148
+
22022
22149
  # Adds a peering to the specified network.
22023
22150
  # @param [String] project
22024
22151
  # 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.93.0
4
+ version: 0.95.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-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-24 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.93.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.95.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: []