google-api-client 0.47.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +77 -0
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +238 -14
- data/generated/google/apis/compute_v1/representations.rb +41 -0
- data/generated/google/apis/compute_v1/service.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +7 -7
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +899 -1054
- data/generated/google/apis/content_v2_1/representations.rb +206 -0
- data/generated/google/apis/content_v2_1/service.rb +912 -808
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +249 -9
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +72 -0
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +12 -12
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +16 -3
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201007'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -629,9 +629,9 @@ module Google
|
|
629
629
|
# - `VPC_PEERING` for addresses that are reserved for VPC peer networks.
|
630
630
|
# - `NAT_AUTO` for addresses that are external IP addresses automatically
|
631
631
|
# reserved for Cloud NAT.
|
632
|
-
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range
|
633
|
-
# for a VLAN attachment in an IPsec
|
634
|
-
# addresses are regional resources.
|
632
|
+
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
|
633
|
+
# reserved for a VLAN attachment in an IPsec encrypted Interconnect
|
634
|
+
# configuration. These addresses are regional resources.
|
635
635
|
# Corresponds to the JSON property `purpose`
|
636
636
|
# @return [String]
|
637
637
|
attr_accessor :purpose
|
@@ -2164,6 +2164,36 @@ module Google
|
|
2164
2164
|
class AutoscalingPolicyCustomMetricUtilization
|
2165
2165
|
include Google::Apis::Core::Hashable
|
2166
2166
|
|
2167
|
+
# A filter string, compatible with a Stackdriver Monitoring filter string for
|
2168
|
+
# TimeSeries.list API call. This filter is used to select a specific TimeSeries
|
2169
|
+
# for the purpose of autoscaling and to determine whether the metric is
|
2170
|
+
# exporting per-instance or per-group data.
|
2171
|
+
# For the filter to be valid for autoscaling purposes, the following rules apply:
|
2172
|
+
#
|
2173
|
+
# - You can only use the AND operator for joining selectors.
|
2174
|
+
# - You can only use direct equality comparison operator (=) without any
|
2175
|
+
# functions for each selector.
|
2176
|
+
# - You can specify the metric in both the filter string and in the metric field.
|
2177
|
+
# However, if specified in both places, the metric must be identical.
|
2178
|
+
# - The monitored resource type determines what kind of values are expected for
|
2179
|
+
# the metric. If it is a gce_instance, the autoscaler expects the metric to
|
2180
|
+
# include a separate TimeSeries for each instance in a group. In such a case,
|
2181
|
+
# you cannot filter on resource labels.
|
2182
|
+
# If the resource type is any other value, the autoscaler expects this metric to
|
2183
|
+
# contain values that apply to the entire autoscaled instance group and resource
|
2184
|
+
# label filtering can be performed to point autoscaler at the correct TimeSeries
|
2185
|
+
# to scale upon. This is called a per-group metric for the purpose of
|
2186
|
+
# autoscaling.
|
2187
|
+
# If not specified, the type defaults to gce_instance.
|
2188
|
+
# You should provide a filter that is selective enough to pick just one
|
2189
|
+
# TimeSeries for the autoscaled group or for each of the instances (if you are
|
2190
|
+
# using gce_instance resource type). If multiple TimeSeries are returned upon
|
2191
|
+
# the query execution, the autoscaler will sum their respective values to obtain
|
2192
|
+
# its scaling value.
|
2193
|
+
# Corresponds to the JSON property `filter`
|
2194
|
+
# @return [String]
|
2195
|
+
attr_accessor :filter
|
2196
|
+
|
2167
2197
|
# The identifier (type) of the Stackdriver Monitoring metric. The metric cannot
|
2168
2198
|
# have negative values.
|
2169
2199
|
# The metric must have a value type of INT64 or DOUBLE.
|
@@ -2171,6 +2201,21 @@ module Google
|
|
2171
2201
|
# @return [String]
|
2172
2202
|
attr_accessor :metric
|
2173
2203
|
|
2204
|
+
# If scaling is based on a per-group metric value that represents the total
|
2205
|
+
# amount of work to be done or resource usage, set this value to an amount
|
2206
|
+
# assigned for a single instance of the scaled group. Autoscaler will keep the
|
2207
|
+
# number of instances proportional to the value of this metric, the metric
|
2208
|
+
# itself should not change value due to group resizing.
|
2209
|
+
# A good metric to use with the target is for example pubsub.googleapis.com/
|
2210
|
+
# subscription/num_undelivered_messages or a custom metric exporting the total
|
2211
|
+
# number of requests coming to your instances.
|
2212
|
+
# A bad example would be a metric exporting an average or median latency, since
|
2213
|
+
# this value can't include a chunk assignable to a single instance, it could be
|
2214
|
+
# better used with utilization_target instead.
|
2215
|
+
# Corresponds to the JSON property `singleInstanceAssignment`
|
2216
|
+
# @return [Float]
|
2217
|
+
attr_accessor :single_instance_assignment
|
2218
|
+
|
2174
2219
|
# The target value of the metric that autoscaler should maintain. This must be a
|
2175
2220
|
# positive value. A utilization metric scales number of virtual machines
|
2176
2221
|
# handling requests to increase or decrease proportionally to the metric.
|
@@ -2193,7 +2238,9 @@ module Google
|
|
2193
2238
|
|
2194
2239
|
# Update properties of this object
|
2195
2240
|
def update!(**args)
|
2241
|
+
@filter = args[:filter] if args.key?(:filter)
|
2196
2242
|
@metric = args[:metric] if args.key?(:metric)
|
2243
|
+
@single_instance_assignment = args[:single_instance_assignment] if args.key?(:single_instance_assignment)
|
2197
2244
|
@utilization_target = args[:utilization_target] if args.key?(:utilization_target)
|
2198
2245
|
@utilization_target_type = args[:utilization_target_type] if args.key?(:utilization_target_type)
|
2199
2246
|
end
|
@@ -2900,6 +2947,11 @@ module Google
|
|
2900
2947
|
# @return [String]
|
2901
2948
|
attr_accessor :security_policy
|
2902
2949
|
|
2950
|
+
# The authentication and authorization settings for a BackendService.
|
2951
|
+
# Corresponds to the JSON property `securitySettings`
|
2952
|
+
# @return [Google::Apis::ComputeV1::SecuritySettings]
|
2953
|
+
attr_accessor :security_settings
|
2954
|
+
|
2903
2955
|
# [Output Only] Server-defined URL for the resource.
|
2904
2956
|
# Corresponds to the JSON property `selfLink`
|
2905
2957
|
# @return [String]
|
@@ -2961,6 +3013,7 @@ module Google
|
|
2961
3013
|
@protocol = args[:protocol] if args.key?(:protocol)
|
2962
3014
|
@region = args[:region] if args.key?(:region)
|
2963
3015
|
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
3016
|
+
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
2964
3017
|
@self_link = args[:self_link] if args.key?(:self_link)
|
2965
3018
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
2966
3019
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@@ -6817,6 +6870,8 @@ module Google
|
|
6817
6870
|
# ip_address_specifications).
|
6818
6871
|
# Must be set to `0.0.0.0` when the target is targetGrpcProxy that has
|
6819
6872
|
# validateForProxyless field set to true.
|
6873
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
6874
|
+
# APIs, IP address must be provided.
|
6820
6875
|
# Corresponds to the JSON property `IPAddress`
|
6821
6876
|
# @return [String]
|
6822
6877
|
attr_accessor :ip_address
|
@@ -6967,6 +7022,8 @@ module Google
|
|
6967
7022
|
# For internal load balancing, this field identifies the network that the load
|
6968
7023
|
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
6969
7024
|
# specified, the default network will be used.
|
7025
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
7026
|
+
# APIs, a network must be provided.
|
6970
7027
|
# Corresponds to the JSON property `network`
|
6971
7028
|
# @return [String]
|
6972
7029
|
attr_accessor :network
|
@@ -7065,6 +7122,15 @@ module Google
|
|
7065
7122
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
7066
7123
|
# object. For more information, see the "Target" column in [Port specifications](
|
7067
7124
|
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
7125
|
+
# For Private Service Connect forwarding rules that forward traffic to Google
|
7126
|
+
# APIs, provide the name of a supported Google API bundle. Currently, the
|
7127
|
+
# supported Google API bundles include:
|
7128
|
+
#
|
7129
|
+
# - vpc-sc - GCP APIs that support VPC Service Controls. For more information
|
7130
|
+
# about which APIs support VPC Service Controls, refer to VPC-SC supported
|
7131
|
+
# products and limitations.
|
7132
|
+
# - all-apis - All GCP APIs. For more information about which APIs are supported
|
7133
|
+
# with this bundle, refer to Private Google Access-specific domains and VIPs.
|
7068
7134
|
# Corresponds to the JSON property `target`
|
7069
7135
|
# @return [String]
|
7070
7136
|
attr_accessor :target
|
@@ -8047,6 +8113,12 @@ module Google
|
|
8047
8113
|
# @return [String]
|
8048
8114
|
attr_accessor :kind
|
8049
8115
|
|
8116
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
8117
|
+
# be exported to Stackdriver.
|
8118
|
+
# Corresponds to the JSON property `logConfig`
|
8119
|
+
# @return [Google::Apis::ComputeV1::HealthCheckLogConfig]
|
8120
|
+
attr_accessor :log_config
|
8121
|
+
|
8050
8122
|
# Name of the resource. Provided by the client when the resource is created. The
|
8051
8123
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8052
8124
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -8114,6 +8186,7 @@ module Google
|
|
8114
8186
|
@https_health_check = args[:https_health_check] if args.key?(:https_health_check)
|
8115
8187
|
@id = args[:id] if args.key?(:id)
|
8116
8188
|
@kind = args[:kind] if args.key?(:kind)
|
8189
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
8117
8190
|
@name = args[:name] if args.key?(:name)
|
8118
8191
|
@region = args[:region] if args.key?(:region)
|
8119
8192
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -8242,6 +8315,28 @@ module Google
|
|
8242
8315
|
end
|
8243
8316
|
end
|
8244
8317
|
|
8318
|
+
# Configuration of logging on a health check. If logging is enabled, logs will
|
8319
|
+
# be exported to Stackdriver.
|
8320
|
+
class HealthCheckLogConfig
|
8321
|
+
include Google::Apis::Core::Hashable
|
8322
|
+
|
8323
|
+
# Indicates whether or not to export logs. This is false by default, which means
|
8324
|
+
# no health check logging will be done.
|
8325
|
+
# Corresponds to the JSON property `enable`
|
8326
|
+
# @return [Boolean]
|
8327
|
+
attr_accessor :enable
|
8328
|
+
alias_method :enable?, :enable
|
8329
|
+
|
8330
|
+
def initialize(**args)
|
8331
|
+
update!(**args)
|
8332
|
+
end
|
8333
|
+
|
8334
|
+
# Update properties of this object
|
8335
|
+
def update!(**args)
|
8336
|
+
@enable = args[:enable] if args.key?(:enable)
|
8337
|
+
end
|
8338
|
+
end
|
8339
|
+
|
8245
8340
|
# A full or valid partial URL to a health check. For example, the following are
|
8246
8341
|
# valid URLs:
|
8247
8342
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
@@ -12043,6 +12138,13 @@ module Google
|
|
12043
12138
|
class InstanceGroupManagersApplyUpdatesRequest
|
12044
12139
|
include Google::Apis::Core::Hashable
|
12045
12140
|
|
12141
|
+
# Flag to update all instances instead of specified list of ?instances?. If the
|
12142
|
+
# flag is set to true then the instances may not be specified in the request.
|
12143
|
+
# Corresponds to the JSON property `allInstances`
|
12144
|
+
# @return [Boolean]
|
12145
|
+
attr_accessor :all_instances
|
12146
|
+
alias_method :all_instances?, :all_instances
|
12147
|
+
|
12046
12148
|
# The list of URLs of one or more instances for which you want to apply updates.
|
12047
12149
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
12048
12150
|
# INSTANCE_NAME].
|
@@ -12080,6 +12182,7 @@ module Google
|
|
12080
12182
|
|
12081
12183
|
# Update properties of this object
|
12082
12184
|
def update!(**args)
|
12185
|
+
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
12083
12186
|
@instances = args[:instances] if args.key?(:instances)
|
12084
12187
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
12085
12188
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
@@ -22810,6 +22913,13 @@ module Google
|
|
22810
22913
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
22811
22914
|
include Google::Apis::Core::Hashable
|
22812
22915
|
|
22916
|
+
# Flag to update all instances instead of specified list of ?instances?. If the
|
22917
|
+
# flag is set to true then the instances may not be specified in the request.
|
22918
|
+
# Corresponds to the JSON property `allInstances`
|
22919
|
+
# @return [Boolean]
|
22920
|
+
attr_accessor :all_instances
|
22921
|
+
alias_method :all_instances?, :all_instances
|
22922
|
+
|
22813
22923
|
# The list of URLs of one or more instances for which you want to apply updates.
|
22814
22924
|
# Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[
|
22815
22925
|
# INSTANCE_NAME].
|
@@ -22847,6 +22957,7 @@ module Google
|
|
22847
22957
|
|
22848
22958
|
# Update properties of this object
|
22849
22959
|
def update!(**args)
|
22960
|
+
@all_instances = args[:all_instances] if args.key?(:all_instances)
|
22850
22961
|
@instances = args[:instances] if args.key?(:instances)
|
22851
22962
|
@minimal_action = args[:minimal_action] if args.key?(:minimal_action)
|
22852
22963
|
@most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action)
|
@@ -24753,6 +24864,11 @@ module Google
|
|
24753
24864
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
24754
24865
|
include Google::Apis::Core::Hashable
|
24755
24866
|
|
24867
|
+
# Chain name that the snapshot is created in.
|
24868
|
+
# Corresponds to the JSON property `chainName`
|
24869
|
+
# @return [String]
|
24870
|
+
attr_accessor :chain_name
|
24871
|
+
|
24756
24872
|
# Indication to perform a 'guest aware' snapshot.
|
24757
24873
|
# Corresponds to the JSON property `guestFlush`
|
24758
24874
|
# @return [Boolean]
|
@@ -24777,6 +24893,7 @@ module Google
|
|
24777
24893
|
|
24778
24894
|
# Update properties of this object
|
24779
24895
|
def update!(**args)
|
24896
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
24780
24897
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
24781
24898
|
@labels = args[:labels] if args.key?(:labels)
|
24782
24899
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
@@ -24896,8 +25013,9 @@ module Google
|
|
24896
25013
|
attr_accessor :next_hop_gateway
|
24897
25014
|
|
24898
25015
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
24899
|
-
# handle matching packets
|
24900
|
-
#
|
25016
|
+
# handle matching packets or the IP address of the forwarding Rule. For example,
|
25017
|
+
# the following are all valid URLs:
|
25018
|
+
# - 10.128.0.56
|
24901
25019
|
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
24902
25020
|
# forwardingRules/forwardingRule
|
24903
25021
|
# - regions/region/forwardingRules/forwardingRule
|
@@ -26519,10 +26637,10 @@ module Google
|
|
26519
26637
|
end
|
26520
26638
|
end
|
26521
26639
|
|
26522
|
-
# Represents a Cloud Armor
|
26640
|
+
# Represents a Google Cloud Armor security policy resource.
|
26523
26641
|
# Only external backend services that use load balancers can reference a
|
26524
|
-
#
|
26525
|
-
#
|
26642
|
+
# security policy. For more information, see Google Cloud Armor security policy
|
26643
|
+
# overview. (== resource_for `$api_version`.securityPolicies ==)
|
26526
26644
|
class SecurityPolicy
|
26527
26645
|
include Google::Apis::Core::Hashable
|
26528
26646
|
|
@@ -26866,6 +26984,48 @@ module Google
|
|
26866
26984
|
end
|
26867
26985
|
end
|
26868
26986
|
|
26987
|
+
# The authentication and authorization settings for a BackendService.
|
26988
|
+
class SecuritySettings
|
26989
|
+
include Google::Apis::Core::Hashable
|
26990
|
+
|
26991
|
+
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
26992
|
+
# describes how clients should authenticate with this service's backends.
|
26993
|
+
# clientTlsPolicy only applies to a global BackendService with the
|
26994
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
26995
|
+
# If left blank, communications are not encrypted.
|
26996
|
+
# Note: This field currently has no impact.
|
26997
|
+
# Corresponds to the JSON property `clientTlsPolicy`
|
26998
|
+
# @return [String]
|
26999
|
+
attr_accessor :client_tls_policy
|
27000
|
+
|
27001
|
+
# Optional. A list of Subject Alternative Names (SANs) that the client verifies
|
27002
|
+
# during a mutual TLS handshake with an server/endpoint for this BackendService.
|
27003
|
+
# When the server presents its X.509 certificate to the client, the client
|
27004
|
+
# inspects the certificate's subjectAltName field. If the field contains one of
|
27005
|
+
# the specified values, the communication continues. Otherwise, it fails. This
|
27006
|
+
# additional check enables the client to verify that the server is authorized to
|
27007
|
+
# run the requested service.
|
27008
|
+
# Note that the contents of the server certificate's subjectAltName field are
|
27009
|
+
# configured by the Public Key Infrastructure which provisions server identities.
|
27010
|
+
# Only applies to a global BackendService with loadBalancingScheme set to
|
27011
|
+
# INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached
|
27012
|
+
# clientTlsPolicy with clientCertificate (mTLS mode).
|
27013
|
+
# Note: This field currently has no impact.
|
27014
|
+
# Corresponds to the JSON property `subjectAltNames`
|
27015
|
+
# @return [Array<String>]
|
27016
|
+
attr_accessor :subject_alt_names
|
27017
|
+
|
27018
|
+
def initialize(**args)
|
27019
|
+
update!(**args)
|
27020
|
+
end
|
27021
|
+
|
27022
|
+
# Update properties of this object
|
27023
|
+
def update!(**args)
|
27024
|
+
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
27025
|
+
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
27026
|
+
end
|
27027
|
+
end
|
27028
|
+
|
26869
27029
|
# An instance's serial console output.
|
26870
27030
|
class SerialPortOutput
|
26871
27031
|
include Google::Apis::Core::Hashable
|
@@ -27120,6 +27280,16 @@ module Google
|
|
27120
27280
|
attr_accessor :auto_created
|
27121
27281
|
alias_method :auto_created?, :auto_created
|
27122
27282
|
|
27283
|
+
# Creates the new snapshot in the snapshot chain labeled with the specified name.
|
27284
|
+
# The chain name must be 1-63 characters long and comply with RFC1035. This is
|
27285
|
+
# an uncommon option only for advanced service owners who needs to create
|
27286
|
+
# separate snapshot chains, for example, for chargeback tracking. When you
|
27287
|
+
# describe your snapshot resource, this field is visible only if it has a non-
|
27288
|
+
# empty value.
|
27289
|
+
# Corresponds to the JSON property `chainName`
|
27290
|
+
# @return [String]
|
27291
|
+
attr_accessor :chain_name
|
27292
|
+
|
27123
27293
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
27124
27294
|
# Corresponds to the JSON property `creationTimestamp`
|
27125
27295
|
# @return [String]
|
@@ -27264,6 +27434,7 @@ module Google
|
|
27264
27434
|
# Update properties of this object
|
27265
27435
|
def update!(**args)
|
27266
27436
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
27437
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
27267
27438
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
27268
27439
|
@description = args[:description] if args.key?(:description)
|
27269
27440
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@@ -28084,10 +28255,10 @@ module Google
|
|
28084
28255
|
end
|
28085
28256
|
end
|
28086
28257
|
|
28087
|
-
# Represents a Cloud Armor
|
28258
|
+
# Represents a Google Cloud Armor security policy resource.
|
28088
28259
|
# Only external backend services used by HTTP or HTTPS load balancers can
|
28089
|
-
# reference a
|
28090
|
-
#
|
28260
|
+
# reference a security policy. For more information, see Google Cloud Armor
|
28261
|
+
# security policy overview. (== resource_for `$api_version`.sslPolicies ==)
|
28091
28262
|
class SslPolicy
|
28092
28263
|
include Google::Apis::Core::Hashable
|
28093
28264
|
|
@@ -29460,6 +29631,19 @@ module Google
|
|
29460
29631
|
# @return [String]
|
29461
29632
|
attr_accessor :name
|
29462
29633
|
|
29634
|
+
# This field only applies when the forwarding rule that references this target
|
29635
|
+
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
29636
|
+
# When this field is set to true, Envoy proxies set up inbound traffic
|
29637
|
+
# interception and bind to the IP address and port specified in the forwarding
|
29638
|
+
# rule. This is generally useful when using Traffic Director to configure Envoy
|
29639
|
+
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
29640
|
+
# proxy listens for inbound requests and handles requests when it receives them.
|
29641
|
+
# The default is false.
|
29642
|
+
# Corresponds to the JSON property `proxyBind`
|
29643
|
+
# @return [Boolean]
|
29644
|
+
attr_accessor :proxy_bind
|
29645
|
+
alias_method :proxy_bind?, :proxy_bind
|
29646
|
+
|
29463
29647
|
# [Output Only] URL of the region where the regional Target HTTP Proxy resides.
|
29464
29648
|
# This field is not applicable to global Target HTTP Proxies.
|
29465
29649
|
# Corresponds to the JSON property `region`
|
@@ -29489,6 +29673,7 @@ module Google
|
|
29489
29673
|
@id = args[:id] if args.key?(:id)
|
29490
29674
|
@kind = args[:kind] if args.key?(:kind)
|
29491
29675
|
@name = args[:name] if args.key?(:name)
|
29676
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
29492
29677
|
@region = args[:region] if args.key?(:region)
|
29493
29678
|
@self_link = args[:self_link] if args.key?(:self_link)
|
29494
29679
|
@url_map = args[:url_map] if args.key?(:url_map)
|
@@ -29811,6 +29996,18 @@ module Google
|
|
29811
29996
|
class TargetHttpsProxy
|
29812
29997
|
include Google::Apis::Core::Hashable
|
29813
29998
|
|
29999
|
+
# Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
|
30000
|
+
# that describes how the proxy should authorize inbound traffic. If left blank,
|
30001
|
+
# access will not be restricted by an authorization policy.
|
30002
|
+
# Refer to the AuthorizationPolicy resource for additional details.
|
30003
|
+
# authorizationPolicy only applies to a global TargetHttpsProxy attached to
|
30004
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
30005
|
+
# INTERNAL_SELF_MANAGED.
|
30006
|
+
# Note: This field currently has no impact.
|
30007
|
+
# Corresponds to the JSON property `authorizationPolicy`
|
30008
|
+
# @return [String]
|
30009
|
+
attr_accessor :authorization_policy
|
30010
|
+
|
29814
30011
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
29815
30012
|
# Corresponds to the JSON property `creationTimestamp`
|
29816
30013
|
# @return [String]
|
@@ -29844,6 +30041,19 @@ module Google
|
|
29844
30041
|
# @return [String]
|
29845
30042
|
attr_accessor :name
|
29846
30043
|
|
30044
|
+
# This field only applies when the forwarding rule that references this target
|
30045
|
+
# proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
30046
|
+
# When this field is set to true, Envoy proxies set up inbound traffic
|
30047
|
+
# interception and bind to the IP address and port specified in the forwarding
|
30048
|
+
# rule. This is generally useful when using Traffic Director to configure Envoy
|
30049
|
+
# as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy
|
30050
|
+
# proxy listens for inbound requests and handles requests when it receives them.
|
30051
|
+
# The default is false.
|
30052
|
+
# Corresponds to the JSON property `proxyBind`
|
30053
|
+
# @return [Boolean]
|
30054
|
+
attr_accessor :proxy_bind
|
30055
|
+
alias_method :proxy_bind?, :proxy_bind
|
30056
|
+
|
29847
30057
|
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
29848
30058
|
# setting determines whether the load balancer attempts to negotiate QUIC with
|
29849
30059
|
# clients. You can specify NONE, ENABLE, or DISABLE.
|
@@ -29868,6 +30078,17 @@ module Google
|
|
29868
30078
|
# @return [String]
|
29869
30079
|
attr_accessor :self_link
|
29870
30080
|
|
30081
|
+
# Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that
|
30082
|
+
# describes how the proxy should authenticate inbound traffic.
|
30083
|
+
# serverTlsPolicy only applies to a global TargetHttpsProxy attached to
|
30084
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
30085
|
+
# INTERNAL_SELF_MANAGED.
|
30086
|
+
# If left blank, communications are not encrypted.
|
30087
|
+
# Note: This field currently has no impact.
|
30088
|
+
# Corresponds to the JSON property `serverTlsPolicy`
|
30089
|
+
# @return [String]
|
30090
|
+
attr_accessor :server_tls_policy
|
30091
|
+
|
29871
30092
|
# URLs to SslCertificate resources that are used to authenticate connections
|
29872
30093
|
# between users and the load balancer. At least one SSL certificate must be
|
29873
30094
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
@@ -29898,14 +30119,17 @@ module Google
|
|
29898
30119
|
|
29899
30120
|
# Update properties of this object
|
29900
30121
|
def update!(**args)
|
30122
|
+
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
29901
30123
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
29902
30124
|
@description = args[:description] if args.key?(:description)
|
29903
30125
|
@id = args[:id] if args.key?(:id)
|
29904
30126
|
@kind = args[:kind] if args.key?(:kind)
|
29905
30127
|
@name = args[:name] if args.key?(:name)
|
30128
|
+
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
29906
30129
|
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
29907
30130
|
@region = args[:region] if args.key?(:region)
|
29908
30131
|
@self_link = args[:self_link] if args.key?(:self_link)
|
30132
|
+
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
29909
30133
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
29910
30134
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
29911
30135
|
@url_map = args[:url_map] if args.key?(:url_map)
|
@@ -30582,9 +30806,9 @@ module Google
|
|
30582
30806
|
class TargetPool
|
30583
30807
|
include Google::Apis::Core::Hashable
|
30584
30808
|
|
30585
|
-
#
|
30586
|
-
# forwarding rule as the primary pool,
|
30587
|
-
# set to a value between [0, 1].
|
30809
|
+
# The server-defined URL for the resource. This field is applicable only when
|
30810
|
+
# the containing target pool is serving a forwarding rule as the primary pool,
|
30811
|
+
# and its failoverRatio field is properly set to a value between [0, 1].
|
30588
30812
|
# backupPool and failoverRatio together define the fallback behavior of the
|
30589
30813
|
# primary target pool: if the ratio of the healthy instances in the primary pool
|
30590
30814
|
# is at or below failoverRatio, traffic arriving at the load-balanced IP will be
|