google-apis-compute_alpha 0.9.0 → 0.10.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/lib/google/apis/compute_alpha/classes.rb +1352 -92
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +488 -16
- data/lib/google/apis/compute_alpha/service.rb +1278 -160
- 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: 6cb18835a3ec3efea312beb86a3feea83fc9623d76da3e52614da5f13a186f76
|
4
|
+
data.tar.gz: ee7723ee799d7e3fb683ad8e8b6fcb3bcab0454de72625aa5095ff6c2682fe0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e6806c25dc026622cdc0b61614da29fc12f9fe0f1b58f0adcfb27e9fbf8cb8ce62316b51f68ab20e722a1cb0fccb01d579a9c30043b40f7e380b81fede8937c
|
7
|
+
data.tar.gz: 4cdb3402544283b2f22d8568a22b20d3c1048e417868e07a6a011e86c7d631244fbd67ff246628615104de1d05e33c3a049be31fd21f55ddd4260e0a1d3030a6
|
data/CHANGELOG.md
CHANGED
@@ -1161,32 +1161,6 @@ module Google
|
|
1161
1161
|
end
|
1162
1162
|
end
|
1163
1163
|
|
1164
|
-
#
|
1165
|
-
class AllocationShareSettings
|
1166
|
-
include Google::Apis::Core::Hashable
|
1167
|
-
|
1168
|
-
# A List of Project names to specify consumer projects for this shared-
|
1169
|
-
# reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
|
1170
|
-
# Corresponds to the JSON property `projects`
|
1171
|
-
# @return [Array<String>]
|
1172
|
-
attr_accessor :projects
|
1173
|
-
|
1174
|
-
# Type of sharing for this shared-reservation
|
1175
|
-
# Corresponds to the JSON property `shareType`
|
1176
|
-
# @return [String]
|
1177
|
-
attr_accessor :share_type
|
1178
|
-
|
1179
|
-
def initialize(**args)
|
1180
|
-
update!(**args)
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
# Update properties of this object
|
1184
|
-
def update!(**args)
|
1185
|
-
@projects = args[:projects] if args.key?(:projects)
|
1186
|
-
@share_type = args[:share_type] if args.key?(:share_type)
|
1187
|
-
end
|
1188
|
-
end
|
1189
|
-
|
1190
1164
|
#
|
1191
1165
|
class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
|
1192
1166
|
include Google::Apis::Core::Hashable
|
@@ -3587,10 +3561,9 @@ module Google
|
|
3587
3561
|
# @return [Google::Apis::ComputeAlpha::Subsetting]
|
3588
3562
|
attr_accessor :subsetting
|
3589
3563
|
|
3590
|
-
#
|
3591
|
-
#
|
3592
|
-
#
|
3593
|
-
# seconds.
|
3564
|
+
# Not supported when the backend service is referenced by a URL map that is
|
3565
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
3566
|
+
# Instead, use maxStreamDuration.
|
3594
3567
|
# Corresponds to the JSON property `timeoutSec`
|
3595
3568
|
# @return [Fixnum]
|
3596
3569
|
attr_accessor :timeout_sec
|
@@ -4806,7 +4779,10 @@ module Google
|
|
4806
4779
|
end
|
4807
4780
|
end
|
4808
4781
|
|
4809
|
-
#
|
4782
|
+
# A transient resource used in compute.instances.bulkInsert and compute.
|
4783
|
+
# regionInstances.bulkInsert and compute.regionInstances.recommendLocations.
|
4784
|
+
# This resource is not persisted anywhere, it is used only for processing the
|
4785
|
+
# requests.
|
4810
4786
|
class BulkInsertInstanceResource
|
4811
4787
|
include Google::Apis::Core::Hashable
|
4812
4788
|
|
@@ -4869,7 +4845,7 @@ module Google
|
|
4869
4845
|
attr_accessor :predefined_names
|
4870
4846
|
|
4871
4847
|
# Secure tags to apply to this instance. These can be later modified by the
|
4872
|
-
# update method. Maximum number of secure tags allowed is
|
4848
|
+
# update method. Maximum number of secure tags allowed is 50.
|
4873
4849
|
# Corresponds to the JSON property `secureTags`
|
4874
4850
|
# @return [Array<String>]
|
4875
4851
|
attr_accessor :secure_tags
|
@@ -5096,14 +5072,14 @@ module Google
|
|
5096
5072
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
5097
5073
|
attr_accessor :connect_timeout
|
5098
5074
|
|
5099
|
-
#
|
5100
|
-
#
|
5075
|
+
# Not supported when the backend service is referenced by a URL map that is
|
5076
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
5101
5077
|
# Corresponds to the JSON property `maxConnections`
|
5102
5078
|
# @return [Fixnum]
|
5103
5079
|
attr_accessor :max_connections
|
5104
5080
|
|
5105
|
-
#
|
5106
|
-
#
|
5081
|
+
# Not supported when the backend service is referenced by a URL map that is
|
5082
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
5107
5083
|
# Corresponds to the JSON property `maxPendingRequests`
|
5108
5084
|
# @return [Fixnum]
|
5109
5085
|
attr_accessor :max_pending_requests
|
@@ -5114,16 +5090,14 @@ module Google
|
|
5114
5090
|
# @return [Fixnum]
|
5115
5091
|
attr_accessor :max_requests
|
5116
5092
|
|
5117
|
-
#
|
5118
|
-
#
|
5119
|
-
# specified, there is no limit. Setting this parameter to 1 will effectively
|
5120
|
-
# disable keep alive.
|
5093
|
+
# Not supported when the backend service is referenced by a URL map that is
|
5094
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
5121
5095
|
# Corresponds to the JSON property `maxRequestsPerConnection`
|
5122
5096
|
# @return [Fixnum]
|
5123
5097
|
attr_accessor :max_requests_per_connection
|
5124
5098
|
|
5125
|
-
#
|
5126
|
-
#
|
5099
|
+
# Not supported when the backend service is referenced by a URL map that is
|
5100
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
5127
5101
|
# Corresponds to the JSON property `maxRetries`
|
5128
5102
|
# @return [Fixnum]
|
5129
5103
|
attr_accessor :max_retries
|
@@ -5200,6 +5174,16 @@ module Google
|
|
5200
5174
|
class Commitment
|
5201
5175
|
include Google::Apis::Core::Hashable
|
5202
5176
|
|
5177
|
+
# Specifies whether to enable automatic renewal for the commitment. The default
|
5178
|
+
# value is false if not specified. The field can be updated until the day of the
|
5179
|
+
# commitment expiration at 12:00am PST. If the field is set to true, the
|
5180
|
+
# commitment will be automatically renewed for either one or three years
|
5181
|
+
# according to the terms of the existing commitment.
|
5182
|
+
# Corresponds to the JSON property `autoRenew`
|
5183
|
+
# @return [Boolean]
|
5184
|
+
attr_accessor :auto_renew
|
5185
|
+
alias_method :auto_renew?, :auto_renew
|
5186
|
+
|
5203
5187
|
# The category of the commitment. Category MACHINE specifies commitments
|
5204
5188
|
# composed of machine resources such as VCPU or MEMORY, listed in resources.
|
5205
5189
|
# Category LICENSE specifies commitments composed of software licenses, listed
|
@@ -5315,6 +5299,7 @@ module Google
|
|
5315
5299
|
|
5316
5300
|
# Update properties of this object
|
5317
5301
|
def update!(**args)
|
5302
|
+
@auto_renew = args[:auto_renew] if args.key?(:auto_renew)
|
5318
5303
|
@category = args[:category] if args.key?(:category)
|
5319
5304
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
5320
5305
|
@description = args[:description] if args.key?(:description)
|
@@ -9004,10 +8989,11 @@ module Google
|
|
9004
8989
|
attr_accessor :ip_address
|
9005
8990
|
|
9006
8991
|
# The IP protocol to which this rule applies.
|
9007
|
-
# For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP and
|
8992
|
+
# For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and
|
8993
|
+
# L3_DEFAULT.
|
9008
8994
|
# The valid IP protocols are different for different load balancing products:
|
9009
8995
|
# - Internal TCP/UDP Load Balancing: The load balancing scheme is INTERNAL, and
|
9010
|
-
# one of TCP, UDP or
|
8996
|
+
# one of TCP, UDP or L3_DEFAULT is valid.
|
9011
8997
|
# - Traffic Director: The load balancing scheme is INTERNAL_SELF_MANAGED, and
|
9012
8998
|
# only TCP is valid.
|
9013
8999
|
# - Internal HTTP(S) Load Balancing: The load balancing scheme is
|
@@ -9015,17 +9001,18 @@ module Google
|
|
9015
9001
|
# - HTTP(S), SSL Proxy, and TCP Proxy Load Balancing: The load balancing scheme
|
9016
9002
|
# is EXTERNAL and only TCP is valid.
|
9017
9003
|
# - Network Load Balancing: The load balancing scheme is EXTERNAL, and one of
|
9018
|
-
# TCP or
|
9004
|
+
# TCP, UDP or L3_DEFAULT is valid.
|
9019
9005
|
# Corresponds to the JSON property `IPProtocol`
|
9020
9006
|
# @return [String]
|
9021
9007
|
attr_accessor :ip_protocol
|
9022
9008
|
|
9023
|
-
# This field is used along with the backend_service field for
|
9024
|
-
#
|
9025
|
-
#
|
9026
|
-
#
|
9027
|
-
#
|
9028
|
-
#
|
9009
|
+
# This field is used along with the backend_service field for Internal TCP/UDP
|
9010
|
+
# Load Balancing or Network Load Balancing, or with the target field for
|
9011
|
+
# internal and external TargetInstance.
|
9012
|
+
# You can only use one of ports and port_range, or allPorts. The three are
|
9013
|
+
# mutually exclusive.
|
9014
|
+
# For TCP, UDP and SCTP traffic, packets addressed to any ports will be
|
9015
|
+
# forwarded to the target or backendService.
|
9029
9016
|
# Corresponds to the JSON property `allPorts`
|
9030
9017
|
# @return [Boolean]
|
9031
9018
|
attr_accessor :all_ports
|
@@ -9187,13 +9174,16 @@ module Google
|
|
9187
9174
|
# @return [String]
|
9188
9175
|
attr_accessor :network_tier
|
9189
9176
|
|
9190
|
-
# This field can be used only if:
|
9191
|
-
#
|
9192
|
-
#
|
9177
|
+
# This field can be used only if:
|
9178
|
+
# - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or
|
9179
|
+
# INTERNAL_MANAGED
|
9180
|
+
# - IPProtocol is one of TCP, UDP, or SCTP.
|
9193
9181
|
# Packets addressed to ports in the specified range will be forwarded to target
|
9194
|
-
# or backend_service.
|
9195
|
-
#
|
9196
|
-
#
|
9182
|
+
# or backend_service.
|
9183
|
+
# You can only use one of ports, port_range, or allPorts. The three are mutually
|
9184
|
+
# exclusive.
|
9185
|
+
# Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint
|
9186
|
+
# ports.
|
9197
9187
|
# Some types of forwarding target have constraints on the acceptable ports:
|
9198
9188
|
# - TargetHttpProxy: 80, 8080
|
9199
9189
|
# - TargetHttpsProxy: 443
|
@@ -9214,8 +9204,8 @@ module Google
|
|
9214
9204
|
# You can only use one of ports and port_range, or allPorts. The three are
|
9215
9205
|
# mutually exclusive.
|
9216
9206
|
# You can specify a list of up to five ports, which can be non-contiguous.
|
9217
|
-
#
|
9218
|
-
#
|
9207
|
+
# Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint
|
9208
|
+
# ports.
|
9219
9209
|
# For more information, see [Port specifications](/load-balancing/docs/
|
9220
9210
|
# forwarding-rule-concepts#port_specifications).
|
9221
9211
|
# Corresponds to the JSON property `ports`
|
@@ -9277,6 +9267,16 @@ module Google
|
|
9277
9267
|
# @return [String]
|
9278
9268
|
attr_accessor :service_name
|
9279
9269
|
|
9270
|
+
# If not empty, this Forwarding Rule will only forward the traffic when the
|
9271
|
+
# source IP address matches one of the IP addresses or CIDR ranges set here.
|
9272
|
+
# Note that a Forwarding Rule can only have up to 64 source IP ranges, and this
|
9273
|
+
# field can only be used with a regional Forwarding Rule whose scheme is
|
9274
|
+
# EXTERNAL. Each source_ip_range entry should be either an IP address (for
|
9275
|
+
# example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
|
9276
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
9277
|
+
# @return [Array<String>]
|
9278
|
+
attr_accessor :source_ip_ranges
|
9279
|
+
|
9280
9280
|
# This field is only used for internal load balancing.
|
9281
9281
|
# For internal load balancing, this field identifies the subnetwork that the
|
9282
9282
|
# load balanced IP should belong to for this Forwarding Rule.
|
@@ -9327,6 +9327,7 @@ module Google
|
|
9327
9327
|
@service_directory_registrations = args[:service_directory_registrations] if args.key?(:service_directory_registrations)
|
9328
9328
|
@service_label = args[:service_label] if args.key?(:service_label)
|
9329
9329
|
@service_name = args[:service_name] if args.key?(:service_name)
|
9330
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
9330
9331
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
9331
9332
|
@target = args[:target] if args.key?(:target)
|
9332
9333
|
end
|
@@ -9719,6 +9720,565 @@ module Google
|
|
9719
9720
|
end
|
9720
9721
|
end
|
9721
9722
|
|
9723
|
+
#
|
9724
|
+
class FutureReservation
|
9725
|
+
include Google::Apis::Core::Hashable
|
9726
|
+
|
9727
|
+
# [Output Only] The creation timestamp for this future reservation in RFC3339
|
9728
|
+
# text format.
|
9729
|
+
# Corresponds to the JSON property `creationTimestamp`
|
9730
|
+
# @return [String]
|
9731
|
+
attr_accessor :creation_timestamp
|
9732
|
+
|
9733
|
+
# An optional description of this resource. Provide this property when you
|
9734
|
+
# create the future reservation.
|
9735
|
+
# Corresponds to the JSON property `description`
|
9736
|
+
# @return [String]
|
9737
|
+
attr_accessor :description
|
9738
|
+
|
9739
|
+
# [Output Only] A unique identifier for this future reservation. The server
|
9740
|
+
# defines this identifier.
|
9741
|
+
# Corresponds to the JSON property `id`
|
9742
|
+
# @return [Fixnum]
|
9743
|
+
attr_accessor :id
|
9744
|
+
|
9745
|
+
# [Output Only] Type of the resource. Always compute#futureReservation for
|
9746
|
+
# future reservations.
|
9747
|
+
# Corresponds to the JSON property `kind`
|
9748
|
+
# @return [String]
|
9749
|
+
attr_accessor :kind
|
9750
|
+
|
9751
|
+
# The name of the resource, provided by the client when initially creating the
|
9752
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
9753
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
9754
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
9755
|
+
# character must be a lowercase letter, and all following characters must be a
|
9756
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
9757
|
+
# dash.
|
9758
|
+
# Corresponds to the JSON property `name`
|
9759
|
+
# @return [String]
|
9760
|
+
attr_accessor :name
|
9761
|
+
|
9762
|
+
# Name prefix for the reservations to be created at the time of delivery. The
|
9763
|
+
# name prefix must comply with RFC1035. Maximum allowed length for name prefix
|
9764
|
+
# is 20. Automatically created reservations name format will be -date-####.
|
9765
|
+
# Corresponds to the JSON property `namePrefix`
|
9766
|
+
# @return [String]
|
9767
|
+
attr_accessor :name_prefix
|
9768
|
+
|
9769
|
+
# [Output Only] Server-defined fully-qualified URL for this resource.
|
9770
|
+
# Corresponds to the JSON property `selfLink`
|
9771
|
+
# @return [String]
|
9772
|
+
attr_accessor :self_link
|
9773
|
+
|
9774
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
9775
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
9776
|
+
# @return [String]
|
9777
|
+
attr_accessor :self_link_with_id
|
9778
|
+
|
9779
|
+
# The share setting for reservations and sole tenancy node groups.
|
9780
|
+
# Corresponds to the JSON property `shareSettings`
|
9781
|
+
# @return [Google::Apis::ComputeAlpha::ShareSettings]
|
9782
|
+
attr_accessor :share_settings
|
9783
|
+
|
9784
|
+
# Future Reservation configuration to indicate instance properties and total
|
9785
|
+
# count.
|
9786
|
+
# Corresponds to the JSON property `specificSkuProperties`
|
9787
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties]
|
9788
|
+
attr_accessor :specific_sku_properties
|
9789
|
+
|
9790
|
+
# [Output only] Represents status related to the future reservation.
|
9791
|
+
# Corresponds to the JSON property `status`
|
9792
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationStatus]
|
9793
|
+
attr_accessor :status
|
9794
|
+
|
9795
|
+
# Time window for this Future Reservation.
|
9796
|
+
# Corresponds to the JSON property `timeWindow`
|
9797
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationTimeWindow]
|
9798
|
+
attr_accessor :time_window
|
9799
|
+
|
9800
|
+
# [Output Only] URL of the Zone where this future reservation resides.
|
9801
|
+
# Corresponds to the JSON property `zone`
|
9802
|
+
# @return [String]
|
9803
|
+
attr_accessor :zone
|
9804
|
+
|
9805
|
+
def initialize(**args)
|
9806
|
+
update!(**args)
|
9807
|
+
end
|
9808
|
+
|
9809
|
+
# Update properties of this object
|
9810
|
+
def update!(**args)
|
9811
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
9812
|
+
@description = args[:description] if args.key?(:description)
|
9813
|
+
@id = args[:id] if args.key?(:id)
|
9814
|
+
@kind = args[:kind] if args.key?(:kind)
|
9815
|
+
@name = args[:name] if args.key?(:name)
|
9816
|
+
@name_prefix = args[:name_prefix] if args.key?(:name_prefix)
|
9817
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
9818
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
9819
|
+
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
9820
|
+
@specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
|
9821
|
+
@status = args[:status] if args.key?(:status)
|
9822
|
+
@time_window = args[:time_window] if args.key?(:time_window)
|
9823
|
+
@zone = args[:zone] if args.key?(:zone)
|
9824
|
+
end
|
9825
|
+
end
|
9826
|
+
|
9827
|
+
#
|
9828
|
+
class FutureReservationSpecificSkuProperties
|
9829
|
+
include Google::Apis::Core::Hashable
|
9830
|
+
|
9831
|
+
# Properties of the SKU instances being reserved. Next ID: 9
|
9832
|
+
# Corresponds to the JSON property `instanceProperties`
|
9833
|
+
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
|
9834
|
+
attr_accessor :instance_properties
|
9835
|
+
|
9836
|
+
# Total number of instances for which capacity assurance is requested at a
|
9837
|
+
# future time period.
|
9838
|
+
# Corresponds to the JSON property `totalCount`
|
9839
|
+
# @return [Fixnum]
|
9840
|
+
attr_accessor :total_count
|
9841
|
+
|
9842
|
+
def initialize(**args)
|
9843
|
+
update!(**args)
|
9844
|
+
end
|
9845
|
+
|
9846
|
+
# Update properties of this object
|
9847
|
+
def update!(**args)
|
9848
|
+
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
9849
|
+
@total_count = args[:total_count] if args.key?(:total_count)
|
9850
|
+
end
|
9851
|
+
end
|
9852
|
+
|
9853
|
+
# [Output only] Represents status related to the future reservation.
|
9854
|
+
class FutureReservationStatus
|
9855
|
+
include Google::Apis::Core::Hashable
|
9856
|
+
|
9857
|
+
# Fully qualified urls of the automatically created reservations at start_time.
|
9858
|
+
# Corresponds to the JSON property `autoCreatedReservations`
|
9859
|
+
# @return [Array<String>]
|
9860
|
+
attr_accessor :auto_created_reservations
|
9861
|
+
|
9862
|
+
# This count indicates the fulfilled capacity so far. This is set during "
|
9863
|
+
# PROVISIONING" state. This count also includes capacity delivered as part of
|
9864
|
+
# existing matching reservations.
|
9865
|
+
# Corresponds to the JSON property `fulfilledCount`
|
9866
|
+
# @return [Fixnum]
|
9867
|
+
attr_accessor :fulfilled_count
|
9868
|
+
|
9869
|
+
# Time when Future Reservation would become LOCKED, after which no modifications
|
9870
|
+
# to Future Reservation will be allowed. Applicable only after the Future
|
9871
|
+
# Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The
|
9872
|
+
# procurement_status will transition to PROCURING state at this time. TODO(b/
|
9873
|
+
# 183994731): Replace with Timestamp.
|
9874
|
+
# Corresponds to the JSON property `lockTime`
|
9875
|
+
# @return [String]
|
9876
|
+
attr_accessor :lock_time
|
9877
|
+
|
9878
|
+
# Current state of this Future Reservation
|
9879
|
+
# Corresponds to the JSON property `procurementStatus`
|
9880
|
+
# @return [String]
|
9881
|
+
attr_accessor :procurement_status
|
9882
|
+
|
9883
|
+
def initialize(**args)
|
9884
|
+
update!(**args)
|
9885
|
+
end
|
9886
|
+
|
9887
|
+
# Update properties of this object
|
9888
|
+
def update!(**args)
|
9889
|
+
@auto_created_reservations = args[:auto_created_reservations] if args.key?(:auto_created_reservations)
|
9890
|
+
@fulfilled_count = args[:fulfilled_count] if args.key?(:fulfilled_count)
|
9891
|
+
@lock_time = args[:lock_time] if args.key?(:lock_time)
|
9892
|
+
@procurement_status = args[:procurement_status] if args.key?(:procurement_status)
|
9893
|
+
end
|
9894
|
+
end
|
9895
|
+
|
9896
|
+
#
|
9897
|
+
class FutureReservationTimeWindow
|
9898
|
+
include Google::Apis::Core::Hashable
|
9899
|
+
|
9900
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
9901
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
9902
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
9903
|
+
# 000 years.
|
9904
|
+
# Corresponds to the JSON property `duration`
|
9905
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
9906
|
+
attr_accessor :duration
|
9907
|
+
|
9908
|
+
# TODO(b/183994731): Replace with Timestamp.
|
9909
|
+
# Corresponds to the JSON property `endTime`
|
9910
|
+
# @return [String]
|
9911
|
+
attr_accessor :end_time
|
9912
|
+
|
9913
|
+
# Start time of the Future Reservation. The start_time is an RFC3339 string.
|
9914
|
+
# TODO(b/183994731): Replace with Timestamp.
|
9915
|
+
# Corresponds to the JSON property `startTime`
|
9916
|
+
# @return [String]
|
9917
|
+
attr_accessor :start_time
|
9918
|
+
|
9919
|
+
def initialize(**args)
|
9920
|
+
update!(**args)
|
9921
|
+
end
|
9922
|
+
|
9923
|
+
# Update properties of this object
|
9924
|
+
def update!(**args)
|
9925
|
+
@duration = args[:duration] if args.key?(:duration)
|
9926
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
9927
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
9928
|
+
end
|
9929
|
+
end
|
9930
|
+
|
9931
|
+
# Contains a list of future reservations.
|
9932
|
+
class FutureReservationsAggregatedListResponse
|
9933
|
+
include Google::Apis::Core::Hashable
|
9934
|
+
|
9935
|
+
#
|
9936
|
+
# Corresponds to the JSON property `etag`
|
9937
|
+
# @return [String]
|
9938
|
+
attr_accessor :etag
|
9939
|
+
|
9940
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
9941
|
+
# Corresponds to the JSON property `id`
|
9942
|
+
# @return [String]
|
9943
|
+
attr_accessor :id
|
9944
|
+
|
9945
|
+
# A list of Future reservation resources.
|
9946
|
+
# Corresponds to the JSON property `items`
|
9947
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::FutureReservationsScopedList>]
|
9948
|
+
attr_accessor :items
|
9949
|
+
|
9950
|
+
# Type of resource.
|
9951
|
+
# Corresponds to the JSON property `kind`
|
9952
|
+
# @return [String]
|
9953
|
+
attr_accessor :kind
|
9954
|
+
|
9955
|
+
# [Output Only] This token allows you to get the next page of results for list
|
9956
|
+
# requests. If the number of results is larger than maxResults, use the
|
9957
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
9958
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
9959
|
+
# continue paging through the results.
|
9960
|
+
# Corresponds to the JSON property `nextPageToken`
|
9961
|
+
# @return [String]
|
9962
|
+
attr_accessor :next_page_token
|
9963
|
+
|
9964
|
+
# [Output Only] Server-defined URL for this resource.
|
9965
|
+
# Corresponds to the JSON property `selfLink`
|
9966
|
+
# @return [String]
|
9967
|
+
attr_accessor :self_link
|
9968
|
+
|
9969
|
+
# [Output Only] Unreachable resources.
|
9970
|
+
# Corresponds to the JSON property `unreachables`
|
9971
|
+
# @return [Array<String>]
|
9972
|
+
attr_accessor :unreachables
|
9973
|
+
|
9974
|
+
# [Output Only] Informational warning message.
|
9975
|
+
# Corresponds to the JSON property `warning`
|
9976
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse::Warning]
|
9977
|
+
attr_accessor :warning
|
9978
|
+
|
9979
|
+
def initialize(**args)
|
9980
|
+
update!(**args)
|
9981
|
+
end
|
9982
|
+
|
9983
|
+
# Update properties of this object
|
9984
|
+
def update!(**args)
|
9985
|
+
@etag = args[:etag] if args.key?(:etag)
|
9986
|
+
@id = args[:id] if args.key?(:id)
|
9987
|
+
@items = args[:items] if args.key?(:items)
|
9988
|
+
@kind = args[:kind] if args.key?(:kind)
|
9989
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9990
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
9991
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
9992
|
+
@warning = args[:warning] if args.key?(:warning)
|
9993
|
+
end
|
9994
|
+
|
9995
|
+
# [Output Only] Informational warning message.
|
9996
|
+
class Warning
|
9997
|
+
include Google::Apis::Core::Hashable
|
9998
|
+
|
9999
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
10000
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
10001
|
+
# Corresponds to the JSON property `code`
|
10002
|
+
# @return [String]
|
10003
|
+
attr_accessor :code
|
10004
|
+
|
10005
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
10006
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
10007
|
+
# Corresponds to the JSON property `data`
|
10008
|
+
# @return [Array<Google::Apis::ComputeAlpha::FutureReservationsAggregatedListResponse::Warning::Datum>]
|
10009
|
+
attr_accessor :data
|
10010
|
+
|
10011
|
+
# [Output Only] A human-readable description of the warning code.
|
10012
|
+
# Corresponds to the JSON property `message`
|
10013
|
+
# @return [String]
|
10014
|
+
attr_accessor :message
|
10015
|
+
|
10016
|
+
def initialize(**args)
|
10017
|
+
update!(**args)
|
10018
|
+
end
|
10019
|
+
|
10020
|
+
# Update properties of this object
|
10021
|
+
def update!(**args)
|
10022
|
+
@code = args[:code] if args.key?(:code)
|
10023
|
+
@data = args[:data] if args.key?(:data)
|
10024
|
+
@message = args[:message] if args.key?(:message)
|
10025
|
+
end
|
10026
|
+
|
10027
|
+
#
|
10028
|
+
class Datum
|
10029
|
+
include Google::Apis::Core::Hashable
|
10030
|
+
|
10031
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
10032
|
+
# For example, for warnings where there are no results in a list request for a
|
10033
|
+
# particular zone, this key might be scope and the key value might be the zone
|
10034
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
10035
|
+
# suggested replacement, or a warning about invalid network settings (for
|
10036
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
10037
|
+
# for IP forwarding).
|
10038
|
+
# Corresponds to the JSON property `key`
|
10039
|
+
# @return [String]
|
10040
|
+
attr_accessor :key
|
10041
|
+
|
10042
|
+
# [Output Only] A warning data value corresponding to the key.
|
10043
|
+
# Corresponds to the JSON property `value`
|
10044
|
+
# @return [String]
|
10045
|
+
attr_accessor :value
|
10046
|
+
|
10047
|
+
def initialize(**args)
|
10048
|
+
update!(**args)
|
10049
|
+
end
|
10050
|
+
|
10051
|
+
# Update properties of this object
|
10052
|
+
def update!(**args)
|
10053
|
+
@key = args[:key] if args.key?(:key)
|
10054
|
+
@value = args[:value] if args.key?(:value)
|
10055
|
+
end
|
10056
|
+
end
|
10057
|
+
end
|
10058
|
+
end
|
10059
|
+
|
10060
|
+
#
|
10061
|
+
class FutureReservationsListResponse
|
10062
|
+
include Google::Apis::Core::Hashable
|
10063
|
+
|
10064
|
+
#
|
10065
|
+
# Corresponds to the JSON property `etag`
|
10066
|
+
# @return [String]
|
10067
|
+
attr_accessor :etag
|
10068
|
+
|
10069
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
10070
|
+
# defined by the server.
|
10071
|
+
# Corresponds to the JSON property `id`
|
10072
|
+
# @return [String]
|
10073
|
+
attr_accessor :id
|
10074
|
+
|
10075
|
+
# [Output Only] A list of future reservation resources.
|
10076
|
+
# Corresponds to the JSON property `items`
|
10077
|
+
# @return [Array<Google::Apis::ComputeAlpha::FutureReservation>]
|
10078
|
+
attr_accessor :items
|
10079
|
+
|
10080
|
+
# [Output Only] Type of resource.Always compute#reservationsList for listsof
|
10081
|
+
# reservations
|
10082
|
+
# Corresponds to the JSON property `kind`
|
10083
|
+
# @return [String]
|
10084
|
+
attr_accessor :kind
|
10085
|
+
|
10086
|
+
# [Output Only] This token allows you to get the next page of results for list
|
10087
|
+
# requests. If the number of results is larger than maxResults, use the
|
10088
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
10089
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
10090
|
+
# continue paging through the results.
|
10091
|
+
# Corresponds to the JSON property `nextPageToken`
|
10092
|
+
# @return [String]
|
10093
|
+
attr_accessor :next_page_token
|
10094
|
+
|
10095
|
+
# [Output Only] Server-defined URL for this resource.
|
10096
|
+
# Corresponds to the JSON property `selfLink`
|
10097
|
+
# @return [String]
|
10098
|
+
attr_accessor :self_link
|
10099
|
+
|
10100
|
+
# [Output Only] Unreachable resources.
|
10101
|
+
# Corresponds to the JSON property `unreachables`
|
10102
|
+
# @return [Array<String>]
|
10103
|
+
attr_accessor :unreachables
|
10104
|
+
|
10105
|
+
# [Output Only] Informational warning message.
|
10106
|
+
# Corresponds to the JSON property `warning`
|
10107
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationsListResponse::Warning]
|
10108
|
+
attr_accessor :warning
|
10109
|
+
|
10110
|
+
def initialize(**args)
|
10111
|
+
update!(**args)
|
10112
|
+
end
|
10113
|
+
|
10114
|
+
# Update properties of this object
|
10115
|
+
def update!(**args)
|
10116
|
+
@etag = args[:etag] if args.key?(:etag)
|
10117
|
+
@id = args[:id] if args.key?(:id)
|
10118
|
+
@items = args[:items] if args.key?(:items)
|
10119
|
+
@kind = args[:kind] if args.key?(:kind)
|
10120
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
10121
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
10122
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
10123
|
+
@warning = args[:warning] if args.key?(:warning)
|
10124
|
+
end
|
10125
|
+
|
10126
|
+
# [Output Only] Informational warning message.
|
10127
|
+
class Warning
|
10128
|
+
include Google::Apis::Core::Hashable
|
10129
|
+
|
10130
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
10131
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
10132
|
+
# Corresponds to the JSON property `code`
|
10133
|
+
# @return [String]
|
10134
|
+
attr_accessor :code
|
10135
|
+
|
10136
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
10137
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
10138
|
+
# Corresponds to the JSON property `data`
|
10139
|
+
# @return [Array<Google::Apis::ComputeAlpha::FutureReservationsListResponse::Warning::Datum>]
|
10140
|
+
attr_accessor :data
|
10141
|
+
|
10142
|
+
# [Output Only] A human-readable description of the warning code.
|
10143
|
+
# Corresponds to the JSON property `message`
|
10144
|
+
# @return [String]
|
10145
|
+
attr_accessor :message
|
10146
|
+
|
10147
|
+
def initialize(**args)
|
10148
|
+
update!(**args)
|
10149
|
+
end
|
10150
|
+
|
10151
|
+
# Update properties of this object
|
10152
|
+
def update!(**args)
|
10153
|
+
@code = args[:code] if args.key?(:code)
|
10154
|
+
@data = args[:data] if args.key?(:data)
|
10155
|
+
@message = args[:message] if args.key?(:message)
|
10156
|
+
end
|
10157
|
+
|
10158
|
+
#
|
10159
|
+
class Datum
|
10160
|
+
include Google::Apis::Core::Hashable
|
10161
|
+
|
10162
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
10163
|
+
# For example, for warnings where there are no results in a list request for a
|
10164
|
+
# particular zone, this key might be scope and the key value might be the zone
|
10165
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
10166
|
+
# suggested replacement, or a warning about invalid network settings (for
|
10167
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
10168
|
+
# for IP forwarding).
|
10169
|
+
# Corresponds to the JSON property `key`
|
10170
|
+
# @return [String]
|
10171
|
+
attr_accessor :key
|
10172
|
+
|
10173
|
+
# [Output Only] A warning data value corresponding to the key.
|
10174
|
+
# Corresponds to the JSON property `value`
|
10175
|
+
# @return [String]
|
10176
|
+
attr_accessor :value
|
10177
|
+
|
10178
|
+
def initialize(**args)
|
10179
|
+
update!(**args)
|
10180
|
+
end
|
10181
|
+
|
10182
|
+
# Update properties of this object
|
10183
|
+
def update!(**args)
|
10184
|
+
@key = args[:key] if args.key?(:key)
|
10185
|
+
@value = args[:value] if args.key?(:value)
|
10186
|
+
end
|
10187
|
+
end
|
10188
|
+
end
|
10189
|
+
end
|
10190
|
+
|
10191
|
+
#
|
10192
|
+
class FutureReservationsScopedList
|
10193
|
+
include Google::Apis::Core::Hashable
|
10194
|
+
|
10195
|
+
# A list of future reservations contained in this scope.
|
10196
|
+
# Corresponds to the JSON property `resources`
|
10197
|
+
# @return [Array<Google::Apis::ComputeAlpha::FutureReservation>]
|
10198
|
+
attr_accessor :resources
|
10199
|
+
|
10200
|
+
# Informational warning which replaces the list of future reservations when the
|
10201
|
+
# list is empty.
|
10202
|
+
# Corresponds to the JSON property `warning`
|
10203
|
+
# @return [Google::Apis::ComputeAlpha::FutureReservationsScopedList::Warning]
|
10204
|
+
attr_accessor :warning
|
10205
|
+
|
10206
|
+
def initialize(**args)
|
10207
|
+
update!(**args)
|
10208
|
+
end
|
10209
|
+
|
10210
|
+
# Update properties of this object
|
10211
|
+
def update!(**args)
|
10212
|
+
@resources = args[:resources] if args.key?(:resources)
|
10213
|
+
@warning = args[:warning] if args.key?(:warning)
|
10214
|
+
end
|
10215
|
+
|
10216
|
+
# Informational warning which replaces the list of future reservations when the
|
10217
|
+
# list is empty.
|
10218
|
+
class Warning
|
10219
|
+
include Google::Apis::Core::Hashable
|
10220
|
+
|
10221
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
10222
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
10223
|
+
# Corresponds to the JSON property `code`
|
10224
|
+
# @return [String]
|
10225
|
+
attr_accessor :code
|
10226
|
+
|
10227
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
10228
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
10229
|
+
# Corresponds to the JSON property `data`
|
10230
|
+
# @return [Array<Google::Apis::ComputeAlpha::FutureReservationsScopedList::Warning::Datum>]
|
10231
|
+
attr_accessor :data
|
10232
|
+
|
10233
|
+
# [Output Only] A human-readable description of the warning code.
|
10234
|
+
# Corresponds to the JSON property `message`
|
10235
|
+
# @return [String]
|
10236
|
+
attr_accessor :message
|
10237
|
+
|
10238
|
+
def initialize(**args)
|
10239
|
+
update!(**args)
|
10240
|
+
end
|
10241
|
+
|
10242
|
+
# Update properties of this object
|
10243
|
+
def update!(**args)
|
10244
|
+
@code = args[:code] if args.key?(:code)
|
10245
|
+
@data = args[:data] if args.key?(:data)
|
10246
|
+
@message = args[:message] if args.key?(:message)
|
10247
|
+
end
|
10248
|
+
|
10249
|
+
#
|
10250
|
+
class Datum
|
10251
|
+
include Google::Apis::Core::Hashable
|
10252
|
+
|
10253
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
10254
|
+
# For example, for warnings where there are no results in a list request for a
|
10255
|
+
# particular zone, this key might be scope and the key value might be the zone
|
10256
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
10257
|
+
# suggested replacement, or a warning about invalid network settings (for
|
10258
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
10259
|
+
# for IP forwarding).
|
10260
|
+
# Corresponds to the JSON property `key`
|
10261
|
+
# @return [String]
|
10262
|
+
attr_accessor :key
|
10263
|
+
|
10264
|
+
# [Output Only] A warning data value corresponding to the key.
|
10265
|
+
# Corresponds to the JSON property `value`
|
10266
|
+
# @return [String]
|
10267
|
+
attr_accessor :value
|
10268
|
+
|
10269
|
+
def initialize(**args)
|
10270
|
+
update!(**args)
|
10271
|
+
end
|
10272
|
+
|
10273
|
+
# Update properties of this object
|
10274
|
+
def update!(**args)
|
10275
|
+
@key = args[:key] if args.key?(:key)
|
10276
|
+
@value = args[:value] if args.key?(:value)
|
10277
|
+
end
|
10278
|
+
end
|
10279
|
+
end
|
10280
|
+
end
|
10281
|
+
|
9722
10282
|
#
|
9723
10283
|
class GrpcHealthCheck
|
9724
10284
|
include Google::Apis::Core::Hashable
|
@@ -10736,11 +11296,12 @@ module Google
|
|
10736
11296
|
|
10737
11297
|
# List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
|
10738
11298
|
# and not more than 10. HealthCheck resources must have portSpecification=
|
10739
|
-
# USE_SERVING_PORT. For regional
|
10740
|
-
# regional and in the same region.
|
10741
|
-
# must be global. Mix of regional and
|
10742
|
-
#
|
10743
|
-
#
|
11299
|
+
# USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional
|
11300
|
+
# HealthCheckService, the HealthCheck must be regional and in the same region.
|
11301
|
+
# For global HealthCheckService, HealthCheck must be global. Mix of regional and
|
11302
|
+
# global HealthChecks is not supported. Multiple regional HealthChecks must
|
11303
|
+
# belong to the same region. Regional HealthChecks must belong to the same
|
11304
|
+
# region as zones of NEGs.
|
10744
11305
|
# Corresponds to the JSON property `healthChecks`
|
10745
11306
|
# @return [Array<String>]
|
10746
11307
|
attr_accessor :health_checks
|
@@ -11590,6 +12151,9 @@ module Google
|
|
11590
12151
|
|
11591
12152
|
# The HTTP status code used to abort the request.
|
11592
12153
|
# The value must be between 200 and 599 inclusive.
|
12154
|
+
# For gRPC protocol, the gRPC status code is mapped to HTTP status code
|
12155
|
+
# according to this mapping table. HTTP status 200 is mapped to gRPC status
|
12156
|
+
# UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
|
11593
12157
|
# Corresponds to the JSON property `httpStatus`
|
11594
12158
|
# @return [Fixnum]
|
11595
12159
|
attr_accessor :http_status
|
@@ -12259,8 +12823,8 @@ module Google
|
|
12259
12823
|
# @return [Google::Apis::ComputeAlpha::Duration]
|
12260
12824
|
attr_accessor :per_try_timeout
|
12261
12825
|
|
12262
|
-
#
|
12263
|
-
#
|
12826
|
+
# Specifies one or more conditions when this retry rule applies. Valid values
|
12827
|
+
# are:
|
12264
12828
|
# - 5xx: Loadbalancer will attempt a retry if the backend service responds with
|
12265
12829
|
# any 5xx response code, or if the backend service does not respond at all,
|
12266
12830
|
# example: disconnects, reset, read timeout, connection failure, and refused
|
@@ -12956,13 +13520,17 @@ module Google
|
|
12956
13520
|
# @return [Google::Apis::ComputeAlpha::InitialStateConfig]
|
12957
13521
|
attr_accessor :shielded_instance_initial_state
|
12958
13522
|
|
12959
|
-
# URL of the source disk used to create this image.
|
12960
|
-
#
|
12961
|
-
# property but not both to create an image. For example, the following are valid
|
12962
|
-
# values:
|
13523
|
+
# URL of the source disk used to create this image. For example, the following
|
13524
|
+
# are valid values:
|
12963
13525
|
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
12964
13526
|
# - projects/project/zones/zone/disks/disk
|
12965
13527
|
# - zones/zone/disks/disk
|
13528
|
+
# In order to create an image, you must provide the full or partial URL of one
|
13529
|
+
# of the following:
|
13530
|
+
# - The rawDisk.source URL
|
13531
|
+
# - The sourceDisk URL
|
13532
|
+
# - The sourceImage URL
|
13533
|
+
# - The sourceSnapshot URL
|
12966
13534
|
# Corresponds to the JSON property `sourceDisk`
|
12967
13535
|
# @return [String]
|
12968
13536
|
attr_accessor :source_disk
|
@@ -12983,10 +13551,10 @@ module Google
|
|
12983
13551
|
# URL of the source image used to create this image.
|
12984
13552
|
# In order to create an image, you must provide the full or partial URL of one
|
12985
13553
|
# of the following:
|
12986
|
-
# - The selfLink URL
|
12987
|
-
# - This property
|
12988
13554
|
# - The rawDisk.source URL
|
12989
13555
|
# - The sourceDisk URL
|
13556
|
+
# - The sourceImage URL
|
13557
|
+
# - The sourceSnapshot URL
|
12990
13558
|
# Corresponds to the JSON property `sourceImage`
|
12991
13559
|
# @return [String]
|
12992
13560
|
attr_accessor :source_image
|
@@ -13007,11 +13575,10 @@ module Google
|
|
13007
13575
|
# URL of the source snapshot used to create this image.
|
13008
13576
|
# In order to create an image, you must provide the full or partial URL of one
|
13009
13577
|
# of the following:
|
13010
|
-
# - The selfLink URL
|
13011
|
-
# - This property
|
13012
|
-
# - The sourceImage URL
|
13013
13578
|
# - The rawDisk.source URL
|
13014
13579
|
# - The sourceDisk URL
|
13580
|
+
# - The sourceImage URL
|
13581
|
+
# - The sourceSnapshot URL
|
13015
13582
|
# Corresponds to the JSON property `sourceSnapshot`
|
13016
13583
|
# @return [String]
|
13017
13584
|
attr_accessor :source_snapshot
|
@@ -13107,8 +13674,13 @@ module Google
|
|
13107
13674
|
# @return [String]
|
13108
13675
|
attr_accessor :sha1_checksum
|
13109
13676
|
|
13110
|
-
# The full Google Cloud Storage URL where the disk image is stored.
|
13111
|
-
#
|
13677
|
+
# The full Google Cloud Storage URL where the disk image is stored.
|
13678
|
+
# In order to create an image, you must provide the full or partial URL of one
|
13679
|
+
# of the following:
|
13680
|
+
# - The rawDisk.source URL
|
13681
|
+
# - The sourceDisk URL
|
13682
|
+
# - The sourceImage URL
|
13683
|
+
# - The sourceSnapshot URL
|
13112
13684
|
# Corresponds to the JSON property `source`
|
13113
13685
|
# @return [String]
|
13114
13686
|
attr_accessor :source
|
@@ -13807,13 +14379,13 @@ module Google
|
|
13807
14379
|
attr_accessor :satisfies_pzs
|
13808
14380
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
13809
14381
|
|
13810
|
-
# Sets the scheduling options for an Instance. NextID:
|
14382
|
+
# Sets the scheduling options for an Instance. NextID: 21
|
13811
14383
|
# Corresponds to the JSON property `scheduling`
|
13812
14384
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
13813
14385
|
attr_accessor :scheduling
|
13814
14386
|
|
13815
|
-
# Secure tags to apply to this instance. These can be later
|
13816
|
-
# update method. Maximum number of secure tags allowed is
|
14387
|
+
# [Input Only] Secure tags to apply to this instance. These can be later
|
14388
|
+
# modified by the update method. Maximum number of secure tags allowed is 50.
|
13817
14389
|
# Corresponds to the JSON property `secureTags`
|
13818
14390
|
# @return [Array<String>]
|
13819
14391
|
attr_accessor :secure_tags
|
@@ -14460,6 +15032,13 @@ module Google
|
|
14460
15032
|
end
|
14461
15033
|
end
|
14462
15034
|
|
15035
|
+
# Whether the instance is a standby. Properties of a standby instance comparing
|
15036
|
+
# to the regular instance: ======================================================
|
15037
|
+
# =================== | regular | standby =======================================
|
15038
|
+
# ================================== managed by IGM? | yes | yes added to the IG?
|
15039
|
+
# | yes | yes counts towards IGM's target size? | yes | no taken into account
|
15040
|
+
# by Autoscaler? | yes | no receives traffic from LB? | yes | no ================
|
15041
|
+
# =========================================================
|
14463
15042
|
# Represents a Managed Instance Group resource.
|
14464
15043
|
# An instance group is a collection of VM instances that you can manage as a
|
14465
15044
|
# single entity. For more information, read Instance groups.
|
@@ -15507,6 +16086,18 @@ module Google
|
|
15507
16086
|
# @return [Array<String>]
|
15508
16087
|
attr_accessor :instances
|
15509
16088
|
|
16089
|
+
# Specifies whether the request should proceed despite the inclusion of
|
16090
|
+
# instances that are not members of the group or that are already in the process
|
16091
|
+
# of being deleted or abandoned. If this field is set to `false` and such an
|
16092
|
+
# instance is specified in the request, the operation fails. The operation
|
16093
|
+
# always fails if the request contains a malformed instance URL or a reference
|
16094
|
+
# to an instance that exists in a zone or region other than the group's zone or
|
16095
|
+
# region.
|
16096
|
+
# Corresponds to the JSON property `skipInstancesOnValidationError`
|
16097
|
+
# @return [Boolean]
|
16098
|
+
attr_accessor :skip_instances_on_validation_error
|
16099
|
+
alias_method :skip_instances_on_validation_error?, :skip_instances_on_validation_error
|
16100
|
+
|
15510
16101
|
def initialize(**args)
|
15511
16102
|
update!(**args)
|
15512
16103
|
end
|
@@ -15514,6 +16105,7 @@ module Google
|
|
15514
16105
|
# Update properties of this object
|
15515
16106
|
def update!(**args)
|
15516
16107
|
@instances = args[:instances] if args.key?(:instances)
|
16108
|
+
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
15517
16109
|
end
|
15518
16110
|
end
|
15519
16111
|
|
@@ -16834,11 +17426,17 @@ module Google
|
|
16834
17426
|
# @return [Array<String>]
|
16835
17427
|
attr_accessor :resource_policies
|
16836
17428
|
|
16837
|
-
# Sets the scheduling options for an Instance. NextID:
|
17429
|
+
# Sets the scheduling options for an Instance. NextID: 21
|
16838
17430
|
# Corresponds to the JSON property `scheduling`
|
16839
17431
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
16840
17432
|
attr_accessor :scheduling
|
16841
17433
|
|
17434
|
+
# Secure tags to apply to this instance. Maximum number of secure tags allowed
|
17435
|
+
# is 50.
|
17436
|
+
# Corresponds to the JSON property `secureTags`
|
17437
|
+
# @return [Array<String>]
|
17438
|
+
attr_accessor :secure_tags
|
17439
|
+
|
16842
17440
|
# A list of service accounts with specified scopes. Access tokens for these
|
16843
17441
|
# service accounts are available to the instances that are created from these
|
16844
17442
|
# properties. Use metadata queries to obtain the access tokens for these
|
@@ -16886,6 +17484,7 @@ module Google
|
|
16886
17484
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
16887
17485
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
16888
17486
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
17487
|
+
@secure_tags = args[:secure_tags] if args.key?(:secure_tags)
|
16889
17488
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
16890
17489
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
16891
17490
|
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
@@ -18102,6 +18701,14 @@ module Google
|
|
18102
18701
|
# @return [Fixnum]
|
18103
18702
|
attr_accessor :requested_link_count
|
18104
18703
|
|
18704
|
+
# [Output Only] Set to true if the resource satisfies the zone separation
|
18705
|
+
# organization policy constraints and false otherwise. Defaults to false if the
|
18706
|
+
# field is not present.
|
18707
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
18708
|
+
# @return [Boolean]
|
18709
|
+
attr_accessor :satisfies_pzs
|
18710
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
18711
|
+
|
18105
18712
|
# [Output Only] Server-defined URL for the resource.
|
18106
18713
|
# Corresponds to the JSON property `selfLink`
|
18107
18714
|
# @return [String]
|
@@ -18152,6 +18759,7 @@ module Google
|
|
18152
18759
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
18153
18760
|
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
18154
18761
|
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
18762
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
18155
18763
|
@self_link = args[:self_link] if args.key?(:self_link)
|
18156
18764
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
18157
18765
|
@state = args[:state] if args.key?(:state)
|
@@ -18428,6 +19036,14 @@ module Google
|
|
18428
19036
|
# @return [String]
|
18429
19037
|
attr_accessor :router
|
18430
19038
|
|
19039
|
+
# [Output Only] Set to true if the resource satisfies the zone separation
|
19040
|
+
# organization policy constraints and false otherwise. Defaults to false if the
|
19041
|
+
# field is not present.
|
19042
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
19043
|
+
# @return [Boolean]
|
19044
|
+
attr_accessor :satisfies_pzs
|
19045
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
19046
|
+
|
18431
19047
|
# [Output Only] Server-defined URL for the resource.
|
18432
19048
|
# Corresponds to the JSON property `selfLink`
|
18433
19049
|
# @return [String]
|
@@ -18522,6 +19138,7 @@ module Google
|
|
18522
19138
|
@private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info)
|
18523
19139
|
@region = args[:region] if args.key?(:region)
|
18524
19140
|
@router = args[:router] if args.key?(:router)
|
19141
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
18525
19142
|
@self_link = args[:self_link] if args.key?(:self_link)
|
18526
19143
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
18527
19144
|
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
@@ -19363,6 +19980,13 @@ module Google
|
|
19363
19980
|
# @return [String]
|
19364
19981
|
attr_accessor :status
|
19365
19982
|
|
19983
|
+
# [Output Only] Set to true for locations that support physical zone separation.
|
19984
|
+
# Defaults to false if the field is not present.
|
19985
|
+
# Corresponds to the JSON property `supportsPzs`
|
19986
|
+
# @return [Boolean]
|
19987
|
+
attr_accessor :supports_pzs
|
19988
|
+
alias_method :supports_pzs?, :supports_pzs
|
19989
|
+
|
19366
19990
|
def initialize(**args)
|
19367
19991
|
update!(**args)
|
19368
19992
|
end
|
@@ -19385,6 +20009,7 @@ module Google
|
|
19385
20009
|
@self_link = args[:self_link] if args.key?(:self_link)
|
19386
20010
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
19387
20011
|
@status = args[:status] if args.key?(:status)
|
20012
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
19388
20013
|
end
|
19389
20014
|
end
|
19390
20015
|
|
@@ -20453,7 +21078,7 @@ module Google
|
|
20453
21078
|
class LocationPolicyLocation
|
20454
21079
|
include Google::Apis::Core::Hashable
|
20455
21080
|
|
20456
|
-
# Preference for a given
|
21081
|
+
# Preference for a given location: ALLOW or DENY.
|
20457
21082
|
# Corresponds to the JSON property `preference`
|
20458
21083
|
# @return [String]
|
20459
21084
|
attr_accessor :preference
|
@@ -21953,6 +22578,320 @@ module Google
|
|
21953
22578
|
end
|
21954
22579
|
end
|
21955
22580
|
|
22581
|
+
# Represents a Google Cloud Armor network edge security service resource. (==
|
22582
|
+
# resource_for `$api_version`.networkEdgeSecurityServices ==)
|
22583
|
+
class NetworkEdgeSecurityService
|
22584
|
+
include Google::Apis::Core::Hashable
|
22585
|
+
|
22586
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
22587
|
+
# Corresponds to the JSON property `creationTimestamp`
|
22588
|
+
# @return [String]
|
22589
|
+
attr_accessor :creation_timestamp
|
22590
|
+
|
22591
|
+
# An optional description of this resource. Provide this property when you
|
22592
|
+
# create the resource.
|
22593
|
+
# Corresponds to the JSON property `description`
|
22594
|
+
# @return [String]
|
22595
|
+
attr_accessor :description
|
22596
|
+
|
22597
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
22598
|
+
# This field is used in optimistic locking. This field will be ignored when
|
22599
|
+
# inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be
|
22600
|
+
# provided in order to update the NetworkEdgeSecurityService, otherwise the
|
22601
|
+
# request will fail with error 412 conditionNotMet.
|
22602
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
22603
|
+
# NetworkEdgeSecurityService.
|
22604
|
+
# Corresponds to the JSON property `fingerprint`
|
22605
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
22606
|
+
# @return [String]
|
22607
|
+
attr_accessor :fingerprint
|
22608
|
+
|
22609
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
22610
|
+
# defined by the server.
|
22611
|
+
# Corresponds to the JSON property `id`
|
22612
|
+
# @return [Fixnum]
|
22613
|
+
attr_accessor :id
|
22614
|
+
|
22615
|
+
# [Output only] Type of the resource. Always compute#
|
22616
|
+
# networkEdgeSecurityServicefor NetworkEdgeSecurityServices
|
22617
|
+
# Corresponds to the JSON property `kind`
|
22618
|
+
# @return [String]
|
22619
|
+
attr_accessor :kind
|
22620
|
+
|
22621
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
22622
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
22623
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
22624
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
22625
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
22626
|
+
# except the last character, which cannot be a dash.
|
22627
|
+
# Corresponds to the JSON property `name`
|
22628
|
+
# @return [String]
|
22629
|
+
attr_accessor :name
|
22630
|
+
|
22631
|
+
# [Output Only] URL of the region where the resource resides. You must specify
|
22632
|
+
# this field as part of the HTTP request URL. It is not settable as a field in
|
22633
|
+
# the request body.
|
22634
|
+
# Corresponds to the JSON property `region`
|
22635
|
+
# @return [String]
|
22636
|
+
attr_accessor :region
|
22637
|
+
|
22638
|
+
# The resource URL for the network edge security service associated with this
|
22639
|
+
# network edge security service.
|
22640
|
+
# Corresponds to the JSON property `securityPolicy`
|
22641
|
+
# @return [String]
|
22642
|
+
attr_accessor :security_policy
|
22643
|
+
|
22644
|
+
# [Output Only] Server-defined URL for the resource.
|
22645
|
+
# Corresponds to the JSON property `selfLink`
|
22646
|
+
# @return [String]
|
22647
|
+
attr_accessor :self_link
|
22648
|
+
|
22649
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
22650
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
22651
|
+
# @return [String]
|
22652
|
+
attr_accessor :self_link_with_id
|
22653
|
+
|
22654
|
+
def initialize(**args)
|
22655
|
+
update!(**args)
|
22656
|
+
end
|
22657
|
+
|
22658
|
+
# Update properties of this object
|
22659
|
+
def update!(**args)
|
22660
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
22661
|
+
@description = args[:description] if args.key?(:description)
|
22662
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
22663
|
+
@id = args[:id] if args.key?(:id)
|
22664
|
+
@kind = args[:kind] if args.key?(:kind)
|
22665
|
+
@name = args[:name] if args.key?(:name)
|
22666
|
+
@region = args[:region] if args.key?(:region)
|
22667
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
22668
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
22669
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
22670
|
+
end
|
22671
|
+
end
|
22672
|
+
|
22673
|
+
#
|
22674
|
+
class NetworkEdgeSecurityServiceAggregatedList
|
22675
|
+
include Google::Apis::Core::Hashable
|
22676
|
+
|
22677
|
+
#
|
22678
|
+
# Corresponds to the JSON property `etag`
|
22679
|
+
# @return [String]
|
22680
|
+
attr_accessor :etag
|
22681
|
+
|
22682
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
22683
|
+
# Corresponds to the JSON property `id`
|
22684
|
+
# @return [String]
|
22685
|
+
attr_accessor :id
|
22686
|
+
|
22687
|
+
# A list of NetworkEdgeSecurityServicesScopedList resources.
|
22688
|
+
# Corresponds to the JSON property `items`
|
22689
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList>]
|
22690
|
+
attr_accessor :items
|
22691
|
+
|
22692
|
+
# [Output Only] Type of resource. Always compute#
|
22693
|
+
# networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security
|
22694
|
+
# Services.
|
22695
|
+
# Corresponds to the JSON property `kind`
|
22696
|
+
# @return [String]
|
22697
|
+
attr_accessor :kind
|
22698
|
+
|
22699
|
+
# [Output Only] This token allows you to get the next page of results for list
|
22700
|
+
# requests. If the number of results is larger than maxResults, use the
|
22701
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
22702
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
22703
|
+
# continue paging through the results.
|
22704
|
+
# Corresponds to the JSON property `nextPageToken`
|
22705
|
+
# @return [String]
|
22706
|
+
attr_accessor :next_page_token
|
22707
|
+
|
22708
|
+
# [Output Only] Server-defined URL for this resource.
|
22709
|
+
# Corresponds to the JSON property `selfLink`
|
22710
|
+
# @return [String]
|
22711
|
+
attr_accessor :self_link
|
22712
|
+
|
22713
|
+
# [Output Only] Unreachable resources.
|
22714
|
+
# Corresponds to the JSON property `unreachables`
|
22715
|
+
# @return [Array<String>]
|
22716
|
+
attr_accessor :unreachables
|
22717
|
+
|
22718
|
+
# [Output Only] Informational warning message.
|
22719
|
+
# Corresponds to the JSON property `warning`
|
22720
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList::Warning]
|
22721
|
+
attr_accessor :warning
|
22722
|
+
|
22723
|
+
def initialize(**args)
|
22724
|
+
update!(**args)
|
22725
|
+
end
|
22726
|
+
|
22727
|
+
# Update properties of this object
|
22728
|
+
def update!(**args)
|
22729
|
+
@etag = args[:etag] if args.key?(:etag)
|
22730
|
+
@id = args[:id] if args.key?(:id)
|
22731
|
+
@items = args[:items] if args.key?(:items)
|
22732
|
+
@kind = args[:kind] if args.key?(:kind)
|
22733
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
22734
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
22735
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
22736
|
+
@warning = args[:warning] if args.key?(:warning)
|
22737
|
+
end
|
22738
|
+
|
22739
|
+
# [Output Only] Informational warning message.
|
22740
|
+
class Warning
|
22741
|
+
include Google::Apis::Core::Hashable
|
22742
|
+
|
22743
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
22744
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
22745
|
+
# Corresponds to the JSON property `code`
|
22746
|
+
# @return [String]
|
22747
|
+
attr_accessor :code
|
22748
|
+
|
22749
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
22750
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
22751
|
+
# Corresponds to the JSON property `data`
|
22752
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEdgeSecurityServiceAggregatedList::Warning::Datum>]
|
22753
|
+
attr_accessor :data
|
22754
|
+
|
22755
|
+
# [Output Only] A human-readable description of the warning code.
|
22756
|
+
# Corresponds to the JSON property `message`
|
22757
|
+
# @return [String]
|
22758
|
+
attr_accessor :message
|
22759
|
+
|
22760
|
+
def initialize(**args)
|
22761
|
+
update!(**args)
|
22762
|
+
end
|
22763
|
+
|
22764
|
+
# Update properties of this object
|
22765
|
+
def update!(**args)
|
22766
|
+
@code = args[:code] if args.key?(:code)
|
22767
|
+
@data = args[:data] if args.key?(:data)
|
22768
|
+
@message = args[:message] if args.key?(:message)
|
22769
|
+
end
|
22770
|
+
|
22771
|
+
#
|
22772
|
+
class Datum
|
22773
|
+
include Google::Apis::Core::Hashable
|
22774
|
+
|
22775
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
22776
|
+
# For example, for warnings where there are no results in a list request for a
|
22777
|
+
# particular zone, this key might be scope and the key value might be the zone
|
22778
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
22779
|
+
# suggested replacement, or a warning about invalid network settings (for
|
22780
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
22781
|
+
# for IP forwarding).
|
22782
|
+
# Corresponds to the JSON property `key`
|
22783
|
+
# @return [String]
|
22784
|
+
attr_accessor :key
|
22785
|
+
|
22786
|
+
# [Output Only] A warning data value corresponding to the key.
|
22787
|
+
# Corresponds to the JSON property `value`
|
22788
|
+
# @return [String]
|
22789
|
+
attr_accessor :value
|
22790
|
+
|
22791
|
+
def initialize(**args)
|
22792
|
+
update!(**args)
|
22793
|
+
end
|
22794
|
+
|
22795
|
+
# Update properties of this object
|
22796
|
+
def update!(**args)
|
22797
|
+
@key = args[:key] if args.key?(:key)
|
22798
|
+
@value = args[:value] if args.key?(:value)
|
22799
|
+
end
|
22800
|
+
end
|
22801
|
+
end
|
22802
|
+
end
|
22803
|
+
|
22804
|
+
#
|
22805
|
+
class NetworkEdgeSecurityServicesScopedList
|
22806
|
+
include Google::Apis::Core::Hashable
|
22807
|
+
|
22808
|
+
# A list of NetworkEdgeSecurityServices contained in this scope.
|
22809
|
+
# Corresponds to the JSON property `networkEdgeSecurityServices`
|
22810
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEdgeSecurityService>]
|
22811
|
+
attr_accessor :network_edge_security_services
|
22812
|
+
|
22813
|
+
# Informational warning which replaces the list of security policies when the
|
22814
|
+
# list is empty.
|
22815
|
+
# Corresponds to the JSON property `warning`
|
22816
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList::Warning]
|
22817
|
+
attr_accessor :warning
|
22818
|
+
|
22819
|
+
def initialize(**args)
|
22820
|
+
update!(**args)
|
22821
|
+
end
|
22822
|
+
|
22823
|
+
# Update properties of this object
|
22824
|
+
def update!(**args)
|
22825
|
+
@network_edge_security_services = args[:network_edge_security_services] if args.key?(:network_edge_security_services)
|
22826
|
+
@warning = args[:warning] if args.key?(:warning)
|
22827
|
+
end
|
22828
|
+
|
22829
|
+
# Informational warning which replaces the list of security policies when the
|
22830
|
+
# list is empty.
|
22831
|
+
class Warning
|
22832
|
+
include Google::Apis::Core::Hashable
|
22833
|
+
|
22834
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
22835
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
22836
|
+
# Corresponds to the JSON property `code`
|
22837
|
+
# @return [String]
|
22838
|
+
attr_accessor :code
|
22839
|
+
|
22840
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
22841
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
22842
|
+
# Corresponds to the JSON property `data`
|
22843
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList::Warning::Datum>]
|
22844
|
+
attr_accessor :data
|
22845
|
+
|
22846
|
+
# [Output Only] A human-readable description of the warning code.
|
22847
|
+
# Corresponds to the JSON property `message`
|
22848
|
+
# @return [String]
|
22849
|
+
attr_accessor :message
|
22850
|
+
|
22851
|
+
def initialize(**args)
|
22852
|
+
update!(**args)
|
22853
|
+
end
|
22854
|
+
|
22855
|
+
# Update properties of this object
|
22856
|
+
def update!(**args)
|
22857
|
+
@code = args[:code] if args.key?(:code)
|
22858
|
+
@data = args[:data] if args.key?(:data)
|
22859
|
+
@message = args[:message] if args.key?(:message)
|
22860
|
+
end
|
22861
|
+
|
22862
|
+
#
|
22863
|
+
class Datum
|
22864
|
+
include Google::Apis::Core::Hashable
|
22865
|
+
|
22866
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
22867
|
+
# For example, for warnings where there are no results in a list request for a
|
22868
|
+
# particular zone, this key might be scope and the key value might be the zone
|
22869
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
22870
|
+
# suggested replacement, or a warning about invalid network settings (for
|
22871
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
22872
|
+
# for IP forwarding).
|
22873
|
+
# Corresponds to the JSON property `key`
|
22874
|
+
# @return [String]
|
22875
|
+
attr_accessor :key
|
22876
|
+
|
22877
|
+
# [Output Only] A warning data value corresponding to the key.
|
22878
|
+
# Corresponds to the JSON property `value`
|
22879
|
+
# @return [String]
|
22880
|
+
attr_accessor :value
|
22881
|
+
|
22882
|
+
def initialize(**args)
|
22883
|
+
update!(**args)
|
22884
|
+
end
|
22885
|
+
|
22886
|
+
# Update properties of this object
|
22887
|
+
def update!(**args)
|
22888
|
+
@key = args[:key] if args.key?(:key)
|
22889
|
+
@value = args[:value] if args.key?(:value)
|
22890
|
+
end
|
22891
|
+
end
|
22892
|
+
end
|
22893
|
+
end
|
22894
|
+
|
21956
22895
|
# The network endpoint.
|
21957
22896
|
class NetworkEndpoint
|
21958
22897
|
include Google::Apis::Core::Hashable
|
@@ -29943,6 +30882,18 @@ module Google
|
|
29943
30882
|
attr_accessor :skip_inapplicable_instances
|
29944
30883
|
alias_method :skip_inapplicable_instances?, :skip_inapplicable_instances
|
29945
30884
|
|
30885
|
+
# Specifies whether the request should proceed despite the inclusion of
|
30886
|
+
# instances that are not members of the group or that are already in the process
|
30887
|
+
# of being deleted or abandoned. If this field is set to `false` and such an
|
30888
|
+
# instance is specified in the request, the operation fails. The operation
|
30889
|
+
# always fails if the request contains a malformed instance URL or a reference
|
30890
|
+
# to an instance that exists in a zone or region other than the group's zone or
|
30891
|
+
# region.
|
30892
|
+
# Corresponds to the JSON property `skipInstancesOnValidationError`
|
30893
|
+
# @return [Boolean]
|
30894
|
+
attr_accessor :skip_instances_on_validation_error
|
30895
|
+
alias_method :skip_instances_on_validation_error?, :skip_instances_on_validation_error
|
30896
|
+
|
29946
30897
|
def initialize(**args)
|
29947
30898
|
update!(**args)
|
29948
30899
|
end
|
@@ -29951,6 +30902,7 @@ module Google
|
|
29951
30902
|
def update!(**args)
|
29952
30903
|
@instances = args[:instances] if args.key?(:instances)
|
29953
30904
|
@skip_inapplicable_instances = args[:skip_inapplicable_instances] if args.key?(:skip_inapplicable_instances)
|
30905
|
+
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
29954
30906
|
end
|
29955
30907
|
end
|
29956
30908
|
|
@@ -30885,9 +31837,9 @@ module Google
|
|
30885
31837
|
# @return [String]
|
30886
31838
|
attr_accessor :self_link_with_id
|
30887
31839
|
|
30888
|
-
#
|
31840
|
+
# The share setting for reservations and sole tenancy node groups.
|
30889
31841
|
# Corresponds to the JSON property `shareSettings`
|
30890
|
-
# @return [Google::Apis::ComputeAlpha::
|
31842
|
+
# @return [Google::Apis::ComputeAlpha::ShareSettings]
|
30891
31843
|
attr_accessor :share_settings
|
30892
31844
|
|
30893
31845
|
# This reservation type allows to pre allocate specific instance configuration.
|
@@ -34533,7 +35485,7 @@ module Google
|
|
34533
35485
|
end
|
34534
35486
|
end
|
34535
35487
|
|
34536
|
-
# Sets the scheduling options for an Instance. NextID:
|
35488
|
+
# Sets the scheduling options for an Instance. NextID: 21
|
34537
35489
|
class Scheduling
|
34538
35490
|
include Google::Apis::Core::Hashable
|
34539
35491
|
|
@@ -34711,6 +35663,136 @@ module Google
|
|
34711
35663
|
end
|
34712
35664
|
end
|
34713
35665
|
|
35666
|
+
#
|
35667
|
+
class SecurityPoliciesAggregatedList
|
35668
|
+
include Google::Apis::Core::Hashable
|
35669
|
+
|
35670
|
+
#
|
35671
|
+
# Corresponds to the JSON property `etag`
|
35672
|
+
# @return [String]
|
35673
|
+
attr_accessor :etag
|
35674
|
+
|
35675
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
35676
|
+
# Corresponds to the JSON property `id`
|
35677
|
+
# @return [String]
|
35678
|
+
attr_accessor :id
|
35679
|
+
|
35680
|
+
# A list of SecurityPoliciesScopedList resources.
|
35681
|
+
# Corresponds to the JSON property `items`
|
35682
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::SecurityPoliciesScopedList>]
|
35683
|
+
attr_accessor :items
|
35684
|
+
|
35685
|
+
# [Output Only] Type of resource. Always compute#securityPolicyAggregatedList
|
35686
|
+
# for lists of Security Policies.
|
35687
|
+
# Corresponds to the JSON property `kind`
|
35688
|
+
# @return [String]
|
35689
|
+
attr_accessor :kind
|
35690
|
+
|
35691
|
+
# [Output Only] This token allows you to get the next page of results for list
|
35692
|
+
# requests. If the number of results is larger than maxResults, use the
|
35693
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
35694
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
35695
|
+
# continue paging through the results.
|
35696
|
+
# Corresponds to the JSON property `nextPageToken`
|
35697
|
+
# @return [String]
|
35698
|
+
attr_accessor :next_page_token
|
35699
|
+
|
35700
|
+
# [Output Only] Server-defined URL for this resource.
|
35701
|
+
# Corresponds to the JSON property `selfLink`
|
35702
|
+
# @return [String]
|
35703
|
+
attr_accessor :self_link
|
35704
|
+
|
35705
|
+
# [Output Only] Unreachable resources.
|
35706
|
+
# Corresponds to the JSON property `unreachables`
|
35707
|
+
# @return [Array<String>]
|
35708
|
+
attr_accessor :unreachables
|
35709
|
+
|
35710
|
+
# [Output Only] Informational warning message.
|
35711
|
+
# Corresponds to the JSON property `warning`
|
35712
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList::Warning]
|
35713
|
+
attr_accessor :warning
|
35714
|
+
|
35715
|
+
def initialize(**args)
|
35716
|
+
update!(**args)
|
35717
|
+
end
|
35718
|
+
|
35719
|
+
# Update properties of this object
|
35720
|
+
def update!(**args)
|
35721
|
+
@etag = args[:etag] if args.key?(:etag)
|
35722
|
+
@id = args[:id] if args.key?(:id)
|
35723
|
+
@items = args[:items] if args.key?(:items)
|
35724
|
+
@kind = args[:kind] if args.key?(:kind)
|
35725
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
35726
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
35727
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
35728
|
+
@warning = args[:warning] if args.key?(:warning)
|
35729
|
+
end
|
35730
|
+
|
35731
|
+
# [Output Only] Informational warning message.
|
35732
|
+
class Warning
|
35733
|
+
include Google::Apis::Core::Hashable
|
35734
|
+
|
35735
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
35736
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
35737
|
+
# Corresponds to the JSON property `code`
|
35738
|
+
# @return [String]
|
35739
|
+
attr_accessor :code
|
35740
|
+
|
35741
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
35742
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
35743
|
+
# Corresponds to the JSON property `data`
|
35744
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPoliciesAggregatedList::Warning::Datum>]
|
35745
|
+
attr_accessor :data
|
35746
|
+
|
35747
|
+
# [Output Only] A human-readable description of the warning code.
|
35748
|
+
# Corresponds to the JSON property `message`
|
35749
|
+
# @return [String]
|
35750
|
+
attr_accessor :message
|
35751
|
+
|
35752
|
+
def initialize(**args)
|
35753
|
+
update!(**args)
|
35754
|
+
end
|
35755
|
+
|
35756
|
+
# Update properties of this object
|
35757
|
+
def update!(**args)
|
35758
|
+
@code = args[:code] if args.key?(:code)
|
35759
|
+
@data = args[:data] if args.key?(:data)
|
35760
|
+
@message = args[:message] if args.key?(:message)
|
35761
|
+
end
|
35762
|
+
|
35763
|
+
#
|
35764
|
+
class Datum
|
35765
|
+
include Google::Apis::Core::Hashable
|
35766
|
+
|
35767
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
35768
|
+
# For example, for warnings where there are no results in a list request for a
|
35769
|
+
# particular zone, this key might be scope and the key value might be the zone
|
35770
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
35771
|
+
# suggested replacement, or a warning about invalid network settings (for
|
35772
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
35773
|
+
# for IP forwarding).
|
35774
|
+
# Corresponds to the JSON property `key`
|
35775
|
+
# @return [String]
|
35776
|
+
attr_accessor :key
|
35777
|
+
|
35778
|
+
# [Output Only] A warning data value corresponding to the key.
|
35779
|
+
# Corresponds to the JSON property `value`
|
35780
|
+
# @return [String]
|
35781
|
+
attr_accessor :value
|
35782
|
+
|
35783
|
+
def initialize(**args)
|
35784
|
+
update!(**args)
|
35785
|
+
end
|
35786
|
+
|
35787
|
+
# Update properties of this object
|
35788
|
+
def update!(**args)
|
35789
|
+
@key = args[:key] if args.key?(:key)
|
35790
|
+
@value = args[:value] if args.key?(:value)
|
35791
|
+
end
|
35792
|
+
end
|
35793
|
+
end
|
35794
|
+
end
|
35795
|
+
|
34714
35796
|
#
|
34715
35797
|
class SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
34716
35798
|
include Google::Apis::Core::Hashable
|
@@ -34730,6 +35812,97 @@ module Google
|
|
34730
35812
|
end
|
34731
35813
|
end
|
34732
35814
|
|
35815
|
+
#
|
35816
|
+
class SecurityPoliciesScopedList
|
35817
|
+
include Google::Apis::Core::Hashable
|
35818
|
+
|
35819
|
+
# A list of SecurityPolicies contained in this scope.
|
35820
|
+
# Corresponds to the JSON property `securityPolicies`
|
35821
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicy>]
|
35822
|
+
attr_accessor :security_policies
|
35823
|
+
|
35824
|
+
# Informational warning which replaces the list of security policies when the
|
35825
|
+
# list is empty.
|
35826
|
+
# Corresponds to the JSON property `warning`
|
35827
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPoliciesScopedList::Warning]
|
35828
|
+
attr_accessor :warning
|
35829
|
+
|
35830
|
+
def initialize(**args)
|
35831
|
+
update!(**args)
|
35832
|
+
end
|
35833
|
+
|
35834
|
+
# Update properties of this object
|
35835
|
+
def update!(**args)
|
35836
|
+
@security_policies = args[:security_policies] if args.key?(:security_policies)
|
35837
|
+
@warning = args[:warning] if args.key?(:warning)
|
35838
|
+
end
|
35839
|
+
|
35840
|
+
# Informational warning which replaces the list of security policies when the
|
35841
|
+
# list is empty.
|
35842
|
+
class Warning
|
35843
|
+
include Google::Apis::Core::Hashable
|
35844
|
+
|
35845
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
35846
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
35847
|
+
# Corresponds to the JSON property `code`
|
35848
|
+
# @return [String]
|
35849
|
+
attr_accessor :code
|
35850
|
+
|
35851
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
35852
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
35853
|
+
# Corresponds to the JSON property `data`
|
35854
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPoliciesScopedList::Warning::Datum>]
|
35855
|
+
attr_accessor :data
|
35856
|
+
|
35857
|
+
# [Output Only] A human-readable description of the warning code.
|
35858
|
+
# Corresponds to the JSON property `message`
|
35859
|
+
# @return [String]
|
35860
|
+
attr_accessor :message
|
35861
|
+
|
35862
|
+
def initialize(**args)
|
35863
|
+
update!(**args)
|
35864
|
+
end
|
35865
|
+
|
35866
|
+
# Update properties of this object
|
35867
|
+
def update!(**args)
|
35868
|
+
@code = args[:code] if args.key?(:code)
|
35869
|
+
@data = args[:data] if args.key?(:data)
|
35870
|
+
@message = args[:message] if args.key?(:message)
|
35871
|
+
end
|
35872
|
+
|
35873
|
+
#
|
35874
|
+
class Datum
|
35875
|
+
include Google::Apis::Core::Hashable
|
35876
|
+
|
35877
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
35878
|
+
# For example, for warnings where there are no results in a list request for a
|
35879
|
+
# particular zone, this key might be scope and the key value might be the zone
|
35880
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
35881
|
+
# suggested replacement, or a warning about invalid network settings (for
|
35882
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
35883
|
+
# for IP forwarding).
|
35884
|
+
# Corresponds to the JSON property `key`
|
35885
|
+
# @return [String]
|
35886
|
+
attr_accessor :key
|
35887
|
+
|
35888
|
+
# [Output Only] A warning data value corresponding to the key.
|
35889
|
+
# Corresponds to the JSON property `value`
|
35890
|
+
# @return [String]
|
35891
|
+
attr_accessor :value
|
35892
|
+
|
35893
|
+
def initialize(**args)
|
35894
|
+
update!(**args)
|
35895
|
+
end
|
35896
|
+
|
35897
|
+
# Update properties of this object
|
35898
|
+
def update!(**args)
|
35899
|
+
@key = args[:key] if args.key?(:key)
|
35900
|
+
@value = args[:value] if args.key?(:value)
|
35901
|
+
end
|
35902
|
+
end
|
35903
|
+
end
|
35904
|
+
end
|
35905
|
+
|
34733
35906
|
#
|
34734
35907
|
class SecurityPoliciesWafConfig
|
34735
35908
|
include Google::Apis::Core::Hashable
|
@@ -34776,6 +35949,11 @@ module Google
|
|
34776
35949
|
# @return [String]
|
34777
35950
|
attr_accessor :creation_timestamp
|
34778
35951
|
|
35952
|
+
#
|
35953
|
+
# Corresponds to the JSON property `ddosProtectionConfig`
|
35954
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyDdosProtectionConfig]
|
35955
|
+
attr_accessor :ddos_protection_config
|
35956
|
+
|
34779
35957
|
# An optional description of this resource. Provide this property when you
|
34780
35958
|
# create the resource.
|
34781
35959
|
# Corresponds to the JSON property `description`
|
@@ -34851,6 +36029,12 @@ module Google
|
|
34851
36029
|
# @return [String]
|
34852
36030
|
attr_accessor :parent
|
34853
36031
|
|
36032
|
+
# [Output Only] URL of the region where the regional security policy resides.
|
36033
|
+
# This field is not applicable to global security policies.
|
36034
|
+
# Corresponds to the JSON property `region`
|
36035
|
+
# @return [String]
|
36036
|
+
attr_accessor :region
|
36037
|
+
|
34854
36038
|
# [Output Only] Total count of all security policy rule tuples. A security
|
34855
36039
|
# policy can not exceed a set number of tuples.
|
34856
36040
|
# Corresponds to the JSON property `ruleTupleCount`
|
@@ -34891,6 +36075,7 @@ module Google
|
|
34891
36075
|
@associations = args[:associations] if args.key?(:associations)
|
34892
36076
|
@cloud_armor_config = args[:cloud_armor_config] if args.key?(:cloud_armor_config)
|
34893
36077
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36078
|
+
@ddos_protection_config = args[:ddos_protection_config] if args.key?(:ddos_protection_config)
|
34894
36079
|
@description = args[:description] if args.key?(:description)
|
34895
36080
|
@display_name = args[:display_name] if args.key?(:display_name)
|
34896
36081
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -34900,6 +36085,7 @@ module Google
|
|
34900
36085
|
@labels = args[:labels] if args.key?(:labels)
|
34901
36086
|
@name = args[:name] if args.key?(:name)
|
34902
36087
|
@parent = args[:parent] if args.key?(:parent)
|
36088
|
+
@region = args[:region] if args.key?(:region)
|
34903
36089
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
34904
36090
|
@rules = args[:rules] if args.key?(:rules)
|
34905
36091
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -35011,10 +36197,34 @@ module Google
|
|
35011
36197
|
end
|
35012
36198
|
end
|
35013
36199
|
|
36200
|
+
#
|
36201
|
+
class SecurityPolicyDdosProtectionConfig
|
36202
|
+
include Google::Apis::Core::Hashable
|
36203
|
+
|
36204
|
+
#
|
36205
|
+
# Corresponds to the JSON property `ddosProtection`
|
36206
|
+
# @return [String]
|
36207
|
+
attr_accessor :ddos_protection
|
36208
|
+
|
36209
|
+
def initialize(**args)
|
36210
|
+
update!(**args)
|
36211
|
+
end
|
36212
|
+
|
36213
|
+
# Update properties of this object
|
36214
|
+
def update!(**args)
|
36215
|
+
@ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
|
36216
|
+
end
|
36217
|
+
end
|
36218
|
+
|
35014
36219
|
#
|
35015
36220
|
class SecurityPolicyList
|
35016
36221
|
include Google::Apis::Core::Hashable
|
35017
36222
|
|
36223
|
+
#
|
36224
|
+
# Corresponds to the JSON property `etag`
|
36225
|
+
# @return [String]
|
36226
|
+
attr_accessor :etag
|
36227
|
+
|
35018
36228
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
35019
36229
|
# Corresponds to the JSON property `id`
|
35020
36230
|
# @return [String]
|
@@ -35040,6 +36250,11 @@ module Google
|
|
35040
36250
|
# @return [String]
|
35041
36251
|
attr_accessor :next_page_token
|
35042
36252
|
|
36253
|
+
# [Output Only] Unreachable resources.
|
36254
|
+
# Corresponds to the JSON property `unreachables`
|
36255
|
+
# @return [Array<String>]
|
36256
|
+
attr_accessor :unreachables
|
36257
|
+
|
35043
36258
|
# [Output Only] Informational warning message.
|
35044
36259
|
# Corresponds to the JSON property `warning`
|
35045
36260
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyList::Warning]
|
@@ -35051,10 +36266,12 @@ module Google
|
|
35051
36266
|
|
35052
36267
|
# Update properties of this object
|
35053
36268
|
def update!(**args)
|
36269
|
+
@etag = args[:etag] if args.key?(:etag)
|
35054
36270
|
@id = args[:id] if args.key?(:id)
|
35055
36271
|
@items = args[:items] if args.key?(:items)
|
35056
36272
|
@kind = args[:kind] if args.key?(:kind)
|
35057
36273
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
36274
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
35058
36275
|
@warning = args[:warning] if args.key?(:warning)
|
35059
36276
|
end
|
35060
36277
|
|
@@ -36252,9 +37469,9 @@ module Google
|
|
36252
37469
|
include Google::Apis::Core::Hashable
|
36253
37470
|
|
36254
37471
|
# A list of ServiceAttachments contained in this scope.
|
36255
|
-
# Corresponds to the JSON property `
|
37472
|
+
# Corresponds to the JSON property `serviceAttachments`
|
36256
37473
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAttachment>]
|
36257
|
-
attr_accessor :
|
37474
|
+
attr_accessor :service_attachments
|
36258
37475
|
|
36259
37476
|
# Informational warning which replaces the list of service attachments when the
|
36260
37477
|
# list is empty.
|
@@ -36268,7 +37485,7 @@ module Google
|
|
36268
37485
|
|
36269
37486
|
# Update properties of this object
|
36270
37487
|
def update!(**args)
|
36271
|
-
@
|
37488
|
+
@service_attachments = args[:service_attachments] if args.key?(:service_attachments)
|
36272
37489
|
@warning = args[:warning] if args.key?(:warning)
|
36273
37490
|
end
|
36274
37491
|
|
@@ -36338,6 +37555,32 @@ module Google
|
|
36338
37555
|
end
|
36339
37556
|
end
|
36340
37557
|
|
37558
|
+
# The share setting for reservations and sole tenancy node groups.
|
37559
|
+
class ShareSettings
|
37560
|
+
include Google::Apis::Core::Hashable
|
37561
|
+
|
37562
|
+
# A List of Project names to specify consumer projects for this shared-
|
37563
|
+
# reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
|
37564
|
+
# Corresponds to the JSON property `projects`
|
37565
|
+
# @return [Array<String>]
|
37566
|
+
attr_accessor :projects
|
37567
|
+
|
37568
|
+
# Type of sharing for this shared-reservation
|
37569
|
+
# Corresponds to the JSON property `shareType`
|
37570
|
+
# @return [String]
|
37571
|
+
attr_accessor :share_type
|
37572
|
+
|
37573
|
+
def initialize(**args)
|
37574
|
+
update!(**args)
|
37575
|
+
end
|
37576
|
+
|
37577
|
+
# Update properties of this object
|
37578
|
+
def update!(**args)
|
37579
|
+
@projects = args[:projects] if args.key?(:projects)
|
37580
|
+
@share_type = args[:share_type] if args.key?(:share_type)
|
37581
|
+
end
|
37582
|
+
end
|
37583
|
+
|
36341
37584
|
# A set of Shielded Instance options.
|
36342
37585
|
class ShieldedInstanceConfig
|
36343
37586
|
include Google::Apis::Core::Hashable
|
@@ -37069,7 +38312,7 @@ module Google
|
|
37069
38312
|
# @return [String]
|
37070
38313
|
attr_accessor :post_key_revocation_action_type
|
37071
38314
|
|
37072
|
-
# Sets the scheduling options for an Instance. NextID:
|
38315
|
+
# Sets the scheduling options for an Instance. NextID: 21
|
37073
38316
|
# Corresponds to the JSON property `scheduling`
|
37074
38317
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
37075
38318
|
attr_accessor :scheduling
|
@@ -38288,6 +39531,11 @@ module Google
|
|
38288
39531
|
# @return [String]
|
38289
39532
|
attr_accessor :region
|
38290
39533
|
|
39534
|
+
# The URL of the reserved internal range.
|
39535
|
+
# Corresponds to the JSON property `reservedInternalRange`
|
39536
|
+
# @return [String]
|
39537
|
+
attr_accessor :reserved_internal_range
|
39538
|
+
|
38291
39539
|
# The role of subnetwork. Currently, this field is only used when purpose =
|
38292
39540
|
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
38293
39541
|
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
@@ -38372,6 +39620,7 @@ module Google
|
|
38372
39620
|
@private_ipv6_google_access_service_accounts = args[:private_ipv6_google_access_service_accounts] if args.key?(:private_ipv6_google_access_service_accounts)
|
38373
39621
|
@purpose = args[:purpose] if args.key?(:purpose)
|
38374
39622
|
@region = args[:region] if args.key?(:region)
|
39623
|
+
@reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
|
38375
39624
|
@role = args[:role] if args.key?(:role)
|
38376
39625
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
38377
39626
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -38707,6 +39956,11 @@ module Google
|
|
38707
39956
|
# @return [String]
|
38708
39957
|
attr_accessor :range_name
|
38709
39958
|
|
39959
|
+
# The URL of the reserved internal range.
|
39960
|
+
# Corresponds to the JSON property `reservedInternalRange`
|
39961
|
+
# @return [String]
|
39962
|
+
attr_accessor :reserved_internal_range
|
39963
|
+
|
38710
39964
|
def initialize(**args)
|
38711
39965
|
update!(**args)
|
38712
39966
|
end
|
@@ -38715,6 +39969,7 @@ module Google
|
|
38715
39969
|
def update!(**args)
|
38716
39970
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
38717
39971
|
@range_name = args[:range_name] if args.key?(:range_name)
|
39972
|
+
@reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
|
38718
39973
|
end
|
38719
39974
|
end
|
38720
39975
|
|
@@ -39781,7 +41036,8 @@ module Google
|
|
39781
41036
|
include Google::Apis::Core::Hashable
|
39782
41037
|
|
39783
41038
|
# New set of SslCertificate resources to associate with this TargetHttpsProxy
|
39784
|
-
# resource.
|
41039
|
+
# resource. At least one SSL certificate must be specified. Currently, you may
|
41040
|
+
# specify up to 15 SSL certificates.
|
39785
41041
|
# Corresponds to the JSON property `sslCertificates`
|
39786
41042
|
# @return [Array<String>]
|
39787
41043
|
attr_accessor :ssl_certificates
|
@@ -39953,6 +41209,8 @@ module Google
|
|
39953
41209
|
# URLs to SslCertificate resources that are used to authenticate connections
|
39954
41210
|
# between users and the load balancer. At least one SSL certificate must be
|
39955
41211
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
41212
|
+
# sslCertificates do not apply when the load balancing scheme is set to
|
41213
|
+
# INTERNAL_SELF_MANAGED.
|
39956
41214
|
# Corresponds to the JSON property `sslCertificates`
|
39957
41215
|
# @return [Array<String>]
|
39958
41216
|
attr_accessor :ssl_certificates
|
@@ -41337,7 +42595,8 @@ module Google
|
|
41337
42595
|
include Google::Apis::Core::Hashable
|
41338
42596
|
|
41339
42597
|
# New set of URLs to SslCertificate resources to associate with this
|
41340
|
-
# TargetSslProxy.
|
42598
|
+
# TargetSslProxy. At least one SSL certificate must be specified. Currently, you
|
42599
|
+
# may specify up to 15 SSL certificates.
|
41341
42600
|
# Corresponds to the JSON property `sslCertificates`
|
41342
42601
|
# @return [Array<String>]
|
41343
42602
|
attr_accessor :ssl_certificates
|
@@ -41418,7 +42677,8 @@ module Google
|
|
41418
42677
|
|
41419
42678
|
# URLs to SslCertificate resources that are used to authenticate connections to
|
41420
42679
|
# Backends. At least one SSL certificate must be specified. Currently, you may
|
41421
|
-
# specify up to 15 SSL certificates.
|
42680
|
+
# specify up to 15 SSL certificates. sslCertificates do not apply when the load
|
42681
|
+
# balancing scheme is set to INTERNAL_SELF_MANAGED.
|
41422
42682
|
# Corresponds to the JSON property `sslCertificates`
|
41423
42683
|
# @return [Array<String>]
|
41424
42684
|
attr_accessor :ssl_certificates
|