google-apis-compute_v1 0.21.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_v1/classes.rb +398 -58
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +89 -1
- data/lib/google/apis/compute_v1/service.rb +4320 -2601
- metadata +4 -4
@@ -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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -988,6 +988,12 @@ module Google
|
|
988
988
|
include Google::Apis::Core::JsonObjectSupport
|
989
989
|
end
|
990
990
|
|
991
|
+
class FirewallPolicyRuleSecureTag
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
|
+
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
995
|
+
end
|
996
|
+
|
991
997
|
class FixedOrPercent
|
992
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
999
|
|
@@ -1810,6 +1816,12 @@ module Google
|
|
1810
1816
|
include Google::Apis::Core::JsonObjectSupport
|
1811
1817
|
end
|
1812
1818
|
|
1819
|
+
class InstanceParams
|
1820
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1821
|
+
|
1822
|
+
include Google::Apis::Core::JsonObjectSupport
|
1823
|
+
end
|
1824
|
+
|
1813
1825
|
class InstanceProperties
|
1814
1826
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1815
1827
|
|
@@ -3454,6 +3466,18 @@ module Google
|
|
3454
3466
|
include Google::Apis::Core::JsonObjectSupport
|
3455
3467
|
end
|
3456
3468
|
|
3469
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
3470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3471
|
+
|
3472
|
+
include Google::Apis::Core::JsonObjectSupport
|
3473
|
+
end
|
3474
|
+
|
3475
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
3476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3477
|
+
|
3478
|
+
include Google::Apis::Core::JsonObjectSupport
|
3479
|
+
end
|
3480
|
+
|
3457
3481
|
class RegionSetLabelsRequest
|
3458
3482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3459
3483
|
|
@@ -5602,6 +5626,7 @@ module Google
|
|
5602
5626
|
# @private
|
5603
5627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5604
5628
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5629
|
+
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
5605
5630
|
property :threads_per_core, as: 'threadsPerCore'
|
5606
5631
|
end
|
5607
5632
|
end
|
@@ -5678,6 +5703,7 @@ module Google
|
|
5678
5703
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
5679
5704
|
property :disk_type, as: 'diskType'
|
5680
5705
|
hash :labels, as: 'labels'
|
5706
|
+
collection :licenses, as: 'licenses'
|
5681
5707
|
property :on_update_action, as: 'onUpdateAction'
|
5682
5708
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
5683
5709
|
collection :resource_policies, as: 'resourcePolicies'
|
@@ -5695,7 +5721,6 @@ module Google
|
|
5695
5721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5696
5722
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ComputeV1::AuditLogConfig, decorator: Google::Apis::ComputeV1::AuditLogConfig::Representation
|
5697
5723
|
|
5698
|
-
collection :exempted_members, as: 'exemptedMembers'
|
5699
5724
|
property :service, as: 'service'
|
5700
5725
|
end
|
5701
5726
|
end
|
@@ -7129,6 +7154,7 @@ module Google
|
|
7129
7154
|
property :kind, as: 'kind'
|
7130
7155
|
property :name, as: 'name'
|
7131
7156
|
property :parent, as: 'parent'
|
7157
|
+
property :region, as: 'region'
|
7132
7158
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7133
7159
|
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
|
7134
7160
|
|
@@ -7194,6 +7220,8 @@ module Google
|
|
7194
7220
|
property :priority, as: 'priority'
|
7195
7221
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7196
7222
|
collection :target_resources, as: 'targetResources'
|
7223
|
+
collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
|
7224
|
+
|
7197
7225
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
7198
7226
|
end
|
7199
7227
|
end
|
@@ -7205,6 +7233,8 @@ module Google
|
|
7205
7233
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
|
7206
7234
|
|
7207
7235
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
7236
|
+
collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
|
7237
|
+
|
7208
7238
|
end
|
7209
7239
|
end
|
7210
7240
|
|
@@ -7216,6 +7246,14 @@ module Google
|
|
7216
7246
|
end
|
7217
7247
|
end
|
7218
7248
|
|
7249
|
+
class FirewallPolicyRuleSecureTag
|
7250
|
+
# @private
|
7251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7252
|
+
property :name, as: 'name'
|
7253
|
+
property :state, as: 'state'
|
7254
|
+
end
|
7255
|
+
end
|
7256
|
+
|
7219
7257
|
class FixedOrPercent
|
7220
7258
|
# @private
|
7221
7259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8135,6 +8173,8 @@ module Google
|
|
8135
8173
|
|
8136
8174
|
property :network_performance_config, as: 'networkPerformanceConfig', class: Google::Apis::ComputeV1::NetworkPerformanceConfig, decorator: Google::Apis::ComputeV1::NetworkPerformanceConfig::Representation
|
8137
8175
|
|
8176
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::InstanceParams, decorator: Google::Apis::ComputeV1::InstanceParams::Representation
|
8177
|
+
|
8138
8178
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
8139
8179
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
8140
8180
|
|
@@ -8326,6 +8366,10 @@ module Google
|
|
8326
8366
|
property :recreating, as: 'recreating'
|
8327
8367
|
property :refreshing, as: 'refreshing'
|
8328
8368
|
property :restarting, as: 'restarting'
|
8369
|
+
property :resuming, as: 'resuming'
|
8370
|
+
property :starting, as: 'starting'
|
8371
|
+
property :stopping, as: 'stopping'
|
8372
|
+
property :suspending, as: 'suspending'
|
8329
8373
|
property :verifying, as: 'verifying'
|
8330
8374
|
end
|
8331
8375
|
end
|
@@ -8809,6 +8853,13 @@ module Google
|
|
8809
8853
|
end
|
8810
8854
|
end
|
8811
8855
|
|
8856
|
+
class InstanceParams
|
8857
|
+
# @private
|
8858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8859
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
8860
|
+
end
|
8861
|
+
end
|
8862
|
+
|
8812
8863
|
class InstanceProperties
|
8813
8864
|
# @private
|
8814
8865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8834,6 +8885,7 @@ module Google
|
|
8834
8885
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
8835
8886
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
8836
8887
|
|
8888
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
8837
8889
|
collection :resource_policies, as: 'resourcePolicies'
|
8838
8890
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
8839
8891
|
|
@@ -9066,10 +9118,15 @@ module Google
|
|
9066
9118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9067
9119
|
property :admin_enabled, as: 'adminEnabled'
|
9068
9120
|
property :bandwidth, as: 'bandwidth'
|
9121
|
+
collection :candidate_ipv6_subnets, as: 'candidateIpv6Subnets'
|
9069
9122
|
collection :candidate_subnets, as: 'candidateSubnets'
|
9070
9123
|
property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
|
9124
|
+
property :cloud_router_ipv6_address, as: 'cloudRouterIpv6Address'
|
9125
|
+
property :cloud_router_ipv6_interface_id, as: 'cloudRouterIpv6InterfaceId'
|
9071
9126
|
property :creation_timestamp, as: 'creationTimestamp'
|
9072
9127
|
property :customer_router_ip_address, as: 'customerRouterIpAddress'
|
9128
|
+
property :customer_router_ipv6_address, as: 'customerRouterIpv6Address'
|
9129
|
+
property :customer_router_ipv6_interface_id, as: 'customerRouterIpv6InterfaceId'
|
9073
9130
|
property :dataplane_version, as: 'dataplaneVersion'
|
9074
9131
|
property :description, as: 'description'
|
9075
9132
|
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
|
@@ -9092,6 +9149,7 @@ module Google
|
|
9092
9149
|
property :router, as: 'router'
|
9093
9150
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9094
9151
|
property :self_link, as: 'selfLink'
|
9152
|
+
property :stack_type, as: 'stackType'
|
9095
9153
|
property :state, as: 'state'
|
9096
9154
|
property :type, as: 'type'
|
9097
9155
|
property :vlan_tag8021q, as: 'vlanTag8021q'
|
@@ -9849,16 +9907,20 @@ module Google
|
|
9849
9907
|
property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
|
9850
9908
|
property :creation_timestamp, as: 'creationTimestamp'
|
9851
9909
|
property :description, as: 'description'
|
9910
|
+
property :enable_ula_internal_ipv6, as: 'enableUlaInternalIpv6'
|
9852
9911
|
property :gateway_i_pv4, as: 'gatewayIPv4'
|
9853
9912
|
property :id, :numeric_string => true, as: 'id'
|
9913
|
+
property :internal_ipv6_range, as: 'internalIpv6Range'
|
9854
9914
|
property :kind, as: 'kind'
|
9855
9915
|
property :mtu, as: 'mtu'
|
9856
9916
|
property :name, as: 'name'
|
9917
|
+
property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
|
9857
9918
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
|
9858
9919
|
|
9859
9920
|
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeV1::NetworkRoutingConfig, decorator: Google::Apis::ComputeV1::NetworkRoutingConfig::Representation
|
9860
9921
|
|
9861
9922
|
property :self_link, as: 'selfLink'
|
9923
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
9862
9924
|
collection :subnetworks, as: 'subnetworks'
|
9863
9925
|
end
|
9864
9926
|
end
|
@@ -9892,6 +9954,7 @@ module Google
|
|
9892
9954
|
property :name, as: 'name'
|
9893
9955
|
property :network, as: 'network'
|
9894
9956
|
property :network_endpoint_type, as: 'networkEndpointType'
|
9957
|
+
property :psc_target_service, as: 'pscTargetService'
|
9895
9958
|
property :region, as: 'region'
|
9896
9959
|
property :self_link, as: 'selfLink'
|
9897
9960
|
property :size, as: 'size'
|
@@ -10091,6 +10154,7 @@ module Google
|
|
10091
10154
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
|
10092
10155
|
|
10093
10156
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10157
|
+
property :internal_ipv6_prefix_length, as: 'internalIpv6PrefixLength'
|
10094
10158
|
collection :ipv6_access_configs, as: 'ipv6AccessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation
|
10095
10159
|
|
10096
10160
|
property :ipv6_access_type, as: 'ipv6AccessType'
|
@@ -11807,6 +11871,27 @@ module Google
|
|
11807
11871
|
end
|
11808
11872
|
end
|
11809
11873
|
|
11874
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
11875
|
+
# @private
|
11876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11877
|
+
collection :firewall_policys, as: 'firewallPolicys', class: Google::Apis::ComputeV1::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy, decorator: Google::Apis::ComputeV1::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy::Representation
|
11878
|
+
|
11879
|
+
collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeV1::Firewall, decorator: Google::Apis::ComputeV1::Firewall::Representation
|
11880
|
+
|
11881
|
+
end
|
11882
|
+
end
|
11883
|
+
|
11884
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
11885
|
+
# @private
|
11886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11887
|
+
property :display_name, as: 'displayName'
|
11888
|
+
property :name, as: 'name'
|
11889
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
|
11890
|
+
|
11891
|
+
property :type, as: 'type'
|
11892
|
+
end
|
11893
|
+
end
|
11894
|
+
|
11810
11895
|
class RegionSetLabelsRequest
|
11811
11896
|
# @private
|
11812
11897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12984,6 +13069,7 @@ module Google
|
|
12984
13069
|
collection :consumer_reject_lists, as: 'consumerRejectLists'
|
12985
13070
|
property :creation_timestamp, as: 'creationTimestamp'
|
12986
13071
|
property :description, as: 'description'
|
13072
|
+
collection :domain_names, as: 'domainNames'
|
12987
13073
|
property :enable_proxy_protocol, as: 'enableProxyProtocol'
|
12988
13074
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
12989
13075
|
property :id, :numeric_string => true, as: 'id'
|
@@ -13523,6 +13609,7 @@ module Google
|
|
13523
13609
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
13524
13610
|
property :gateway_address, as: 'gatewayAddress'
|
13525
13611
|
property :id, :numeric_string => true, as: 'id'
|
13612
|
+
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
|
13526
13613
|
property :ip_cidr_range, as: 'ipCidrRange'
|
13527
13614
|
property :ipv6_access_type, as: 'ipv6AccessType'
|
13528
13615
|
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
@@ -14672,6 +14759,7 @@ module Google
|
|
14672
14759
|
class ValidateUrlMapsRequest
|
14673
14760
|
# @private
|
14674
14761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14762
|
+
collection :load_balancing_schemes, as: 'loadBalancingSchemes'
|
14675
14763
|
property :resource, as: 'resource', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
|
14676
14764
|
|
14677
14765
|
end
|