google-apis-compute_beta 0.51.0 → 0.53.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: 9f380dbfd0c9b3dcbae8d6e1700557d11d57ff46330345ecb780941853f7481a
4
- data.tar.gz: 871d0b7ba3bd76d8a6a72d9e6b6611fbe71559032994f1da49f8a3c9c71b18b8
3
+ metadata.gz: ac7865556bb64d2580829327048702ecde9b9d2d78f8c40d938b8d4190d215a8
4
+ data.tar.gz: 959c4296b21aa7597ff4e297649b05dafcac2b615bdcfbaf0b9d58a051f14209
5
5
  SHA512:
6
- metadata.gz: a6e20b0c5fe8cdc6c24e8291c23d33985d0f7edb4f0a8e6a24e1e890b843df30d8a08cd351b2bf4918b92f16df663a0625dce3dfec71143328c1288b03bcfa60
7
- data.tar.gz: cac2cb5c9c5bfb639ab728246783d3d6fd8c27e8100c7768d6c9b50cb989f4398876d46727374a991ab0ae8e6401eb27e4920dfc1d7e32ad122e1c8cac19e046
6
+ metadata.gz: 535784927fb09f6ba9d433b263c29fe6b2e02e8d38dd60bbc83e57af8533b7e07cce321a9af150017cd0ac631d13340923ae6f8633a7792d73f90253fd264a5e
7
+ data.tar.gz: 92c6cf2a3dd85bc3c5957bd31823d2f706c9106538ba5c50bd0e37c56005d90eb4191fdab92ac1a23e4677e537ad201fd5ad0b28b5f100b6fd922d5f9370bbdc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.53.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221026
6
+
7
+ ### v0.52.0 (2022-10-27)
8
+
9
+ * Regenerated from discovery document revision 20221018
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.51.0 (2022-09-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20220918
@@ -1205,8 +1205,8 @@ module Google
1205
1205
  # @return [Fixnum]
1206
1206
  attr_accessor :maintenance_freeze_duration_hours
1207
1207
 
1208
- # For more information about maintenance intervals, see Setting maintenance
1209
- # intervals.
1208
+ # Specifies the frequency of planned maintenance events. The accepted values are:
1209
+ # `PERIODIC`.
1210
1210
  # Corresponds to the JSON property `maintenanceInterval`
1211
1211
  # @return [String]
1212
1212
  attr_accessor :maintenance_interval
@@ -1490,12 +1490,14 @@ module Google
1490
1490
  # Specifies the disk type to use to create the instance. If not specified, the
1491
1491
  # default is pd-standard, specified using the full URL. For example: https://www.
1492
1492
  # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard
1493
- # For a full list of acceptable values, see Persistent disk types. If you define
1494
- # this field, you can provide either the full or partial URL. For example, the
1495
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
1496
- # project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/
1497
- # diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this
1498
- # is the name of the disk type, not URL.
1493
+ # For a full list of acceptable values, see Persistent disk types. If you
1494
+ # specify this field when creating a VM, you can provide either the full or
1495
+ # partial URL. For example, the following values are valid: - https://www.
1496
+ # googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType -
1497
+ # projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType
1498
+ # If you specify this field when creating or updating an instance template or
1499
+ # all-instances configuration, specify the type of the disk, not the URL. For
1500
+ # example: pd-standard.
1499
1501
  # Corresponds to the JSON property `diskType`
1500
1502
  # @return [String]
1501
1503
  attr_accessor :disk_type
@@ -1572,10 +1574,10 @@ module Google
1572
1574
  attr_accessor :source_image
1573
1575
 
1574
1576
  # The customer-supplied encryption key of the source image. Required if the
1575
- # source image is protected by a customer-supplied encryption key. Instance
1576
- # templates do not store customer-supplied encryption keys, so you cannot create
1577
- # disks for instances in a managed instance group if the source images are
1578
- # encrypted with your own keys.
1577
+ # source image is protected by a customer-supplied encryption key.
1578
+ # InstanceTemplate and InstancePropertiesPatch do not store customer-supplied
1579
+ # encryption keys, so you cannot create disks for instances in a managed
1580
+ # instance group if the source images are encrypted with your own keys.
1579
1581
  # Corresponds to the JSON property `sourceImageEncryptionKey`
1580
1582
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1581
1583
  attr_accessor :source_image_encryption_key
@@ -5685,7 +5687,8 @@ module Google
5685
5687
  # Specifies a regular expression that matches allowed origins. For more
5686
5688
  # information about the regular expression syntax, see Syntax. An origin is
5687
5689
  # allowed if it matches either an item in allowOrigins or an item in
5688
- # allowOriginRegexes.
5690
+ # allowOriginRegexes. Regular expressions can only be used when the
5691
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
5689
5692
  # Corresponds to the JSON property `allowOriginRegexes`
5690
5693
  # @return [Array<String>]
5691
5694
  attr_accessor :allow_origin_regexes
@@ -8903,16 +8906,17 @@ module Google
8903
8906
  # optionally specify an IP address that references an existing static (reserved)
8904
8907
  # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
8905
8908
  # address. Use one of the following formats to specify an IP address while
8906
- # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
8907
- # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
8908
- # regions/region /addresses/address-name * Partial URL or by name, as in: -
8909
- # projects/project_id/regions/region/addresses/address-name - regions/region/
8910
- # addresses/address-name - global/addresses/address-name - address-name The
8911
- # forwarding rule's target or backendService, and in most cases, also the
8912
- # loadBalancingScheme, determine the type of IP address that you can use. For
8913
- # detailed information, see [IP address specifications](https://cloud.google.com/
8914
- # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
8915
- # reading an IPAddress, the API always returns the IP address number.
8909
+ # creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6
8910
+ # address range, as in `2600:1234::/96` * Full resource URL, as in https://www.
8911
+ # googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/
8912
+ # address-name * Partial URL or by name, as in: - projects/project_id/regions/
8913
+ # region/addresses/address-name - regions/region/addresses/address-name - global/
8914
+ # addresses/address-name - address-name The forwarding rule's target or
8915
+ # backendService, and in most cases, also the loadBalancingScheme, determine the
8916
+ # type of IP address that you can use. For detailed information, see [IP address
8917
+ # specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-
8918
+ # concepts#ip_address_specifications). When reading an IPAddress, the API always
8919
+ # returns the IP address number.
8916
8920
  # Corresponds to the JSON property `IPAddress`
8917
8921
  # @return [String]
8918
8922
  attr_accessor :ip_address
@@ -11481,8 +11485,8 @@ module Google
11481
11485
  # For matching against a port specified in the HTTP request, use a headerMatch
11482
11486
  # with headerName set to PORT and a regular expression that satisfies the
11483
11487
  # RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch,
11484
- # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch
11485
- # only applies to load balancers that have loadBalancingScheme set to
11488
+ # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular
11489
+ # expressions can only be used when the loadBalancingScheme is set to
11486
11490
  # INTERNAL_SELF_MANAGED.
11487
11491
  # Corresponds to the JSON property `regexMatch`
11488
11492
  # @return [String]
@@ -11801,8 +11805,8 @@ module Google
11801
11805
  # The queryParameterMatch matches if the value of the parameter matches the
11802
11806
  # regular expression specified by regexMatch. For more information about regular
11803
11807
  # expression syntax, see Syntax. Only one of presentMatch, exactMatch, or
11804
- # regexMatch must be set. regexMatch only applies when the loadBalancingScheme
11805
- # is set to INTERNAL_SELF_MANAGED.
11808
+ # regexMatch must be set. Regular expressions can only be used when the
11809
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
11806
11810
  # Corresponds to the JSON property `regexMatch`
11807
11811
  # @return [String]
11808
11812
  attr_accessor :regex_match
@@ -12204,8 +12208,8 @@ module Google
12204
12208
  # the regular expression specified in regexMatch after removing any query
12205
12209
  # parameters and anchor supplied with the original URL. For more information
12206
12210
  # about regular expression syntax, see Syntax. Only one of prefixMatch,
12207
- # fullPathMatch or regexMatch must be specified. regexMatch only applies to load
12208
- # balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
12211
+ # fullPathMatch or regexMatch must be specified. Regular expressions can only be
12212
+ # used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
12209
12213
  # Corresponds to the JSON property `regexMatch`
12210
12214
  # @return [String]
12211
12215
  attr_accessor :regex_match
@@ -13959,6 +13963,11 @@ module Google
13959
13963
  # @return [String]
13960
13964
  attr_accessor :instance_group
13961
13965
 
13966
+ # The repair policy for this managed instance group.
13967
+ # Corresponds to the JSON property `instanceLifecyclePolicy`
13968
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy]
13969
+ attr_accessor :instance_lifecycle_policy
13970
+
13962
13971
  # The URL of the instance template that is specified for this managed instance
