google-apis-compute_v1 0.7.0 → 0.12.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 +22 -0
- data/lib/google/apis/compute_v1/classes.rb +340 -140
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +34 -4
- data/lib/google/apis/compute_v1/service.rb +16 -15
- 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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210525"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3856,6 +3856,12 @@ module Google
|
|
3856
3856
|
include Google::Apis::Core::JsonObjectSupport
|
3857
3857
|
end
|
3858
3858
|
|
3859
|
+
class SecurityPolicyAdvancedOptionsConfig
|
3860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3861
|
+
|
3862
|
+
include Google::Apis::Core::JsonObjectSupport
|
3863
|
+
end
|
3864
|
+
|
3859
3865
|
class SecurityPolicyList
|
3860
3866
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3861
3867
|
|
@@ -5194,6 +5200,8 @@ module Google
|
|
5194
5200
|
class AccessConfig
|
5195
5201
|
# @private
|
5196
5202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5203
|
+
property :external_ipv6, as: 'externalIpv6'
|
5204
|
+
property :external_ipv6_prefix_length, as: 'externalIpv6PrefixLength'
|
5197
5205
|
property :kind, as: 'kind'
|
5198
5206
|
property :name, as: 'name'
|
5199
5207
|
property :nat_ip, as: 'natIP'
|
@@ -5324,6 +5332,7 @@ module Google
|
|
5324
5332
|
# @private
|
5325
5333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5326
5334
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5335
|
+
property :threads_per_core, as: 'threadsPerCore'
|
5327
5336
|
end
|
5328
5337
|
end
|
5329
5338
|
|
@@ -5584,6 +5593,7 @@ module Google
|
|
5584
5593
|
class AutoscalingPolicyCpuUtilization
|
5585
5594
|
# @private
|
5586
5595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5596
|
+
property :predictive_method, as: 'predictiveMethod'
|
5587
5597
|
property :utilization_target, as: 'utilizationTarget'
|
5588
5598
|
end
|
5589
5599
|
end
|
@@ -5674,6 +5684,7 @@ module Google
|
|
5674
5684
|
property :negative_caching, as: 'negativeCaching'
|
5675
5685
|
collection :negative_caching_policy, as: 'negativeCachingPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicyNegativeCachingPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicyNegativeCachingPolicy::Representation
|
5676
5686
|
|
5687
|
+
property :request_coalescing, as: 'requestCoalescing'
|
5677
5688
|
property :serve_while_stale, as: 'serveWhileStale'
|
5678
5689
|
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
|
5679
5690
|
collection :signed_url_key_names, as: 'signedUrlKeyNames'
|
@@ -5824,6 +5835,7 @@ module Google
|
|
5824
5835
|
property :negative_caching, as: 'negativeCaching'
|
5825
5836
|
collection :negative_caching_policy, as: 'negativeCachingPolicy', class: Google::Apis::ComputeV1::BackendServiceCdnPolicyNegativeCachingPolicy, decorator: Google::Apis::ComputeV1::BackendServiceCdnPolicyNegativeCachingPolicy::Representation
|
5826
5837
|
|
5838
|
+
property :request_coalescing, as: 'requestCoalescing'
|
5827
5839
|
property :serve_while_stale, as: 'serveWhileStale'
|
5828
5840
|
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
|
5829
5841
|
collection :signed_url_key_names, as: 'signedUrlKeyNames'
|
@@ -6519,6 +6531,7 @@ module Google
|
|
6519
6531
|
class DistributionPolicy
|
6520
6532
|
# @private
|
6521
6533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6534
|
+
property :target_shape, as: 'targetShape'
|
6522
6535
|
collection :zones, as: 'zones', class: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration, decorator: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration::Representation
|
6523
6536
|
|
6524
6537
|
end
|
@@ -6829,7 +6842,6 @@ module Google
|
|
6829
6842
|
property :priority, as: 'priority'
|
6830
6843
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
6831
6844
|
collection :target_resources, as: 'targetResources'
|
6832
|
-
collection :target_secure_labels, as: 'targetSecureLabels'
|
6833
6845
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
6834
6846
|
end
|
6835
6847
|
end
|
@@ -6841,7 +6853,6 @@ module Google
|
|
6841
6853
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
|
6842
6854
|
|
6843
6855
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
6844
|
-
collection :src_secure_labels, as: 'srcSecureLabels'
|
6845
6856
|
end
|
6846
6857
|
end
|
6847
6858
|
|
@@ -7340,6 +7351,8 @@ module Google
|
|
7340
7351
|
# @private
|
7341
7352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7342
7353
|
hash :annotations, as: 'annotations'
|
7354
|
+
property :forwarding_rule, as: 'forwardingRule'
|
7355
|
+
property :forwarding_rule_ip, as: 'forwardingRuleIp'
|
7343
7356
|
property :health_state, as: 'healthState'
|
7344
7357
|
property :instance, as: 'instance'
|
7345
7358
|
property :ip_address, as: 'ipAddress'
|
@@ -7759,7 +7772,6 @@ module Google
|
|
7759
7772
|
property :name, as: 'name'
|
7760
7773
|
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
7761
7774
|
|
7762
|
-
property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
|
7763
7775
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
7764
7776
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
7765
7777
|
|
@@ -8449,7 +8461,6 @@ module Google
|
|
8449
8461
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
8450
8462
|
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
8451
8463
|
|
8452
|
-
property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
|
8453
8464
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
8454
8465
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
8455
8466
|
|
@@ -9647,12 +9658,16 @@ module Google
|
|
9647
9658
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
|
9648
9659
|
|
9649
9660
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
9661
|
+
collection :ipv6_access_configs, as: 'ipv6AccessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation
|
9662
|
+
|
9663
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
9650
9664
|
property :ipv6_address, as: 'ipv6Address'
|
9651
9665
|
property :kind, as: 'kind'
|
9652
9666
|
property :name, as: 'name'
|
9653
9667
|
property :network, as: 'network'
|
9654
9668
|
property :network_ip, as: 'networkIP'
|
9655
9669
|
property :nic_type, as: 'nicType'
|
9670
|
+
property :stack_type, as: 'stackType'
|
9656
9671
|
property :subnetwork, as: 'subnetwork'
|
9657
9672
|
end
|
9658
9673
|
end
|
@@ -11910,6 +11925,7 @@ module Google
|
|
11910
11925
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
11911
11926
|
|
11912
11927
|
property :asn, as: 'asn'
|
11928
|
+
property :keepalive_interval, as: 'keepaliveInterval'
|
11913
11929
|
end
|
11914
11930
|
end
|
11915
11931
|
|
@@ -11921,6 +11937,7 @@ module Google
|
|
11921
11937
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
11922
11938
|
|
11923
11939
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
11940
|
+
property :enable, as: 'enable'
|
11924
11941
|
property :interface_name, as: 'interfaceName'
|
11925
11942
|
property :ip_address, as: 'ipAddress'
|
11926
11943
|
property :management_type, as: 'managementType'
|
@@ -12187,6 +12204,8 @@ module Google
|
|
12187
12204
|
class SecurityPolicy
|
12188
12205
|
# @private
|
12189
12206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12207
|
+
property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig::Representation
|
12208
|
+
|
12190
12209
|
property :creation_timestamp, as: 'creationTimestamp'
|
12191
12210
|
property :description, as: 'description'
|
12192
12211
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -12199,6 +12218,14 @@ module Google
|
|
12199
12218
|
end
|
12200
12219
|
end
|
12201
12220
|
|
12221
|
+
class SecurityPolicyAdvancedOptionsConfig
|
12222
|
+
# @private
|
12223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12224
|
+
property :json_parsing, as: 'jsonParsing'
|
12225
|
+
property :log_level, as: 'logLevel'
|
12226
|
+
end
|
12227
|
+
end
|
12228
|
+
|
12202
12229
|
class SecurityPolicyList
|
12203
12230
|
# @private
|
12204
12231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12661,10 +12688,12 @@ module Google
|
|
12661
12688
|
property :creation_timestamp, as: 'creationTimestamp'
|
12662
12689
|
property :description, as: 'description'
|
12663
12690
|
property :enable_flow_logs, as: 'enableFlowLogs'
|
12691
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
12664
12692
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
12665
12693
|
property :gateway_address, as: 'gatewayAddress'
|
12666
12694
|
property :id, :numeric_string => true, as: 'id'
|
12667
12695
|
property :ip_cidr_range, as: 'ipCidrRange'
|
12696
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
12668
12697
|
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
12669
12698
|
property :kind, as: 'kind'
|
12670
12699
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::SubnetworkLogConfig, decorator: Google::Apis::ComputeV1::SubnetworkLogConfig::Representation
|
@@ -12679,6 +12708,7 @@ module Google
|
|
12679
12708
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation
|
12680
12709
|
|
12681
12710
|
property :self_link, as: 'selfLink'
|
12711
|
+
property :stack_type, as: 'stackType'
|
12682
12712
|
property :state, as: 'state'
|
12683
12713
|
end
|
12684
12714
|
end
|
@@ -3583,7 +3583,8 @@ module Google
|
|
3583
3583
|
execute_or_queue_command(command, &block)
|
3584
3584
|
end
|
3585
3585
|
|
3586
|
-
# Lists all the policies that have been configured for the specified
|
3586
|
+
# Lists all the policies that have been configured for the specified folder or
|
3587
|
+
# organization.
|
3587
3588
|
# @param [String] filter
|
3588
3589
|
# A filter expression that filters resources listed in the response. The
|
3589
3590
|
# expression must specify the field name, a comparison operator, and the value
|
@@ -8935,12 +8936,12 @@ module Google
|
|
8935
8936
|
execute_or_queue_command(command, &block)
|
8936
8937
|
end
|
8937
8938
|
|
8938
|
-
# Flags the specified instances in the managed instance group to be
|
8939
|
-
# recreated.
|
8940
|
-
#
|
8941
|
-
# the
|
8942
|
-
#
|
8943
|
-
#
|
8939
|
+
# Flags the specified VM instances in the managed instance group to be
|
8940
|
+
# immediately recreated. Each instance is recreated using the group's current
|
8941
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
8942
|
+
# the instances have not yet been recreated. You must separately verify the
|
8943
|
+
# status of each instance by checking its currentAction field; for more
|
8944
|
+
# information, see Checking the status of managed instances.
|
8944
8945
|
# If the group is part of a backend service that has enabled connection draining,
|
8945
8946
|
# it can take up to 60 seconds after the connection draining duration has
|
8946
8947
|
# elapsed before the VM instance is removed or deleted.
|
@@ -10450,8 +10451,8 @@ module Google
|
|
10450
10451
|
execute_or_queue_command(command, &block)
|
10451
10452
|
end
|
10452
10453
|
|
10453
|
-
# Deletes the specified Instance resource. For more information, see
|
10454
|
-
#
|
10454
|
+
# Deletes the specified Instance resource. For more information, see Deleting an
|
10455
|
+
# instance.
|
10455
10456
|
# @param [String] project
|
10456
10457
|
# Project ID for this request.
|
10457
10458
|
# @param [String] zone
|
@@ -21200,12 +21201,12 @@ module Google
|
|
21200
21201
|
execute_or_queue_command(command, &block)
|
21201
21202
|
end
|
21202
21203
|
|
21203
|
-
# Flags the specified instances in the managed instance group to be
|
21204
|
-
# recreated.
|
21205
|
-
#
|
21206
|
-
# the
|
21207
|
-
#
|
21208
|
-
#
|
21204
|
+
# Flags the specified VM instances in the managed instance group to be
|
21205
|
+
# immediately recreated. Each instance is recreated using the group's current
|
21206
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
21207
|
+
# the instances have not yet been recreated. You must separately verify the
|
21208
|
+
# status of each instance by checking its currentAction field; for more
|
21209
|
+
# information, see Checking the status of managed instances.
|
21209
21210
|
# If the group is part of a backend service that has enabled connection draining,
|
21210
21211
|
# it can take up to 60 seconds after the connection draining duration has
|
21211
21212
|
# elapsed before the VM instance is removed or deleted.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12.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: 2021-
|
11
|
+
date: 2021-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.12.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Compute Engine API V1
|