google-api-client 0.9.13 → 0.9.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -8
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -6
- data/generated/google/apis/bigquery_v2/representations.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +4 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +5 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +32 -19
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -3
- data/generated/google/apis/cloudbuild_v1/service.rb +4 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +226 -11
- data/generated/google/apis/compute_beta/representations.rb +85 -0
- data/generated/google/apis/compute_beta/service.rb +465 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +654 -11
- data/generated/google/apis/compute_v1/representations.rb +231 -0
- data/generated/google/apis/compute_v1/service.rb +574 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +30 -16
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -1
- data/generated/google/apis/fitness_v1/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +7 -7
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +63 -4
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +2 -2
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +9 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1beta1/service.rb +2 -2
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +0 -34
- data/generated/google/apis/storage_v1/representations.rb +0 -16
- data/generated/google/apis/storage_v1/service.rb +3 -18
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class ConnectionDraining
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class CustomerEncryptionKey
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -322,6 +328,36 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class Http2HealthCheck
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class HttpHealthCheck
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class HttpsHealthCheck
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class HealthCheck
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class HealthCheckList
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
325
361
|
class HealthCheckReference
|
326
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
363
|
|
@@ -922,6 +958,12 @@ module Google
|
|
922
958
|
include Google::Apis::Core::JsonObjectSupport
|
923
959
|
end
|
924
960
|
|
961
|
+
class SslHealthCheck
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
925
967
|
class Scheduling
|
926
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
969
|
|
@@ -1000,6 +1042,12 @@ module Google
|
|
1000
1042
|
include Google::Apis::Core::JsonObjectSupport
|
1001
1043
|
end
|
1002
1044
|
|
1045
|
+
class TcpHealthCheck
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
|
+
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
1049
|
+
end
|
1050
|
+
|
1003
1051
|
class Tags
|
1004
1052
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
1053
|
|
@@ -1144,6 +1192,36 @@ module Google
|
|
1144
1192
|
include Google::Apis::Core::JsonObjectSupport
|
1145
1193
|
end
|
1146
1194
|
|
1195
|
+
class TargetSslProxiesSetBackendServiceRequest
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
|
+
|
1198
|
+
include Google::Apis::Core::JsonObjectSupport
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
class TargetSslProxiesSetProxyHeaderRequest
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
class TargetSslProxiesSetSslCertificatesRequest
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1209
|
+
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
class TargetSslProxy
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1215
|
+
|
1216
|
+
include Google::Apis::Core::JsonObjectSupport
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
class TargetSslProxyList
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
|
+
|
1222
|
+
include Google::Apis::Core::JsonObjectSupport
|
1223
|
+
end
|
1224
|
+
|
1147
1225
|
class TargetVpnGateway
|
1148
1226
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
1227
|
|
@@ -1505,6 +1583,8 @@ module Google
|
|
1505
1583
|
property :capacity_scaler, as: 'capacityScaler'
|
1506
1584
|
property :description, as: 'description'
|
1507
1585
|
property :group, as: 'group'
|
1586
|
+
property :max_connections, as: 'maxConnections'
|
1587
|
+
property :max_connections_per_instance, as: 'maxConnectionsPerInstance'
|
1508
1588
|
property :max_rate, as: 'maxRate'
|
1509
1589
|
property :max_rate_per_instance, as: 'maxRatePerInstance'
|
1510
1590
|
property :max_utilization, as: 'maxUtilization'
|
@@ -1517,6 +1597,8 @@ module Google
|
|
1517
1597
|
property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec'
|
1518
1598
|
collection :backends, as: 'backends', class: Google::Apis::ComputeV1::Backend, decorator: Google::Apis::ComputeV1::Backend::Representation
|
1519
1599
|
|
1600
|
+
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeV1::ConnectionDraining, decorator: Google::Apis::ComputeV1::ConnectionDraining::Representation
|
1601
|
+
|
1520
1602
|
property :creation_timestamp, as: 'creationTimestamp'
|
1521
1603
|
property :description, as: 'description'
|
1522
1604
|
property :enable_cdn, as: 'enableCDN'
|
@@ -1563,6 +1645,13 @@ module Google
|
|
1563
1645
|
end
|
1564
1646
|
end
|
1565
1647
|
|
1648
|
+
class ConnectionDraining
|
1649
|
+
# @private
|
1650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1651
|
+
property :draining_timeout_sec, as: 'drainingTimeoutSec'
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1566
1655
|
class CustomerEncryptionKey
|
1567
1656
|
# @private
|
1568
1657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1865,6 +1954,78 @@ module Google
|
|
1865
1954
|
end
|
1866
1955
|
end
|
1867
1956
|
|
1957
|
+
class Http2HealthCheck
|
1958
|
+
# @private
|
1959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1960
|
+
property :host, as: 'host'
|
1961
|
+
property :port, as: 'port'
|
1962
|
+
property :port_name, as: 'portName'
|
1963
|
+
property :proxy_header, as: 'proxyHeader'
|
1964
|
+
property :request_path, as: 'requestPath'
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
class HttpHealthCheck
|
1969
|
+
# @private
|
1970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1971
|
+
property :host, as: 'host'
|
1972
|
+
property :port, as: 'port'
|
1973
|
+
property :port_name, as: 'portName'
|
1974
|
+
property :proxy_header, as: 'proxyHeader'
|
1975
|
+
property :request_path, as: 'requestPath'
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
class HttpsHealthCheck
|
1980
|
+
# @private
|
1981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1982
|
+
property :host, as: 'host'
|
1983
|
+
property :port, as: 'port'
|
1984
|
+
property :port_name, as: 'portName'
|
1985
|
+
property :proxy_header, as: 'proxyHeader'
|
1986
|
+
property :request_path, as: 'requestPath'
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
class HealthCheck
|
1991
|
+
# @private
|
1992
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1993
|
+
property :check_interval_sec, as: 'checkIntervalSec'
|
1994
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
1995
|
+
property :description, as: 'description'
|
1996
|
+
property :healthy_threshold, as: 'healthyThreshold'
|
1997
|
+
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeV1::Http2HealthCheck, decorator: Google::Apis::ComputeV1::Http2HealthCheck::Representation
|
1998
|
+
|
1999
|
+
property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeV1::HttpHealthCheck, decorator: Google::Apis::ComputeV1::HttpHealthCheck::Representation
|
2000
|
+
|
2001
|
+
property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeV1::HttpsHealthCheck, decorator: Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
2002
|
+
|
2003
|
+
property :id, as: 'id'
|
2004
|
+
property :kind, as: 'kind'
|
2005
|
+
property :name, as: 'name'
|
2006
|
+
property :self_link, as: 'selfLink'
|
2007
|
+
property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeV1::SslHealthCheck, decorator: Google::Apis::ComputeV1::SslHealthCheck::Representation
|
2008
|
+
|
2009
|
+
property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeV1::TcpHealthCheck, decorator: Google::Apis::ComputeV1::TcpHealthCheck::Representation
|
2010
|
+
|
2011
|
+
property :timeout_sec, as: 'timeoutSec'
|
2012
|
+
property :type, as: 'type'
|
2013
|
+
property :unhealthy_threshold, as: 'unhealthyThreshold'
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
class HealthCheckList
|
2018
|
+
# @private
|
2019
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2020
|
+
property :id, as: 'id'
|
2021
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::HealthCheck, decorator: Google::Apis::ComputeV1::HealthCheck::Representation
|
2022
|
+
|
2023
|
+
property :kind, as: 'kind'
|
2024
|
+
property :next_page_token, as: 'nextPageToken'
|
2025
|
+
property :self_link, as: 'selfLink'
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
1868
2029
|
class HealthCheckReference
|
1869
2030
|
# @private
|
1870
2031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3015,6 +3176,17 @@ module Google
|
|
3015
3176
|
end
|
3016
3177
|
end
|
3017
3178
|
|
3179
|
+
class SslHealthCheck
|
3180
|
+
# @private
|
3181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3182
|
+
property :port, as: 'port'
|
3183
|
+
property :port_name, as: 'portName'
|
3184
|
+
property :proxy_header, as: 'proxyHeader'
|
3185
|
+
property :request, as: 'request'
|
3186
|
+
property :response, as: 'response'
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
|
3018
3190
|
class Scheduling
|
3019
3191
|
# @private
|
3020
3192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3170,6 +3342,17 @@ module Google
|
|
3170
3342
|
end
|
3171
3343
|
end
|
3172
3344
|
|
3345
|
+
class TcpHealthCheck
|
3346
|
+
# @private
|
3347
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3348
|
+
property :port, as: 'port'
|
3349
|
+
property :port_name, as: 'portName'
|
3350
|
+
property :proxy_header, as: 'proxyHeader'
|
3351
|
+
property :request, as: 'request'
|
3352
|
+
property :response, as: 'response'
|
3353
|
+
end
|
3354
|
+
end
|
3355
|
+
|
3173
3356
|
class Tags
|
3174
3357
|
# @private
|
3175
3358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3421,6 +3604,54 @@ module Google
|
|
3421
3604
|
end
|
3422
3605
|
end
|
3423
3606
|
|
3607
|
+
class TargetSslProxiesSetBackendServiceRequest
|
3608
|
+
# @private
|
3609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3610
|
+
property :service, as: 'service'
|
3611
|
+
end
|
3612
|
+
end
|
3613
|
+
|
3614
|
+
class TargetSslProxiesSetProxyHeaderRequest
|
3615
|
+
# @private
|
3616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3617
|
+
property :proxy_header, as: 'proxyHeader'
|
3618
|
+
end
|
3619
|
+
end
|
3620
|
+
|
3621
|
+
class TargetSslProxiesSetSslCertificatesRequest
|
3622
|
+
# @private
|
3623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3624
|
+
collection :ssl_certificates, as: 'sslCertificates'
|
3625
|
+
end
|
3626
|
+
end
|
3627
|
+
|
3628
|
+
class TargetSslProxy
|
3629
|
+
# @private
|
3630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3631
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
3632
|
+
property :description, as: 'description'
|
3633
|
+
property :id, as: 'id'
|
3634
|
+
property :kind, as: 'kind'
|
3635
|
+
property :name, as: 'name'
|
3636
|
+
property :proxy_header, as: 'proxyHeader'
|
3637
|
+
property :self_link, as: 'selfLink'
|
3638
|
+
property :service, as: 'service'
|
3639
|
+
collection :ssl_certificates, as: 'sslCertificates'
|
3640
|
+
end
|
3641
|
+
end
|
3642
|
+
|
3643
|
+
class TargetSslProxyList
|
3644
|
+
# @private
|
3645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3646
|
+
property :id, as: 'id'
|
3647
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetSslProxy, decorator: Google::Apis::ComputeV1::TargetSslProxy::Representation
|
3648
|
+
|
3649
|
+
property :kind, as: 'kind'
|
3650
|
+
property :next_page_token, as: 'nextPageToken'
|
3651
|
+
property :self_link, as: 'selfLink'
|
3652
|
+
end
|
3653
|
+
end
|
3654
|
+
|
3424
3655
|
class TargetVpnGateway
|
3425
3656
|
# @private
|
3426
3657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2704,6 +2704,273 @@ module Google
|
|
2704
2704
|
execute_or_queue_command(command, &block)
|
2705
2705
|
end
|
2706
2706
|
|
2707
|
+
# Deletes the specified HealthCheck resource.
|
2708
|
+
# @param [String] project
|
2709
|
+
# Project ID for this request.
|
2710
|
+
# @param [String] health_check
|
2711
|
+
# Name of the HealthCheck resource to delete.
|
2712
|
+
# @param [String] fields
|
2713
|
+
# Selector specifying which fields to include in a partial response.
|
2714
|
+
# @param [String] quota_user
|
2715
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2716
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2717
|
+
# Overrides userIp if both are provided.
|
2718
|
+
# @param [String] user_ip
|
2719
|
+
# IP address of the site where the request originates. Use this if you want to
|
2720
|
+
# enforce per-user limits.
|
2721
|
+
# @param [Google::Apis::RequestOptions] options
|
2722
|
+
# Request-specific options
|
2723
|
+
#
|
2724
|
+
# @yield [result, err] Result & error if block supplied
|
2725
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
2726
|
+
# @yieldparam err [StandardError] error object if request failed
|
2727
|
+
#
|
2728
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
2729
|
+
#
|
2730
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2731
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2732
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2733
|
+
def delete_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2734
|
+
command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options)
|
2735
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
2736
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
2737
|
+
command.params['project'] = project unless project.nil?
|
2738
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
2739
|
+
command.query['fields'] = fields unless fields.nil?
|
2740
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2741
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2742
|
+
execute_or_queue_command(command, &block)
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
# Returns the specified HealthCheck resource. Get a list of available health
|
2746
|
+
# checks by making a list() request.
|
2747
|
+
# @param [String] project
|
2748
|
+
# Project ID for this request.
|
2749
|
+
# @param [String] health_check
|
2750
|
+
# Name of the HealthCheck resource to return.
|
2751
|
+
# @param [String] fields
|
2752
|
+
# Selector specifying which fields to include in a partial response.
|
2753
|
+
# @param [String] quota_user
|
2754
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2755
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2756
|
+
# Overrides userIp if both are provided.
|
2757
|
+
# @param [String] user_ip
|
2758
|
+
# IP address of the site where the request originates. Use this if you want to
|
2759
|
+
# enforce per-user limits.
|
2760
|
+
# @param [Google::Apis::RequestOptions] options
|
2761
|
+
# Request-specific options
|
2762
|
+
#
|
2763
|
+
# @yield [result, err] Result & error if block supplied
|
2764
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheck] parsed result object
|
2765
|
+
# @yieldparam err [StandardError] error object if request failed
|
2766
|
+
#
|
2767
|
+
# @return [Google::Apis::ComputeV1::HealthCheck]
|
2768
|
+
#
|
2769
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2770
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2771
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2772
|
+
def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2773
|
+
command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options)
|
2774
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
2775
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheck
|
2776
|
+
command.params['project'] = project unless project.nil?
|
2777
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
2778
|
+
command.query['fields'] = fields unless fields.nil?
|
2779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2780
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2781
|
+
execute_or_queue_command(command, &block)
|
2782
|
+
end
|
2783
|
+
|
2784
|
+
# Creates a HealthCheck resource in the specified project using the data
|
2785
|
+
# included in the request.
|
2786
|
+
# @param [String] project
|
2787
|
+
# Project ID for this request.
|
2788
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
2789
|
+
# @param [String] fields
|
2790
|
+
# Selector specifying which fields to include in a partial response.
|
2791
|
+
# @param [String] quota_user
|
2792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2794
|
+
# Overrides userIp if both are provided.
|
2795
|
+
# @param [String] user_ip
|
2796
|
+
# IP address of the site where the request originates. Use this if you want to
|
2797
|
+
# enforce per-user limits.
|
2798
|
+
# @param [Google::Apis::RequestOptions] options
|
2799
|
+
# Request-specific options
|
2800
|
+
#
|
2801
|
+
# @yield [result, err] Result & error if block supplied
|
2802
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
2803
|
+
# @yieldparam err [StandardError] error object if request failed
|
2804
|
+
#
|
2805
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
2806
|
+
#
|
2807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2810
|
+
def insert_health_check(project, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2811
|
+
command = make_simple_command(:post, '{project}/global/healthChecks', options)
|
2812
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
2813
|
+
command.request_object = health_check_object
|
2814
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
2815
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
2816
|
+
command.params['project'] = project unless project.nil?
|
2817
|
+
command.query['fields'] = fields unless fields.nil?
|
2818
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2819
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2820
|
+
execute_or_queue_command(command, &block)
|
2821
|
+
end
|
2822
|
+
|
2823
|
+
# Retrieves the list of HealthCheck resources available to the specified project.
|
2824
|
+
# @param [String] project
|
2825
|
+
# Project ID for this request.
|
2826
|
+
# @param [String] filter
|
2827
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
2828
|
+
# expression`. Your `expression` must be in the format: field_name
|
2829
|
+
# comparison_string literal_string.
|
2830
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
2831
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
2832
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
2833
|
+
# to filter to. The literal value must be valid for the type of field you are
|
2834
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
2835
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2836
|
+
# must match the entire field.
|
2837
|
+
# For example, to filter for instances that do not have a name of example-
|
2838
|
+
# instance, you would use filter=name ne example-instance.
|
2839
|
+
# You can filter on nested fields. For example, you could filter on instances
|
2840
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2841
|
+
# nested fields to take advantage of labels to organize and search for results
|
2842
|
+
# based on label values.
|
2843
|
+
# To filter on multiple expressions, provide each separate expression within
|
2844
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
2845
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
2846
|
+
# resources must match all expressions to pass the filters.
|
2847
|
+
# @param [Fixnum] max_results
|
2848
|
+
# The maximum number of results per page that should be returned. If the number
|
2849
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
2850
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
2851
|
+
# list requests.
|
2852
|
+
# @param [String] page_token
|
2853
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
2854
|
+
# a previous list request to get the next page of results.
|
2855
|
+
# @param [String] fields
|
2856
|
+
# Selector specifying which fields to include in a partial response.
|
2857
|
+
# @param [String] quota_user
|
2858
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2859
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2860
|
+
# Overrides userIp if both are provided.
|
2861
|
+
# @param [String] user_ip
|
2862
|
+
# IP address of the site where the request originates. Use this if you want to
|
2863
|
+
# enforce per-user limits.
|
2864
|
+
# @param [Google::Apis::RequestOptions] options
|
2865
|
+
# Request-specific options
|
2866
|
+
#
|
2867
|
+
# @yield [result, err] Result & error if block supplied
|
2868
|
+
# @yieldparam result [Google::Apis::ComputeV1::HealthCheckList] parsed result object
|
2869
|
+
# @yieldparam err [StandardError] error object if request failed
|
2870
|
+
#
|
2871
|
+
# @return [Google::Apis::ComputeV1::HealthCheckList]
|
2872
|
+
#
|
2873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2876
|
+
def list_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2877
|
+
command = make_simple_command(:get, '{project}/global/healthChecks', options)
|
2878
|
+
command.response_representation = Google::Apis::ComputeV1::HealthCheckList::Representation
|
2879
|
+
command.response_class = Google::Apis::ComputeV1::HealthCheckList
|
2880
|
+
command.params['project'] = project unless project.nil?
|
2881
|
+
command.query['filter'] = filter unless filter.nil?
|
2882
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
2883
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2884
|
+
command.query['fields'] = fields unless fields.nil?
|
2885
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2886
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2887
|
+
execute_or_queue_command(command, &block)
|
2888
|
+
end
|
2889
|
+
|
2890
|
+
# Updates a HealthCheck resource in the specified project using the data
|
2891
|
+
# included in the request. This method supports patch semantics.
|
2892
|
+
# @param [String] project
|
2893
|
+
# Project ID for this request.
|
2894
|
+
# @param [String] health_check
|
2895
|
+
# Name of the HealthCheck resource to update.
|
2896
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
2897
|
+
# @param [String] fields
|
2898
|
+
# Selector specifying which fields to include in a partial response.
|
2899
|
+
# @param [String] quota_user
|
2900
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2901
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2902
|
+
# Overrides userIp if both are provided.
|
2903
|
+
# @param [String] user_ip
|
2904
|
+
# IP address of the site where the request originates. Use this if you want to
|
2905
|
+
# enforce per-user limits.
|
2906
|
+
# @param [Google::Apis::RequestOptions] options
|
2907
|
+
# Request-specific options
|
2908
|
+
#
|
2909
|
+
# @yield [result, err] Result & error if block supplied
|
2910
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
2911
|
+
# @yieldparam err [StandardError] error object if request failed
|
2912
|
+
#
|
2913
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
2914
|
+
#
|
2915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2918
|
+
def patch_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2919
|
+
command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options)
|
2920
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
2921
|
+
command.request_object = health_check_object
|
2922
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
2923
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
2924
|
+
command.params['project'] = project unless project.nil?
|
2925
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
2926
|
+
command.query['fields'] = fields unless fields.nil?
|
2927
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2928
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2929
|
+
execute_or_queue_command(command, &block)
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# Updates a HealthCheck resource in the specified project using the data
|
2933
|
+
# included in the request.
|
2934
|
+
# @param [String] project
|
2935
|
+
# Project ID for this request.
|
2936
|
+
# @param [String] health_check
|
2937
|
+
# Name of the HealthCheck resource to update.
|
2938
|
+
# @param [Google::Apis::ComputeV1::HealthCheck] health_check_object
|
2939
|
+
# @param [String] fields
|
2940
|
+
# Selector specifying which fields to include in a partial response.
|
2941
|
+
# @param [String] quota_user
|
2942
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2943
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2944
|
+
# Overrides userIp if both are provided.
|
2945
|
+
# @param [String] user_ip
|
2946
|
+
# IP address of the site where the request originates. Use this if you want to
|
2947
|
+
# enforce per-user limits.
|
2948
|
+
# @param [Google::Apis::RequestOptions] options
|
2949
|
+
# Request-specific options
|
2950
|
+
#
|
2951
|
+
# @yield [result, err] Result & error if block supplied
|
2952
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
2953
|
+
# @yieldparam err [StandardError] error object if request failed
|
2954
|
+
#
|
2955
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
2956
|
+
#
|
2957
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2958
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2959
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2960
|
+
def update_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2961
|
+
command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options)
|
2962
|
+
command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation
|
2963
|
+
command.request_object = health_check_object
|
2964
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
2965
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
2966
|
+
command.params['project'] = project unless project.nil?
|
2967
|
+
command.params['healthCheck'] = health_check unless health_check.nil?
|
2968
|
+
command.query['fields'] = fields unless fields.nil?
|
2969
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2970
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2971
|
+
execute_or_queue_command(command, &block)
|
2972
|
+
end
|
2973
|
+
|
2707
2974
|
# Deletes the specified HttpHealthCheck resource.
|
2708
2975
|
# @param [String] project
|
2709
2976
|
# Project ID for this request.
|
@@ -9017,6 +9284,313 @@ module Google
|
|
9017
9284
|
execute_or_queue_command(command, &block)
|
9018
9285
|
end
|
9019
9286
|
|
9287
|
+
# Deletes the specified TargetSslProxy resource.
|
9288
|
+
# @param [String] project
|
9289
|
+
# Project ID for this request.
|
9290
|
+
# @param [String] target_ssl_proxy
|
9291
|
+
# Name of the TargetSslProxy resource to delete.
|
9292
|
+
# @param [String] fields
|
9293
|
+
# Selector specifying which fields to include in a partial response.
|
9294
|
+
# @param [String] quota_user
|
9295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9297
|
+
# Overrides userIp if both are provided.
|
9298
|
+
# @param [String] user_ip
|
9299
|
+
# IP address of the site where the request originates. Use this if you want to
|
9300
|
+
# enforce per-user limits.
|
9301
|
+
# @param [Google::Apis::RequestOptions] options
|
9302
|
+
# Request-specific options
|
9303
|
+
#
|
9304
|
+
# @yield [result, err] Result & error if block supplied
|
9305
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9306
|
+
# @yieldparam err [StandardError] error object if request failed
|
9307
|
+
#
|
9308
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9309
|
+
#
|
9310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9313
|
+
def delete_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9314
|
+
command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
9315
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9316
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9317
|
+
command.params['project'] = project unless project.nil?
|
9318
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
9319
|
+
command.query['fields'] = fields unless fields.nil?
|
9320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9321
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9322
|
+
execute_or_queue_command(command, &block)
|
9323
|
+
end
|
9324
|
+
|
9325
|
+
# Returns the specified TargetSslProxy resource. Get a list of available target
|
9326
|
+
# SSL proxies by making a list() request.
|
9327
|
+
# @param [String] project
|
9328
|
+
# Project ID for this request.
|
9329
|
+
# @param [String] target_ssl_proxy
|
9330
|
+
# Name of the TargetSslProxy resource to return.
|
9331
|
+
# @param [String] fields
|
9332
|
+
# Selector specifying which fields to include in a partial response.
|
9333
|
+
# @param [String] quota_user
|
9334
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9335
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9336
|
+
# Overrides userIp if both are provided.
|
9337
|
+
# @param [String] user_ip
|
9338
|
+
# IP address of the site where the request originates. Use this if you want to
|
9339
|
+
# enforce per-user limits.
|
9340
|
+
# @param [Google::Apis::RequestOptions] options
|
9341
|
+
# Request-specific options
|
9342
|
+
#
|
9343
|
+
# @yield [result, err] Result & error if block supplied
|
9344
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetSslProxy] parsed result object
|
9345
|
+
# @yieldparam err [StandardError] error object if request failed
|
9346
|
+
#
|
9347
|
+
# @return [Google::Apis::ComputeV1::TargetSslProxy]
|
9348
|
+
#
|
9349
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9350
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9351
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9352
|
+
def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9353
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options)
|
9354
|
+
command.response_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
9355
|
+
command.response_class = Google::Apis::ComputeV1::TargetSslProxy
|
9356
|
+
command.params['project'] = project unless project.nil?
|
9357
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
9358
|
+
command.query['fields'] = fields unless fields.nil?
|
9359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9360
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9361
|
+
execute_or_queue_command(command, &block)
|
9362
|
+
end
|
9363
|
+
|
9364
|
+
# Creates a TargetSslProxy resource in the specified project using the data
|
9365
|
+
# included in the request.
|
9366
|
+
# @param [String] project
|
9367
|
+
# Project ID for this request.
|
9368
|
+
# @param [Google::Apis::ComputeV1::TargetSslProxy] target_ssl_proxy_object
|
9369
|
+
# @param [String] fields
|
9370
|
+
# Selector specifying which fields to include in a partial response.
|
9371
|
+
# @param [String] quota_user
|
9372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9374
|
+
# Overrides userIp if both are provided.
|
9375
|
+
# @param [String] user_ip
|
9376
|
+
# IP address of the site where the request originates. Use this if you want to
|
9377
|
+
# enforce per-user limits.
|
9378
|
+
# @param [Google::Apis::RequestOptions] options
|
9379
|
+
# Request-specific options
|
9380
|
+
#
|
9381
|
+
# @yield [result, err] Result & error if block supplied
|
9382
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9383
|
+
# @yieldparam err [StandardError] error object if request failed
|
9384
|
+
#
|
9385
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9386
|
+
#
|
9387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9390
|
+
def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9391
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies', options)
|
9392
|
+
command.request_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation
|
9393
|
+
command.request_object = target_ssl_proxy_object
|
9394
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9395
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9396
|
+
command.params['project'] = project unless project.nil?
|
9397
|
+
command.query['fields'] = fields unless fields.nil?
|
9398
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9399
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9400
|
+
execute_or_queue_command(command, &block)
|
9401
|
+
end
|
9402
|
+
|
9403
|
+
# Retrieves the list of TargetSslProxy resources available to the specified
|
9404
|
+
# project.
|
9405
|
+
# @param [String] project
|
9406
|
+
# Project ID for this request.
|
9407
|
+
# @param [String] filter
|
9408
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
9409
|
+
# expression`. Your `expression` must be in the format: field_name
|
9410
|
+
# comparison_string literal_string.
|
9411
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
9412
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
9413
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
9414
|
+
# to filter to. The literal value must be valid for the type of field you are
|
9415
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
9416
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9417
|
+
# must match the entire field.
|
9418
|
+
# For example, to filter for instances that do not have a name of example-
|
9419
|
+
# instance, you would use filter=name ne example-instance.
|
9420
|
+
# You can filter on nested fields. For example, you could filter on instances
|
9421
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9422
|
+
# nested fields to take advantage of labels to organize and search for results
|
9423
|
+
# based on label values.
|
9424
|
+
# To filter on multiple expressions, provide each separate expression within
|
9425
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
9426
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
9427
|
+
# resources must match all expressions to pass the filters.
|
9428
|
+
# @param [Fixnum] max_results
|
9429
|
+
# The maximum number of results per page that should be returned. If the number
|
9430
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
9431
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
9432
|
+
# list requests.
|
9433
|
+
# @param [String] page_token
|
9434
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
9435
|
+
# a previous list request to get the next page of results.
|
9436
|
+
# @param [String] fields
|
9437
|
+
# Selector specifying which fields to include in a partial response.
|
9438
|
+
# @param [String] quota_user
|
9439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9441
|
+
# Overrides userIp if both are provided.
|
9442
|
+
# @param [String] user_ip
|
9443
|
+
# IP address of the site where the request originates. Use this if you want to
|
9444
|
+
# enforce per-user limits.
|
9445
|
+
# @param [Google::Apis::RequestOptions] options
|
9446
|
+
# Request-specific options
|
9447
|
+
#
|
9448
|
+
# @yield [result, err] Result & error if block supplied
|
9449
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetSslProxyList] parsed result object
|
9450
|
+
# @yieldparam err [StandardError] error object if request failed
|
9451
|
+
#
|
9452
|
+
# @return [Google::Apis::ComputeV1::TargetSslProxyList]
|
9453
|
+
#
|
9454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9457
|
+
def list_target_ssl_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9458
|
+
command = make_simple_command(:get, '{project}/global/targetSslProxies', options)
|
9459
|
+
command.response_representation = Google::Apis::ComputeV1::TargetSslProxyList::Representation
|
9460
|
+
command.response_class = Google::Apis::ComputeV1::TargetSslProxyList
|
9461
|
+
command.params['project'] = project unless project.nil?
|
9462
|
+
command.query['filter'] = filter unless filter.nil?
|
9463
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
9464
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9465
|
+
command.query['fields'] = fields unless fields.nil?
|
9466
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9467
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9468
|
+
execute_or_queue_command(command, &block)
|
9469
|
+
end
|
9470
|
+
|
9471
|
+
# Changes the BackendService for TargetSslProxy.
|
9472
|
+
# @param [String] project
|
9473
|
+
# Project ID for this request.
|
9474
|
+
# @param [String] target_ssl_proxy
|
9475
|
+
# Name of the TargetSslProxy resource whose BackendService resource is to be set.
|
9476
|
+
# @param [Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest] target_ssl_proxies_set_backend_service_request_object
|
9477
|
+
# @param [String] fields
|
9478
|
+
# Selector specifying which fields to include in a partial response.
|
9479
|
+
# @param [String] quota_user
|
9480
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9481
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9482
|
+
# Overrides userIp if both are provided.
|
9483
|
+
# @param [String] user_ip
|
9484
|
+
# IP address of the site where the request originates. Use this if you want to
|
9485
|
+
# enforce per-user limits.
|
9486
|
+
# @param [Google::Apis::RequestOptions] options
|
9487
|
+
# Request-specific options
|
9488
|
+
#
|
9489
|
+
# @yield [result, err] Result & error if block supplied
|
9490
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9491
|
+
# @yieldparam err [StandardError] error object if request failed
|
9492
|
+
#
|
9493
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9494
|
+
#
|
9495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9498
|
+
def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9499
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options)
|
9500
|
+
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest::Representation
|
9501
|
+
command.request_object = target_ssl_proxies_set_backend_service_request_object
|
9502
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9503
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9504
|
+
command.params['project'] = project unless project.nil?
|
9505
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
9506
|
+
command.query['fields'] = fields unless fields.nil?
|
9507
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9508
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9509
|
+
execute_or_queue_command(command, &block)
|
9510
|
+
end
|
9511
|
+
|
9512
|
+
# Changes the ProxyHeaderType for TargetSslProxy.
|
9513
|
+
# @param [String] project
|
9514
|
+
# Project ID for this request.
|
9515
|
+
# @param [String] target_ssl_proxy
|
9516
|
+
# Name of the TargetSslProxy resource whose ProxyHeader is to be set.
|
9517
|
+
# @param [Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest] target_ssl_proxies_set_proxy_header_request_object
|
9518
|
+
# @param [String] fields
|
9519
|
+
# Selector specifying which fields to include in a partial response.
|
9520
|
+
# @param [String] quota_user
|
9521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9523
|
+
# Overrides userIp if both are provided.
|
9524
|
+
# @param [String] user_ip
|
9525
|
+
# IP address of the site where the request originates. Use this if you want to
|
9526
|
+
# enforce per-user limits.
|
9527
|
+
# @param [Google::Apis::RequestOptions] options
|
9528
|
+
# Request-specific options
|
9529
|
+
#
|
9530
|
+
# @yield [result, err] Result & error if block supplied
|
9531
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9532
|
+
# @yieldparam err [StandardError] error object if request failed
|
9533
|
+
#
|
9534
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9535
|
+
#
|
9536
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9537
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9538
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9539
|
+
def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9540
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options)
|
9541
|
+
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest::Representation
|
9542
|
+
command.request_object = target_ssl_proxies_set_proxy_header_request_object
|
9543
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9544
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9545
|
+
command.params['project'] = project unless project.nil?
|
9546
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
9547
|
+
command.query['fields'] = fields unless fields.nil?
|
9548
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9549
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9550
|
+
execute_or_queue_command(command, &block)
|
9551
|
+
end
|
9552
|
+
|
9553
|
+
# Changes SslCertificates for TargetSslProxy.
|
9554
|
+
# @param [String] project
|
9555
|
+
# Project ID for this request.
|
9556
|
+
# @param [String] target_ssl_proxy
|
9557
|
+
# Name of the TargetSslProxy resource whose SslCertificate resource is to be set.
|
9558
|
+
# @param [Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest] target_ssl_proxies_set_ssl_certificates_request_object
|
9559
|
+
# @param [String] fields
|
9560
|
+
# Selector specifying which fields to include in a partial response.
|
9561
|
+
# @param [String] quota_user
|
9562
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9563
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9564
|
+
# Overrides userIp if both are provided.
|
9565
|
+
# @param [String] user_ip
|
9566
|
+
# IP address of the site where the request originates. Use this if you want to
|
9567
|
+
# enforce per-user limits.
|
9568
|
+
# @param [Google::Apis::RequestOptions] options
|
9569
|
+
# Request-specific options
|
9570
|
+
#
|
9571
|
+
# @yield [result, err] Result & error if block supplied
|
9572
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
9573
|
+
# @yieldparam err [StandardError] error object if request failed
|
9574
|
+
#
|
9575
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
9576
|
+
#
|
9577
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9578
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9579
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9580
|
+
def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9581
|
+
command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options)
|
9582
|
+
command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest::Representation
|
9583
|
+
command.request_object = target_ssl_proxies_set_ssl_certificates_request_object
|
9584
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
9585
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
9586
|
+
command.params['project'] = project unless project.nil?
|
9587
|
+
command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil?
|
9588
|
+
command.query['fields'] = fields unless fields.nil?
|
9589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9590
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9591
|
+
execute_or_queue_command(command, &block)
|
9592
|
+
end
|
9593
|
+
|
9020
9594
|
# Retrieves an aggregated list of target VPN gateways.
|
9021
9595
|
# @param [String] project
|
9022
9596
|
# Project ID for this request.
|