13963
13972
  # group. The group uses this template to create all new instances in the managed
13964
13973
  # instance group. The templates for existing instances in the group do not
@@ -14075,6 +14084,7 @@ module Google
14075
14084
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
14076
14085
  @id = args[:id] if args.key?(:id)
14077
14086
  @instance_group = args[:instance_group] if args.key?(:instance_group)
14087
+ @instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
14078
14088
  @instance_template = args[:instance_template] if args.key?(:instance_template)
14079
14089
  @kind = args[:kind] if args.key?(:kind)
14080
14090
  @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
@@ -14381,6 +14391,29 @@ module Google
14381
14391
  end
14382
14392
  end
14383
14393
 
14394
+ #
14395
+ class InstanceGroupManagerInstanceLifecyclePolicy
14396
+ include Google::Apis::Core::Hashable
14397
+
14398
+ # A bit indicating whether to forcefully apply the group's latest configuration
14399
+ # when repairing a VM. Valid options are: - NO (default): If configuration
14400
+ # updates are available, they are not forcefully applied during repair. Instead,
14401
+ # configuration updates are applied according to the group's update policy. -
14402
+ # YES: If configuration updates are available, they are applied during repair.
14403
+ # Corresponds to the JSON property `forceUpdateOnRepair`
14404
+ # @return [String]
14405
+ attr_accessor :force_update_on_repair
14406
+
14407
+ def initialize(**args)
14408
+ update!(**args)
14409
+ end
14410
+
14411
+ # Update properties of this object
14412
+ def update!(**args)
14413
+ @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
14414
+ end
14415
+ end
14416
+
14384
14417
  # [Output Only] A list of managed instance groups.
