google-apis-compute_v1 0.146.0 → 0.147.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_v1/classes.rb +406 -17
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +141 -0
- data/lib/google/apis/compute_v1/service.rb +166 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c649f832c66ef40b07a7b36f88a61186cc2855c7996719aed7fb2ac7d02c1b42
|
|
4
|
+
data.tar.gz: 34a45b142ee57e2fef43cd042d9f642ab45a0c47606fc60a34e005ed9e7e5700
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13bf38795114883e6f3e399a74d4d74eb0e24c9226698df78c9850ad5c880b91a8fdc5526c02c6232f9b1fc854b5baa78ec60367ff0be276d0a6955975e60203
|
|
7
|
+
data.tar.gz: 4c60b05d85efb784c75a30910ffb34ba0f3b1b6afc22b073b2900b872d7597ca0ee561bb4e68ee99cccd09242d8ff4e4ec761e5239491c23f7a0505fd8dd6079
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-compute_v1
|
|
2
2
|
|
|
3
|
+
### v0.147.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260530
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.146.0 (2026-05-17)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260501
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/compute/) may provide guida
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -6094,6 +6094,16 @@ module Google
|
|
|
6094
6094
|
attr_accessor :enable
|
|
6095
6095
|
alias_method :enable?, :enable
|
|
6096
6096
|
|
|
6097
|
+
# The list of request headers that will be logged to Stackdriver.
|
|
6098
|
+
# Corresponds to the JSON property `loggingHttpRequestHeaders`
|
|
6099
|
+
# @return [Array<Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader>]
|
|
6100
|
+
attr_accessor :logging_http_request_headers
|
|
6101
|
+
|
|
6102
|
+
# The list of response headers that will be logged to Stackdriver.
|
|
6103
|
+
# Corresponds to the JSON property `loggingHttpResponseHeaders`
|
|
6104
|
+
# @return [Array<Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader>]
|
|
6105
|
+
attr_accessor :logging_http_response_headers
|
|
6106
|
+
|
|
6097
6107
|
# This field can only be specified if logging is enabled for this backend
|
|
6098
6108
|
# service and "logConfig.optionalMode" was set to CUSTOM. Contains a list
|
|
6099
6109
|
# of optional fields you want to include in the logs. For example:
|
|
@@ -6127,12 +6137,33 @@ module Google
|
|
|
6127
6137
|
# Update properties of this object
|
|
6128
6138
|
def update!(**args)
|
|
6129
6139
|
@enable = args[:enable] if args.key?(:enable)
|
|
6140
|
+
@logging_http_request_headers = args[:logging_http_request_headers] if args.key?(:logging_http_request_headers)
|
|
6141
|
+
@logging_http_response_headers = args[:logging_http_response_headers] if args.key?(:logging_http_response_headers)
|
|
6130
6142
|
@optional_fields = args[:optional_fields] if args.key?(:optional_fields)
|
|
6131
6143
|
@optional_mode = args[:optional_mode] if args.key?(:optional_mode)
|
|
6132
6144
|
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
|
|
6133
6145
|
end
|
|
6134
6146
|
end
|
|
6135
6147
|
|
|
6148
|
+
# Determines which HTTP headers will be logged to Stackdriver.
|
|
6149
|
+
class BackendServiceLogConfigLoggingHttpHeader
|
|
6150
|
+
include Google::Apis::Core::Hashable
|
|
6151
|
+
|
|
6152
|
+
# The name of the header to be logged.
|
|
6153
|
+
# Corresponds to the JSON property `headerName`
|
|
6154
|
+
# @return [String]
|
|
6155
|
+
attr_accessor :header_name
|
|
6156
|
+
|
|
6157
|
+
def initialize(**args)
|
|
6158
|
+
update!(**args)
|
|
6159
|
+
end
|
|
6160
|
+
|
|
6161
|
+
# Update properties of this object
|
|
6162
|
+
def update!(**args)
|
|
6163
|
+
@header_name = args[:header_name] if args.key?(:header_name)
|
|
6164
|
+
end
|
|
6165
|
+
end
|
|
6166
|
+
|
|
6136
6167
|
#
|
|
6137
6168
|
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
6138
6169
|
include Google::Apis::Core::Hashable
|
|
@@ -9531,6 +9562,100 @@ module Google
|
|
|
9531
9562
|
end
|
|
9532
9563
|
end
|
|
9533
9564
|
|
|
9565
|
+
# Represents civil time (or occasionally physical time).
|
|
9566
|
+
# This type can represent a civil time in one of a few possible ways:
|
|
9567
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
|
9568
|
+
# day with a particular offset from UTC.
|
|
9569
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
|
9570
|
+
# day in a particular time zone.
|
|
9571
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
|
9572
|
+
# day in local time.
|
|
9573
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
|
9574
|
+
# If year, month, or day are 0, the DateTime is considered not to have a
|
|
9575
|
+
# specific year, month, or day respectively.
|
|
9576
|
+
# This type may also be used to represent a physical time if all the date and
|
|
9577
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
|
9578
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
|
9579
|
+
# case also would like to store the user's timezone, that can be done in
|
|
9580
|
+
# another field.
|
|
9581
|
+
# This type is more flexible than some applications may want. Make sure to
|
|
9582
|
+
# document and validate your application's limitations.
|
|
9583
|
+
class DateTime
|
|
9584
|
+
include Google::Apis::Core::Hashable
|
|
9585
|
+
|
|
9586
|
+
# Optional. Day of month. Must be from 1 to 31 and valid for the year and
|
|
9587
|
+
# month, or 0 if specifying a datetime without a day.
|
|
9588
|
+
# Corresponds to the JSON property `day`
|
|
9589
|
+
# @return [Fixnum]
|
|
9590
|
+
attr_accessor :day
|
|
9591
|
+
|
|
9592
|
+
# Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
|
|
9593
|
+
# to 0 (midnight). An API may choose to allow the value "24:00:00" for
|
|
9594
|
+
# scenarios like business closing time.
|
|
9595
|
+
# Corresponds to the JSON property `hours`
|
|
9596
|
+
# @return [Fixnum]
|
|
9597
|
+
attr_accessor :hours
|
|
9598
|
+
|
|
9599
|
+
# Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
|
9600
|
+
# Corresponds to the JSON property `minutes`
|
|
9601
|
+
# @return [Fixnum]
|
|
9602
|
+
attr_accessor :minutes
|
|
9603
|
+
|
|
9604
|
+
# Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
|
|
9605
|
+
# datetime without a month.
|
|
9606
|
+
# Corresponds to the JSON property `month`
|
|
9607
|
+
# @return [Fixnum]
|
|
9608
|
+
attr_accessor :month
|
|
9609
|
+
|
|
9610
|
+
# Optional. Fractions of seconds in nanoseconds. Must be from 0 to
|
|
9611
|
+
# 999,999,999, defaults to 0.
|
|
9612
|
+
# Corresponds to the JSON property `nanos`
|
|
9613
|
+
# @return [Fixnum]
|
|
9614
|
+
attr_accessor :nanos
|
|
9615
|
+
|
|
9616
|
+
# Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
|
9617
|
+
# defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
|
9618
|
+
# Corresponds to the JSON property `seconds`
|
|
9619
|
+
# @return [Fixnum]
|
|
9620
|
+
attr_accessor :seconds
|
|
9621
|
+
|
|
9622
|
+
# Represents a time zone from the
|
|
9623
|
+
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
9624
|
+
# Corresponds to the JSON property `timeZone`
|
|
9625
|
+
# @return [Google::Apis::ComputeV1::TimeZone]
|
|
9626
|
+
attr_accessor :time_zone
|
|
9627
|
+
|
|
9628
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
|
9629
|
+
# For example, a UTC offset of -4:00 would be represented as
|
|
9630
|
+
# ` seconds: -14400 `.
|
|
9631
|
+
# Corresponds to the JSON property `utcOffset`
|
|
9632
|
+
# @return [String]
|
|
9633
|
+
attr_accessor :utc_offset
|
|
9634
|
+
|
|
9635
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
|
|
9636
|
+
# datetime without a year.
|
|
9637
|
+
# Corresponds to the JSON property `year`
|
|
9638
|
+
# @return [Fixnum]
|
|
9639
|
+
attr_accessor :year
|
|
9640
|
+
|
|
9641
|
+
def initialize(**args)
|
|
9642
|
+
update!(**args)
|
|
9643
|
+
end
|
|
9644
|
+
|
|
9645
|
+
# Update properties of this object
|
|
9646
|
+
def update!(**args)
|
|
9647
|
+
@day = args[:day] if args.key?(:day)
|
|
9648
|
+
@hours = args[:hours] if args.key?(:hours)
|
|
9649
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
|
9650
|
+
@month = args[:month] if args.key?(:month)
|
|
9651
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
|
9652
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
|
9653
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
9654
|
+
@utc_offset = args[:utc_offset] if args.key?(:utc_offset)
|
|
9655
|
+
@year = args[:year] if args.key?(:year)
|
|
9656
|
+
end
|
|
9657
|
+
end
|
|
9658
|
+
|
|
9534
9659
|
# Deprecation status for a public resource.
|
|
9535
9660
|
class DeprecationStatus
|
|
9536
9661
|
include Google::Apis::Core::Hashable
|
|
@@ -13559,6 +13684,12 @@ module Google
|
|
|
13559
13684
|
attr_accessor :allow_psc_global_access
|
|
13560
13685
|
alias_method :allow_psc_global_access?, :allow_psc_global_access
|
|
13561
13686
|
|
|
13687
|
+
# Output only. [Output Only]. The extensions that are attached to this
|
|
13688
|
+
# ForwardingRule.
|
|
13689
|
+
# Corresponds to the JSON property `attachedExtensions`
|
|
13690
|
+
# @return [Array<Google::Apis::ComputeV1::ForwardingRuleAttachedExtension>]
|
|
13691
|
+
attr_accessor :attached_extensions
|
|
13692
|
+
|
|
13562
13693
|
# Identifies the backend service to which the forwarding rule sends traffic.
|
|
13563
13694
|
# Required for internal and external passthrough Network Load Balancers;
|
|
13564
13695
|
# must be omitted for all other load balancer types.
|
|
@@ -13932,6 +14063,7 @@ module Google
|
|
|
13932
14063
|
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
|
13933
14064
|
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
|
13934
14065
|
@allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
|
|
14066
|
+
@attached_extensions = args[:attached_extensions] if args.key?(:attached_extensions)
|
|
13935
14067
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
|
13936
14068
|
@base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
|
|
13937
14069
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
@@ -14099,6 +14231,25 @@ module Google
|
|
|
14099
14231
|
end
|
|
14100
14232
|
end
|
|
14101
14233
|
|
|
14234
|
+
# Reference to an extension resource that is attached to this ForwardingRule.
|
|
14235
|
+
class ForwardingRuleAttachedExtension
|
|
14236
|
+
include Google::Apis::Core::Hashable
|
|
14237
|
+
|
|
14238
|
+
# Output only. The resource name.
|
|
14239
|
+
# Corresponds to the JSON property `reference`
|
|
14240
|
+
# @return [String]
|
|
14241
|
+
attr_accessor :reference
|
|
14242
|
+
|
|
14243
|
+
def initialize(**args)
|
|
14244
|
+
update!(**args)
|
|
14245
|
+
end
|
|
14246
|
+
|
|
14247
|
+
# Update properties of this object
|
|
14248
|
+
def update!(**args)
|
|
14249
|
+
@reference = args[:reference] if args.key?(:reference)
|
|
14250
|
+
end
|
|
14251
|
+
end
|
|
14252
|
+
|
|
14102
14253
|
# Contains a list of ForwardingRule resources.
|
|
14103
14254
|
class ForwardingRuleList
|
|
14104
14255
|
include Google::Apis::Core::Hashable
|
|
@@ -23041,6 +23192,11 @@ module Google
|
|
|
23041
23192
|
# @return [String]
|
|
23042
23193
|
attr_accessor :on_failed_health_check
|
|
23043
23194
|
|
|
23195
|
+
# Configuration for VM repairs in the MIG.
|
|
23196
|
+
# Corresponds to the JSON property `onRepair`
|
|
23197
|
+
# @return [Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicyOnRepair]
|
|
23198
|
+
attr_accessor :on_repair
|
|
23199
|
+
|
|
23044
23200
|
def initialize(**args)
|
|
23045
23201
|
update!(**args)
|
|
23046
23202
|
end
|
|
@@ -23050,6 +23206,32 @@ module Google
|
|
|
23050
23206
|
@default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
|
|
23051
23207
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
|
23052
23208
|
@on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
|
|
23209
|
+
@on_repair = args[:on_repair] if args.key?(:on_repair)
|
|
23210
|
+
end
|
|
23211
|
+
end
|
|
23212
|
+
|
|
23213
|
+
# Configuration for VM repairs in the MIG.
|
|
23214
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
|
23215
|
+
include Google::Apis::Core::Hashable
|
|
23216
|
+
|
|
23217
|
+
# Specifies whether the MIG can change a VM's zone during a repair.
|
|
23218
|
+
# Valid values are:
|
|
23219
|
+
#
|
|
23220
|
+
# - NO (default): MIG cannot change a VM's zone during a
|
|
23221
|
+
# repair.
|
|
23222
|
+
# - YES: MIG can select a different zone for the VM during
|
|
23223
|
+
# a repair.
|
|
23224
|
+
# Corresponds to the JSON property `allowChangingZone`
|
|
23225
|
+
# @return [String]
|
|
23226
|
+
attr_accessor :allow_changing_zone
|
|
23227
|
+
|
|
23228
|
+
def initialize(**args)
|
|
23229
|
+
update!(**args)
|
|
23230
|
+
end
|
|
23231
|
+
|
|
23232
|
+
# Update properties of this object
|
|
23233
|
+
def update!(**args)
|
|
23234
|
+
@allow_changing_zone = args[:allow_changing_zone] if args.key?(:allow_changing_zone)
|
|
23053
23235
|
end
|
|
23054
23236
|
end
|
|
23055
23237
|
|
|
@@ -25786,21 +25968,20 @@ module Google
|
|
|
25786
25968
|
class InstanceManagedByIgmError
|
|
25787
25969
|
include Google::Apis::Core::Hashable
|
|
25788
25970
|
|
|
25789
|
-
# Output only.
|
|
25971
|
+
# Output only. Contents of the error.
|
|
25790
25972
|
# Corresponds to the JSON property `error`
|
|
25791
25973
|
# @return [Google::Apis::ComputeV1::InstanceManagedByIgmErrorManagedInstanceError]
|
|
25792
25974
|
attr_accessor :error
|
|
25793
25975
|
|
|
25794
|
-
# Output only.
|
|
25795
|
-
# error.
|
|
25976
|
+
# Output only. Details of the instance action that triggered this error.
|
|
25796
25977
|
# May be null, if the error was not caused by an action on an instance.
|
|
25797
25978
|
# This field is optional.
|
|
25798
25979
|
# Corresponds to the JSON property `instanceActionDetails`
|
|
25799
25980
|
# @return [Google::Apis::ComputeV1::InstanceManagedByIgmErrorInstanceActionDetails]
|
|
25800
25981
|
attr_accessor :instance_action_details
|
|
25801
25982
|
|
|
25802
|
-
# Output only.
|
|
25803
|
-
#
|
|
25983
|
+
# Output only. The time that this error occurred. This value is in RFC3339 text
|
|
25984
|
+
# format.
|
|
25804
25985
|
# Corresponds to the JSON property `timestamp`
|
|
25805
25986
|
# @return [String]
|
|
25806
25987
|
attr_accessor :timestamp
|
|
@@ -25821,20 +26002,21 @@ module Google
|
|
|
25821
26002
|
class InstanceManagedByIgmErrorInstanceActionDetails
|
|
25822
26003
|
include Google::Apis::Core::Hashable
|
|
25823
26004
|
|
|
25824
|
-
# Output only.
|
|
25825
|
-
#
|
|
26005
|
+
# Output only. Action that managed instance group was executing on the instance
|
|
26006
|
+
# when the
|
|
26007
|
+
# error occurred. Possible values:
|
|
25826
26008
|
# Corresponds to the JSON property `action`
|
|
25827
26009
|
# @return [String]
|
|
25828
26010
|
attr_accessor :action
|
|
25829
26011
|
|
|
25830
|
-
# Output only.
|
|
25831
|
-
#
|
|
26012
|
+
# Output only. The URL of the instance. The URL can be set even if the instance
|
|
26013
|
+
# has not
|
|
26014
|
+
# yet been created.
|
|
25832
26015
|
# Corresponds to the JSON property `instance`
|
|
25833
26016
|
# @return [String]
|
|
25834
26017
|
attr_accessor :instance
|
|
25835
26018
|
|
|
25836
|
-
# Output only.
|
|
25837
|
-
# being
|
|
26019
|
+
# Output only. Version this instance was created from, or was being
|
|
25838
26020
|
# created from, but the creation failed. Corresponds to one of the versions
|
|
25839
26021
|
# that were set on the Instance Group Manager resource at the time this
|
|
25840
26022
|
# instance was being created.
|
|
@@ -25858,12 +26040,12 @@ module Google
|
|
|
25858
26040
|
class InstanceManagedByIgmErrorManagedInstanceError
|
|
25859
26041
|
include Google::Apis::Core::Hashable
|
|
25860
26042
|
|
|
25861
|
-
# Output only.
|
|
26043
|
+
# Output only. Error code.
|
|
25862
26044
|
# Corresponds to the JSON property `code`
|
|
25863
26045
|
# @return [String]
|
|
25864
26046
|
attr_accessor :code
|
|
25865
26047
|
|
|
25866
|
-
# Output only.
|
|
26048
|
+
# Output only. Error message.
|
|
25867
26049
|
# Corresponds to the JSON property `message`
|
|
25868
26050
|
# @return [String]
|
|
25869
26051
|
attr_accessor :message
|
|
@@ -28123,6 +28305,13 @@ module Google
|
|
|
28123
28305
|
# @return [String]
|
|
28124
28306
|
attr_accessor :description
|
|
28125
28307
|
|
|
28308
|
+
# Output only. URL of the InterconnectLocation object that represents where
|
|
28309
|
+
# this connection is to be provisioned. By default it will be the same as the
|
|
28310
|
+
# location field.
|
|
28311
|
+
# Corresponds to the JSON property `effectiveLocation`
|
|
28312
|
+
# @return [String]
|
|
28313
|
+
attr_accessor :effective_location
|
|
28314
|
+
|
|
28126
28315
|
# Output only. [Output Only] A list of outages expected for this Interconnect.
|
|
28127
28316
|
# Corresponds to the JSON property `expectedOutages`
|
|
28128
28317
|
# @return [Array<Google::Apis::ComputeV1::InterconnectOutageNotification>]
|
|
@@ -28364,6 +28553,7 @@ module Google
|
|
|
28364
28553
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
28365
28554
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
|
28366
28555
|
@description = args[:description] if args.key?(:description)
|
|
28556
|
+
@effective_location = args[:effective_location] if args.key?(:effective_location)
|
|
28367
28557
|
@expected_outages = args[:expected_outages] if args.key?(:expected_outages)
|
|
28368
28558
|
@google_ip_address = args[:google_ip_address] if args.key?(:google_ip_address)
|
|
28369
28559
|
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
|
@@ -37144,6 +37334,12 @@ module Google
|
|
|
37144
37334
|
# @return [Array<Google::Apis::ComputeV1::AliasIpRange>]
|
|
37145
37335
|
attr_accessor :alias_ip_ranges
|
|
37146
37336
|
|
|
37337
|
+
# An array of alias IPv6 ranges for this network interface.
|
|
37338
|
+
# You can only specify this field for network interfaces in VPC networks.
|
|
37339
|
+
# Corresponds to the JSON property `aliasIpv6Ranges`
|
|
37340
|
+
# @return [Array<Google::Apis::ComputeV1::AliasIpRange>]
|
|
37341
|
+
attr_accessor :alias_ipv6_ranges
|
|
37342
|
+
|
|
37147
37343
|
# Optional. If true, DNS resolution will be enabled over this interface. Only
|
|
37148
37344
|
# valid
|
|
37149
37345
|
# with network_attachment.
|
|
@@ -37310,6 +37506,7 @@ module Google
|
|
|
37310
37506
|
def update!(**args)
|
|
37311
37507
|
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
|
37312
37508
|
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
|
37509
|
+
@alias_ipv6_ranges = args[:alias_ipv6_ranges] if args.key?(:alias_ipv6_ranges)
|
|
37313
37510
|
@enable_vpc_scoped_dns = args[:enable_vpc_scoped_dns] if args.key?(:enable_vpc_scoped_dns)
|
|
37314
37511
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
37315
37512
|
@igmp_query = args[:igmp_query] if args.key?(:igmp_query)
|
|
@@ -42803,6 +43000,86 @@ module Google
|
|
|
42803
43000
|
end
|
|
42804
43001
|
end
|
|
42805
43002
|
|
|
43003
|
+
# The periodic partial maintenance schedule includes 52 weeks worth of
|
|
43004
|
+
# maintenance windows.
|
|
43005
|
+
# LINT.IfChange(PeriodicPartialMaintenanceSchedule)
|
|
43006
|
+
class PeriodicPartialMaintenanceSchedule
|
|
43007
|
+
include Google::Apis::Core::Hashable
|
|
43008
|
+
|
|
43009
|
+
# The maintenance type in which the zone is during the given window.
|
|
43010
|
+
# Corresponds to the JSON property `subType`
|
|
43011
|
+
# @return [String]
|
|
43012
|
+
attr_accessor :sub_type
|
|
43013
|
+
|
|
43014
|
+
# The target resource that the maintenance window is for.
|
|
43015
|
+
# For example, "projects/my-project/zones/us-central1-a".
|
|
43016
|
+
# Corresponds to the JSON property `targetResource`
|
|
43017
|
+
# @return [String]
|
|
43018
|
+
attr_accessor :target_resource
|
|
43019
|
+
|
|
43020
|
+
#
|
|
43021
|
+
# Corresponds to the JSON property `type`
|
|
43022
|
+
# @return [String]
|
|
43023
|
+
attr_accessor :type
|
|
43024
|
+
|
|
43025
|
+
# Represents civil time (or occasionally physical time).
|
|
43026
|
+
# This type can represent a civil time in one of a few possible ways:
|
|
43027
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
|
43028
|
+
# day with a particular offset from UTC.
|
|
43029
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
|
43030
|
+
# day in a particular time zone.
|
|
43031
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
|
43032
|
+
# day in local time.
|
|
43033
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
|
43034
|
+
# If year, month, or day are 0, the DateTime is considered not to have a
|
|
43035
|
+
# specific year, month, or day respectively.
|
|
43036
|
+
# This type may also be used to represent a physical time if all the date and
|
|
43037
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
|
43038
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
|
43039
|
+
# case also would like to store the user's timezone, that can be done in
|
|
43040
|
+
# another field.
|
|
43041
|
+
# This type is more flexible than some applications may want. Make sure to
|
|
43042
|
+
# document and validate your application's limitations.
|
|
43043
|
+
# Corresponds to the JSON property `windowEndTime`
|
|
43044
|
+
# @return [Google::Apis::ComputeV1::DateTime]
|
|
43045
|
+
attr_accessor :window_end_time
|
|
43046
|
+
|
|
43047
|
+
# Represents civil time (or occasionally physical time).
|
|
43048
|
+
# This type can represent a civil time in one of a few possible ways:
|
|
43049
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
|
43050
|
+
# day with a particular offset from UTC.
|
|
43051
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
|
43052
|
+
# day in a particular time zone.
|
|
43053
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
|
43054
|
+
# day in local time.
|
|
43055
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
|
43056
|
+
# If year, month, or day are 0, the DateTime is considered not to have a
|
|
43057
|
+
# specific year, month, or day respectively.
|
|
43058
|
+
# This type may also be used to represent a physical time if all the date and
|
|
43059
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
|
43060
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
|
43061
|
+
# case also would like to store the user's timezone, that can be done in
|
|
43062
|
+
# another field.
|
|
43063
|
+
# This type is more flexible than some applications may want. Make sure to
|
|
43064
|
+
# document and validate your application's limitations.
|
|
43065
|
+
# Corresponds to the JSON property `windowStartTime`
|
|
43066
|
+
# @return [Google::Apis::ComputeV1::DateTime]
|
|
43067
|
+
attr_accessor :window_start_time
|
|
43068
|
+
|
|
43069
|
+
def initialize(**args)
|
|
43070
|
+
update!(**args)
|
|
43071
|
+
end
|
|
43072
|
+
|
|
43073
|
+
# Update properties of this object
|
|
43074
|
+
def update!(**args)
|
|
43075
|
+
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
|
43076
|
+
@target_resource = args[:target_resource] if args.key?(:target_resource)
|
|
43077
|
+
@type = args[:type] if args.key?(:type)
|
|
43078
|
+
@window_end_time = args[:window_end_time] if args.key?(:window_end_time)
|
|
43079
|
+
@window_start_time = args[:window_start_time] if args.key?(:window_start_time)
|
|
43080
|
+
end
|
|
43081
|
+
end
|
|
43082
|
+
|
|
42806
43083
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
42807
43084
|
# controls for Google Cloud resources.
|
|
42808
43085
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
@@ -49934,6 +50211,11 @@ module Google
|
|
|
49934
50211
|
class ResourceStatusPhysicalHostTopology
|
|
49935
50212
|
include Google::Apis::Core::Hashable
|
|
49936
50213
|
|
|
50214
|
+
# Additional location information of the running instance.
|
|
50215
|
+
# Corresponds to the JSON property `additionalAttributes`
|
|
50216
|
+
# @return [Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopologyAdditionalAttributes]
|
|
50217
|
+
attr_accessor :additional_attributes
|
|
50218
|
+
|
|
49937
50219
|
# [Output Only] The ID of the block in which the running instance is
|
|
49938
50220
|
# located. Instances within the same block experience low network latency.
|
|
49939
50221
|
# Corresponds to the JSON property `block`
|
|
@@ -49966,6 +50248,7 @@ module Google
|
|
|
49966
50248
|
|
|
49967
50249
|
# Update properties of this object
|
|
49968
50250
|
def update!(**args)
|
|
50251
|
+
@additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
|
|
49969
50252
|
@block = args[:block] if args.key?(:block)
|
|
49970
50253
|
@cluster = args[:cluster] if args.key?(:cluster)
|
|
49971
50254
|
@host = args[:host] if args.key?(:host)
|
|
@@ -49973,6 +50256,29 @@ module Google
|
|
|
49973
50256
|
end
|
|
49974
50257
|
end
|
|
49975
50258
|
|
|
50259
|
+
# Additional location information of the running instance.
|
|
50260
|
+
class ResourceStatusPhysicalHostTopologyAdditionalAttributes
|
|
50261
|
+
include Google::Apis::Core::Hashable
|
|
50262
|
+
|
|
50263
|
+
# Output only. The IDs of the accelerator topologies the instance belongs to.
|
|
50264
|
+
# For
|
|
50265
|
+
# example
|
|
50266
|
+
# The key will be topologies like "4x4", "2x2x2" and the value will be
|
|
50267
|
+
# the location ID of the topologies.
|
|
50268
|
+
# Corresponds to the JSON property `acceleratorTopologyIds`
|
|
50269
|
+
# @return [Hash<String,String>]
|
|
50270
|
+
attr_accessor :accelerator_topology_ids
|
|
50271
|
+
|
|
50272
|
+
def initialize(**args)
|
|
50273
|
+
update!(**args)
|
|
50274
|
+
end
|
|
50275
|
+
|
|
50276
|
+
# Update properties of this object
|
|
50277
|
+
def update!(**args)
|
|
50278
|
+
@accelerator_topology_ids = args[:accelerator_topology_ids] if args.key?(:accelerator_topology_ids)
|
|
50279
|
+
end
|
|
50280
|
+
end
|
|
50281
|
+
|
|
49976
50282
|
# Reservation consumption information that the instance is consuming from.
|
|
49977
50283
|
class ResourceStatusReservationConsumptionInfo
|
|
49978
50284
|
include Google::Apis::Core::Hashable
|
|
@@ -50079,6 +50385,16 @@ module Google
|
|
|
50079
50385
|
# @return [String]
|
|
50080
50386
|
attr_accessor :name
|
|
50081
50387
|
|
|
50388
|
+
# Output only. The timestamp at which the Rollout was paused.
|
|
50389
|
+
# Corresponds to the JSON property `pauseTime`
|
|
50390
|
+
# @return [String]
|
|
50391
|
+
attr_accessor :pause_time
|
|
50392
|
+
|
|
50393
|
+
# Output only. The timestamp at which the Rollout was resumed.
|
|
50394
|
+
# Corresponds to the JSON property `resumeTime`
|
|
50395
|
+
# @return [String]
|
|
50396
|
+
attr_accessor :resume_time
|
|
50397
|
+
|
|
50082
50398
|
# Specifications of the resource to roll out.
|
|
50083
50399
|
# Corresponds to the JSON property `rolloutEntity`
|
|
50084
50400
|
# @return [Google::Apis::ComputeV1::RolloutRolloutEntity]
|
|
@@ -50126,6 +50442,8 @@ module Google
|
|
|
50126
50442
|
@id = args[:id] if args.key?(:id)
|
|
50127
50443
|
@kind = args[:kind] if args.key?(:kind)
|
|
50128
50444
|
@name = args[:name] if args.key?(:name)
|
|
50445
|
+
@pause_time = args[:pause_time] if args.key?(:pause_time)
|
|
50446
|
+
@resume_time = args[:resume_time] if args.key?(:resume_time)
|
|
50129
50447
|
@rollout_entity = args[:rollout_entity] if args.key?(:rollout_entity)
|
|
50130
50448
|
@rollout_plan = args[:rollout_plan] if args.key?(:rollout_plan)
|
|
50131
50449
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -51617,6 +51935,11 @@ module Google
|
|
|
51617
51935
|
# @return [Array<Google::Apis::ComputeV1::RouterNat>]
|
|
51618
51936
|
attr_accessor :nats
|
|
51619
51937
|
|
|
51938
|
+
# URI of the ncc_gateway to which this router associated.
|
|
51939
|
+
# Corresponds to the JSON property `nccGateway`
|
|
51940
|
+
# @return [String]
|
|
51941
|
+
attr_accessor :ncc_gateway
|
|
51942
|
+
|
|
51620
51943
|
# URI of the network to which this router belongs.
|
|
51621
51944
|
# Corresponds to the JSON property `network`
|
|
51622
51945
|
# @return [String]
|
|
@@ -51656,6 +51979,7 @@ module Google
|
|
|
51656
51979
|
@md5_authentication_keys = args[:md5_authentication_keys] if args.key?(:md5_authentication_keys)
|
|
51657
51980
|
@name = args[:name] if args.key?(:name)
|
|
51658
51981
|
@nats = args[:nats] if args.key?(:nats)
|
|
51982
|
+
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
|
51659
51983
|
@network = args[:network] if args.key?(:network)
|
|
51660
51984
|
@params = args[:params] if args.key?(:params)
|
|
51661
51985
|
@region = args[:region] if args.key?(:region)
|
|
@@ -52921,6 +53245,11 @@ module Google
|
|
|
52921
53245
|
# @return [Array<Google::Apis::ComputeV1::RouterStatusNatStatus>]
|
|
52922
53246
|
attr_accessor :nat_status
|
|
52923
53247
|
|
|
53248
|
+
# URI of the ncc_gateway to which this router associated.
|
|
53249
|
+
# Corresponds to the JSON property `nccGateway`
|
|
53250
|
+
# @return [String]
|
|
53251
|
+
attr_accessor :ncc_gateway
|
|
53252
|
+
|
|
52924
53253
|
# URI of the network to which this router belongs.
|
|
52925
53254
|
# Corresponds to the JSON property `network`
|
|
52926
53255
|
# @return [String]
|
|
@@ -52936,6 +53265,7 @@ module Google
|
|
|
52936
53265
|
@best_routes_for_router = args[:best_routes_for_router] if args.key?(:best_routes_for_router)
|
|
52937
53266
|
@bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status)
|
|
52938
53267
|
@nat_status = args[:nat_status] if args.key?(:nat_status)
|
|
53268
|
+
@ncc_gateway = args[:ncc_gateway] if args.key?(:ncc_gateway)
|
|
52939
53269
|
@network = args[:network] if args.key?(:network)
|
|
52940
53270
|
end
|
|
52941
53271
|
end
|
|
@@ -57307,11 +57637,13 @@ module Google
|
|
|
57307
57637
|
# @return [Fixnum]
|
|
57308
57638
|
attr_accessor :storage_bytes
|
|
57309
57639
|
|
|
57310
|
-
# Output only. [
|
|
57640
|
+
# Output only. [Deprecated] Instead, check the storageBytes field. After
|
|
57641
|
+
# snapshot creation, the storageBytesStatus field is alwaysUP_TO_DATE.
|
|
57642
|
+
# [Output Only] An indicator whether storageBytes is in a
|
|
57311
57643
|
# stable state or it is being adjusted as a result of shared storage
|
|
57312
|
-
# reallocation. This status can either be
|
|
57313
|
-
# the size of the snapshot
|
|
57314
|
-
#
|
|
57644
|
+
# reallocation. This status can either be unset, meaning the snapshot is
|
|
57645
|
+
# being created, or UP_TO_DATE, meaning the size of the snapshot
|
|
57646
|
+
# is up-to-date.
|
|
57315
57647
|
# Corresponds to the JSON property `storageBytesStatus`
|
|
57316
57648
|
# @return [String]
|
|
57317
57649
|
attr_accessor :storage_bytes_status
|
|
@@ -64668,6 +65000,11 @@ module Google
|
|
|
64668
65000
|
# @return [String]
|
|
64669
65001
|
attr_accessor :kind
|
|
64670
65002
|
|
|
65003
|
+
# Specifies the type of load balancing scheme used by this target proxy.
|
|
65004
|
+
# Corresponds to the JSON property `loadBalancingScheme`
|
|
65005
|
+
# @return [String]
|
|
65006
|
+
attr_accessor :load_balancing_scheme
|
|
65007
|
+
|
|
64671
65008
|
# Name of the resource. Provided by the client when the resource is created.
|
|
64672
65009
|
# The name must be 1-63 characters long, and comply withRFC1035.
|
|
64673
65010
|
# Specifically, the name must be 1-63 characters long and match the regular
|
|
@@ -64727,6 +65064,7 @@ module Google
|
|
|
64727
65064
|
@description = args[:description] if args.key?(:description)
|
|
64728
65065
|
@id = args[:id] if args.key?(:id)
|
|
64729
65066
|
@kind = args[:kind] if args.key?(:kind)
|
|
65067
|
+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
|
64730
65068
|
@name = args[:name] if args.key?(:name)
|
|
64731
65069
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
|
64732
65070
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
|
@@ -65621,6 +65959,32 @@ module Google
|
|
|
65621
65959
|
end
|
|
65622
65960
|
end
|
|
65623
65961
|
|
|
65962
|
+
# Represents a time zone from the
|
|
65963
|
+
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
65964
|
+
class TimeZone
|
|
65965
|
+
include Google::Apis::Core::Hashable
|
|
65966
|
+
|
|
65967
|
+
# IANA Time Zone Database time zone. For example "America/New_York".
|
|
65968
|
+
# Corresponds to the JSON property `id`
|
|
65969
|
+
# @return [String]
|
|
65970
|
+
attr_accessor :id
|
|
65971
|
+
|
|
65972
|
+
# Optional. IANA Time Zone Database version number. For example "2019a".
|
|
65973
|
+
# Corresponds to the JSON property `version`
|
|
65974
|
+
# @return [String]
|
|
65975
|
+
attr_accessor :version
|
|
65976
|
+
|
|
65977
|
+
def initialize(**args)
|
|
65978
|
+
update!(**args)
|
|
65979
|
+
end
|
|
65980
|
+
|
|
65981
|
+
# Update properties of this object
|
|
65982
|
+
def update!(**args)
|
|
65983
|
+
@id = args[:id] if args.key?(:id)
|
|
65984
|
+
@version = args[:version] if args.key?(:version)
|
|
65985
|
+
end
|
|
65986
|
+
end
|
|
65987
|
+
|
|
65624
65988
|
#
|
|
65625
65989
|
class Uint128
|
|
65626
65990
|
include Google::Apis::Core::Hashable
|
|
@@ -69991,6 +70355,11 @@ module Google
|
|
|
69991
70355
|
# @return [String]
|
|
69992
70356
|
attr_accessor :region
|
|
69993
70357
|
|
|
70358
|
+
#
|
|
70359
|
+
# Corresponds to the JSON property `resourceStatus`
|
|
70360
|
+
# @return [Google::Apis::ComputeV1::ZoneResourceStatus]
|
|
70361
|
+
attr_accessor :resource_status
|
|
70362
|
+
|
|
69994
70363
|
# [Output Only] Server-defined URL for the resource.
|
|
69995
70364
|
# Corresponds to the JSON property `selfLink`
|
|
69996
70365
|
# @return [String]
|
|
@@ -70021,6 +70390,7 @@ module Google
|
|
|
70021
70390
|
@kind = args[:kind] if args.key?(:kind)
|
|
70022
70391
|
@name = args[:name] if args.key?(:name)
|
|
70023
70392
|
@region = args[:region] if args.key?(:region)
|
|
70393
|
+
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
|
70024
70394
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
70025
70395
|
@status = args[:status] if args.key?(:status)
|
|
70026
70396
|
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
|
@@ -70151,6 +70521,25 @@ module Google
|
|
|
70151
70521
|
end
|
|
70152
70522
|
end
|
|
70153
70523
|
|
|
70524
|
+
#
|
|
70525
|
+
class ZoneResourceStatus
|
|
70526
|
+
include Google::Apis::Core::Hashable
|
|
70527
|
+
|
|
70528
|
+
# Output only. [Output Only] The upcoming maintenance schedule.
|
|
70529
|
+
# Corresponds to the JSON property `upcomingMaintenances`
|
|
70530
|
+
# @return [Array<Google::Apis::ComputeV1::PeriodicPartialMaintenanceSchedule>]
|
|
70531
|
+
attr_accessor :upcoming_maintenances
|
|
70532
|
+
|
|
70533
|
+
def initialize(**args)
|
|
70534
|
+
update!(**args)
|
|
70535
|
+
end
|
|
70536
|
+
|
|
70537
|
+
# Update properties of this object
|
|
70538
|
+
def update!(**args)
|
|
70539
|
+
@upcoming_maintenances = args[:upcoming_maintenances] if args.key?(:upcoming_maintenances)
|
|
70540
|
+
end
|
|
70541
|
+
end
|
|
70542
|
+
|
|
70154
70543
|
#
|
|
70155
70544
|
class ZoneSetLabelsRequest
|
|
70156
70545
|
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.147.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260530"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -664,6 +664,12 @@ module Google
|
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
665
665
|
end
|
|
666
666
|
|
|
667
|
+
class BackendServiceLogConfigLoggingHttpHeader
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
667
673
|
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
675
|
|
|
@@ -1096,6 +1102,12 @@ module Google
|
|
|
1096
1102
|
include Google::Apis::Core::JsonObjectSupport
|
|
1097
1103
|
end
|
|
1098
1104
|
|
|
1105
|
+
class DateTime
|
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1107
|
+
|
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1099
1111
|
class DeprecationStatus
|
|
1100
1112
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1101
1113
|
|
|
@@ -1564,6 +1576,12 @@ module Google
|
|
|
1564
1576
|
include Google::Apis::Core::JsonObjectSupport
|
|
1565
1577
|
end
|
|
1566
1578
|
|
|
1579
|
+
class ForwardingRuleAttachedExtension
|
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1581
|
+
|
|
1582
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1583
|
+
end
|
|
1584
|
+
|
|
1567
1585
|
class ForwardingRuleList
|
|
1568
1586
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1569
1587
|
|
|
@@ -2584,6 +2602,12 @@ module Google
|
|
|
2584
2602
|
include Google::Apis::Core::JsonObjectSupport
|
|
2585
2603
|
end
|
|
2586
2604
|
|
|
2605
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
|
2606
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2607
|
+
|
|
2608
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2609
|
+
end
|
|
2610
|
+
|
|
2587
2611
|
class InstanceGroupManagerList
|
|
2588
2612
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2589
2613
|
|
|
@@ -5170,6 +5194,12 @@ module Google
|
|
|
5170
5194
|
include Google::Apis::Core::JsonObjectSupport
|
|
5171
5195
|
end
|
|
5172
5196
|
|
|
5197
|
+
class PeriodicPartialMaintenanceSchedule
|
|
5198
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5199
|
+
|
|
5200
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5201
|
+
end
|
|
5202
|
+
|
|
5173
5203
|
class Policy
|
|
5174
5204
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5175
5205
|
|
|
@@ -6214,6 +6244,12 @@ module Google
|
|
|
6214
6244
|
include Google::Apis::Core::JsonObjectSupport
|
|
6215
6245
|
end
|
|
6216
6246
|
|
|
6247
|
+
class ResourceStatusPhysicalHostTopologyAdditionalAttributes
|
|
6248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6249
|
+
|
|
6250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6251
|
+
end
|
|
6252
|
+
|
|
6217
6253
|
class ResourceStatusReservationConsumptionInfo
|
|
6218
6254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6219
6255
|
|
|
@@ -8158,6 +8194,12 @@ module Google
|
|
|
8158
8194
|
include Google::Apis::Core::JsonObjectSupport
|
|
8159
8195
|
end
|
|
8160
8196
|
|
|
8197
|
+
class TimeZone
|
|
8198
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8199
|
+
|
|
8200
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
8201
|
+
end
|
|
8202
|
+
|
|
8161
8203
|
class Uint128
|
|
8162
8204
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8163
8205
|
|
|
@@ -8746,6 +8788,12 @@ module Google
|
|
|
8746
8788
|
include Google::Apis::Core::JsonObjectSupport
|
|
8747
8789
|
end
|
|
8748
8790
|
|
|
8791
|
+
class ZoneResourceStatus
|
|
8792
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8793
|
+
|
|
8794
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
8795
|
+
end
|
|
8796
|
+
|
|
8749
8797
|
class ZoneSetLabelsRequest
|
|
8750
8798
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8751
8799
|
|
|
@@ -10008,12 +10056,23 @@ module Google
|
|
|
10008
10056
|
# @private
|
|
10009
10057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10010
10058
|
property :enable, as: 'enable'
|
|
10059
|
+
collection :logging_http_request_headers, as: 'loggingHttpRequestHeaders', class: Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader, decorator: Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader::Representation
|
|
10060
|
+
|
|
10061
|
+
collection :logging_http_response_headers, as: 'loggingHttpResponseHeaders', class: Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader, decorator: Google::Apis::ComputeV1::BackendServiceLogConfigLoggingHttpHeader::Representation
|
|
10062
|
+
|
|
10011
10063
|
collection :optional_fields, as: 'optionalFields'
|
|
10012
10064
|
property :optional_mode, as: 'optionalMode'
|
|
10013
10065
|
property :sample_rate, as: 'sampleRate'
|
|
10014
10066
|
end
|
|
10015
10067
|
end
|
|
10016
10068
|
|
|
10069
|
+
class BackendServiceLogConfigLoggingHttpHeader
|
|
10070
|
+
# @private
|
|
10071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10072
|
+
property :header_name, as: 'headerName'
|
|
10073
|
+
end
|
|
10074
|
+
end
|
|
10075
|
+
|
|
10017
10076
|
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
10018
10077
|
# @private
|
|
10019
10078
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10781,6 +10840,22 @@ module Google
|
|
|
10781
10840
|
end
|
|
10782
10841
|
end
|
|
10783
10842
|
|
|
10843
|
+
class DateTime
|
|
10844
|
+
# @private
|
|
10845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10846
|
+
property :day, as: 'day'
|
|
10847
|
+
property :hours, as: 'hours'
|
|
10848
|
+
property :minutes, as: 'minutes'
|
|
10849
|
+
property :month, as: 'month'
|
|
10850
|
+
property :nanos, as: 'nanos'
|
|
10851
|
+
property :seconds, as: 'seconds'
|
|
10852
|
+
property :time_zone, as: 'timeZone', class: Google::Apis::ComputeV1::TimeZone, decorator: Google::Apis::ComputeV1::TimeZone::Representation
|
|
10853
|
+
|
|
10854
|
+
property :utc_offset, as: 'utcOffset'
|
|
10855
|
+
property :year, as: 'year'
|
|
10856
|
+
end
|
|
10857
|
+
end
|
|
10858
|
+
|
|
10784
10859
|
class DeprecationStatus
|
|
10785
10860
|
# @private
|
|
10786
10861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11622,6 +11697,8 @@ module Google
|
|
|
11622
11697
|
property :all_ports, as: 'allPorts'
|
|
11623
11698
|
property :allow_global_access, as: 'allowGlobalAccess'
|
|
11624
11699
|
property :allow_psc_global_access, as: 'allowPscGlobalAccess'
|
|
11700
|
+
collection :attached_extensions, as: 'attachedExtensions', class: Google::Apis::ComputeV1::ForwardingRuleAttachedExtension, decorator: Google::Apis::ComputeV1::ForwardingRuleAttachedExtension::Representation
|
|
11701
|
+
|
|
11625
11702
|
property :backend_service, as: 'backendService'
|
|
11626
11703
|
property :base_forwarding_rule, as: 'baseForwardingRule'
|
|
11627
11704
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
@@ -11693,6 +11770,13 @@ module Google
|
|
|
11693
11770
|
end
|
|
11694
11771
|
end
|
|
11695
11772
|
|
|
11773
|
+
class ForwardingRuleAttachedExtension
|
|
11774
|
+
# @private
|
|
11775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11776
|
+
property :reference, as: 'reference'
|
|
11777
|
+
end
|
|
11778
|
+
end
|
|
11779
|
+
|
|
11696
11780
|
class ForwardingRuleList
|
|
11697
11781
|
# @private
|
|
11698
11782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -13709,6 +13793,15 @@ module Google
|
|
|
13709
13793
|
property :default_action_on_failure, as: 'defaultActionOnFailure'
|
|
13710
13794
|
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
|
13711
13795
|
property :on_failed_health_check, as: 'onFailedHealthCheck'
|
|
13796
|
+
property :on_repair, as: 'onRepair', class: Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicyOnRepair, decorator: Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicyOnRepair::Representation
|
|
13797
|
+
|
|
13798
|
+
end
|
|
13799
|
+
end
|
|
13800
|
+
|
|
13801
|
+
class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
|
|
13802
|
+
# @private
|
|
13803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13804
|
+
property :allow_changing_zone, as: 'allowChangingZone'
|
|
13712
13805
|
end
|
|
13713
13806
|
end
|
|
13714
13807
|
|
|
@@ -15036,6 +15129,7 @@ module Google
|
|
|
15036
15129
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
15037
15130
|
property :customer_name, as: 'customerName'
|
|
15038
15131
|
property :description, as: 'description'
|
|
15132
|
+
property :effective_location, as: 'effectiveLocation'
|
|
15039
15133
|
collection :expected_outages, as: 'expectedOutages', class: Google::Apis::ComputeV1::InterconnectOutageNotification, decorator: Google::Apis::ComputeV1::InterconnectOutageNotification::Representation
|
|
15040
15134
|
|
|
15041
15135
|
property :google_ip_address, as: 'googleIpAddress'
|
|
@@ -17129,6 +17223,8 @@ module Google
|
|
|
17129
17223
|
|
|
17130
17224
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
|
|
17131
17225
|
|
|
17226
|
+
collection :alias_ipv6_ranges, as: 'aliasIpv6Ranges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
|
|
17227
|
+
|
|
17132
17228
|
property :enable_vpc_scoped_dns, as: 'enableVpcScopedDns'
|
|
17133
17229
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
17134
17230
|
property :igmp_query, as: 'igmpQuery'
|
|
@@ -18479,6 +18575,19 @@ module Google
|
|
|
18479
18575
|
end
|
|
18480
18576
|
end
|
|
18481
18577
|
|
|
18578
|
+
class PeriodicPartialMaintenanceSchedule
|
|
18579
|
+
# @private
|
|
18580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18581
|
+
property :sub_type, as: 'subType'
|
|
18582
|
+
property :target_resource, as: 'targetResource'
|
|
18583
|
+
property :type, as: 'type'
|
|
18584
|
+
property :window_end_time, as: 'windowEndTime', class: Google::Apis::ComputeV1::DateTime, decorator: Google::Apis::ComputeV1::DateTime::Representation
|
|
18585
|
+
|
|
18586
|
+
property :window_start_time, as: 'windowStartTime', class: Google::Apis::ComputeV1::DateTime, decorator: Google::Apis::ComputeV1::DateTime::Representation
|
|
18587
|
+
|
|
18588
|
+
end
|
|
18589
|
+
end
|
|
18590
|
+
|
|
18482
18591
|
class Policy
|
|
18483
18592
|
# @private
|
|
18484
18593
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20285,6 +20394,8 @@ module Google
|
|
|
20285
20394
|
class ResourceStatusPhysicalHostTopology
|
|
20286
20395
|
# @private
|
|
20287
20396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20397
|
+
property :additional_attributes, as: 'additionalAttributes', class: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopologyAdditionalAttributes, decorator: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopologyAdditionalAttributes::Representation
|
|
20398
|
+
|
|
20288
20399
|
property :block, as: 'block'
|
|
20289
20400
|
property :cluster, as: 'cluster'
|
|
20290
20401
|
property :host, as: 'host'
|
|
@@ -20292,6 +20403,13 @@ module Google
|
|
|
20292
20403
|
end
|
|
20293
20404
|
end
|
|
20294
20405
|
|
|
20406
|
+
class ResourceStatusPhysicalHostTopologyAdditionalAttributes
|
|
20407
|
+
# @private
|
|
20408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20409
|
+
hash :accelerator_topology_ids, as: 'acceleratorTopologyIds'
|
|
20410
|
+
end
|
|
20411
|
+
end
|
|
20412
|
+
|
|
20295
20413
|
class ResourceStatusReservationConsumptionInfo
|
|
20296
20414
|
# @private
|
|
20297
20415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20318,6 +20436,8 @@ module Google
|
|
|
20318
20436
|
property :id, :numeric_string => true, as: 'id'
|
|
20319
20437
|
property :kind, as: 'kind'
|
|
20320
20438
|
property :name, as: 'name'
|
|
20439
|
+
property :pause_time, as: 'pauseTime'
|
|
20440
|
+
property :resume_time, as: 'resumeTime'
|
|
20321
20441
|
property :rollout_entity, as: 'rolloutEntity', class: Google::Apis::ComputeV1::RolloutRolloutEntity, decorator: Google::Apis::ComputeV1::RolloutRolloutEntity::Representation
|
|
20322
20442
|
|
|
20323
20443
|
property :rollout_plan, as: 'rolloutPlan'
|
|
@@ -20676,6 +20796,7 @@ module Google
|
|
|
20676
20796
|
property :name, as: 'name'
|
|
20677
20797
|
collection :nats, as: 'nats', class: Google::Apis::ComputeV1::RouterNat, decorator: Google::Apis::ComputeV1::RouterNat::Representation
|
|
20678
20798
|
|
|
20799
|
+
property :ncc_gateway, as: 'nccGateway'
|
|
20679
20800
|
property :network, as: 'network'
|
|
20680
20801
|
property :params, as: 'params', class: Google::Apis::ComputeV1::RouterParams, decorator: Google::Apis::ComputeV1::RouterParams::Representation
|
|
20681
20802
|
|
|
@@ -20938,6 +21059,7 @@ module Google
|
|
|
20938
21059
|
|
|
20939
21060
|
collection :nat_status, as: 'natStatus', class: Google::Apis::ComputeV1::RouterStatusNatStatus, decorator: Google::Apis::ComputeV1::RouterStatusNatStatus::Representation
|
|
20940
21061
|
|
|
21062
|
+
property :ncc_gateway, as: 'nccGateway'
|
|
20941
21063
|
property :network, as: 'network'
|
|
20942
21064
|
end
|
|
20943
21065
|
end
|
|
@@ -23691,6 +23813,7 @@ module Google
|
|
|
23691
23813
|
property :description, as: 'description'
|
|
23692
23814
|
property :id, :numeric_string => true, as: 'id'
|
|
23693
23815
|
property :kind, as: 'kind'
|
|
23816
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
|
23694
23817
|
property :name, as: 'name'
|
|
23695
23818
|
property :proxy_bind, as: 'proxyBind'
|
|
23696
23819
|
property :proxy_header, as: 'proxyHeader'
|
|
@@ -23916,6 +24039,14 @@ module Google
|
|
|
23916
24039
|
end
|
|
23917
24040
|
end
|
|
23918
24041
|
|
|
24042
|
+
class TimeZone
|
|
24043
|
+
# @private
|
|
24044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
24045
|
+
property :id, as: 'id'
|
|
24046
|
+
property :version, as: 'version'
|
|
24047
|
+
end
|
|
24048
|
+
end
|
|
24049
|
+
|
|
23919
24050
|
class Uint128
|
|
23920
24051
|
# @private
|
|
23921
24052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -24946,6 +25077,8 @@ module Google
|
|
|
24946
25077
|
property :kind, as: 'kind'
|
|
24947
25078
|
property :name, as: 'name'
|
|
24948
25079
|
property :region, as: 'region'
|
|
25080
|
+
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::ZoneResourceStatus, decorator: Google::Apis::ComputeV1::ZoneResourceStatus::Representation
|
|
25081
|
+
|
|
24949
25082
|
property :self_link, as: 'selfLink'
|
|
24950
25083
|
property :status, as: 'status'
|
|
24951
25084
|
property :supports_pzs, as: 'supportsPzs'
|
|
@@ -24984,6 +25117,14 @@ module Google
|
|
|
24984
25117
|
end
|
|
24985
25118
|
end
|
|
24986
25119
|
|
|
25120
|
+
class ZoneResourceStatus
|
|
25121
|
+
# @private
|
|
25122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
25123
|
+
collection :upcoming_maintenances, as: 'upcomingMaintenances', class: Google::Apis::ComputeV1::PeriodicPartialMaintenanceSchedule, decorator: Google::Apis::ComputeV1::PeriodicPartialMaintenanceSchedule::Representation
|
|
25124
|
+
|
|
25125
|
+
end
|
|
25126
|
+
end
|
|
25127
|
+
|
|
24987
25128
|
class ZoneSetLabelsRequest
|
|
24988
25129
|
# @private
|
|
24989
25130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -6970,6 +6970,7 @@ module Google
|
|
|
6970
6970
|
# Name of the region scoping this request.
|
|
6971
6971
|
# @param [String] forwarding_rule
|
|
6972
6972
|
# Name of the ForwardingRule resource to return.
|
|
6973
|
+
# @param [String] view
|
|
6973
6974
|
# @param [String] fields
|
|
6974
6975
|
# Selector specifying which fields to include in a partial response.
|
|
6975
6976
|
# @param [String] quota_user
|
|
@@ -6989,13 +6990,14 @@ module Google
|
|
|
6989
6990
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
6990
6991
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
6991
6992
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
6992
|
-
def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6993
|
+
def get_forwarding_rule(project, region, forwarding_rule, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
6993
6994
|
command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options)
|
|
6994
6995
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
6995
6996
|
command.response_class = Google::Apis::ComputeV1::ForwardingRule
|
|
6996
6997
|
command.params['project'] = project unless project.nil?
|
|
6997
6998
|
command.params['region'] = region unless region.nil?
|
|
6998
6999
|
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
|
|
7000
|
+
command.query['view'] = view unless view.nil?
|
|
6999
7001
|
command.query['fields'] = fields unless fields.nil?
|
|
7000
7002
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7001
7003
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -8281,6 +8283,7 @@ module Google
|
|
|
8281
8283
|
# Project ID for this request.
|
|
8282
8284
|
# @param [String] forwarding_rule
|
|
8283
8285
|
# Name of the ForwardingRule resource to return.
|
|
8286
|
+
# @param [String] view
|
|
8284
8287
|
# @param [String] fields
|
|
8285
8288
|
# Selector specifying which fields to include in a partial response.
|
|
8286
8289
|
# @param [String] quota_user
|
|
@@ -8300,12 +8303,13 @@ module Google
|
|
|
8300
8303
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8301
8304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8302
8305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8303
|
-
def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8306
|
+
def get_global_forwarding_rule(project, forwarding_rule, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8304
8307
|
command = make_simple_command(:get, 'projects/{project}/global/forwardingRules/{forwardingRule}', options)
|
|
8305
8308
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
|
8306
8309
|
command.response_class = Google::Apis::ComputeV1::ForwardingRule
|
|
8307
8310
|
command.params['project'] = project unless project.nil?
|
|
8308
8311
|
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
|
|
8312
|
+
command.query['view'] = view unless view.nil?
|
|
8309
8313
|
command.query['fields'] = fields unless fields.nil?
|
|
8310
8314
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8311
8315
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -49878,6 +49882,58 @@ module Google
|
|
|
49878
49882
|
execute_or_queue_command(command, &block)
|
|
49879
49883
|
end
|
|
49880
49884
|
|
|
49885
|
+
# Advances a Rollout to the next wave, or completes it if no waves remain.
|
|
49886
|
+
# @param [String] project
|
|
49887
|
+
# Required. Project ID for this request.
|
|
49888
|
+
# @param [String] rollout
|
|
49889
|
+
# Required. Name of the Rollout resource to advance.
|
|
49890
|
+
# @param [Fixnum] current_wave_number
|
|
49891
|
+
# Required. Wave number of the current wave.
|
|
49892
|
+
# @param [String] request_id
|
|
49893
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
49894
|
+
# that if you must retry your request, the server will know to ignore the
|
|
49895
|
+
# request if it has already been completed.
|
|
49896
|
+
# For example, consider a situation where you make an initial request and
|
|
49897
|
+
# the request times out. If you make the request again with the same
|
|
49898
|
+
# request ID, the server can check if original operation with the same
|
|
49899
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
49900
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
49901
|
+
# The request ID must be
|
|
49902
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
49903
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
49904
|
+
# @param [String] fields
|
|
49905
|
+
# Selector specifying which fields to include in a partial response.
|
|
49906
|
+
# @param [String] quota_user
|
|
49907
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
49908
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
49909
|
+
# @param [String] user_ip
|
|
49910
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
49911
|
+
# @param [Google::Apis::RequestOptions] options
|
|
49912
|
+
# Request-specific options
|
|
49913
|
+
#
|
|
49914
|
+
# @yield [result, err] Result & error if block supplied
|
|
49915
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
49916
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
49917
|
+
#
|
|
49918
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
49919
|
+
#
|
|
49920
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
49921
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
49922
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
49923
|
+
def advance_rollout(project, rollout, current_wave_number: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
49924
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/advance', options)
|
|
49925
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
49926
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
49927
|
+
command.params['project'] = project unless project.nil?
|
|
49928
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
49929
|
+
command.query['currentWaveNumber'] = current_wave_number unless current_wave_number.nil?
|
|
49930
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
49931
|
+
command.query['fields'] = fields unless fields.nil?
|
|
49932
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
49933
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
49934
|
+
execute_or_queue_command(command, &block)
|
|
49935
|
+
end
|
|
49936
|
+
|
|
49881
49937
|
# Cancels a Rollout.
|
|
49882
49938
|
# @param [String] project
|
|
49883
49939
|
# Project ID for this request.
|
|
@@ -50133,6 +50189,114 @@ module Google
|
|
|
50133
50189
|
execute_or_queue_command(command, &block)
|
|
50134
50190
|
end
|
|
50135
50191
|
|
|
50192
|
+
# Pauses a Rollout.
|
|
50193
|
+
# @param [String] project
|
|
50194
|
+
# Required. Project ID for this request.
|
|
50195
|
+
# @param [String] rollout
|
|
50196
|
+
# Required. Name of the Rollout resource to pause.
|
|
50197
|
+
# @param [String] etag
|
|
50198
|
+
# The etag of the Rollout.
|
|
50199
|
+
# If this is provided, the request will only succeed if the etag matches
|
|
50200
|
+
# the current etag of the Rollout.
|
|
50201
|
+
# @param [String] request_id
|
|
50202
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
50203
|
+
# that if you must retry your request, the server will know to ignore the
|
|
50204
|
+
# request if it has already been completed.
|
|
50205
|
+
# For example, consider a situation where you make an initial request and
|
|
50206
|
+
# the request times out. If you make the request again with the same
|
|
50207
|
+
# request ID, the server can check if original operation with the same
|
|
50208
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
50209
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
50210
|
+
# The request ID must be
|
|
50211
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
50212
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
50213
|
+
# @param [String] fields
|
|
50214
|
+
# Selector specifying which fields to include in a partial response.
|
|
50215
|
+
# @param [String] quota_user
|
|
50216
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
50217
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
50218
|
+
# @param [String] user_ip
|
|
50219
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
50220
|
+
# @param [Google::Apis::RequestOptions] options
|
|
50221
|
+
# Request-specific options
|
|
50222
|
+
#
|
|
50223
|
+
# @yield [result, err] Result & error if block supplied
|
|
50224
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
50225
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
50226
|
+
#
|
|
50227
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
50228
|
+
#
|
|
50229
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
50230
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
50231
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
50232
|
+
def pause_rollout(project, rollout, etag: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
50233
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/pause', options)
|
|
50234
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
50235
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
50236
|
+
command.params['project'] = project unless project.nil?
|
|
50237
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
50238
|
+
command.query['etag'] = etag unless etag.nil?
|
|
50239
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
50240
|
+
command.query['fields'] = fields unless fields.nil?
|
|
50241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
50242
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
50243
|
+
execute_or_queue_command(command, &block)
|
|
50244
|
+
end
|
|
50245
|
+
|
|
50246
|
+
# Resumes a Rollout.
|
|
50247
|
+
# @param [String] project
|
|
50248
|
+
# Required. Project ID for this request.
|
|
50249
|
+
# @param [String] rollout
|
|
50250
|
+
# Required. Name of the Rollout resource to resume.
|
|
50251
|
+
# @param [String] etag
|
|
50252
|
+
# The etag of the Rollout.
|
|
50253
|
+
# If this is provided, the request will only succeed if the etag matches
|
|
50254
|
+
# the current etag of the Rollout.
|
|
50255
|
+
# @param [String] request_id
|
|
50256
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
50257
|
+
# that if you must retry your request, the server will know to ignore the
|
|
50258
|
+
# request if it has already been completed.
|
|
50259
|
+
# For example, consider a situation where you make an initial request and
|
|
50260
|
+
# the request times out. If you make the request again with the same
|
|
50261
|
+
# request ID, the server can check if original operation with the same
|
|
50262
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
50263
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
50264
|
+
# The request ID must be
|
|
50265
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
50266
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
50267
|
+
# @param [String] fields
|
|
50268
|
+
# Selector specifying which fields to include in a partial response.
|
|
50269
|
+
# @param [String] quota_user
|
|
50270
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
50271
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
50272
|
+
# @param [String] user_ip
|
|
50273
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
50274
|
+
# @param [Google::Apis::RequestOptions] options
|
|
50275
|
+
# Request-specific options
|
|
50276
|
+
#
|
|
50277
|
+
# @yield [result, err] Result & error if block supplied
|
|
50278
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
|
50279
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
50280
|
+
#
|
|
50281
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
|
50282
|
+
#
|
|
50283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
50284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
50285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
50286
|
+
def resume_rollout(project, rollout, etag: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
50287
|
+
command = make_simple_command(:post, 'projects/{project}/global/rollouts/{rollout}/resume', options)
|
|
50288
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
|
50289
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
|
50290
|
+
command.params['project'] = project unless project.nil?
|
|
50291
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
|
50292
|
+
command.query['etag'] = etag unless etag.nil?
|
|
50293
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
50294
|
+
command.query['fields'] = fields unless fields.nil?
|
|
50295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
50296
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
50297
|
+
execute_or_queue_command(command, &block)
|
|
50298
|
+
end
|
|
50299
|
+
|
|
50136
50300
|
# Retrieves an aggregated list of routers.
|
|
50137
50301
|
# To prevent failure, Google recommends that you set the
|
|
50138
50302
|
# `returnPartialSuccess` parameter to `true`.
|
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.147.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.147.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|