google-api-client 0.30.10 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -9
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -24
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +20 -6
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +112 -6
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +118 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1095 -7
- data/generated/google/apis/compute_v1/representations.rb +483 -0
- data/generated/google/apis/compute_v1/service.rb +2307 -468
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +108 -3
- data/generated/google/apis/container_v1beta1/representations.rb +35 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
- data/generated/google/apis/dialogflow_v2/service.rb +78 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +330 -4
- data/generated/google/apis/dns_v1/representations.rb +149 -0
- data/generated/google/apis/dns_v1/service.rb +246 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
- data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
- data/generated/google/apis/dns_v2beta1/service.rb +246 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -1
- data/generated/google/apis/iam_v1/service.rb +5 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +11 -4
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +30 -0
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +30 -35
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +60 -59
- data/generated/google/apis/monitoring_v3/service.rb +18 -18
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +40 -40
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
- data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -935,7 +935,12 @@ module Google
|
|
935
935
|
# @return [String]
|
936
936
|
attr_accessor :etag
|
937
937
|
|
938
|
-
#
|
938
|
+
# Specifies the format of the policy.
|
939
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
940
|
+
# rejected.
|
941
|
+
# Policies with any conditional bindings must specify version 3. Policies
|
942
|
+
# without any conditional bindings may specify any valid value or leave the
|
943
|
+
# field unset.
|
939
944
|
# Corresponds to the JSON property `version`
|
940
945
|
# @return [Fixnum]
|
941
946
|
attr_accessor :version
|
@@ -1367,6 +1372,9 @@ module Google
|
|
1367
1372
|
attr_accessor :valid_after_time
|
1368
1373
|
|
1369
1374
|
# The key can be used before this timestamp.
|
1375
|
+
# For system-managed key pairs, this timestamp is the end time for the
|
1376
|
+
# private key signing operation. The public key could still be used
|
1377
|
+
# for verification for a few hours after this time.
|
1370
1378
|
# Corresponds to the JSON property `validBeforeTime`
|
1371
1379
|
# @return [String]
|
1372
1380
|
attr_accessor :valid_before_time
|
@@ -1046,9 +1046,11 @@ module Google
|
|
1046
1046
|
# See the operation documentation for the appropriate value for this field.
|
1047
1047
|
# @param [Fixnum] options_requested_policy_version
|
1048
1048
|
# Optional. The policy format version to be returned.
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
#
|
1049
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1050
|
+
# rejected.
|
1051
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
1052
|
+
# Policies without any conditional bindings may specify any valid value or
|
1053
|
+
# leave the field unset.
|
1052
1054
|
# @param [String] fields
|
1053
1055
|
# Selector specifying which fields to include in a partial response.
|
1054
1056
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190906'
|
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'
|
@@ -141,9 +141,11 @@ module Google
|
|
141
141
|
include Google::Apis::Core::Hashable
|
142
142
|
|
143
143
|
# Optional. The policy format version to be returned.
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
144
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
145
|
+
# rejected.
|
146
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
147
|
+
# Policies without any conditional bindings may specify any valid value or
|
148
|
+
# leave the field unset.
|
147
149
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
148
150
|
# @return [Fixnum]
|
149
151
|
attr_accessor :requested_policy_version
|
@@ -218,7 +220,12 @@ module Google
|
|
218
220
|
# @return [String]
|
219
221
|
attr_accessor :etag
|
220
222
|
|
221
|
-
#
|
223
|
+
# Specifies the format of the policy.
|
224
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
225
|
+
# rejected.
|
226
|
+
# Policies with any conditional bindings must specify version 3. Policies
|
227
|
+
# without any conditional bindings may specify any valid value or leave the
|
228
|
+
# field unset.
|
222
229
|
# Corresponds to the JSON property `version`
|
223
230
|
# @return [Fixnum]
|
224
231
|
attr_accessor :version
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190906'
|
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'
|
@@ -141,9 +141,11 @@ module Google
|
|
141
141
|
include Google::Apis::Core::Hashable
|
142
142
|
|
143
143
|
# Optional. The policy format version to be returned.
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
144
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
145
|
+
# rejected.
|
146
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
147
|
+
# Policies without any conditional bindings may specify any valid value or
|
148
|
+
# leave the field unset.
|
147
149
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
148
150
|
# @return [Fixnum]
|
149
151
|
attr_accessor :requested_policy_version
|
@@ -218,7 +220,12 @@ module Google
|
|
218
220
|
# @return [String]
|
219
221
|
attr_accessor :etag
|
220
222
|
|
221
|
-
#
|
223
|
+
# Specifies the format of the policy.
|
224
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
225
|
+
# rejected.
|
226
|
+
# Policies with any conditional bindings must specify version 3. Policies
|
227
|
+
# without any conditional bindings may specify any valid value or leave the
|
228
|
+
# field unset.
|
222
229
|
# Corresponds to the JSON property `version`
|
223
230
|
# @return [Fixnum]
|
224
231
|
attr_accessor :version
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
27
27
|
module JobsV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190912'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
27
27
|
module JobsV3p1beta1
|
28
28
|
VERSION = 'V3p1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190912'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://cloud.google.com/logging/docs/
|
29
29
|
module LoggingV2
|
30
30
|
VERSION = 'V2'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20190907'
|
32
32
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,30 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LoggingV2
|
24
24
|
|
25
|
+
# Options that change functionality of a sink exporting data to BigQuery.
|
26
|
+
class BigQueryOptions
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Optional. Whether to use BigQuery's partition tables. By default, Logging
|
30
|
+
# creates dated tables based on the log entries' timestamps, e.g.
|
31
|
+
# syslog_20170523. With partitioned tables the date suffix is no longer present
|
32
|
+
# and special query syntax has to be used instead. In both cases, tables are
|
33
|
+
# sharded based on UTC timezone.
|
34
|
+
# Corresponds to the JSON property `usePartitionedTables`
|
35
|
+
# @return [Boolean]
|
36
|
+
attr_accessor :use_partitioned_tables
|
37
|
+
alias_method :use_partitioned_tables?, :use_partitioned_tables
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@use_partitioned_tables = args[:use_partitioned_tables] if args.key?(:use_partitioned_tables)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
25
49
|
# BucketOptions describes the bucket boundaries used to create a histogram for
|
26
50
|
# the distribution. The buckets can be in a linear sequence, an exponential
|
27
51
|
# sequence, or each bucket can be specified explicitly. BucketOptions does not
|
@@ -1085,6 +1109,11 @@ module Google
|
|
1085
1109
|
class LogSink
|
1086
1110
|
include Google::Apis::Core::Hashable
|
1087
1111
|
|
1112
|
+
# Options that change functionality of a sink exporting data to BigQuery.
|
1113
|
+
# Corresponds to the JSON property `bigqueryOptions`
|
1114
|
+
# @return [Google::Apis::LoggingV2::BigQueryOptions]
|
1115
|
+
attr_accessor :bigquery_options
|
1116
|
+
|
1088
1117
|
# Output only. The creation timestamp of the sink.This field may not be present
|
1089
1118
|
# for older sinks.
|
1090
1119
|
# Corresponds to the JSON property `createTime`
|
@@ -1165,6 +1194,7 @@ module Google
|
|
1165
1194
|
|
1166
1195
|
# Update properties of this object
|
1167
1196
|
def update!(**args)
|
1197
|
+
@bigquery_options = args[:bigquery_options] if args.key?(:bigquery_options)
|
1168
1198
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1169
1199
|
@destination = args[:destination] if args.key?(:destination)
|
1170
1200
|
@filter = args[:filter] if args.key?(:filter)
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LoggingV2
|
24
24
|
|
25
|
+
class BigQueryOptions
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class BucketOptions
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -208,6 +214,13 @@ module Google
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
217
|
+
class BigQueryOptions
|
218
|
+
# @private
|
219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
220
|
+
property :use_partitioned_tables, as: 'usePartitionedTables'
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
211
224
|
class BucketOptions
|
212
225
|
# @private
|
213
226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -437,6 +450,8 @@ module Google
|
|
437
450
|
class LogSink
|
438
451
|
# @private
|
439
452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
453
|
+
property :bigquery_options, as: 'bigqueryOptions', class: Google::Apis::LoggingV2::BigQueryOptions, decorator: Google::Apis::LoggingV2::BigQueryOptions::Representation
|
454
|
+
|
440
455
|
property :create_time, as: 'createTime'
|
441
456
|
property :destination, as: 'destination'
|
442
457
|
property :filter, as: 'filter'
|
@@ -293,7 +293,11 @@ module Google
|
|
293
293
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
294
294
|
# logs that have entries are listed.
|
295
295
|
# @param [String] parent
|
296
|
-
# Required.
|
296
|
+
# Required. The resource name that owns the logs:
|
297
|
+
# "projects/[PROJECT_ID]"
|
298
|
+
# "organizations/[ORGANIZATION_ID]"
|
299
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
300
|
+
# "folders/[FOLDER_ID]"
|
297
301
|
# @param [Fixnum] page_size
|
298
302
|
# Optional. The maximum number of results to return from this request. Non-
|
299
303
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -303,10 +307,6 @@ module Google
|
|
303
307
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
304
308
|
# from the previous response. The values of other method parameters should be
|
305
309
|
# identical to those in the previous call.
|
306
|
-
# @param [Array<String>, String] resource_names
|
307
|
-
# Required for Logging Data Model V2. The resource name that owns the logs: "
|
308
|
-
# projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
|
309
|
-
# BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
|
310
310
|
# @param [String] fields
|
311
311
|
# Selector specifying which fields to include in a partial response.
|
312
312
|
# @param [String] quota_user
|
@@ -324,14 +324,13 @@ module Google
|
|
324
324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
325
325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
326
326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
327
|
-
def list_billing_account_logs(parent, page_size: nil, page_token: nil,
|
327
|
+
def list_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
328
328
|
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
329
329
|
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
330
330
|
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
331
331
|
command.params['parent'] = parent unless parent.nil?
|
332
332
|
command.query['pageSize'] = page_size unless page_size.nil?
|
333
333
|
command.query['pageToken'] = page_token unless page_token.nil?
|
334
|
-
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
335
334
|
command.query['fields'] = fields unless fields.nil?
|
336
335
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
337
336
|
execute_or_queue_command(command, &block)
|
@@ -1140,7 +1139,11 @@ module Google
|
|
1140
1139
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
1141
1140
|
# logs that have entries are listed.
|
1142
1141
|
# @param [String] parent
|
1143
|
-
# Required.
|
1142
|
+
# Required. The resource name that owns the logs:
|
1143
|
+
# "projects/[PROJECT_ID]"
|
1144
|
+
# "organizations/[ORGANIZATION_ID]"
|
1145
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1146
|
+
# "folders/[FOLDER_ID]"
|
1144
1147
|
# @param [Fixnum] page_size
|
1145
1148
|
# Optional. The maximum number of results to return from this request. Non-
|
1146
1149
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1150,10 +1153,6 @@ module Google
|
|
1150
1153
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
1151
1154
|
# from the previous response. The values of other method parameters should be
|
1152
1155
|
# identical to those in the previous call.
|
1153
|
-
# @param [Array<String>, String] resource_names
|
1154
|
-
# Required for Logging Data Model V2. The resource name that owns the logs: "
|
1155
|
-
# projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
|
1156
|
-
# BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
|
1157
1156
|
# @param [String] fields
|
1158
1157
|
# Selector specifying which fields to include in a partial response.
|
1159
1158
|
# @param [String] quota_user
|
@@ -1171,14 +1170,13 @@ module Google
|
|
1171
1170
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1172
1171
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
1172
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
|
-
def list_folder_logs(parent, page_size: nil, page_token: nil,
|
1173
|
+
def list_folder_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1175
1174
|
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
1176
1175
|
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
1177
1176
|
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
1178
1177
|
command.params['parent'] = parent unless parent.nil?
|
1179
1178
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1180
1179
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1181
|
-
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
1182
1180
|
command.query['fields'] = fields unless fields.nil?
|
1183
1181
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1184
1182
|
execute_or_queue_command(command, &block)
|
@@ -1519,7 +1517,11 @@ module Google
|
|
1519
1517
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
1520
1518
|
# logs that have entries are listed.
|
1521
1519
|
# @param [String] parent
|
1522
|
-
# Required.
|
1520
|
+
# Required. The resource name that owns the logs:
|
1521
|
+
# "projects/[PROJECT_ID]"
|
1522
|
+
# "organizations/[ORGANIZATION_ID]"
|
1523
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1524
|
+
# "folders/[FOLDER_ID]"
|
1523
1525
|
# @param [Fixnum] page_size
|
1524
1526
|
# Optional. The maximum number of results to return from this request. Non-
|
1525
1527
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1529,10 +1531,6 @@ module Google
|
|
1529
1531
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
1530
1532
|
# from the previous response. The values of other method parameters should be
|
1531
1533
|
# identical to those in the previous call.
|
1532
|
-
# @param [Array<String>, String] resource_names
|
1533
|
-
# Required for Logging Data Model V2. The resource name that owns the logs: "
|
1534
|
-
# projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
|
1535
|
-
# BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
|
1536
1534
|
# @param [String] fields
|
1537
1535
|
# Selector specifying which fields to include in a partial response.
|
1538
1536
|
# @param [String] quota_user
|
@@ -1550,14 +1548,13 @@ module Google
|
|
1550
1548
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1551
1549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1552
1550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1553
|
-
def list_logs(parent, page_size: nil, page_token: nil,
|
1551
|
+
def list_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1554
1552
|
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
1555
1553
|
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
1556
1554
|
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
1557
1555
|
command.params['parent'] = parent unless parent.nil?
|
1558
1556
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1559
1557
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1560
|
-
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
1561
1558
|
command.query['fields'] = fields unless fields.nil?
|
1562
1559
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1563
1560
|
execute_or_queue_command(command, &block)
|
@@ -1844,7 +1841,11 @@ module Google
|
|
1844
1841
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
1845
1842
|
# logs that have entries are listed.
|
1846
1843
|
# @param [String] parent
|
1847
|
-
# Required.
|
1844
|
+
# Required. The resource name that owns the logs:
|
1845
|
+
# "projects/[PROJECT_ID]"
|
1846
|
+
# "organizations/[ORGANIZATION_ID]"
|
1847
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1848
|
+
# "folders/[FOLDER_ID]"
|
1848
1849
|
# @param [Fixnum] page_size
|
1849
1850
|
# Optional. The maximum number of results to return from this request. Non-
|
1850
1851
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1854,10 +1855,6 @@ module Google
|
|
1854
1855
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
1855
1856
|
# from the previous response. The values of other method parameters should be
|
1856
1857
|
# identical to those in the previous call.
|
1857
|
-
# @param [Array<String>, String] resource_names
|
1858
|
-
# Required for Logging Data Model V2. The resource name that owns the logs: "
|
1859
|
-
# projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
|
1860
|
-
# BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
|
1861
1858
|
# @param [String] fields
|
1862
1859
|
# Selector specifying which fields to include in a partial response.
|
1863
1860
|
# @param [String] quota_user
|
@@ -1875,14 +1872,13 @@ module Google
|
|
1875
1872
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1876
1873
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1877
1874
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1878
|
-
def list_organization_logs(parent, page_size: nil, page_token: nil,
|
1875
|
+
def list_organization_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1879
1876
|
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
1880
1877
|
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
1881
1878
|
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
1882
1879
|
command.params['parent'] = parent unless parent.nil?
|
1883
1880
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1884
1881
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1885
|
-
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
1886
1882
|
command.query['fields'] = fields unless fields.nil?
|
1887
1883
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1888
1884
|
execute_or_queue_command(command, &block)
|
@@ -2424,7 +2420,11 @@ module Google
|
|
2424
2420
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
2425
2421
|
# logs that have entries are listed.
|
2426
2422
|
# @param [String] parent
|
2427
|
-
# Required.
|
2423
|
+
# Required. The resource name that owns the logs:
|
2424
|
+
# "projects/[PROJECT_ID]"
|
2425
|
+
# "organizations/[ORGANIZATION_ID]"
|
2426
|
+
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
2427
|
+
# "folders/[FOLDER_ID]"
|
2428
2428
|
# @param [Fixnum] page_size
|
2429
2429
|
# Optional. The maximum number of results to return from this request. Non-
|
2430
2430
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2434,10 +2434,6 @@ module Google
|
|
2434
2434
|
# preceding call to this method. pageToken must be the value of nextPageToken
|
2435
2435
|
# from the previous response. The values of other method parameters should be
|
2436
2436
|
# identical to those in the previous call.
|
2437
|
-
# @param [Array<String>, String] resource_names
|
2438
|
-
# Required for Logging Data Model V2. The resource name that owns the logs: "
|
2439
|
-
# projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/
|
2440
|
-
# BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
|
2441
2437
|
# @param [String] fields
|
2442
2438
|
# Selector specifying which fields to include in a partial response.
|
2443
2439
|
# @param [String] quota_user
|
@@ -2455,14 +2451,13 @@ module Google
|
|
2455
2451
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2456
2452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2457
2453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2458
|
-
def list_project_logs(parent, page_size: nil, page_token: nil,
|
2454
|
+
def list_project_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2459
2455
|
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
2460
2456
|
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
2461
2457
|
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
2462
2458
|
command.params['parent'] = parent unless parent.nil?
|
2463
2459
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2464
2460
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2465
|
-
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
2466
2461
|
command.query['fields'] = fields unless fields.nil?
|
2467
2462
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2468
2463
|
execute_or_queue_command(command, &block)
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# @see https://cloud.google.com/monitoring/api/
|
31
31
|
module MonitoringV3
|
32
32
|
VERSION = 'V3'
|
33
|
-
REVISION = '
|
33
|
+
REVISION = '20190907'
|
34
34
|
|
35
35
|
# View and manage your data across Google Cloud Platform services
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -201,18 +201,18 @@ module Google
|
|
201
201
|
end
|
202
202
|
end
|
203
203
|
|
204
|
-
#
|
205
|
-
#
|
206
|
-
# in Uptime
|
204
|
+
# The authentication parameters to provide to the specified resource or URL that
|
205
|
+
# requires a username and password. Currently, only Basic HTTP authentication (
|
206
|
+
# https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
|
207
207
|
class BasicAuthentication
|
208
208
|
include Google::Apis::Core::Hashable
|
209
209
|
|
210
|
-
# The password to
|
210
|
+
# The password to use when authenticating with the HTTP server.
|
211
211
|
# Corresponds to the JSON property `password`
|
212
212
|
# @return [String]
|
213
213
|
attr_accessor :password
|
214
214
|
|
215
|
-
# The username to
|
215
|
+
# The username to use when authenticating with the HTTP server.
|
216
216
|
# Corresponds to the JSON property `username`
|
217
217
|
# @return [String]
|
218
218
|
attr_accessor :username
|
@@ -517,9 +517,8 @@ module Google
|
|
517
517
|
# @return [String]
|
518
518
|
attr_accessor :content
|
519
519
|
|
520
|
-
# The
|
521
|
-
#
|
522
|
-
# CONTAINS_STRING which performs content substring matching.
|
520
|
+
# The type of content matcher that will be applied to the server output,
|
521
|
+
# compared to the content string when the check is run.
|
523
522
|
# Corresponds to the JSON property `matcher`
|
524
523
|
# @return [String]
|
525
524
|
attr_accessor :matcher
|
@@ -1096,18 +1095,18 @@ module Google
|
|
1096
1095
|
end
|
1097
1096
|
end
|
1098
1097
|
|
1099
|
-
# Information involved in an HTTP/HTTPS
|
1098
|
+
# Information involved in an HTTP/HTTPS Uptime check request.
|
1100
1099
|
class HttpCheck
|
1101
1100
|
include Google::Apis::Core::Hashable
|
1102
1101
|
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
# in Uptime
|
1102
|
+
# The authentication parameters to provide to the specified resource or URL that
|
1103
|
+
# requires a username and password. Currently, only Basic HTTP authentication (
|
1104
|
+
# https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
|
1106
1105
|
# Corresponds to the JSON property `authInfo`
|
1107
1106
|
# @return [Google::Apis::MonitoringV3::BasicAuthentication]
|
1108
1107
|
attr_accessor :auth_info
|
1109
1108
|
|
1110
|
-
# The list of headers to send as part of the
|
1109
|
+
# The list of headers to send as part of the Uptime check request. If two
|
1111
1110
|
# headers have the same key and different values, they should be entered as a
|
1112
1111
|
# single header, with the value being a comma-separated list of all the desired
|
1113
1112
|
# values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page
|
@@ -1122,23 +1121,24 @@ module Google
|
|
1122
1121
|
# should be specified for any headers related to authentication that you do not
|
1123
1122
|
# wish to be seen when retrieving the configuration. The server will be
|
1124
1123
|
# responsible for encrypting the headers. On Get/List calls, if mask_headers is
|
1125
|
-
# set to
|
1124
|
+
# set to true then the headers will be obscured with ******.
|
1126
1125
|
# Corresponds to the JSON property `maskHeaders`
|
1127
1126
|
# @return [Boolean]
|
1128
1127
|
attr_accessor :mask_headers
|
1129
1128
|
alias_method :mask_headers?, :mask_headers
|
1130
1129
|
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
# will be prepended automatically.
|
1130
|
+
# Optional (defaults to "/"). The path to the page against which to run the
|
1131
|
+
# check. Will be combined with the host (specified within the monitored_resource)
|
1132
|
+
# and port to construct the full URL. If the provided path does not begin with "
|
1133
|
+
# /", a "/" will be prepended automatically.
|
1135
1134
|
# Corresponds to the JSON property `path`
|
1136
1135
|
# @return [String]
|
1137
1136
|
attr_accessor :path
|
1138
1137
|
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
#
|
1138
|
+
# Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true).
|
1139
|
+
# The TCP port on the HTTP server against which to run the check. Will be
|
1140
|
+
# combined with host (specified within the monitored_resource) and path to
|
1141
|
+
# construct the full URL.
|
1142
1142
|
# Corresponds to the JSON property `port`
|
1143
1143
|
# @return [Fixnum]
|
1144
1144
|
attr_accessor :port
|
@@ -1149,8 +1149,9 @@ module Google
|
|
1149
1149
|
attr_accessor :use_ssl
|
1150
1150
|
alias_method :use_ssl?, :use_ssl
|
1151
1151
|
|
1152
|
-
# Boolean specifying whether to
|
1153
|
-
#
|
1152
|
+
# Boolean specifying whether to include SSL certificate validation as a part of
|
1153
|
+
# the Uptime check. Only applies to checks where monitored_resource is set to
|
1154
|
+
# uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
|
1154
1155
|
# Corresponds to the JSON property `validateSsl`
|
1155
1156
|
# @return [Boolean]
|
1156
1157
|
attr_accessor :validate_ssl
|
@@ -1172,7 +1173,7 @@ module Google
|
|
1172
1173
|
end
|
1173
1174
|
end
|
1174
1175
|
|
1175
|
-
# An internal checker allows
|
1176
|
+
# An internal checker allows Uptime checks to run on private/internal GCP
|
1176
1177
|
# resources.
|
1177
1178
|
class InternalChecker
|
1178
1179
|
include Google::Apis::Core::Hashable
|
@@ -1184,15 +1185,15 @@ module Google
|
|
1184
1185
|
# @return [String]
|
1185
1186
|
attr_accessor :display_name
|
1186
1187
|
|
1187
|
-
# The GCP zone the
|
1188
|
-
#
|
1188
|
+
# The GCP zone the Uptime check should egress from. Only respected for internal
|
1189
|
+
# Uptime checks, where internal_network is specified.
|
1189
1190
|
# Corresponds to the JSON property `gcpZone`
|
1190
1191
|
# @return [String]
|
1191
1192
|
attr_accessor :gcp_zone
|
1192
1193
|
|
1193
1194
|
# A unique resource name for this InternalChecker. The format is:projects/[
|
1194
|
-
# PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].PROJECT_ID is the
|
1195
|
-
#
|
1195
|
+
# PROJECT_ID]/internalCheckers/[INTERNAL_CHECKER_ID].[PROJECT_ID] is the
|
1196
|
+
# Stackdriver Workspace project for the Uptime check config associated with the
|
1196
1197
|
# internal checker.
|
1197
1198
|
# Corresponds to the JSON property `name`
|
1198
1199
|
# @return [String]
|
@@ -1204,8 +1205,8 @@ module Google
|
|
1204
1205
|
# @return [String]
|
1205
1206
|
attr_accessor :network
|
1206
1207
|
|
1207
|
-
# The GCP
|
1208
|
-
# the
|
1208
|
+
# The GCP project ID where the internal checker lives. Not necessary the same as
|
1209
|
+
# the Workspace project.
|
1209
1210
|
# Corresponds to the JSON property `peerProjectId`
|
1210
1211
|
# @return [String]
|
1211
1212
|
attr_accessor :peer_project_id
|
@@ -1542,13 +1543,13 @@ module Google
|
|
1542
1543
|
# @return [String]
|
1543
1544
|
attr_accessor :next_page_token
|
1544
1545
|
|
1545
|
-
# The total number of
|
1546
|
+
# The total number of Uptime check configurations for the project, irrespective
|
1546
1547
|
# of any pagination.
|
1547
1548
|
# Corresponds to the JSON property `totalSize`
|
1548
1549
|
# @return [Fixnum]
|
1549
1550
|
attr_accessor :total_size
|
1550
1551
|
|
1551
|
-
# The returned
|
1552
|
+
# The returned Uptime check configurations.
|
1552
1553
|
# Corresponds to the JSON property `uptimeCheckConfigs`
|
1553
1554
|
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>]
|
1554
1555
|
attr_accessor :uptime_check_configs
|
@@ -2378,8 +2379,8 @@ module Google
|
|
2378
2379
|
class ResourceGroup
|
2379
2380
|
include Google::Apis::Core::Hashable
|
2380
2381
|
|
2381
|
-
# The group of resources being monitored. Should be only the
|
2382
|
-
# projects
|
2382
|
+
# The group of resources being monitored. Should be only the [GROUP_ID], and not
|
2383
|
+
# the full-path projects/[PROJECT_ID]/groups/[GROUP_ID].
|
2383
2384
|
# Corresponds to the JSON property `groupId`
|
2384
2385
|
# @return [String]
|
2385
2386
|
attr_accessor :group_id
|
@@ -2499,12 +2500,13 @@ module Google
|
|
2499
2500
|
end
|
2500
2501
|
end
|
2501
2502
|
|
2502
|
-
# Information required for a TCP
|
2503
|
+
# Information required for a TCP Uptime check request.
|
2503
2504
|
class TcpCheck
|
2504
2505
|
include Google::Apis::Core::Hashable
|
2505
2506
|
|
2506
|
-
# The port
|
2507
|
-
# specified within the
|
2507
|
+
# The TCP port on the server against which to run the check. Will be combined
|
2508
|
+
# with host (specified within the monitored_resource) to construct the full URL.
|
2509
|
+
# Required.
|
2508
2510
|
# Corresponds to the JSON property `port`
|
2509
2511
|
# @return [Fixnum]
|
2510
2512
|
attr_accessor :port
|
@@ -2781,30 +2783,30 @@ module Google
|
|
2781
2783
|
class UptimeCheckConfig
|
2782
2784
|
include Google::Apis::Core::Hashable
|
2783
2785
|
|
2784
|
-
# The
|
2785
|
-
#
|
2786
|
-
#
|
2787
|
-
#
|
2788
|
-
#
|
2786
|
+
# The content that is expected to appear in the data returned by the target
|
2787
|
+
# server against which the check is run. Currently, only the first entry in the
|
2788
|
+
# content_matchers list is supported, and additional entries will be ignored.
|
2789
|
+
# This field is optional and should only be specified if a content match is
|
2790
|
+
# required as part of the/ Uptime check.
|
2789
2791
|
# Corresponds to the JSON property `contentMatchers`
|
2790
2792
|
# @return [Array<Google::Apis::MonitoringV3::ContentMatcher>]
|
2791
2793
|
attr_accessor :content_matchers
|
2792
2794
|
|
2793
|
-
# A human-friendly name for the
|
2795
|
+
# A human-friendly name for the Uptime check configuration. The display name
|
2794
2796
|
# should be unique within a Stackdriver Workspace in order to make it easier to
|
2795
2797
|
# identify; however, uniqueness is not enforced. Required.
|
2796
2798
|
# Corresponds to the JSON property `displayName`
|
2797
2799
|
# @return [String]
|
2798
2800
|
attr_accessor :display_name
|
2799
2801
|
|
2800
|
-
# Information involved in an HTTP/HTTPS
|
2802
|
+
# Information involved in an HTTP/HTTPS Uptime check request.
|
2801
2803
|
# Corresponds to the JSON property `httpCheck`
|
2802
2804
|
# @return [Google::Apis::MonitoringV3::HttpCheck]
|
2803
2805
|
attr_accessor :http_check
|
2804
2806
|
|
2805
2807
|
# The internal checkers that this check will egress from. If is_internal is true
|
2806
2808
|
# and this list is empty, the check will egress from all the InternalCheckers
|
2807
|
-
# configured for the project that owns this
|
2809
|
+
# configured for the project that owns this UptimeCheckConfig.
|
2808
2810
|
# Corresponds to the JSON property `internalCheckers`
|
2809
2811
|
# @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
|
2810
2812
|
attr_accessor :internal_checkers
|
@@ -2825,15 +2827,15 @@ module Google
|
|
2825
2827
|
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
2826
2828
|
attr_accessor :monitored_resource
|
2827
2829
|
|
2828
|
-
# A unique resource name for this
|
2829
|
-
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
|
2830
|
-
# when creating the
|
2831
|
-
# assigned by the server and included in the response.
|
2830
|
+
# A unique resource name for this Uptime check configuration. The format is:
|
2831
|
+
# projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
|
2832
|
+
# be omitted when creating the Uptime check configuration; on create, the
|
2833
|
+
# resource name is assigned by the server and included in the response.
|
2832
2834
|
# Corresponds to the JSON property `name`
|
2833
2835
|
# @return [String]
|
2834
2836
|
attr_accessor :name
|
2835
2837
|
|
2836
|
-
# How often, in seconds, the
|
2838
|
+
# How often, in seconds, the Uptime check is performed. Currently, the only
|
2837
2839
|
# supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and
|
2838
2840
|
# 900s (15 minutes). Optional, defaults to 60s.
|
2839
2841
|
# Corresponds to the JSON property `period`
|
@@ -2848,14 +2850,13 @@ module Google
|
|
2848
2850
|
|
2849
2851
|
# The list of regions from which the check will be run. Some regions contain one
|
2850
2852
|
# location, and others contain more than one. If this field is specified, enough
|
2851
|
-
# regions to include a minimum of 3 locations
|
2852
|
-
#
|
2853
|
-
# running from all regions.
|
2853
|
+
# regions must be provided to include a minimum of 3 locations. Not specifying
|
2854
|
+
# this field will result in Uptime checks running from all available regions.
|
2854
2855
|
# Corresponds to the JSON property `selectedRegions`
|
2855
2856
|
# @return [Array<String>]
|
2856
2857
|
attr_accessor :selected_regions
|
2857
2858
|
|
2858
|
-
# Information required for a TCP
|
2859
|
+
# Information required for a TCP Uptime check request.
|
2859
2860
|
# Corresponds to the JSON property `tcpCheck`
|
2860
2861
|
# @return [Google::Apis::MonitoringV3::TcpCheck]
|
2861
2862
|
attr_accessor :tcp_check
|
@@ -2891,11 +2892,11 @@ module Google
|
|
2891
2892
|
class UptimeCheckIp
|
2892
2893
|
include Google::Apis::Core::Hashable
|
2893
2894
|
|
2894
|
-
# The IP address from which the
|
2895
|
-
# address (not an IP address range). Most IP addresses, as of this
|
2896
|
-
# are in IPv4 format; however, one should not rely on the IP
|
2897
|
-
# IPv4 format indefinitely and should support interpreting
|
2898
|
-
# IPv4 or IPv6 format.
|
2895
|
+
# The IP address from which the Uptime check originates. This is a fully
|
2896
|
+
# specified IP address (not an IP address range). Most IP addresses, as of this
|
2897
|
+
# publication, are in IPv4 format; however, one should not rely on the IP
|
2898
|
+
# addresses being in IPv4 format indefinitely, and should support interpreting
|
2899
|
+
# this field in either IPv4 or IPv6 format.
|
2899
2900
|
# Corresponds to the JSON property `ipAddress`
|
2900
2901
|
# @return [String]
|
2901
2902
|
attr_accessor :ip_address
|