14385
14418
  class InstanceGroupManagerList
14386
14419
  include Google::Apis::Core::Hashable
@@ -20218,6 +20251,11 @@ module Google
20218
20251
  # @return [Google::Apis::ComputeBeta::LocalizedMessage]
20219
20252
  attr_accessor :localized_message
20220
20253
 
20254
+ # Additional details for quota exceeded error for resource quota.
20255
+ # Corresponds to the JSON property `quotaInfo`
20256
+ # @return [Google::Apis::ComputeBeta::QuotaExceededInfo]
20257
+ attr_accessor :quota_info
20258
+
20221
20259
  def initialize(**args)
20222
20260
  update!(**args)
20223
20261
  end
@@ -20227,6 +20265,7 @@ module Google
20227
20265
  @error_info = args[:error_info] if args.key?(:error_info)
20228
20266
  @help = args[:help] if args.key?(:help)
20229
20267
  @localized_message = args[:localized_message] if args.key?(:localized_message)
20268
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
20230
20269
  end
20231
20270
  end
20232
20271
  end
@@ -24759,6 +24798,11 @@ module Google
24759
24798
  # @return [Google::Apis::ComputeBeta::LocalizedMessage]
24760
24799
  attr_accessor :localized_message
24761
24800
 
24801
+ # Additional details for quota exceeded error for resource quota.
24802
+ # Corresponds to the JSON property `quotaInfo`
24803
+ # @return [Google::Apis::ComputeBeta::QuotaExceededInfo]
24804
+ attr_accessor :quota_info
24805
+
24762
24806
  def initialize(**args)
24763
24807
  update!(**args)
24764
24808
  end
@@ -24768,6 +24812,7 @@ module Google
24768
24812
  @error_info = args[:error_info] if args.key?(:error_info)
