google-apis-compute_alpha 0.94.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a238f940627373a11859c46e678073c112e5c53dd18a3e131969cc20b50ff077
|
4
|
+
data.tar.gz: 2cee3521a4d7a0cc451b24a7c3f0fa564ab8e3f809bee470f386db418db0d2ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ff76c4ca7e9b518ce10f9e789c14b83ac1159f6bc13562c4daa77220e07a31f76a014dfc39be2fffa0a43e0ab2412a3336b05124441bebef022be6637689565
|
7
|
+
data.tar.gz: 42d6b334257a0cf19dbbf261a8b1cc9f04875930fc8996ab68bf75d05116cec6164afcca86f0fd252ff10b202aa51accb274fdf2961af300e928d9a63cebcf95
|
data/CHANGELOG.md
CHANGED
@@ -17832,10 +17832,9 @@ module Google
|
|
17832
17832
|
class InstanceGroupManagerParams
|
17833
17833
|
include Google::Apis::Core::Hashable
|
17834
17834
|
|
17835
|
-
# Resource manager tags to
|
17836
|
-
#
|
17837
|
-
#
|
17838
|
-
# 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.
|
17839
17838
|
# Corresponds to the JSON property `resourceManagerTags`
|
17840
17839
|
# @return [Hash<String,String>]
|
17841
17840
|
attr_accessor :resource_manager_tags
|
@@ -20935,7 +20934,7 @@ module Google
|
|
20935
20934
|
attr_accessor :short_name
|
20936
20935
|
|
20937
20936
|
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
20938
|
-
# NETWORK, NETWORK_REGIONAL.
|
20937
|
+
# NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
|
20939
20938
|
# Corresponds to the JSON property `type`
|
20940
20939
|
# @return [String]
|
20941
20940
|
attr_accessor :type
|
@@ -29412,6 +29411,328 @@ module Google
|
|
29412
29411
|
end
|
29413
29412
|
end
|
29414
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
|
+
|
29415
29736
|
# A routing configuration attached to a network resource. The message includes
|
29416
29737
|
# the list of routers associated with the network, and a flag indicating the
|
29417
29738
|
# type of routing behavior to enforce network-wide.
|
@@ -37030,15 +37351,6 @@ module Google
|
|
37030
37351
|
# @return [Array<String>]
|
37031
37352
|
attr_accessor :instances
|
37032
37353
|
|
37033
|
-
# Skip instances which cannot be deleted (instances not belonging to this
|
37034
|
-
# managed group, already being deleted or being abandoned). If `false`, fail
|
37035
|
-
# whole flow, if such instance is passed. DEPRECATED: Use
|
37036
|
-
# skip_instances_on_validation_error instead.
|
37037
|
-
# Corresponds to the JSON property `skipInapplicableInstances`
|
37038
|
-
# @return [Boolean]
|
37039
|
-
attr_accessor :skip_inapplicable_instances
|
37040
|
-
alias_method :skip_inapplicable_instances?, :skip_inapplicable_instances
|
37041
|
-
|
37042
37354
|
# Specifies whether the request should proceed despite the inclusion of
|
37043
37355
|
# instances that are not members of the group or that are already in the process
|
37044
37356
|
# of being deleted or abandoned. If this field is set to `false` and such an
|
@@ -37058,7 +37370,6 @@ module Google
|
|
37058
37370
|
# Update properties of this object
|
37059
37371
|
def update!(**args)
|
37060
37372
|
@instances = args[:instances] if args.key?(:instances)
|
37061
|
-
@skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances)
|
37062
37373
|
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
37063
37374
|
end
|
37064
37375
|
end
|
@@ -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.
|
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 = "
|
25
|
+
REVISION = "20240312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3682,6 +3682,36 @@ module Google
|
|
3682
3682
|
include Google::Apis::Core::JsonObjectSupport
|
3683
3683
|
end
|
3684
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
|
+
|
3685
3715
|
class NetworkRoutingConfig
|
3686
3716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3687
3717
|
|
@@ -14650,6 +14680,80 @@ module Google
|
|
14650
14680
|
end
|
14651
14681
|
end
|
14652
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
|
+
|
14653
14757
|
class NetworkRoutingConfig
|
14654
14758
|
# @private
|
14655
14759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16647,7 +16751,6 @@ module Google
|
|
16647
16751
|
# @private
|
16648
16752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16649
16753
|
collection :instances, as: 'instances'
|
16650
|
-
property :skip_inapplicable_instances, as: 'skipInapplicableInstances'
|
16651
16754
|
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
16652
16755
|
end
|
16653
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.
|
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-
|
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.
|
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: []
|