google-apis-compute_v1 0.137.0 → 0.138.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7254b18118944944f456d3f536c668fbfe7181568659c5032c5160b386d6ef2
|
|
4
|
+
data.tar.gz: 60edf62453fe2371b8cc3f8a24596d3170bb2f5b19f6d50365bc2c9fff5a896a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3daebaab5e9caad433f8c76cf9d674d2f1e4621cc87fdb6b1af5c771aad34cf45297d8c1a93c66b68f05cdf0b6f177703cd65f4362d0ef3f7bdea0cef9c652f3
|
|
7
|
+
data.tar.gz: 7cae2be0d4d09a14e3e456b9b7a71ec7ea53cd77c9ed926b11798d1002acc1f71e81150eeb8b68d041a6e6a6028ccb2959568a8b18cc8033069b98f5fe1dc019
|
data/CHANGELOG.md
CHANGED
|
@@ -4312,6 +4312,13 @@ module Google
|
|
|
4312
4312
|
# @return [String]
|
|
4313
4313
|
attr_accessor :network
|
|
4314
4314
|
|
|
4315
|
+
# Configures traffic steering properties of internal passthrough Network
|
|
4316
|
+
# Load Balancers.
|
|
4317
|
+
# networkPassThroughLbTrafficPolicy cannot be specified with haPolicy.
|
|
4318
|
+
# Corresponds to the JSON property `networkPassThroughLbTrafficPolicy`
|
|
4319
|
+
# @return [Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicy]
|
|
4320
|
+
attr_accessor :network_pass_through_lb_traffic_policy
|
|
4321
|
+
|
|
4315
4322
|
# Settings controlling the eviction of unhealthy hosts from the load balancing
|
|
4316
4323
|
# pool for the backend service.
|
|
4317
4324
|
# Corresponds to the JSON property `outlierDetection`
|
|
@@ -4484,6 +4491,7 @@ module Google
|
|
|
4484
4491
|
@metadatas = args[:metadatas] if args.key?(:metadatas)
|
|
4485
4492
|
@name = args[:name] if args.key?(:name)
|
|
4486
4493
|
@network = args[:network] if args.key?(:network)
|
|
4494
|
+
@network_pass_through_lb_traffic_policy = args[:network_pass_through_lb_traffic_policy] if args.key?(:network_pass_through_lb_traffic_policy)
|
|
4487
4495
|
@outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection)
|
|
4488
4496
|
@params = args[:params] if args.key?(:params)
|
|
4489
4497
|
@port = args[:port] if args.key?(:port)
|
|
@@ -5711,6 +5719,74 @@ module Google
|
|
|
5711
5719
|
end
|
|
5712
5720
|
end
|
|
5713
5721
|
|
|
5722
|
+
#
|
|
5723
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
5724
|
+
include Google::Apis::Core::Hashable
|
|
5725
|
+
|
|
5726
|
+
# When configured, new connections are load balanced across healthy backend
|
|
5727
|
+
# endpoints in the local zone.
|
|
5728
|
+
# Corresponds to the JSON property `zonalAffinity`
|
|
5729
|
+
# @return [Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity]
|
|
5730
|
+
attr_accessor :zonal_affinity
|
|
5731
|
+
|
|
5732
|
+
def initialize(**args)
|
|
5733
|
+
update!(**args)
|
|
5734
|
+
end
|
|
5735
|
+
|
|
5736
|
+
# Update properties of this object
|
|
5737
|
+
def update!(**args)
|
|
5738
|
+
@zonal_affinity = args[:zonal_affinity] if args.key?(:zonal_affinity)
|
|
5739
|
+
end
|
|
5740
|
+
end
|
|
5741
|
+
|
|
5742
|
+
#
|
|
5743
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
5744
|
+
include Google::Apis::Core::Hashable
|
|
5745
|
+
|
|
5746
|
+
# This field indicates whether zonal affinity is enabled or not. The
|
|
5747
|
+
# possible values are:
|
|
5748
|
+
#
|
|
5749
|
+
# - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity
|
|
5750
|
+
# is disabled. The load balancer distributes new connections to all
|
|
5751
|
+
# healthy backend endpoints across all zones.
|
|
5752
|
+
# - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is
|
|
5753
|
+
# enabled. The load balancer distributes new connections to all healthy
|
|
5754
|
+
# backend endpoints in the local zone only. If there are no healthy
|
|
5755
|
+
# backend endpoints in the local zone, the load balancer distributes
|
|
5756
|
+
# new connections to all backend endpoints in the local zone.
|
|
5757
|
+
# - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is
|
|
5758
|
+
# enabled. The load balancer distributes new connections to all healthy
|
|
5759
|
+
# backend endpoints in the local zone only. If there aren't enough
|
|
5760
|
+
# healthy backend endpoints in the local zone, the load balancer
|
|
5761
|
+
# distributes new connections to all healthy backend endpoints across all
|
|
5762
|
+
# zones.
|
|
5763
|
+
# Corresponds to the JSON property `spillover`
|
|
5764
|
+
# @return [String]
|
|
5765
|
+
attr_accessor :spillover
|
|
5766
|
+
|
|
5767
|
+
# The value of the field must be in [0, 1]. When the ratio of the count
|
|
5768
|
+
# of healthy backend endpoints in a zone to the count of backend
|
|
5769
|
+
# endpoints in that same zone is equal to or above this threshold, the
|
|
5770
|
+
# load balancer distributes new connections to all healthy endpoints in
|
|
5771
|
+
# the local zone only. When the ratio of the count of healthy backend
|
|
5772
|
+
# endpoints in a zone to the count of backend endpoints in that same
|
|
5773
|
+
# zone is below this threshold, the load balancer distributes all new
|
|
5774
|
+
# connections to all healthy endpoints across all zones.
|
|
5775
|
+
# Corresponds to the JSON property `spilloverRatio`
|
|
5776
|
+
# @return [Float]
|
|
5777
|
+
attr_accessor :spillover_ratio
|
|
5778
|
+
|
|
5779
|
+
def initialize(**args)
|
|
5780
|
+
update!(**args)
|
|
5781
|
+
end
|
|
5782
|
+
|
|
5783
|
+
# Update properties of this object
|
|
5784
|
+
def update!(**args)
|
|
5785
|
+
@spillover = args[:spillover] if args.key?(:spillover)
|
|
5786
|
+
@spillover_ratio = args[:spillover_ratio] if args.key?(:spillover_ratio)
|
|
5787
|
+
end
|
|
5788
|
+
end
|
|
5789
|
+
|
|
5714
5790
|
# Additional Backend Service parameters.
|
|
5715
5791
|
class BackendServiceParams
|
|
5716
5792
|
include Google::Apis::Core::Hashable
|
|
@@ -11730,6 +11806,16 @@ module Google
|
|
|
11730
11806
|
# @return [Array<String>]
|
|
11731
11807
|
attr_accessor :dest_ip_ranges
|
|
11732
11808
|
|
|
11809
|
+
# Network context of the traffic destination. Allowed values are:
|
|
11810
|
+
#
|
|
11811
|
+
#
|
|
11812
|
+
# - UNSPECIFIED
|
|
11813
|
+
# - INTERNET
|
|
11814
|
+
# - NON_INTERNET
|
|
11815
|
+
# Corresponds to the JSON property `destNetworkContext`
|
|
11816
|
+
# @return [String]
|
|
11817
|
+
attr_accessor :dest_network_context
|
|
11818
|
+
|
|
11733
11819
|
# Network type of the traffic destination. Allowed values are:
|
|
11734
11820
|
#
|
|
11735
11821
|
#
|
|
@@ -11778,6 +11864,18 @@ module Google
|
|
|
11778
11864
|
# @return [Array<String>]
|
|
11779
11865
|
attr_accessor :src_ip_ranges
|
|
11780
11866
|
|
|
11867
|
+
# Network context of the traffic source. Allowed values are:
|
|
11868
|
+
#
|
|
11869
|
+
#
|
|
11870
|
+
# - UNSPECIFIED
|
|
11871
|
+
# - INTERNET
|
|
11872
|
+
# - INTRA_VPC
|
|
11873
|
+
# - NON_INTERNET
|
|
11874
|
+
# - VPC_NETWORKS
|
|
11875
|
+
# Corresponds to the JSON property `srcNetworkContext`
|
|
11876
|
+
# @return [String]
|
|
11877
|
+
attr_accessor :src_network_context
|
|
11878
|
+
|
|
11781
11879
|
# Network type of the traffic source. Allowed values are:
|
|
11782
11880
|
#
|
|
11783
11881
|
#
|
|
@@ -11827,6 +11925,7 @@ module Google
|
|
|
11827
11925
|
@dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
|
|
11828
11926
|
@dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
|
|
11829
11927
|
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
|
11928
|
+
@dest_network_context = args[:dest_network_context] if args.key?(:dest_network_context)
|
|
11830
11929
|
@dest_network_type = args[:dest_network_type] if args.key?(:dest_network_type)
|
|
11831
11930
|
@dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
|
|
11832
11931
|
@dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
|
|
@@ -11834,6 +11933,7 @@ module Google
|
|
|
11834
11933
|
@src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
|
|
11835
11934
|
@src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
|
|
11836
11935
|
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
|
11936
|
+
@src_network_context = args[:src_network_context] if args.key?(:src_network_context)
|
|
11837
11937
|
@src_network_type = args[:src_network_type] if args.key?(:src_network_type)
|
|
11838
11938
|
@src_networks = args[:src_networks] if args.key?(:src_networks)
|
|
11839
11939
|
@src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
|
|
@@ -28511,6 +28611,11 @@ module Google
|
|
|
28511
28611
|
attr_accessor :os_license
|
|
28512
28612
|
alias_method :os_license?, :os_license
|
|
28513
28613
|
|
|
28614
|
+
# Additional license params.
|
|
28615
|
+
# Corresponds to the JSON property `params`
|
|
28616
|
+
# @return [Google::Apis::ComputeV1::LicenseParams]
|
|
28617
|
+
attr_accessor :params
|
|
28618
|
+
|
|
28514
28619
|
# If true, this license can be removed from a disk's set of licenses, with no
|
|
28515
28620
|
# replacement license needed.
|
|
28516
28621
|
# Corresponds to the JSON property `removableFromDisk`
|
|
@@ -28579,6 +28684,7 @@ module Google
|
|
|
28579
28684
|
@multi_tenant_only = args[:multi_tenant_only] if args.key?(:multi_tenant_only)
|
|
28580
28685
|
@name = args[:name] if args.key?(:name)
|
|
28581
28686
|
@os_license = args[:os_license] if args.key?(:os_license)
|
|
28687
|
+
@params = args[:params] if args.key?(:params)
|
|
28582
28688
|
@removable_from_disk = args[:removable_from_disk] if args.key?(:removable_from_disk)
|
|
28583
28689
|
@required_coattached_licenses = args[:required_coattached_licenses] if args.key?(:required_coattached_licenses)
|
|
28584
28690
|
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
|
@@ -28697,6 +28803,32 @@ module Google
|
|
|
28697
28803
|
end
|
|
28698
28804
|
end
|
|
28699
28805
|
|
|
28806
|
+
# Additional license params.
|
|
28807
|
+
class LicenseParams
|
|
28808
|
+
include Google::Apis::Core::Hashable
|
|
28809
|
+
|
|
28810
|
+
# Input only. Resource manager tags to be bound to the license. Tag keys and
|
|
28811
|
+
# values
|
|
28812
|
+
# have the same definition as resource
|
|
28813
|
+
# manager tags. Keys and values can be either in numeric format,
|
|
28814
|
+
# such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced
|
|
28815
|
+
# format such as ``org_id|project_id`/`tag_key_short_name`` and
|
|
28816
|
+
# ``tag_value_short_name``. The field is ignored (both PUT &
|
|
28817
|
+
# PATCH) when empty.
|
|
28818
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
|
28819
|
+
# @return [Hash<String,String>]
|
|
28820
|
+
attr_accessor :resource_manager_tags
|
|
28821
|
+
|
|
28822
|
+
def initialize(**args)
|
|
28823
|
+
update!(**args)
|
|
28824
|
+
end
|
|
28825
|
+
|
|
28826
|
+
# Update properties of this object
|
|
28827
|
+
def update!(**args)
|
|
28828
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
|
28829
|
+
end
|
|
28830
|
+
end
|
|
28831
|
+
|
|
28700
28832
|
# Commitment for a particular license resource.
|
|
28701
28833
|
class LicenseResourceCommitment
|
|
28702
28834
|
include Google::Apis::Core::Hashable
|
|
@@ -33330,6 +33462,11 @@ module Google
|
|
|
33330
33462
|
# @return [Array<String>]
|
|
33331
33463
|
attr_accessor :address_purposes
|
|
33332
33464
|
|
|
33465
|
+
# Specifies whether address creation is allowed.
|
|
33466
|
+
# Corresponds to the JSON property `allowAddressCreation`
|
|
33467
|
+
# @return [String]
|
|
33468
|
+
attr_accessor :allow_address_creation
|
|
33469
|
+
|
|
33333
33470
|
# Specifies whether alias IP ranges (and secondary address ranges) are
|
|
33334
33471
|
# allowed.
|
|
33335
33472
|
# Corresponds to the JSON property `allowAliasIpRanges`
|
|
@@ -33367,6 +33504,11 @@ module Google
|
|
|
33367
33504
|
# @return [String]
|
|
33368
33505
|
attr_accessor :allow_external_ip_access
|
|
33369
33506
|
|
|
33507
|
+
# Specifies whether firewall policy can be attached to the network.
|
|
33508
|
+
# Corresponds to the JSON property `allowFirewallPolicy`
|
|
33509
|
+
# @return [String]
|
|
33510
|
+
attr_accessor :allow_firewall_policy
|
|
33511
|
+
|
|
33370
33512
|
# Specifies whether Cloud Interconnect creation is allowed.
|
|
33371
33513
|
# Corresponds to the JSON property `allowInterconnect`
|
|
33372
33514
|
# @return [String]
|
|
@@ -33387,6 +33529,11 @@ module Google
|
|
|
33387
33529
|
# @return [String]
|
|
33388
33530
|
attr_accessor :allow_multi_nic_in_same_network
|
|
33389
33531
|
|
|
33532
|
+
# Specifies whether multi-nic in the same subnetwork is allowed.
|
|
33533
|
+
# Corresponds to the JSON property `allowMultiNicInSameSubnetwork`
|
|
33534
|
+
# @return [String]
|
|
33535
|
+
attr_accessor :allow_multi_nic_in_same_subnetwork
|
|
33536
|
+
|
|
33390
33537
|
# Specifies whether multicast is allowed.
|
|
33391
33538
|
# Corresponds to the JSON property `allowMulticast`
|
|
33392
33539
|
# @return [String]
|
|
@@ -33432,6 +33579,16 @@ module Google
|
|
|
33432
33579
|
# @return [String]
|
|
33433
33580
|
attr_accessor :allow_sub_interfaces
|
|
33434
33581
|
|
|
33582
|
+
# Specifies whether subnetwork creation is allowed.
|
|
33583
|
+
# Corresponds to the JSON property `allowSubnetworkCreation`
|
|
33584
|
+
# @return [String]
|
|
33585
|
+
attr_accessor :allow_subnetwork_creation
|
|
33586
|
+
|
|
33587
|
+
# Specifies whether VPC firewall rules can be created under the network.
|
|
33588
|
+
# Corresponds to the JSON property `allowVpcFirewallRules`
|
|
33589
|
+
# @return [String]
|
|
33590
|
+
attr_accessor :allow_vpc_firewall_rules
|
|
33591
|
+
|
|
33435
33592
|
# Specifies whether VPC peering is allowed.
|
|
33436
33593
|
# Corresponds to the JSON property `allowVpcPeering`
|
|
33437
33594
|
# @return [String]
|
|
@@ -33442,6 +33599,11 @@ module Google
|
|
|
33442
33599
|
# @return [String]
|
|
33443
33600
|
attr_accessor :allow_vpn
|
|
33444
33601
|
|
|
33602
|
+
#
|
|
33603
|
+
# Corresponds to the JSON property `firewallPolicyTypes`
|
|
33604
|
+
# @return [Array<String>]
|
|
33605
|
+
attr_accessor :firewall_policy_types
|
|
33606
|
+
|
|
33445
33607
|
# If set, limits the interface types that the network supports. If
|
|
33446
33608
|
# empty, all interface types are supported.
|
|
33447
33609
|
# Corresponds to the JSON property `interfaceTypes`
|
|
@@ -33453,6 +33615,16 @@ module Google
|
|
|
33453
33615
|
# @return [String]
|
|
33454
33616
|
attr_accessor :multicast
|
|
33455
33617
|
|
|
33618
|
+
# Specifies a predefined internal IPv6 range for the network.
|
|
33619
|
+
# Corresponds to the JSON property `predefinedNetworkInternalIpv6Range`
|
|
33620
|
+
# @return [String]
|
|
33621
|
+
attr_accessor :predefined_network_internal_ipv6_range
|
|
33622
|
+
|
|
33623
|
+
# Predefined subnetwork ranges for the network.
|
|
33624
|
+
# Corresponds to the JSON property `predefinedSubnetworkRanges`
|
|
33625
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange>]
|
|
33626
|
+
attr_accessor :predefined_subnetwork_ranges
|
|
33627
|
+
|
|
33456
33628
|
# Specifies which subnetwork purposes are supported.
|
|
33457
33629
|
# Corresponds to the JSON property `subnetPurposes`
|
|
33458
33630
|
# @return [Array<String>]
|
|
@@ -33485,6 +33657,7 @@ module Google
|
|
|
33485
33657
|
# Update properties of this object
|
|
33486
33658
|
def update!(**args)
|
|
33487
33659
|
@address_purposes = args[:address_purposes] if args.key?(:address_purposes)
|
|
33660
|
+
@allow_address_creation = args[:allow_address_creation] if args.key?(:allow_address_creation)
|
|
33488
33661
|
@allow_alias_ip_ranges = args[:allow_alias_ip_ranges] if args.key?(:allow_alias_ip_ranges)
|
|
33489
33662
|
@allow_auto_mode_subnet = args[:allow_auto_mode_subnet] if args.key?(:allow_auto_mode_subnet)
|
|
33490
33663
|
@allow_class_d_firewalls = args[:allow_class_d_firewalls] if args.key?(:allow_class_d_firewalls)
|
|
@@ -33492,10 +33665,12 @@ module Google
|
|
|
33492
33665
|
@allow_cloud_router = args[:allow_cloud_router] if args.key?(:allow_cloud_router)
|
|
33493
33666
|
@allow_default_nic_attachment = args[:allow_default_nic_attachment] if args.key?(:allow_default_nic_attachment)
|
|
33494
33667
|
@allow_external_ip_access = args[:allow_external_ip_access] if args.key?(:allow_external_ip_access)
|
|
33668
|
+
@allow_firewall_policy = args[:allow_firewall_policy] if args.key?(:allow_firewall_policy)
|
|
33495
33669
|
@allow_interconnect = args[:allow_interconnect] if args.key?(:allow_interconnect)
|
|
33496
33670
|
@allow_ip_forwarding = args[:allow_ip_forwarding] if args.key?(:allow_ip_forwarding)
|
|
33497
33671
|
@allow_load_balancing = args[:allow_load_balancing] if args.key?(:allow_load_balancing)
|
|
33498
33672
|
@allow_multi_nic_in_same_network = args[:allow_multi_nic_in_same_network] if args.key?(:allow_multi_nic_in_same_network)
|
|
33673
|
+
@allow_multi_nic_in_same_subnetwork = args[:allow_multi_nic_in_same_subnetwork] if args.key?(:allow_multi_nic_in_same_subnetwork)
|
|
33499
33674
|
@allow_multicast = args[:allow_multicast] if args.key?(:allow_multicast)
|
|
33500
33675
|
@allow_ncc = args[:allow_ncc] if args.key?(:allow_ncc)
|
|
33501
33676
|
@allow_network_migration = args[:allow_network_migration] if args.key?(:allow_network_migration)
|
|
@@ -33505,10 +33680,15 @@ module Google
|
|
|
33505
33680
|
@allow_same_network_unicast = args[:allow_same_network_unicast] if args.key?(:allow_same_network_unicast)
|
|
33506
33681
|
@allow_static_routes = args[:allow_static_routes] if args.key?(:allow_static_routes)
|
|
33507
33682
|
@allow_sub_interfaces = args[:allow_sub_interfaces] if args.key?(:allow_sub_interfaces)
|
|
33683
|
+
@allow_subnetwork_creation = args[:allow_subnetwork_creation] if args.key?(:allow_subnetwork_creation)
|
|
33684
|
+
@allow_vpc_firewall_rules = args[:allow_vpc_firewall_rules] if args.key?(:allow_vpc_firewall_rules)
|
|
33508
33685
|
@allow_vpc_peering = args[:allow_vpc_peering] if args.key?(:allow_vpc_peering)
|
|
33509
33686
|
@allow_vpn = args[:allow_vpn] if args.key?(:allow_vpn)
|
|
33687
|
+
@firewall_policy_types = args[:firewall_policy_types] if args.key?(:firewall_policy_types)
|
|
33510
33688
|
@interface_types = args[:interface_types] if args.key?(:interface_types)
|
|
33511
33689
|
@multicast = args[:multicast] if args.key?(:multicast)
|
|
33690
|
+
@predefined_network_internal_ipv6_range = args[:predefined_network_internal_ipv6_range] if args.key?(:predefined_network_internal_ipv6_range)
|
|
33691
|
+
@predefined_subnetwork_ranges = args[:predefined_subnetwork_ranges] if args.key?(:predefined_subnetwork_ranges)
|
|
33512
33692
|
@subnet_purposes = args[:subnet_purposes] if args.key?(:subnet_purposes)
|
|
33513
33693
|
@subnet_stack_types = args[:subnet_stack_types] if args.key?(:subnet_stack_types)
|
|
33514
33694
|
@subnetwork_purposes = args[:subnetwork_purposes] if args.key?(:subnetwork_purposes)
|
|
@@ -33517,6 +33697,31 @@ module Google
|
|
|
33517
33697
|
end
|
|
33518
33698
|
end
|
|
33519
33699
|
|
|
33700
|
+
#
|
|
33701
|
+
class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange
|
|
33702
|
+
include Google::Apis::Core::Hashable
|
|
33703
|
+
|
|
33704
|
+
# The IPv6 range of the predefined subnetwork.
|
|
33705
|
+
# Corresponds to the JSON property `ipv6Range`
|
|
33706
|
+
# @return [String]
|
|
33707
|
+
attr_accessor :ipv6_range
|
|
33708
|
+
|
|
33709
|
+
# The naming prefix of the predefined subnetwork.
|
|
33710
|
+
# Corresponds to the JSON property `namePrefix`
|
|
33711
|
+
# @return [String]
|
|
33712
|
+
attr_accessor :name_prefix
|
|
33713
|
+
|
|
33714
|
+
def initialize(**args)
|
|
33715
|
+
update!(**args)
|
|
33716
|
+
end
|
|
33717
|
+
|
|
33718
|
+
# Update properties of this object
|
|
33719
|
+
def update!(**args)
|
|
33720
|
+
@ipv6_range = args[:ipv6_range] if args.key?(:ipv6_range)
|
|
33721
|
+
@name_prefix = args[:name_prefix] if args.key?(:name_prefix)
|
|
33722
|
+
end
|
|
33723
|
+
end
|
|
33724
|
+
|
|
33520
33725
|
#
|
|
33521
33726
|
class NetworkProfileProfileType
|
|
33522
33727
|
include Google::Apis::Core::Hashable
|
|
@@ -42301,6 +42506,13 @@ module Google
|
|
|
42301
42506
|
# @return [Fixnum]
|
|
42302
42507
|
attr_accessor :in_use_count
|
|
42303
42508
|
|
|
42509
|
+
# Output only. Number of hosts currently in use. If there is one or more
|
|
42510
|
+
# Instances running
|
|
42511
|
+
# on the host, it is considered in use.
|
|
42512
|
+
# Corresponds to the JSON property `inUseHostCount`
|
|
42513
|
+
# @return [Fixnum]
|
|
42514
|
+
attr_accessor :in_use_host_count
|
|
42515
|
+
|
|
42304
42516
|
# Output only. [Output Only] Type of the resource. Alwayscompute#
|
|
42305
42517
|
# reservationBlock for reservation blocks.
|
|
42306
42518
|
# Corresponds to the JSON property `kind`
|
|
@@ -42373,6 +42585,7 @@ module Google
|
|
|
42373
42585
|
@health_info = args[:health_info] if args.key?(:health_info)
|
|
42374
42586
|
@id = args[:id] if args.key?(:id)
|
|
42375
42587
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
|
42588
|
+
@in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
|
|
42376
42589
|
@kind = args[:kind] if args.key?(:kind)
|
|
42377
42590
|
@name = args[:name] if args.key?(:name)
|
|
42378
42591
|
@physical_topology = args[:physical_topology] if args.key?(:physical_topology)
|
|
@@ -42813,6 +43026,13 @@ module Google
|
|
|
42813
43026
|
# @return [Fixnum]
|
|
42814
43027
|
attr_accessor :in_use_count
|
|
42815
43028
|
|
|
43029
|
+
# Output only. Number of hosts currently in use. If there is one or more
|
|
43030
|
+
# Instances running
|
|
43031
|
+
# on the host, it is considered in use.
|
|
43032
|
+
# Corresponds to the JSON property `inUseHostCount`
|
|
43033
|
+
# @return [Fixnum]
|
|
43034
|
+
attr_accessor :in_use_host_count
|
|
43035
|
+
|
|
42816
43036
|
# Output only. [Output Only] Type of the resource. Alwayscompute#
|
|
42817
43037
|
# reservationSubBlock for reservation subBlocks.
|
|
42818
43038
|
# Corresponds to the JSON property `kind`
|
|
@@ -42871,6 +43091,7 @@ module Google
|
|
|
42871
43091
|
@health_info = args[:health_info] if args.key?(:health_info)
|
|
42872
43092
|
@id = args[:id] if args.key?(:id)
|
|
42873
43093
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
|
43094
|
+
@in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
|
|
42874
43095
|
@kind = args[:kind] if args.key?(:kind)
|
|
42875
43096
|
@name = args[:name] if args.key?(:name)
|
|
42876
43097
|
@physical_topology = args[:physical_topology] if args.key?(:physical_topology)
|
|
@@ -51315,6 +51536,11 @@ module Google
|
|
|
51315
51536
|
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
|
51316
51537
|
attr_accessor :network_interfaces
|
|
51317
51538
|
|
|
51539
|
+
# PostKeyRevocationActionType of the instance.
|
|
51540
|
+
# Corresponds to the JSON property `postKeyRevocationActionType`
|
|
51541
|
+
# @return [String]
|
|
51542
|
+
attr_accessor :post_key_revocation_action_type
|
|
51543
|
+
|
|
51318
51544
|
# Sets the scheduling options for an Instance.
|
|
51319
51545
|
# Corresponds to the JSON property `scheduling`
|
|
51320
51546
|
# @return [Google::Apis::ComputeV1::Scheduling]
|
|
@@ -51350,6 +51576,7 @@ module Google
|
|
|
51350
51576
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
51351
51577
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
|
51352
51578
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
|
51579
|
+
@post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
|
|
51353
51580
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
51354
51581
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
|
51355
51582
|
@tags = args[:tags] if args.key?(:tags)
|
|
@@ -52716,6 +52943,11 @@ module Google
|
|
|
52716
52943
|
# @return [String]
|
|
52717
52944
|
attr_accessor :name
|
|
52718
52945
|
|
|
52946
|
+
# Additional storage pool params.
|
|
52947
|
+
# Corresponds to the JSON property `params`
|
|
52948
|
+
# @return [Google::Apis::ComputeV1::StoragePoolParams]
|
|
52949
|
+
attr_accessor :params
|
|
52950
|
+
|
|
52719
52951
|
# Provisioning type of the performance-related parameters of the pool,
|
|
52720
52952
|
# such as throughput and IOPS.
|
|
52721
52953
|
# Corresponds to the JSON property `performanceProvisioningType`
|
|
@@ -52800,6 +53032,7 @@ module Google
|
|
|
52800
53032
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
|
52801
53033
|
@labels = args[:labels] if args.key?(:labels)
|
|
52802
53034
|
@name = args[:name] if args.key?(:name)
|
|
53035
|
+
@params = args[:params] if args.key?(:params)
|
|
52803
53036
|
@performance_provisioning_type = args[:performance_provisioning_type] if args.key?(:performance_provisioning_type)
|
|
52804
53037
|
@pool_provisioned_capacity_gb = args[:pool_provisioned_capacity_gb] if args.key?(:pool_provisioned_capacity_gb)
|
|
52805
53038
|
@pool_provisioned_iops = args[:pool_provisioned_iops] if args.key?(:pool_provisioned_iops)
|
|
@@ -53347,6 +53580,32 @@ module Google
|
|
|
53347
53580
|
end
|
|
53348
53581
|
end
|
|
53349
53582
|
|
|
53583
|
+
# Additional storage pool params.
|
|
53584
|
+
class StoragePoolParams
|
|
53585
|
+
include Google::Apis::Core::Hashable
|
|
53586
|
+
|
|
53587
|
+
# Input only. Resource manager tags to be bound to the storage pool. Tag keys
|
|
53588
|
+
# and values
|
|
53589
|
+
# have the same definition as resource
|
|
53590
|
+
# manager tags. Keys and values can be either in numeric format,
|
|
53591
|
+
# such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced
|
|
53592
|
+
# format such as ``org_id|project_id`/`tag_key_short_name`` and
|
|
53593
|
+
# ``tag_value_short_name``. The field is ignored (both PUT &
|
|
53594
|
+
# PATCH) when empty.
|
|
53595
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
|
53596
|
+
# @return [Hash<String,String>]
|
|
53597
|
+
attr_accessor :resource_manager_tags
|
|
53598
|
+
|
|
53599
|
+
def initialize(**args)
|
|
53600
|
+
update!(**args)
|
|
53601
|
+
end
|
|
53602
|
+
|
|
53603
|
+
# Update properties of this object
|
|
53604
|
+
def update!(**args)
|
|
53605
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
|
53606
|
+
end
|
|
53607
|
+
end
|
|
53608
|
+
|
|
53350
53609
|
# [Output Only] Contains output only fields.
|
|
53351
53610
|
class StoragePoolResourceStatus
|
|
53352
53611
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeV1
|
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.138.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251230"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -604,6 +604,18 @@ module Google
|
|
|
604
604
|
include Google::Apis::Core::JsonObjectSupport
|
|
605
605
|
end
|
|
606
606
|
|
|
607
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
|
+
|
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
615
|
+
|
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
617
|
+
end
|
|
618
|
+
|
|
607
619
|
class BackendServiceParams
|
|
608
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
621
|
|
|
@@ -3358,6 +3370,12 @@ module Google
|
|
|
3358
3370
|
include Google::Apis::Core::JsonObjectSupport
|
|
3359
3371
|
end
|
|
3360
3372
|
|
|
3373
|
+
class LicenseParams
|
|
3374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3375
|
+
|
|
3376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3377
|
+
end
|
|
3378
|
+
|
|
3361
3379
|
class LicenseResourceCommitment
|
|
3362
3380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3363
3381
|
|
|
@@ -3946,6 +3964,12 @@ module Google
|
|
|
3946
3964
|
include Google::Apis::Core::JsonObjectSupport
|
|
3947
3965
|
end
|
|
3948
3966
|
|
|
3967
|
+
class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange
|
|
3968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3969
|
+
|
|
3970
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3971
|
+
end
|
|
3972
|
+
|
|
3949
3973
|
class NetworkProfileProfileType
|
|
3950
3974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3951
3975
|
|
|
@@ -6520,6 +6544,12 @@ module Google
|
|
|
6520
6544
|
include Google::Apis::Core::JsonObjectSupport
|
|
6521
6545
|
end
|
|
6522
6546
|
|
|
6547
|
+
class StoragePoolParams
|
|
6548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6549
|
+
|
|
6550
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6551
|
+
end
|
|
6552
|
+
|
|
6523
6553
|
class StoragePoolResourceStatus
|
|
6524
6554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6525
6555
|
|
|
@@ -8624,6 +8654,8 @@ module Google
|
|
|
8624
8654
|
hash :metadatas, as: 'metadatas'
|
|
8625
8655
|
property :name, as: 'name'
|
|
8626
8656
|
property :network, as: 'network'
|
|
8657
|
+
property :network_pass_through_lb_traffic_policy, as: 'networkPassThroughLbTrafficPolicy', class: Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicy, decorator: Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicy::Representation
|
|
8658
|
+
|
|
8627
8659
|
property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeV1::OutlierDetection, decorator: Google::Apis::ComputeV1::OutlierDetection::Representation
|
|
8628
8660
|
|
|
8629
8661
|
property :params, as: 'params', class: Google::Apis::ComputeV1::BackendServiceParams, decorator: Google::Apis::ComputeV1::BackendServiceParams::Representation
|
|
@@ -8901,6 +8933,22 @@ module Google
|
|
|
8901
8933
|
end
|
|
8902
8934
|
end
|
|
8903
8935
|
|
|
8936
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
8937
|
+
# @private
|
|
8938
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8939
|
+
property :zonal_affinity, as: 'zonalAffinity', class: Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity, decorator: Google::Apis::ComputeV1::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity::Representation
|
|
8940
|
+
|
|
8941
|
+
end
|
|
8942
|
+
end
|
|
8943
|
+
|
|
8944
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
8945
|
+
# @private
|
|
8946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8947
|
+
property :spillover, as: 'spillover'
|
|
8948
|
+
property :spillover_ratio, as: 'spilloverRatio'
|
|
8949
|
+
end
|
|
8950
|
+
end
|
|
8951
|
+
|
|
8904
8952
|
class BackendServiceParams
|
|
8905
8953
|
# @private
|
|
8906
8954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10211,6 +10259,7 @@ module Google
|
|
|
10211
10259
|
collection :dest_address_groups, as: 'destAddressGroups'
|
|
10212
10260
|
collection :dest_fqdns, as: 'destFqdns'
|
|
10213
10261
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
|
10262
|
+
property :dest_network_context, as: 'destNetworkContext'
|
|
10214
10263
|
property :dest_network_type, as: 'destNetworkType'
|
|
10215
10264
|
collection :dest_region_codes, as: 'destRegionCodes'
|
|
10216
10265
|
collection :dest_threat_intelligences, as: 'destThreatIntelligences'
|
|
@@ -10219,6 +10268,7 @@ module Google
|
|
|
10219
10268
|
collection :src_address_groups, as: 'srcAddressGroups'
|
|
10220
10269
|
collection :src_fqdns, as: 'srcFqdns'
|
|
10221
10270
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
|
10271
|
+
property :src_network_context, as: 'srcNetworkContext'
|
|
10222
10272
|
property :src_network_type, as: 'srcNetworkType'
|
|
10223
10273
|
collection :src_networks, as: 'srcNetworks'
|
|
10224
10274
|
collection :src_region_codes, as: 'srcRegionCodes'
|
|
@@ -14042,6 +14092,8 @@ module Google
|
|
|
14042
14092
|
property :multi_tenant_only, as: 'multiTenantOnly'
|
|
14043
14093
|
property :name, as: 'name'
|
|
14044
14094
|
property :os_license, as: 'osLicense'
|
|
14095
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::LicenseParams, decorator: Google::Apis::ComputeV1::LicenseParams::Representation
|
|
14096
|
+
|
|
14045
14097
|
property :removable_from_disk, as: 'removableFromDisk'
|
|
14046
14098
|
collection :required_coattached_licenses, as: 'requiredCoattachedLicenses'
|
|
14047
14099
|
property :resource_requirements, as: 'resourceRequirements', class: Google::Apis::ComputeV1::LicenseResourceRequirements, decorator: Google::Apis::ComputeV1::LicenseResourceRequirements::Representation
|
|
@@ -14078,6 +14130,13 @@ module Google
|
|
|
14078
14130
|
end
|
|
14079
14131
|
end
|
|
14080
14132
|
|
|
14133
|
+
class LicenseParams
|
|
14134
|
+
# @private
|
|
14135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14136
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
|
14137
|
+
end
|
|
14138
|
+
end
|
|
14139
|
+
|
|
14081
14140
|
class LicenseResourceCommitment
|
|
14082
14141
|
# @private
|
|
14083
14142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15170,6 +15229,7 @@ module Google
|
|
|
15170
15229
|
# @private
|
|
15171
15230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15172
15231
|
collection :address_purposes, as: 'addressPurposes'
|
|
15232
|
+
property :allow_address_creation, as: 'allowAddressCreation'
|
|
15173
15233
|
property :allow_alias_ip_ranges, as: 'allowAliasIpRanges'
|
|
15174
15234
|
property :allow_auto_mode_subnet, as: 'allowAutoModeSubnet'
|
|
15175
15235
|
property :allow_class_d_firewalls, as: 'allowClassDFirewalls'
|
|
@@ -15177,10 +15237,12 @@ module Google
|
|
|
15177
15237
|
property :allow_cloud_router, as: 'allowCloudRouter'
|
|
15178
15238
|
property :allow_default_nic_attachment, as: 'allowDefaultNicAttachment'
|
|
15179
15239
|
property :allow_external_ip_access, as: 'allowExternalIpAccess'
|
|
15240
|
+
property :allow_firewall_policy, as: 'allowFirewallPolicy'
|
|
15180
15241
|
property :allow_interconnect, as: 'allowInterconnect'
|
|
15181
15242
|
property :allow_ip_forwarding, as: 'allowIpForwarding'
|
|
15182
15243
|
property :allow_load_balancing, as: 'allowLoadBalancing'
|
|
15183
15244
|
property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
|
|
15245
|
+
property :allow_multi_nic_in_same_subnetwork, as: 'allowMultiNicInSameSubnetwork'
|
|
15184
15246
|
property :allow_multicast, as: 'allowMulticast'
|
|
15185
15247
|
property :allow_ncc, as: 'allowNcc'
|
|
15186
15248
|
property :allow_network_migration, as: 'allowNetworkMigration'
|
|
@@ -15190,10 +15252,16 @@ module Google
|
|
|
15190
15252
|
property :allow_same_network_unicast, as: 'allowSameNetworkUnicast'
|
|
15191
15253
|
property :allow_static_routes, as: 'allowStaticRoutes'
|
|
15192
15254
|
property :allow_sub_interfaces, as: 'allowSubInterfaces'
|
|
15255
|
+
property :allow_subnetwork_creation, as: 'allowSubnetworkCreation'
|
|
15256
|
+
property :allow_vpc_firewall_rules, as: 'allowVpcFirewallRules'
|
|
15193
15257
|
property :allow_vpc_peering, as: 'allowVpcPeering'
|
|
15194
15258
|
property :allow_vpn, as: 'allowVpn'
|
|
15259
|
+
collection :firewall_policy_types, as: 'firewallPolicyTypes'
|
|
15195
15260
|
collection :interface_types, as: 'interfaceTypes'
|
|
15196
15261
|
property :multicast, as: 'multicast'
|
|
15262
|
+
property :predefined_network_internal_ipv6_range, as: 'predefinedNetworkInternalIpv6Range'
|
|
15263
|
+
collection :predefined_subnetwork_ranges, as: 'predefinedSubnetworkRanges', class: Google::Apis::ComputeV1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange, decorator: Google::Apis::ComputeV1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange::Representation
|
|
15264
|
+
|
|
15197
15265
|
collection :subnet_purposes, as: 'subnetPurposes'
|
|
15198
15266
|
collection :subnet_stack_types, as: 'subnetStackTypes'
|
|
15199
15267
|
collection :subnetwork_purposes, as: 'subnetworkPurposes'
|
|
@@ -15202,6 +15270,14 @@ module Google
|
|
|
15202
15270
|
end
|
|
15203
15271
|
end
|
|
15204
15272
|
|
|
15273
|
+
class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange
|
|
15274
|
+
# @private
|
|
15275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15276
|
+
property :ipv6_range, as: 'ipv6Range'
|
|
15277
|
+
property :name_prefix, as: 'namePrefix'
|
|
15278
|
+
end
|
|
15279
|
+
end
|
|
15280
|
+
|
|
15205
15281
|
class NetworkProfileProfileType
|
|
15206
15282
|
# @private
|
|
15207
15283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17346,6 +17422,7 @@ module Google
|
|
|
17346
17422
|
|
|
17347
17423
|
property :id, :numeric_string => true, as: 'id'
|
|
17348
17424
|
property :in_use_count, as: 'inUseCount'
|
|
17425
|
+
property :in_use_host_count, as: 'inUseHostCount'
|
|
17349
17426
|
property :kind, as: 'kind'
|
|
17350
17427
|
property :name, as: 'name'
|
|
17351
17428
|
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopology::Representation
|
|
@@ -17481,6 +17558,7 @@ module Google
|
|
|
17481
17558
|
|
|
17482
17559
|
property :id, :numeric_string => true, as: 'id'
|
|
17483
17560
|
property :in_use_count, as: 'inUseCount'
|
|
17561
|
+
property :in_use_host_count, as: 'inUseHostCount'
|
|
17484
17562
|
property :kind, as: 'kind'
|
|
17485
17563
|
property :name, as: 'name'
|
|
17486
17564
|
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology::Representation
|
|
@@ -19471,6 +19549,7 @@ module Google
|
|
|
19471
19549
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
|
19472
19550
|
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
|
19473
19551
|
|
|
19552
|
+
property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
|
|
19474
19553
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
|
19475
19554
|
|
|
19476
19555
|
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
|
|
@@ -19814,6 +19893,8 @@ module Google
|
|
|
19814
19893
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
19815
19894
|
hash :labels, as: 'labels'
|
|
19816
19895
|
property :name, as: 'name'
|
|
19896
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::StoragePoolParams, decorator: Google::Apis::ComputeV1::StoragePoolParams::Representation
|
|
19897
|
+
|
|
19817
19898
|
property :performance_provisioning_type, as: 'performanceProvisioningType'
|
|
19818
19899
|
property :pool_provisioned_capacity_gb, :numeric_string => true, as: 'poolProvisionedCapacityGb'
|
|
19819
19900
|
property :pool_provisioned_iops, :numeric_string => true, as: 'poolProvisionedIops'
|
|
@@ -19958,6 +20039,13 @@ module Google
|
|
|
19958
20039
|
end
|
|
19959
20040
|
end
|
|
19960
20041
|
|
|
20042
|
+
class StoragePoolParams
|
|
20043
|
+
# @private
|
|
20044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20045
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
|
20046
|
+
end
|
|
20047
|
+
end
|
|
20048
|
+
|
|
19961
20049
|
class StoragePoolResourceStatus
|
|
19962
20050
|
# @private
|
|
19963
20051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1376,6 +1376,48 @@ module Google
|
|
|
1376
1376
|
execute_or_queue_command(command, &block)
|
|
1377
1377
|
end
|
|
1378
1378
|
|
|
1379
|
+
# Returns permissions that a caller has on the specified resource.
|
|
1380
|
+
# @param [String] project
|
|
1381
|
+
# Project ID for this request.
|
|
1382
|
+
# @param [String] zone
|
|
1383
|
+
# The name of the zone for this request.
|
|
1384
|
+
# @param [String] resource
|
|
1385
|
+
# Name or id of the resource for this request.
|
|
1386
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
1387
|
+
# @param [String] fields
|
|
1388
|
+
# Selector specifying which fields to include in a partial response.
|
|
1389
|
+
# @param [String] quota_user
|
|
1390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1392
|
+
# @param [String] user_ip
|
|
1393
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
1394
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1395
|
+
# Request-specific options
|
|
1396
|
+
#
|
|
1397
|
+
# @yield [result, err] Result & error if block supplied
|
|
1398
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
1399
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1400
|
+
#
|
|
1401
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
1402
|
+
#
|
|
1403
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1404
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1405
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1406
|
+
def test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1407
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options)
|
|
1408
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
1409
|
+
command.request_object = test_permissions_request_object
|
|
1410
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
1411
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
1412
|
+
command.params['project'] = project unless project.nil?
|
|
1413
|
+
command.params['zone'] = zone unless zone.nil?
|
|
1414
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1415
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1416
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1417
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1418
|
+
execute_or_queue_command(command, &block)
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1379
1421
|
# Updates an autoscaler in the specified project using the data
|
|
1380
1422
|
# included in the request.
|
|
1381
1423
|
# @param [String] project
|
|
@@ -10050,6 +10092,45 @@ module Google
|
|
|
10050
10092
|
execute_or_queue_command(command, &block)
|
|
10051
10093
|
end
|
|
10052
10094
|
|
|
10095
|
+
# Returns permissions that a caller has on the specified resource.
|
|
10096
|
+
# @param [String] project
|
|
10097
|
+
# Project ID for this request.
|
|
10098
|
+
# @param [String] resource
|
|
10099
|
+
# Name or id of the resource for this request.
|
|
10100
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
10101
|
+
# @param [String] fields
|
|
10102
|
+
# Selector specifying which fields to include in a partial response.
|
|
10103
|
+
# @param [String] quota_user
|
|
10104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10106
|
+
# @param [String] user_ip
|
|
10107
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
10108
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10109
|
+
# Request-specific options
|
|
10110
|
+
#
|
|
10111
|
+
# @yield [result, err] Result & error if block supplied
|
|
10112
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
10113
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10114
|
+
#
|
|
10115
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
10116
|
+
#
|
|
10117
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10118
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10119
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10120
|
+
def test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10121
|
+
command = make_simple_command(:post, 'projects/{project}/global/healthChecks/{resource}/testIamPermissions', options)
|
|
10122
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10123
|
+
command.request_object = test_permissions_request_object
|
|
10124
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
10125
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
10126
|
+
command.params['project'] = project unless project.nil?
|
|
10127
|
+
command.params['resource'] = resource unless resource.nil?
|
|
10128
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10129
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10130
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10131
|
+
execute_or_queue_command(command, &block)
|
|
10132
|
+
end
|
|
10133
|
+
|
|
10053
10134
|
# Updates a HealthCheck resource in the specified project using the data
|
|
10054
10135
|
# included in the request.
|
|
10055
10136
|
# @param [String] project
|
|
@@ -10408,6 +10489,45 @@ module Google
|
|
|
10408
10489
|
execute_or_queue_command(command, &block)
|
|
10409
10490
|
end
|
|
10410
10491
|
|
|
10492
|
+
# Returns permissions that a caller has on the specified resource.
|
|
10493
|
+
# @param [String] project
|
|
10494
|
+
# Project ID for this request.
|
|
10495
|
+
# @param [String] resource
|
|
10496
|
+
# Name or id of the resource for this request.
|
|
10497
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
10498
|
+
# @param [String] fields
|
|
10499
|
+
# Selector specifying which fields to include in a partial response.
|
|
10500
|
+
# @param [String] quota_user
|
|
10501
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10502
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10503
|
+
# @param [String] user_ip
|
|
10504
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
10505
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10506
|
+
# Request-specific options
|
|
10507
|
+
#
|
|
10508
|
+
# @yield [result, err] Result & error if block supplied
|
|
10509
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
10510
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10511
|
+
#
|
|
10512
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
10513
|
+
#
|
|
10514
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10515
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10516
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10517
|
+
def test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10518
|
+
command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions', options)
|
|
10519
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10520
|
+
command.request_object = test_permissions_request_object
|
|
10521
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
10522
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
10523
|
+
command.params['project'] = project unless project.nil?
|
|
10524
|
+
command.params['resource'] = resource unless resource.nil?
|
|
10525
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10526
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10527
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10528
|
+
execute_or_queue_command(command, &block)
|
|
10529
|
+
end
|
|
10530
|
+
|
|
10411
10531
|
# Updates a HttpHealthCheck resource in the specified project using the data
|
|
10412
10532
|
# included in the request.
|
|
10413
10533
|
# @param [String] project
|
|
@@ -10766,6 +10886,45 @@ module Google
|
|
|
10766
10886
|
execute_or_queue_command(command, &block)
|
|
10767
10887
|
end
|
|
10768
10888
|
|
|
10889
|
+
# Returns permissions that a caller has on the specified resource.
|
|
10890
|
+
# @param [String] project
|
|
10891
|
+
# Project ID for this request.
|
|
10892
|
+
# @param [String] resource
|
|
10893
|
+
# Name or id of the resource for this request.
|
|
10894
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
10895
|
+
# @param [String] fields
|
|
10896
|
+
# Selector specifying which fields to include in a partial response.
|
|
10897
|
+
# @param [String] quota_user
|
|
10898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
10899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10900
|
+
# @param [String] user_ip
|
|
10901
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
10902
|
+
# @param [Google::Apis::RequestOptions] options
|
|
10903
|
+
# Request-specific options
|
|
10904
|
+
#
|
|
10905
|
+
# @yield [result, err] Result & error if block supplied
|
|
10906
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
10907
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
10908
|
+
#
|
|
10909
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
10910
|
+
#
|
|
10911
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10912
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10913
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10914
|
+
def test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
10915
|
+
command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options)
|
|
10916
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
10917
|
+
command.request_object = test_permissions_request_object
|
|
10918
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
10919
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
10920
|
+
command.params['project'] = project unless project.nil?
|
|
10921
|
+
command.params['resource'] = resource unless resource.nil?
|
|
10922
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10923
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10924
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
10925
|
+
execute_or_queue_command(command, &block)
|
|
10926
|
+
end
|
|
10927
|
+
|
|
10769
10928
|
# Updates a HttpsHealthCheck resource in the specified project using the data
|
|
10770
10929
|
# included in the request.
|
|
10771
10930
|
# @param [String] project
|
|
@@ -31124,6 +31283,48 @@ module Google
|
|
|
31124
31283
|
execute_or_queue_command(command, &block)
|
|
31125
31284
|
end
|
|
31126
31285
|
|
|
31286
|
+
# Returns permissions that a caller has on the specified resource.
|
|
31287
|
+
# @param [String] project
|
|
31288
|
+
# Project ID for this request.
|
|
31289
|
+
# @param [String] region
|
|
31290
|
+
# The name of the region for this request.
|
|
31291
|
+
# @param [String] resource
|
|
31292
|
+
# Name or id of the resource for this request.
|
|
31293
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
31294
|
+
# @param [String] fields
|
|
31295
|
+
# Selector specifying which fields to include in a partial response.
|
|
31296
|
+
# @param [String] quota_user
|
|
31297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
31298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
31299
|
+
# @param [String] user_ip
|
|
31300
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
31301
|
+
# @param [Google::Apis::RequestOptions] options
|
|
31302
|
+
# Request-specific options
|
|
31303
|
+
#
|
|
31304
|
+
# @yield [result, err] Result & error if block supplied
|
|
31305
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
31306
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
31307
|
+
#
|
|
31308
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
31309
|
+
#
|
|
31310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
31311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
31312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
31313
|
+
def test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
31314
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options)
|
|
31315
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
31316
|
+
command.request_object = test_permissions_request_object
|
|
31317
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
31318
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
31319
|
+
command.params['project'] = project unless project.nil?
|
|
31320
|
+
command.params['region'] = region unless region.nil?
|
|
31321
|
+
command.params['resource'] = resource unless resource.nil?
|
|
31322
|
+
command.query['fields'] = fields unless fields.nil?
|
|
31323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
31324
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
31325
|
+
execute_or_queue_command(command, &block)
|
|
31326
|
+
end
|
|
31327
|
+
|
|
31127
31328
|
# Updates an autoscaler in the specified project using
|
|
31128
31329
|
# the data included in the request.
|
|
31129
31330
|
# @param [String] project
|
|
@@ -34061,6 +34262,48 @@ module Google
|
|
|
34061
34262
|
execute_or_queue_command(command, &block)
|
|
34062
34263
|
end
|
|
34063
34264
|
|
|
34265
|
+
# Returns permissions that a caller has on the specified resource.
|
|
34266
|
+
# @param [String] project
|
|
34267
|
+
# Project ID for this request.
|
|
34268
|
+
# @param [String] region
|
|
34269
|
+
# The name of the region for this request.
|
|
34270
|
+
# @param [String] resource
|
|
34271
|
+
# Name or id of the resource for this request.
|
|
34272
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
34273
|
+
# @param [String] fields
|
|
34274
|
+
# Selector specifying which fields to include in a partial response.
|
|
34275
|
+
# @param [String] quota_user
|
|
34276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
34277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
34278
|
+
# @param [String] user_ip
|
|
34279
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
34280
|
+
# @param [Google::Apis::RequestOptions] options
|
|
34281
|
+
# Request-specific options
|
|
34282
|
+
#
|
|
34283
|
+
# @yield [result, err] Result & error if block supplied
|
|
34284
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
34285
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
34286
|
+
#
|
|
34287
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
34288
|
+
#
|
|
34289
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
34290
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
34291
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
34292
|
+
def test_region_health_check_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
34293
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions', options)
|
|
34294
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
34295
|
+
command.request_object = test_permissions_request_object
|
|
34296
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
34297
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
34298
|
+
command.params['project'] = project unless project.nil?
|
|
34299
|
+
command.params['region'] = region unless region.nil?
|
|
34300
|
+
command.params['resource'] = resource unless resource.nil?
|
|
34301
|
+
command.query['fields'] = fields unless fields.nil?
|
|
34302
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
34303
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
34304
|
+
execute_or_queue_command(command, &block)
|
|
34305
|
+
end
|
|
34306
|
+
|
|
34064
34307
|
# Updates a HealthCheck resource in the specified project using the data
|
|
34065
34308
|
# included in the request.
|
|
34066
34309
|
# @param [String] project
|
|
@@ -38605,6 +38848,48 @@ module Google
|
|
|
38605
38848
|
execute_or_queue_command(command, &block)
|
|
38606
38849
|
end
|
|
38607
38850
|
|
|
38851
|
+
# Returns permissions that a caller has on the specified resource.
|
|
38852
|
+
# @param [String] project
|
|
38853
|
+
# Project ID for this request.
|
|
38854
|
+
# @param [String] region
|
|
38855
|
+
# The name of the region for this request.
|
|
38856
|
+
# @param [String] resource
|
|
38857
|
+
# Name or id of the resource for this request.
|
|
38858
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
38859
|
+
# @param [String] fields
|
|
38860
|
+
# Selector specifying which fields to include in a partial response.
|
|
38861
|
+
# @param [String] quota_user
|
|
38862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
38863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
38864
|
+
# @param [String] user_ip
|
|
38865
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
38866
|
+
# @param [Google::Apis::RequestOptions] options
|
|
38867
|
+
# Request-specific options
|
|
38868
|
+
#
|
|
38869
|
+
# @yield [result, err] Result & error if block supplied
|
|
38870
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
38871
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
38872
|
+
#
|
|
38873
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
38874
|
+
#
|
|
38875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
38876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
38877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
38878
|
+
def test_region_notification_endpoint_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
38879
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions', options)
|
|
38880
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
38881
|
+
command.request_object = test_permissions_request_object
|
|
38882
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
38883
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
38884
|
+
command.params['project'] = project unless project.nil?
|
|
38885
|
+
command.params['region'] = region unless region.nil?
|
|
38886
|
+
command.params['resource'] = resource unless resource.nil?
|
|
38887
|
+
command.query['fields'] = fields unless fields.nil?
|
|
38888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
38889
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
38890
|
+
execute_or_queue_command(command, &block)
|
|
38891
|
+
end
|
|
38892
|
+
|
|
38608
38893
|
# Deletes the specified region-specific Operations resource.
|
|
38609
38894
|
# @param [String] project
|
|
38610
38895
|
# Project ID for this request.
|
|
@@ -45350,6 +45635,45 @@ module Google
|
|
|
45350
45635
|
execute_or_queue_command(command, &block)
|
|
45351
45636
|
end
|
|
45352
45637
|
|
|
45638
|
+
# Returns permissions that a caller has on the specified resource.
|
|
45639
|
+
# @param [String] project
|
|
45640
|
+
# Project ID for this request.
|
|
45641
|
+
# @param [String] resource
|
|
45642
|
+
# Name or id of the resource for this request.
|
|
45643
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
45644
|
+
# @param [String] fields
|
|
45645
|
+
# Selector specifying which fields to include in a partial response.
|
|
45646
|
+
# @param [String] quota_user
|
|
45647
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
45648
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
45649
|
+
# @param [String] user_ip
|
|
45650
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
45651
|
+
# @param [Google::Apis::RequestOptions] options
|
|
45652
|
+
# Request-specific options
|
|
45653
|
+
#
|
|
45654
|
+
# @yield [result, err] Result & error if block supplied
|
|
45655
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
45656
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
45657
|
+
#
|
|
45658
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
45659
|
+
#
|
|
45660
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
45661
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
45662
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
45663
|
+
def test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
45664
|
+
command = make_simple_command(:post, 'projects/{project}/global/routes/{resource}/testIamPermissions', options)
|
|
45665
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
45666
|
+
command.request_object = test_permissions_request_object
|
|
45667
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
45668
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
45669
|
+
command.params['project'] = project unless project.nil?
|
|
45670
|
+
command.params['resource'] = resource unless resource.nil?
|
|
45671
|
+
command.query['fields'] = fields unless fields.nil?
|
|
45672
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
45673
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
45674
|
+
execute_or_queue_command(command, &block)
|
|
45675
|
+
end
|
|
45676
|
+
|
|
45353
45677
|
# Inserts a rule into a security policy.
|
|
45354
45678
|
# @param [String] project
|
|
45355
45679
|
# Project ID for this request.
|
|
@@ -53277,6 +53601,45 @@ module Google
|
|
|
53277
53601
|
execute_or_queue_command(command, &block)
|
|
53278
53602
|
end
|
|
53279
53603
|
|
|
53604
|
+
# Returns permissions that a caller has on the specified resource.
|
|
53605
|
+
# @param [String] project
|
|
53606
|
+
# Project ID for this request.
|
|
53607
|
+
# @param [String] resource
|
|
53608
|
+
# Name or id of the resource for this request.
|
|
53609
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
53610
|
+
# @param [String] fields
|
|
53611
|
+
# Selector specifying which fields to include in a partial response.
|
|
53612
|
+
# @param [String] quota_user
|
|
53613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53615
|
+
# @param [String] user_ip
|
|
53616
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53617
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53618
|
+
# Request-specific options
|
|
53619
|
+
#
|
|
53620
|
+
# @yield [result, err] Result & error if block supplied
|
|
53621
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
53622
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53623
|
+
#
|
|
53624
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
53625
|
+
#
|
|
53626
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53627
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53628
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53629
|
+
def test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
53630
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions', options)
|
|
53631
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
53632
|
+
command.request_object = test_permissions_request_object
|
|
53633
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
53634
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
53635
|
+
command.params['project'] = project unless project.nil?
|
|
53636
|
+
command.params['resource'] = resource unless resource.nil?
|
|
53637
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53639
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53640
|
+
execute_or_queue_command(command, &block)
|
|
53641
|
+
end
|
|
53642
|
+
|
|
53280
53643
|
# Retrieves the list of all TargetTcpProxy resources, regional and global,
|
|
53281
53644
|
# available to the specified project.
|
|
53282
53645
|
# To prevent failure, Google recommends that you set the
|
|
@@ -53762,6 +54125,45 @@ module Google
|
|
|
53762
54125
|
execute_or_queue_command(command, &block)
|
|
53763
54126
|
end
|
|
53764
54127
|
|
|
54128
|
+
# Returns permissions that a caller has on the specified resource.
|
|
54129
|
+
# @param [String] project
|
|
54130
|
+
# Project ID for this request.
|
|
54131
|
+
# @param [String] resource
|
|
54132
|
+
# Name or id of the resource for this request.
|
|
54133
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
54134
|
+
# @param [String] fields
|
|
54135
|
+
# Selector specifying which fields to include in a partial response.
|
|
54136
|
+
# @param [String] quota_user
|
|
54137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
54138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
54139
|
+
# @param [String] user_ip
|
|
54140
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
54141
|
+
# @param [Google::Apis::RequestOptions] options
|
|
54142
|
+
# Request-specific options
|
|
54143
|
+
#
|
|
54144
|
+
# @yield [result, err] Result & error if block supplied
|
|
54145
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
54146
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
54147
|
+
#
|
|
54148
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
54149
|
+
#
|
|
54150
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
54151
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
54152
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
54153
|
+
def test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
54154
|
+
command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions', options)
|
|
54155
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
54156
|
+
command.request_object = test_permissions_request_object
|
|
54157
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
54158
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
54159
|
+
command.params['project'] = project unless project.nil?
|
|
54160
|
+
command.params['resource'] = resource unless resource.nil?
|
|
54161
|
+
command.query['fields'] = fields unless fields.nil?
|
|
54162
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
54163
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
54164
|
+
execute_or_queue_command(command, &block)
|
|
54165
|
+
end
|
|
54166
|
+
|
|
53765
54167
|
# Retrieves an aggregated list of target VPN gateways.
|
|
53766
54168
|
# To prevent failure, Google recommends that you set the
|
|
53767
54169
|
# `returnPartialSuccess` parameter to `true`.
|
|
@@ -54700,6 +55102,45 @@ module Google
|
|
|
54700
55102
|
execute_or_queue_command(command, &block)
|
|
54701
55103
|
end
|
|
54702
55104
|
|
|
55105
|
+
# Returns permissions that a caller has on the specified resource.
|
|
55106
|
+
# @param [String] project
|
|
55107
|
+
# Project ID for this request.
|
|
55108
|
+
# @param [String] resource
|
|
55109
|
+
# Name or id of the resource for this request.
|
|
55110
|
+
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
|
55111
|
+
# @param [String] fields
|
|
55112
|
+
# Selector specifying which fields to include in a partial response.
|
|
55113
|
+
# @param [String] quota_user
|
|
55114
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
55115
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
55116
|
+
# @param [String] user_ip
|
|
55117
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
55118
|
+
# @param [Google::Apis::RequestOptions] options
|
|
55119
|
+
# Request-specific options
|
|
55120
|
+
#
|
|
55121
|
+
# @yield [result, err] Result & error if block supplied
|
|
55122
|
+
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
|
55123
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
55124
|
+
#
|
|
55125
|
+
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
|
55126
|
+
#
|
|
55127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
55128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
55129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
55130
|
+
def test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
55131
|
+
command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{resource}/testIamPermissions', options)
|
|
55132
|
+
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
|
55133
|
+
command.request_object = test_permissions_request_object
|
|
55134
|
+
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
|
55135
|
+
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
|
55136
|
+
command.params['project'] = project unless project.nil?
|
|
55137
|
+
command.params['resource'] = resource unless resource.nil?
|
|
55138
|
+
command.query['fields'] = fields unless fields.nil?
|
|
55139
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
55140
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
55141
|
+
execute_or_queue_command(command, &block)
|
|
55142
|
+
end
|
|
55143
|
+
|
|
54703
55144
|
# Updates the specified UrlMap resource with the data included in the
|
|
54704
55145
|
# request.
|
|
54705
55146
|
# @param [String] project
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.138.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.138.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|