24769
24813
  @help = args[:help] if args.key?(:help)
24770
24814
  @localized_message = args[:localized_message] if args.key?(:localized_message)
24815
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
24771
24816
  end
24772
24817
  end
24773
24818
  end
@@ -25215,28 +25260,36 @@ module Google
25215
25260
 
25216
25261
  # Number of errors before a host is ejected from the connection pool. When the
25217
25262
  # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
25218
- # Defaults to 5.
25263
+ # Defaults to 5. Not supported when the backend service is referenced by a URL
25264
+ # map that is bound to target gRPC proxy that has validateForProxyless field set
25265
+ # to true.
25219
25266
  # Corresponds to the JSON property `consecutiveErrors`
25220
25267
  # @return [Fixnum]
25221
25268
  attr_accessor :consecutive_errors
25222
25269
 
25223
25270
  # The number of consecutive gateway failures (502, 503, 504 status or connection
25224
25271
  # errors that are mapped to one of those status codes) before a consecutive
25225
- # gateway failure ejection occurs. Defaults to 3.
25272
+ # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
25273
+ # service is referenced by a URL map that is bound to target gRPC proxy that has
25274
+ # validateForProxyless field set to true.
25226
25275
  # Corresponds to the JSON property `consecutiveGatewayFailure`
25227
25276
  # @return [Fixnum]
25228
25277
  attr_accessor :consecutive_gateway_failure
25229
25278
 
25230
25279
  # The percentage chance that a host will be actually ejected when an outlier
25231
25280
  # status is detected through consecutive 5xx. This setting can be used to
25232
- # disable ejection or to ramp it up slowly. Defaults to 0.
25281
+ # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
25282
+ # the backend service is referenced by a URL map that is bound to target gRPC
25283
+ # proxy that has validateForProxyless field set to true.
25233
25284
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
25234
25285
  # @return [Fixnum]
25235
25286
  attr_accessor :enforcing_consecutive_errors
25236
25287
 
25237
25288
  # The percentage chance that a host will be actually ejected when an outlier
25238
25289
  # status is detected through consecutive gateway failures. This setting can be
25239
- # used to disable ejection or to ramp it up slowly. Defaults to 100.
25290
+ # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
25291
+ # supported when the backend service is referenced by a URL map that is bound to
25292
+ # target gRPC proxy that has validateForProxyless field set to true.
25240
25293
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
25241
25294
  # @return [Fixnum]
25242
25295
  attr_accessor :enforcing_consecutive_gateway_failure
@@ -27470,6 +27523,44 @@ module Google
27470
27523
  end
27471
27524
  end
27472
27525
 
27526
+ # Additional details for quota exceeded error for resource quota.
27527
+ class QuotaExceededInfo
27528
+ include Google::Apis::Core::Hashable
27529
+
27530
+ # The map holding related quota dimensions.
27531
+ # Corresponds to the JSON property `dimensions`
27532
+ # @return [Hash<String,String>]
27533
+ attr_accessor :dimensions
27534
+
27535
+ # Current effective quota limit. The limit's unit depends on the quota type or
27536
+ # metric.
27537
+ # Corresponds to the JSON property `limit`
27538
+ # @return [Float]
27539
+ attr_accessor :limit
27540
+
27541
+ # The name of the quota limit.
27542
+ # Corresponds to the JSON property `limitName`
27543
+ # @return [String]
27544
+ attr_accessor :limit_name
27545
+
27546
+ # The Compute Engine quota metric name.
27547
+ # Corresponds to the JSON property `metricName`
27548
+ # @return [String]
27549
+ attr_accessor :metric_name
27550
+
27551
+ def initialize(**args)
27552
+ update!(**args)
27553
+ end
27554
+
27555
+ # Update properties of this object
27556
+ def update!(**args)
27557
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
27558
+ @limit = args[:limit] if args.key?(:limit)
27559
+ @limit_name = args[:limit_name] if args.key?(:limit_name)
27560
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
27561
+ end
27562
+ end
27563
+
27473
27564
  # Represents a reference to a resource.
27474
27565
  class Reference
27475
27566
  include Google::Apis::Core::Hashable
