google-apis-compute_v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17cf8aab7aae1229f4e8aa8311e9c73e9d8d6e84f50c200d5637f872a7c17b4f
|
4
|
+
data.tar.gz: 3039e58e52da7123bf142d4bd8bbc2495bca0a27fe02f32477a3f138668a71b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8088f3094ffd40c4315d110ca511c83705400b6eb6d70a0867f0389e8b152cc89d8cb3c28157858bffed8fd4c5eb7e856dcfd10fcb4f7b34ccf00003a68770ec
|
7
|
+
data.tar.gz: 2a407ca5f11c6ba0f5fb8ba97f6d6e20ae835c4960f581dae86fbf29a5a439497d9ebcc8fbc1d01be2ed436c166a1c386ac8b17641a367ee77292514fefc4ab4
|
data/CHANGELOG.md
CHANGED
@@ -2189,6 +2189,17 @@ module Google
|
|
2189
2189
|
class AutoscalingPolicyCpuUtilization
|
2190
2190
|
include Google::Apis::Core::Hashable
|
2191
2191
|
|
2192
|
+
# Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
|
2193
|
+
# values are:
|
2194
|
+
# * NONE (default). No predictive method is used. The autoscaler scales the
|
2195
|
+
# group to meet current demand based on real-time metrics. *
|
2196
|
+
# OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
|
2197
|
+
# monitoring daily and weekly load patterns and scaling out ahead of anticipated
|
2198
|
+
# demand.
|
2199
|
+
# Corresponds to the JSON property `predictiveMethod`
|
2200
|
+
# @return [String]
|
2201
|
+
attr_accessor :predictive_method
|
2202
|
+
|
2192
2203
|
# The target CPU utilization that the autoscaler maintains. Must be a float
|
2193
2204
|
# value in the range (0, 1]. If not specified, the default is 0.6.
|
2194
2205
|
# If the CPU level is below the target utilization, the autoscaler scales in the
|
@@ -2208,6 +2219,7 @@ module Google
|
|
2208
2219
|
|
2209
2220
|
# Update properties of this object
|
2210
2221
|
def update!(**args)
|
2222
|
+
@predictive_method = args[:predictive_method] if args.key?(:predictive_method)
|
2211
2223
|
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
2212
2224
|
end
|
2213
2225
|
end
|
@@ -2714,6 +2726,13 @@ module Google
|
|
2714
2726
|
# @return [Array<Google::Apis::ComputeV1::BackendBucketCdnPolicyNegativeCachingPolicy>]
|
2715
2727
|
attr_accessor :negative_caching_policy
|
2716
2728
|
|
2729
|
+
# If true then Cloud CDN will combine multiple concurrent cache fill requests
|
2730
|
+
# into a small number of requests to the origin.
|
2731
|
+
# Corresponds to the JSON property `requestCoalescing`
|
2732
|
+
# @return [Boolean]
|
2733
|
+
attr_accessor :request_coalescing
|
2734
|
+
alias_method :request_coalescing?, :request_coalescing
|
2735
|
+
|
2717
2736
|
# Serve existing content from the cache (if available) when revalidating content
|
2718
2737
|
# with the origin, or when an error is encountered when refreshing the cache.
|
2719
2738
|
# This setting defines the default "max-stale" duration for any cached responses
|
@@ -2755,6 +2774,7 @@ module Google
|
|
2755
2774
|
@max_ttl = args[:max_ttl] if args.key?(:max_ttl)
|
2756
2775
|
@negative_caching = args[:negative_caching] if args.key?(:negative_caching)
|
2757
2776
|
@negative_caching_policy = args[:negative_caching_policy] if args.key?(:negative_caching_policy)
|
2777
|
+
@request_coalescing = args[:request_coalescing] if args.key?(:request_coalescing)
|
2758
2778
|
@serve_while_stale = args[:serve_while_stale] if args.key?(:serve_while_stale)
|
2759
2779
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
2760
2780
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
@@ -3197,7 +3217,7 @@ module Google
|
|
3197
3217
|
|
3198
3218
|
# Type of session affinity to use. The default is NONE.
|
3199
3219
|
# When the loadBalancingScheme is EXTERNAL: * For Network Load Balancing, the
|
3200
|
-
# possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or
|
3220
|
+
# possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
3201
3221
|
# * For all other load balancers that use loadBalancingScheme=EXTERNAL, the
|
3202
3222
|
# possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. * You can use
|
3203
3223
|
# GENERATED_COOKIE if the protocol is HTTP, HTTP2, or HTTPS.
|
@@ -3484,6 +3504,13 @@ module Google
|
|
3484
3504
|
# @return [Array<Google::Apis::ComputeV1::BackendServiceCdnPolicyNegativeCachingPolicy>]
|
3485
3505
|
attr_accessor :negative_caching_policy
|
3486
3506
|
|
3507
|
+
# If true then Cloud CDN will combine multiple concurrent cache fill requests
|
3508
|
+
# into a small number of requests to the origin.
|
3509
|
+
# Corresponds to the JSON property `requestCoalescing`
|
3510
|
+
# @return [Boolean]
|
3511
|
+
attr_accessor :request_coalescing
|
3512
|
+
alias_method :request_coalescing?, :request_coalescing
|
3513
|
+
|
3487
3514
|
# Serve existing content from the cache (if available) when revalidating content
|
3488
3515
|
# with the origin, or when an error is encountered when refreshing the cache.
|
3489
3516
|
# This setting defines the default "max-stale" duration for any cached responses
|
@@ -3526,6 +3553,7 @@ module Google
|
|
3526
3553
|
@max_ttl = args[:max_ttl] if args.key?(:max_ttl)
|
3527
3554
|
@negative_caching = args[:negative_caching] if args.key?(:negative_caching)
|
3528
3555
|
@negative_caching_policy = args[:negative_caching_policy] if args.key?(:negative_caching_policy)
|
3556
|
+
@request_coalescing = args[:request_coalescing] if args.key?(:request_coalescing)
|
3529
3557
|
@serve_while_stale = args[:serve_while_stale] if args.key?(:serve_while_stale)
|
3530
3558
|
@signed_url_cache_max_age_sec = args[:signed_url_cache_max_age_sec] if args.key?(:signed_url_cache_max_age_sec)
|
3531
3559
|
@signed_url_key_names = args[:signed_url_key_names] if args.key?(:signed_url_key_names)
|
@@ -6362,6 +6390,13 @@ module Google
|
|
6362
6390
|
class DistributionPolicy
|
6363
6391
|
include Google::Apis::Core::Hashable
|
6364
6392
|
|
6393
|
+
# The distribution shape to which the group converges either proactively or on
|
6394
|
+
# resize events (depending on the value set in updatePolicy.
|
6395
|
+
# instanceRedistributionType).
|
6396
|
+
# Corresponds to the JSON property `targetShape`
|
6397
|
+
# @return [String]
|
6398
|
+
attr_accessor :target_shape
|
6399
|
+
|
6365
6400
|
# Zones where the regional managed instance group will create and manage its
|
6366
6401
|
# instances.
|
6367
6402
|
# Corresponds to the JSON property `zones`
|
@@ -6374,6 +6409,7 @@ module Google
|
|
6374
6409
|
|
6375
6410
|
# Update properties of this object
|
6376
6411
|
def update!(**args)
|
6412
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
6377
6413
|
@zones = args[:zones] if args.key?(:zones)
|
6378
6414
|
end
|
6379
6415
|
end
|
@@ -10001,6 +10037,16 @@ module Google
|
|
10001
10037
|
# @return [Hash<String,String>]
|
10002
10038
|
attr_accessor :annotations
|
10003
10039
|
|
10040
|
+
# URL of the forwarding rule associated with the health status of the instance.
|
10041
|
+
# Corresponds to the JSON property `forwardingRule`
|
10042
|
+
# @return [String]
|
10043
|
+
attr_accessor :forwarding_rule
|
10044
|
+
|
10045
|
+
# A forwarding rule IP address assigned to this instance.
|
10046
|
+
# Corresponds to the JSON property `forwardingRuleIp`
|
10047
|
+
# @return [String]
|
10048
|
+
attr_accessor :forwarding_rule_ip
|
10049
|
+
|
10004
10050
|
# Health state of the instance.
|
10005
10051
|
# Corresponds to the JSON property `healthState`
|
10006
10052
|
# @return [String]
|
@@ -10041,6 +10087,8 @@ module Google
|
|
10041
10087
|
# Update properties of this object
|
10042
10088
|
def update!(**args)
|
10043
10089
|
@annotations = args[:annotations] if args.key?(:annotations)
|
10090
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
10091
|
+
@forwarding_rule_ip = args[:forwarding_rule_ip] if args.key?(:forwarding_rule_ip)
|
10044
10092
|
@health_state = args[:health_state] if args.key?(:health_state)
|
10045
10093
|
@instance = args[:instance] if args.key?(:instance)
|
10046
10094
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -15542,6 +15590,7 @@ module Google
|
|
15542
15590
|
# IPsec device such as an HA VPN gateway. VMs cannot directly send traffic to,
|
15543
15591
|
# or receive traffic from, such an attachment. To use IPsec-encrypted Cloud
|
15544
15592
|
# Interconnect, create the attachment using this option.
|
15593
|
+
# Not currently available in all Interconnect locations.
|
15545
15594
|
# Corresponds to the JSON property `encryption`
|
15546
15595
|
# @return [String]
|
15547
15596
|
attr_accessor :encryption
|
@@ -15577,6 +15626,7 @@ module Google
|
|
15577
15626
|
# interconnect attachment that has encryption option as IPSEC, later on when
|
15578
15627
|
# creating HA VPN gateway on this interconnect attachment, the HA VPN gateway's
|
15579
15628
|
# IP address will be allocated from regional external IP address pool.
|
15629
|
+
# Not currently available in all Interconnect locations.
|
15580
15630
|
# Corresponds to the JSON property `ipsecInternalAddresses`
|
15581
15631
|
# @return [Array<String>]
|
15582
15632
|
attr_accessor :ipsec_internal_addresses
|
@@ -27822,6 +27872,7 @@ module Google
|
|
27822
27872
|
|
27823
27873
|
# Field to indicate if a router is dedicated to use with encrypted Interconnect
|
27824
27874
|
# Attachment (IPsec-encrypted Cloud Interconnect feature).
|
27875
|
+
# Not currently available in all Interconnect locations.
|
27825
27876
|
# Corresponds to the JSON property `encryptedInterconnectRouter`
|
27826
27877
|
# @return [Boolean]
|
27827
27878
|
attr_accessor :encrypted_interconnect_router
|
@@ -29418,7 +29469,7 @@ module Google
|
|
29418
29469
|
class SecurityPolicyRule
|
29419
29470
|
include Google::Apis::Core::Hashable
|
29420
29471
|
|
29421
|
-
# The Action to
|
29472
|
+
# The Action to perform when the client connection triggers the rule. Can
|
29422
29473
|
# currently be either "allow" or "deny()" where valid values for status are 403,
|
29423
29474
|
# 404, and 502.
|
29424
29475
|
# Corresponds to the JSON property `action`
|
@@ -31559,7 +31610,7 @@ module Google
|
|
31559
31610
|
|
31560
31611
|
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
31561
31612
|
# Configures whether all, none or a subset of metadata fields should be added to
|
31562
|
-
# the reported VPC flow logs. Default is
|
31613
|
+
# the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
|
31563
31614
|
# Corresponds to the JSON property `metadata`
|
31564
31615
|
# @return [String]
|
31565
31616
|
attr_accessor :metadata
|
@@ -36660,6 +36711,7 @@ module Google
|
|
36660
36711
|
# present, the VPN Gateway will be used for IPsec-encrypted Cloud Interconnect;
|
36661
36712
|
# all Egress or Ingress traffic for this VPN Gateway interface will go through
|
36662
36713
|
# the specified interconnect attachment resource.
|
36714
|
+
# Not currently available in all Interconnect locations.
|
36663
36715
|
# Corresponds to the JSON property `interconnectAttachment`
|
36664
36716
|
# @return [String]
|
36665
36717
|
attr_accessor :interconnect_attachment
|
@@ -36923,8 +36975,8 @@ module Google
|
|
36923
36975
|
# - DEPROVISIONING: Resources are being deallocated for the VPN tunnel.
|
36924
36976
|
# - FAILED: Tunnel creation has failed and the tunnel is not ready to be used.
|
36925
36977
|
# - NO_INCOMING_PACKETS: No incoming packets from peer.
|
36926
|
-
# - REJECTED: Tunnel configuration was rejected, can be result of being
|
36927
|
-
#
|
36978
|
+
# - REJECTED: Tunnel configuration was rejected, can be result of being denied
|
36979
|
+
# access.
|
36928
36980
|
# - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required
|
36929
36981
|
# resources.
|
36930
36982
|
# - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210316"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5584,6 +5584,7 @@ module Google
|
|
5584
5584
|
class AutoscalingPolicyCpuUtilization
|
5585
5585
|
# @private
|
5586
5586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5587
|
+
property :predictive_method, as: 'predictiveMethod'
|
5587
5588
|
property :utilization_target, as: 'utilizationTarget'
|
5588
5589
|
end
|
5589
5590
|
end
|
@@ -5674,6 +5675,7 @@ module Google
|
|
5674
5675
|
property :negative_caching, as: 'negativeCaching'
|
5675
5676
|
collection :negative_caching_policy, as: 'negativeCachingPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicyNegativeCachingPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicyNegativeCachingPolicy::Representation
|
5676
5677
|
|
5678
|
+
property :request_coalescing, as: 'requestCoalescing'
|
5677
5679
|
property :serve_while_stale, as: 'serveWhileStale'
|
5678
5680
|
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
|
5679
5681
|
collection :signed_url_key_names, as: 'signedUrlKeyNames'
|
@@ -5824,6 +5826,7 @@ module Google
|
|
5824
5826
|
property :negative_caching, as: 'negativeCaching'
|
5825
5827
|
collection :negative_caching_policy, as: 'negativeCachingPolicy', class: Google::Apis::ComputeV1::BackendServiceCdnPolicyNegativeCachingPolicy, decorator: Google::Apis::ComputeV1::BackendServiceCdnPolicyNegativeCachingPolicy::Representation
|
5826
5828
|
|
5829
|
+
property :request_coalescing, as: 'requestCoalescing'
|
5827
5830
|
property :serve_while_stale, as: 'serveWhileStale'
|
5828
5831
|
property :signed_url_cache_max_age_sec, :numeric_string => true, as: 'signedUrlCacheMaxAgeSec'
|
5829
5832
|
collection :signed_url_key_names, as: 'signedUrlKeyNames'
|
@@ -6519,6 +6522,7 @@ module Google
|
|
6519
6522
|
class DistributionPolicy
|
6520
6523
|
# @private
|
6521
6524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6525
|
+
property :target_shape, as: 'targetShape'
|
6522
6526
|
collection :zones, as: 'zones', class: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration, decorator: Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration::Representation
|
6523
6527
|
|
6524
6528
|
end
|
@@ -7340,6 +7344,8 @@ module Google
|
|
7340
7344
|
# @private
|
7341
7345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7342
7346
|
hash :annotations, as: 'annotations'
|
7347
|
+
property :forwarding_rule, as: 'forwardingRule'
|
7348
|
+
property :forwarding_rule_ip, as: 'forwardingRuleIp'
|
7343
7349
|
property :health_state, as: 'healthState'
|
7344
7350
|
property :instance, as: 'instance'
|
7345
7351
|
property :ip_address, as: 'ipAddress'
|
@@ -8935,12 +8935,12 @@ module Google
|
|
8935
8935
|
execute_or_queue_command(command, &block)
|
8936
8936
|
end
|
8937
8937
|
|
8938
|
-
# Flags the specified instances in the managed instance group to be
|
8939
|
-
# recreated.
|
8940
|
-
#
|
8941
|
-
# the
|
8942
|
-
#
|
8943
|
-
#
|
8938
|
+
# Flags the specified VM instances in the managed instance group to be
|
8939
|
+
# immediately recreated. Each instance is recreated using the group's current
|
8940
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
8941
|
+
# the instances have not yet been recreated. You must separately verify the
|
8942
|
+
# status of each instance by checking its currentAction field; for more
|
8943
|
+
# information, see Checking the status of managed instances.
|
8944
8944
|
# If the group is part of a backend service that has enabled connection draining,
|
8945
8945
|
# it can take up to 60 seconds after the connection draining duration has
|
8946
8946
|
# elapsed before the VM instance is removed or deleted.
|
@@ -10450,8 +10450,8 @@ module Google
|
|
10450
10450
|
execute_or_queue_command(command, &block)
|
10451
10451
|
end
|
10452
10452
|
|
10453
|
-
# Deletes the specified Instance resource. For more information, see
|
10454
|
-
#
|
10453
|
+
# Deletes the specified Instance resource. For more information, see Deleting an
|
10454
|
+
# instance.
|
10455
10455
|
# @param [String] project
|
10456
10456
|
# Project ID for this request.
|
10457
10457
|
# @param [String] zone
|
@@ -21200,12 +21200,12 @@ module Google
|
|
21200
21200
|
execute_or_queue_command(command, &block)
|
21201
21201
|
end
|
21202
21202
|
|
21203
|
-
# Flags the specified instances in the managed instance group to be
|
21204
|
-
# recreated.
|
21205
|
-
#
|
21206
|
-
# the
|
21207
|
-
#
|
21208
|
-
#
|
21203
|
+
# Flags the specified VM instances in the managed instance group to be
|
21204
|
+
# immediately recreated. Each instance is recreated using the group's current
|
21205
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
21206
|
+
# the instances have not yet been recreated. You must separately verify the
|
21207
|
+
# status of each instance by checking its currentAction field; for more
|
21208
|
+
# information, see Checking the status of managed instances.
|
21209
21209
|
# If the group is part of a backend service that has enabled connection draining,
|
21210
21210
|
# it can take up to 60 seconds after the connection draining duration has
|
21211
21211
|
# 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.8.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-04-05 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.8.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: []
|