@@ -32837,12 +32928,20 @@ module Google
32837
32928
  # @return [Fixnum]
32838
32929
  attr_accessor :maintenance_freeze_duration_hours
32839
32930
 
32840
- # For more information about maintenance intervals, see Setting maintenance
32841
- # intervals.
32931
+ # Specifies the frequency of planned maintenance events. The accepted values are:
32932
+ # `PERIODIC`.
32842
32933
  # Corresponds to the JSON property `maintenanceInterval`
32843
32934
  # @return [String]
32844
32935
  attr_accessor :maintenance_interval
32845
32936
 
32937
+ # A Duration represents a fixed-length span of time represented as a count of
32938
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
32939
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
32940
+ # 000 years.
32941
+ # Corresponds to the JSON property `maxRunDuration`
32942
+ # @return [Google::Apis::ComputeBeta::Duration]
32943
+ attr_accessor :max_run_duration
32944
+
32846
32945
  # The minimum number of virtual CPUs this instance will consume when running on
32847
32946
  # a sole-tenant node.
32848
32947
  # Corresponds to the JSON property `minNodeCpus`
@@ -32877,6 +32976,13 @@ module Google
32877
32976
  # @return [String]
32878
32977
  attr_accessor :provisioning_model
32879
32978
 
32979
+ # Specifies the timestamp, when the instance will be terminated, in RFC3339 text
32980
+ # format. If specified, the instance termination action will be performed at the
32981
+ # termination time.
32982
+ # Corresponds to the JSON property `terminationTime`
32983
+ # @return [String]
32984
+ attr_accessor :termination_time
32985
+
32880
32986
  def initialize(**args)
32881
32987
  update!(**args)
32882
32988
  end
@@ -32889,11 +32995,13 @@ module Google
32889
32995
  @location_hint = args[:location_hint] if args.key?(:location_hint)
32890
32996
  @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
32891
32997
  @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
32998
+ @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
32892
32999
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
32893
33000
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
32894
33001
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
32895
33002
  @preemptible = args[:preemptible] if args.key?(:preemptible)
32896
33003
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
33004
+ @termination_time = args[:termination_time] if args.key?(:termination_time)
32897
33005
  end
32898
33006
  end
32899
33007
 
@@ -33339,9 +33447,11 @@ module Google
33339
33447
  attr_accessor :rule_tuple_count
33340
33448
 
33341
33449
  # A list of rules that belong to this policy. There must always be a default
33342
- # rule (rule with priority 2147483647 and match "*"). If no rules are provided
33343
- # when creating a security policy, a default rule with action "allow" will be
33344
- # added.
33450
+ # rule which is a rule with priority 2147483647 and match all condition (for the
33451
+ # match condition this means match "*" for srcIpRanges and for the networkMatch
33452
+ # condition every field must be either match "*" or not set). If no rules are
33453
+ # provided when creating a security policy, a default rule with action "allow"
33454
+ # will be added.
33345
33455
  # Corresponds to the JSON property `rules`
33346
33456
  # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
33347
33457
  attr_accessor :rules
@@ -34187,19 +34297,23 @@ module Google
34187
34297
 
34188
34298
  # Determines the key to enforce the rate_limit_threshold on. Possible values are:
34189
34299
  # - ALL: A single rate limit threshold is applied to all the requests matching
34190
- # this rule. This is the default value if this field 'enforce_on_key' is not
34191
- # configured. - IP: The source IP address of the request is the key. Each IP has
34192
- # this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
34193
- # whose name is configured under "enforce_on_key_name". The key value is
34194
- # truncated to the first 128 bytes of the header value. If no such header is
34195
- # present in the request, the key type defaults to ALL. - XFF_IP: The first IP
34196
- # address (i.e. the originating client IP address) specified in the list of IPs
34197
- # under X-Forwarded-For HTTP header. If no such header is present or the value
34198
- # is not a valid IP, the key defaults to the source IP address of the request i.
34199
- # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
34200
- # configured under "enforce_on_key_name". The key value is truncated to the
34201
- # first 128 bytes of the cookie value. If no such cookie is present in the
34202
- # request, the key type defaults to ALL.
34300
+ # this rule. This is the default value if "enforceOnKey" is not configured. - IP:
34301
+ # The source IP address of the request is the key. Each IP has this limit
34302
+ # enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is
34303
+ # configured under "enforceOnKeyName". The key value is truncated to the first
34304
+ # 128 bytes of the header value. If no such header is present in the request,
34305
+ # the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the
34306
+ # originating client IP address) specified in the list of IPs under X-Forwarded-
34307
+ # For HTTP header. If no such header is present or the value is not a valid IP,
34308
+ # the key defaults to the source IP address of the request i.e. key type IP. -
34309
+ # HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "
34310
+ # enforceOnKeyName". The key value is truncated to the first 128 bytes of the
34311
+ # cookie value. If no such cookie is present in the request, the key type
34312
+ # defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
34313
+ # is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
34314
+ # session of the HTTPS request. The key value is truncated to the first 128
34315
+ # bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
34316
+ # country/region from which the request originates.
34203
34317
  # Corresponds to the JSON property `enforceOnKey`
34204
34318
  # @return [String]
34205
34319
  attr_accessor :enforce_on_key
@@ -37052,8 +37166,7 @@ module Google
37052
37166
  attr_accessor :enable_flow_logs
37053
37167
  alias_method :enable_flow_logs?, :enable_flow_logs
37054
37168
 
37055
- # [Output Only] The external IPv6 address range that is assigned to this
37056
- # subnetwork.
37169
+ # The external IPv6 address range that is owned by this subnetwork.
37057
37170
  # Corresponds to the JSON property `externalIpv6Prefix`
37058
37171
  # @return [String]
37059
37172
  attr_accessor :external_ipv6_prefix
@@ -37167,6 +37280,11 @@ module Google
37167
37280
  # @return [String]
37168
37281
  attr_accessor :region
37169
37282
 
37283
+ # The URL of the reserved internal range.
37284
+ # Corresponds to the JSON property `reservedInternalRange`
37285
+ # @return [String]
37286
+ attr_accessor :reserved_internal_range
37287
+
37170
37288
  # The role of subnetwork. Currently, this field is only used when purpose =
37171
37289
  # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
37172
37290
  # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
@@ -37234,6 +37352,7 @@ module Google
37234
37352
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
37235
37353
  @purpose = args[:purpose] if args.key?(:purpose)
37236
37354
  @region = args[:region] if args.key?(:region)
37355
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
37237
37356
  @role = args[:role] if args.key?(:role)
37238
37357
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
37239
37358
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -37569,6 +37688,11 @@ module Google
37569
37688
  # @return [String]
37570
37689
  attr_accessor :range_name
37571
37690
 
37691
+ # The URL of the reserved internal range.
37692
+ # Corresponds to the JSON property `reservedInternalRange`
37693
+ # @return [String]
37694
+ attr_accessor :reserved_internal_range
37695
+
37572
37696
  def initialize(**args)
37573
37697
  update!(**args)
37574
37698
  end
@@ -37577,6 +37701,7 @@ module Google
37577
37701
  def update!(**args)
37578
37702
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
37579
37703
  @range_name = args[:range_name] if args.key?(:range_name)
37704
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
37580
37705
  end
37581
37706
  end
37582
37707
 
@@ -42811,7 +42936,8 @@ module Google
42811
42936
  attr_accessor :self_link
42812
42937
 
42813
42938
  # The stack type for this VPN gateway to identify the IP protocols that are
42814
- # enabled. If not specified, IPV4_ONLY will be used.
42939
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
42940
+ # IPV4_ONLY will be used.
42815
42941
  # Corresponds to the JSON property `stackType`
42816
42942
  # @return [String]
42817
42943
  attr_accessor :stack_type
@@ -43441,7 +43567,9 @@ module Google
43441
43567
  attr_accessor :peer_external_gateway
43442
43568
 
43443
43569
  # The interface ID of the external VPN gateway to which this VPN tunnel is
43444
- # connected. Provided by the client when the VPN tunnel is created.
43570
+ # connected. Provided by the client when the VPN tunnel is created. Possible
43571
+ # values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the
43572
+ # external VPN gateway redundancy type.
43445
43573
  # Corresponds to the JSON property `peerExternalGatewayInterface`
43446
43574
  # @return [Fixnum]
43447
43575
  attr_accessor :peer_external_gateway_interface
@@ -43532,6 +43660,7 @@ module Google
43532
43660
  attr_accessor :vpn_gateway
43533
43661
 
43534
43662
  # The interface ID of the VPN gateway with which this VPN tunnel is associated.
43663
+ # Possible values are: `0`, `1`.
43535
43664
  # Corresponds to the JSON property `vpnGatewayInterface`
43536
43665
  # @return [Fixnum]
43537
43666
  attr_accessor :vpn_gateway_interface
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220918"
25
+ REVISION = "20221026"
26
26
  end
27
27
  end
28
28
  end
@@ -1612,6 +1612,12 @@ module Google
1612
1612
  include Google::Apis::Core::JsonObjectSupport
1613
1613
  end
1614
1614
 
1615
+ class InstanceGroupManagerInstanceLifecyclePolicy
1616
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1617
+
1618
+ include Google::Apis::Core::JsonObjectSupport
1619
+ end
1620
+
1615
1621
  class InstanceGroupManagerList
1616
1622
  class Representation < Google::Apis::Core::JsonRepresentation; end
1617
1623
 
@@ -3460,6 +3466,12 @@ module Google
3460
3466
  include Google::Apis::Core::JsonObjectSupport
3461
3467
  end
3462
3468
 
3469
+ class QuotaExceededInfo
3470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3471
+
3472
+ include Google::Apis::Core::JsonObjectSupport
3473
+ end
3474
+
3463
3475
  class Reference
3464
3476
  class Representation < Google::Apis::Core::JsonRepresentation; end
3465
3477
 
@@ -8996,6 +9008,8 @@ module Google
8996
9008
  property :fingerprint, :base64 => true, as: 'fingerprint'
8997
9009
  property :id, :numeric_string => true, as: 'id'
8998
9010
  property :instance_group, as: 'instanceGroup'
9011
+ property :instance_lifecycle_policy, as: 'instanceLifecyclePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy::Representation
9012
+
8999
9013
  property :instance_template, as: 'instanceTemplate'
9000
9014
  property :kind, as: 'kind'
9001
9015
  property :list_managed_instances_results, as: 'listManagedInstancesResults'
@@ -9087,6 +9101,13 @@ module Google
9087
9101
  end
9088
9102
  end
9089
9103
 
9104
+ class InstanceGroupManagerInstanceLifecyclePolicy
9105
+ # @private
9106
+ class Representation < Google::Apis::Core::JsonRepresentation
9107
+ property :force_update_on_repair, as: 'forceUpdateOnRepair'
9108
+ end
9109
+ end
9110
+
9090
9111
  class InstanceGroupManagerList
9091
9112
  # @private
9092
9113
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10623,6 +10644,8 @@ module Google
10623
10644
 
10624
10645
  property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation
10625
10646
 
10647
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeBeta::QuotaExceededInfo, decorator: Google::Apis::ComputeBeta::QuotaExceededInfo::Representation
10648
+
10626
10649
  end
10627
10650
  end
10628
10651
  end
@@ -11767,6 +11790,8 @@ module Google
11767
11790
 
11768
11791
  property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation
11769
11792
 
11793
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeBeta::QuotaExceededInfo, decorator: Google::Apis::ComputeBeta::QuotaExceededInfo::Representation
11794
+
11770
11795
  end
11771
11796
  end
11772
11797
  end
@@ -12455,6 +12480,16 @@ module Google
12455
12480
  end
12456
12481
  end
12457
12482
 
12483
+ class QuotaExceededInfo
12484
+ # @private
12485
+ class Representation < Google::Apis::Core::JsonRepresentation
12486
+ hash :dimensions, as: 'dimensions'
12487
+ property :limit, as: 'limit'
12488
+ property :limit_name, as: 'limitName'
12489
+ property :metric_name, as: 'metricName'
12490
+ end
12491
+ end
12492
+
12458
12493
  class Reference
12459
12494
  # @private
12460
12495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13836,12 +13871,15 @@ module Google
13836
13871
  property :location_hint, as: 'locationHint'
13837
13872
  property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
13838
13873
  property :maintenance_interval, as: 'maintenanceInterval'
13874
+ property :max_run_duration, as: 'maxRunDuration', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
13875
+
13839
13876
  property :min_node_cpus, as: 'minNodeCpus'
13840
13877
  collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
13841
13878
 
13842
13879
  property :on_host_maintenance, as: 'onHostMaintenance'
13843
13880
  property :preemptible, as: 'preemptible'
13844
13881
  property :provisioning_model, as: 'provisioningModel'
13882
+ property :termination_time, as: 'terminationTime'
13845
13883
  end
13846
13884
  end
13847
13885
 
@@ -14936,6 +14974,7 @@ module Google
14936
14974
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
14937
14975
  property :purpose, as: 'purpose'
14938
14976
  property :region, as: 'region'
14977
+ property :reserved_internal_range, as: 'reservedInternalRange'
14939
14978
  property :role, as: 'role'
14940
14979
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::SubnetworkSecondaryRange::Representation
14941
14980
 
@@ -15027,6 +15066,7 @@ module Google
15027
15066
  class Representation < Google::Apis::Core::JsonRepresentation
15028
15067
  property :ip_cidr_range, as: 'ipCidrRange'
15029
15068
  property :range_name, as: 'rangeName'
15069
+ property :reserved_internal_range, as: 'reservedInternalRange'
15030
15070
  end
15031
15071
  end
15032
15072
 
@@ -13905,6 +13905,9 @@ module Google
13905
13905
  # The name of the zone for this request.
13906
13906
  # @param [String] instance
13907
13907
  # Name of the instance resource to stop.
13908
+ # @param [Boolean] discard_local_ssd
13909
+ # If true, discard the contents of any attached localSSD partitions. Default
13910
+ # value is false (== preserve localSSD data).
13908
13911
  # @param [String] request_id
13909
13912
  # An optional request ID to identify requests. Specify a unique request ID so
13910
13913
  # that if you must retry your request, the server will know to ignore the
@@ -13934,13 +13937,14 @@ module Google
13934
13937
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13935
13938
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13936
13939
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13937
- def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13940
+ def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13938
13941
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options)
13939
13942
  command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
13940
13943
  command.response_class = Google::Apis::ComputeBeta::Operation
13941
13944
  command.params['project'] = project unless project.nil?
13942
13945
  command.params['zone'] = zone unless zone.nil?
13943
13946
  command.params['instance'] = instance unless instance.nil?
13947
+ command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil?
13944
13948
  command.query['requestId'] = request_id unless request_id.nil?
13945
13949
  command.query['fields'] = fields unless fields.nil?
13946
13950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -29128,7 +29132,10 @@ module Google
29128
29132
  execute_or_queue_command(command, &block)
29129
29133
  end
29130
29134
 
29131
- # Patches the specified policy with the data included in the request.
29135
+ # Patches the specified policy with the data included in the request. To clear
29136
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
29137
+ # This cannot be used to be update the rules in the policy. Please use the per
29138
+ # rule methods like addRule, patchRule, and removeRule instead.
29132
29139
  # @param [String] project
29133
29140
  # Project ID for this request.
29134
29141
  # @param [String] region
@@ -33930,9 +33937,10 @@ module Google
33930
33937
  execute_or_queue_command(command, &block)
33931
33938
  end
33932
33939
 
33933
- # Patches the specified policy with the data included in the request. This
33934
- # cannot be used to be update the rules in the policy. Please use the per rule
33935
- # methods like addRule, patchRule, and removeRule instead.
33940
+ # Patches the specified policy with the data included in the request. To clear
33941
+ # fields in the rule, leave the fields empty and specify them in the updateMask.
33942
+ # This cannot be used to be update the rules in the policy. Please use the per
33943
+ # rule methods like addRule, patchRule, and removeRule instead.
33936
33944
  # @param [String] project
33937
33945
  # Project ID for this request.
33938
33946
  # @param [String] security_policy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.53.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: 2022-10-03 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []