google-api-client 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +75 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
- data/generated/google/apis/admin_directory_v1/service.rb +71 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1 -46
- data/generated/google/apis/appengine_v1/representations.rb +0 -17
- data/generated/google/apis/appengine_v1/service.rb +5 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
- data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appengine_v1beta/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +41 -24
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +15 -3
- data/generated/google/apis/classroom_v1.rb +4 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +7 -3
- data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
- data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +143 -83
- data/generated/google/apis/compute_alpha/representations.rb +50 -30
- data/generated/google/apis/compute_alpha/service.rb +171 -5
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +47 -43
- data/generated/google/apis/compute_beta/representations.rb +1 -2
- data/generated/google/apis/compute_beta/service.rb +60 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1326 -168
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +751 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -16
- data/generated/google/apis/content_v2/service.rb +142 -162
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/service.rb +43 -43
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
- data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
- data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +39 -60
- data/generated/google/apis/datastore_v1/representations.rb +27 -0
- data/generated/google/apis/datastore_v1/service.rb +34 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
- data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
- data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dns_v1beta2.rb +43 -0
- data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
- data/generated/google/apis/dns_v1beta2/service.rb +769 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +6 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +51 -8
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +6 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +45 -7
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
- data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1/service.rb +37 -0
- data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
- data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
- data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +78 -0
- data/generated/google/apis/language_v1/representations.rb +45 -0
- data/generated/google/apis/language_v1/service.rb +30 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +517 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -6
- data/generated/google/apis/ml_v1/service.rb +8 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +358 -0
- data/generated/google/apis/monitoring_v3/representations.rb +145 -0
- data/generated/google/apis/monitoring_v3/service.rb +229 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -60
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/classes.rb +57 -51
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +505 -11
- data/generated/google/apis/slides_v1/representations.rb +220 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +10 -1
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +51 -72
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
- data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +8 -3
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/generator/model.rb +9 -3
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -12
- data/generated/google/apis/playmoviespartner_v1.rb +0 -34
- data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
- data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
- data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
- data/generated/google/apis/qpx_express_v1.rb +0 -31
- data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
- data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
- data/generated/google/apis/qpx_express_v1/service.rb +0 -101
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171030'
|
|
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'
|
|
@@ -658,6 +658,14 @@ module Google
|
|
|
658
658
|
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
|
659
659
|
attr_accessor :source_location
|
|
660
660
|
|
|
661
|
+
# Optional. Id of the span within the trace associated with the log entry. e.g. "
|
|
662
|
+
# 0000000000000042" For Stackdriver trace spans, this is the same format that
|
|
663
|
+
# the Stackdriver trace API uses. The ID is a 16-character hexadecimal encoding
|
|
664
|
+
# of an 8-byte array.
|
|
665
|
+
# Corresponds to the JSON property `spanId`
|
|
666
|
+
# @return [String]
|
|
667
|
+
attr_accessor :span_id
|
|
668
|
+
|
|
661
669
|
# The log entry payload, represented as a Unicode string (UTF-8).
|
|
662
670
|
# Corresponds to the JSON property `textPayload`
|
|
663
671
|
# @return [String]
|
|
@@ -698,6 +706,7 @@ module Google
|
|
|
698
706
|
@resource = args[:resource] if args.key?(:resource)
|
|
699
707
|
@severity = args[:severity] if args.key?(:severity)
|
|
700
708
|
@source_location = args[:source_location] if args.key?(:source_location)
|
|
709
|
+
@span_id = args[:span_id] if args.key?(:span_id)
|
|
701
710
|
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
|
702
711
|
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
703
712
|
@trace = args[:trace] if args.key?(:trace)
|
|
@@ -331,6 +331,7 @@ module Google
|
|
|
331
331
|
property :severity, as: 'severity'
|
|
332
332
|
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation
|
|
333
333
|
|
|
334
|
+
property :span_id, as: 'spanId'
|
|
334
335
|
property :text_payload, as: 'textPayload'
|
|
335
336
|
property :timestamp, as: 'timestamp'
|
|
336
337
|
property :trace, as: 'trace'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/manufacturers/
|
|
26
26
|
module ManufacturersV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171009'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings for Google Manufacturer Center
|
|
31
31
|
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
|
|
@@ -159,7 +159,7 @@ module Google
|
|
|
159
159
|
# @return [String]
|
|
160
160
|
attr_accessor :product_page_url
|
|
161
161
|
|
|
162
|
-
# The category of the product. For more information, see
|
|
162
|
+
# The type or category of the product. For more information, see
|
|
163
163
|
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
164
164
|
# Corresponds to the JSON property `productType`
|
|
165
165
|
# @return [Array<String>]
|
|
@@ -200,11 +200,11 @@ module Google
|
|
|
200
200
|
# @return [Google::Apis::ManufacturersV1::Price]
|
|
201
201
|
attr_accessor :suggested_retail_price
|
|
202
202
|
|
|
203
|
-
# The target
|
|
203
|
+
# The target client id. Should only be used in the accounts of the data
|
|
204
204
|
# partners.
|
|
205
|
-
# Corresponds to the JSON property `
|
|
206
|
-
# @return [
|
|
207
|
-
attr_accessor :
|
|
205
|
+
# Corresponds to the JSON property `targetClientId`
|
|
206
|
+
# @return [String]
|
|
207
|
+
attr_accessor :target_client_id
|
|
208
208
|
|
|
209
209
|
# The theme of the product. For more information, see
|
|
210
210
|
# https://support.google.com/manufacturers/answer/6124116#theme.
|
|
@@ -259,7 +259,7 @@ module Google
|
|
|
259
259
|
@size_system = args[:size_system] if args.key?(:size_system)
|
|
260
260
|
@size_type = args[:size_type] if args.key?(:size_type)
|
|
261
261
|
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
|
262
|
-
@
|
|
262
|
+
@target_client_id = args[:target_client_id] if args.key?(:target_client_id)
|
|
263
263
|
@theme = args[:theme] if args.key?(:theme)
|
|
264
264
|
@title = args[:title] if args.key?(:title)
|
|
265
265
|
@video_link = args[:video_link] if args.key?(:video_link)
|
|
@@ -127,7 +127,7 @@ module Google
|
|
|
127
127
|
property :size_type, as: 'sizeType'
|
|
128
128
|
property :suggested_retail_price, as: 'suggestedRetailPrice', class: Google::Apis::ManufacturersV1::Price, decorator: Google::Apis::ManufacturersV1::Price::Representation
|
|
129
129
|
|
|
130
|
-
property :
|
|
130
|
+
property :target_client_id, as: 'targetClientId'
|
|
131
131
|
property :theme, as: 'theme'
|
|
132
132
|
property :title, as: 'title'
|
|
133
133
|
collection :video_link, as: 'videoLink'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171028'
|
|
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'
|
|
@@ -279,7 +279,6 @@ module Google
|
|
|
279
279
|
end
|
|
280
280
|
|
|
281
281
|
# Represents a training or prediction job.
|
|
282
|
-
# Next ID: 16
|
|
283
282
|
class GoogleCloudMlV1Job
|
|
284
283
|
include Google::Apis::Core::Hashable
|
|
285
284
|
|
|
@@ -456,7 +455,6 @@ module Google
|
|
|
456
455
|
# A model can have multiple versions, each of which is a deployed, trained
|
|
457
456
|
# model ready to receive prediction requests. The model itself is just a
|
|
458
457
|
# container.
|
|
459
|
-
# Next ID: 8
|
|
460
458
|
class GoogleCloudMlV1Model
|
|
461
459
|
include Google::Apis::Core::Hashable
|
|
462
460
|
|
|
@@ -518,7 +516,6 @@ module Google
|
|
|
518
516
|
end
|
|
519
517
|
|
|
520
518
|
# Represents the metadata of the long-running operation.
|
|
521
|
-
# Next ID: 9
|
|
522
519
|
class GoogleCloudMlV1OperationMetadata
|
|
523
520
|
include Google::Apis::Core::Hashable
|
|
524
521
|
|
|
@@ -1066,15 +1063,34 @@ module Google
|
|
|
1066
1063
|
# <dt>standard_gpu</dt>
|
|
1067
1064
|
# <dd>
|
|
1068
1065
|
# A machine equivalent to <code suppresswarning="true">standard</code> that
|
|
1069
|
-
# also includes a
|
|
1066
|
+
# also includes a single NVIDIA Tesla K80 GPU. See more about
|
|
1070
1067
|
# <a href="/ml-engine/docs/how-tos/using-gpus">
|
|
1071
|
-
#
|
|
1068
|
+
# using GPUs for training your model</a>.
|
|
1072
1069
|
# </dd>
|
|
1073
1070
|
# <dt>complex_model_m_gpu</dt>
|
|
1074
1071
|
# <dd>
|
|
1075
1072
|
# A machine equivalent to
|
|
1076
1073
|
# <code suppresswarning="true">complex_model_m</code> that also includes
|
|
1077
|
-
# four GPUs.
|
|
1074
|
+
# four NVIDIA Tesla K80 GPUs.
|
|
1075
|
+
# </dd>
|
|
1076
|
+
# <dt>complex_model_l_gpu</dt>
|
|
1077
|
+
# <dd>
|
|
1078
|
+
# A machine equivalent to
|
|
1079
|
+
# <code suppresswarning="true">complex_model_l</code> that also includes
|
|
1080
|
+
# eight NVIDIA Tesla K80 GPUs.
|
|
1081
|
+
# </dd>
|
|
1082
|
+
# <dt>standard_p100</dt>
|
|
1083
|
+
# <dd>
|
|
1084
|
+
# A machine equivalent to <code suppresswarning="true">standard</code> that
|
|
1085
|
+
# also includes a single NVIDIA Tesla P100 GPU. The availability of these
|
|
1086
|
+
# GPUs is in the Alpha launch stage.
|
|
1087
|
+
# </dd>
|
|
1088
|
+
# <dt>complex_model_m_p100</dt>
|
|
1089
|
+
# <dd>
|
|
1090
|
+
# A machine equivalent to
|
|
1091
|
+
# <code suppresswarning="true">complex_model_m</code> that also includes
|
|
1092
|
+
# four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in
|
|
1093
|
+
# the Alpha launch stage.
|
|
1078
1094
|
# </dd>
|
|
1079
1095
|
# </dl>
|
|
1080
1096
|
# You must set this value when `scaleTier` is set to `CUSTOM`.
|
|
@@ -503,6 +503,8 @@ module Google
|
|
|
503
503
|
# versions.
|
|
504
504
|
# @param [String] parent
|
|
505
505
|
# Required. The name of the project whose models are to be listed.
|
|
506
|
+
# @param [String] filter
|
|
507
|
+
# Optional. Specifies the subset of models to retrieve.
|
|
506
508
|
# @param [Fixnum] page_size
|
|
507
509
|
# Optional. The number of models to retrieve per "page" of results. If there
|
|
508
510
|
# are more remaining results than this number, the response message will
|
|
@@ -529,11 +531,12 @@ module Google
|
|
|
529
531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
530
532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
531
533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
532
|
-
def list_project_models(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
534
|
+
def list_project_models(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
533
535
|
command = make_simple_command(:get, 'v1/{+parent}/models', options)
|
|
534
536
|
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse::Representation
|
|
535
537
|
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListModelsResponse
|
|
536
538
|
command.params['parent'] = parent unless parent.nil?
|
|
539
|
+
command.query['filter'] = filter unless filter.nil?
|
|
537
540
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
538
541
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
539
542
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -786,6 +789,8 @@ module Google
|
|
|
786
789
|
# be retrieved in batches (called pages):
|
|
787
790
|
# @param [String] parent
|
|
788
791
|
# Required. The name of the model for which to list the version.
|
|
792
|
+
# @param [String] filter
|
|
793
|
+
# Optional. Specifies the subset of versions to retrieve.
|
|
789
794
|
# @param [Fixnum] page_size
|
|
790
795
|
# Optional. The number of versions to retrieve per "page" of results. If
|
|
791
796
|
# there are more remaining results than this number, the response message
|
|
@@ -812,11 +817,12 @@ module Google
|
|
|
812
817
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
813
818
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
814
819
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
815
|
-
def list_project_model_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
820
|
+
def list_project_model_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
816
821
|
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
|
|
817
822
|
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListVersionsResponse::Representation
|
|
818
823
|
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListVersionsResponse
|
|
819
824
|
command.params['parent'] = parent unless parent.nil?
|
|
825
|
+
command.query['filter'] = filter unless filter.nil?
|
|
820
826
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
821
827
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
822
828
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
|
28
28
|
module MonitoringV3
|
|
29
29
|
VERSION = 'V3'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20171016'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,6 +22,33 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module MonitoringV3
|
|
24
24
|
|
|
25
|
+
# A type of authentication to perform against the specified resource or URL that
|
|
26
|
+
# uses username and password. Currently, only Basic authentication is supported
|
|
27
|
+
# in Uptime Monitoring.
|
|
28
|
+
class BasicAuthentication
|
|
29
|
+
include Google::Apis::Core::Hashable
|
|
30
|
+
|
|
31
|
+
# The password to authenticate.
|
|
32
|
+
# Corresponds to the JSON property `password`
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :password
|
|
35
|
+
|
|
36
|
+
# The username to authenticate.
|
|
37
|
+
# Corresponds to the JSON property `username`
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :username
|
|
40
|
+
|
|
41
|
+
def initialize(**args)
|
|
42
|
+
update!(**args)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Update properties of this object
|
|
46
|
+
def update!(**args)
|
|
47
|
+
@password = args[:password] if args.key?(:password)
|
|
48
|
+
@username = args[:username] if args.key?(:username)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
25
52
|
# BucketOptions describes the bucket boundaries used to create a histogram for
|
|
26
53
|
# the distribution. The buckets can be in a linear sequence, an exponential
|
|
27
54
|
# sequence, or each bucket can be specified explicitly. BucketOptions does not
|
|
@@ -300,6 +327,27 @@ module Google
|
|
|
300
327
|
end
|
|
301
328
|
end
|
|
302
329
|
|
|
330
|
+
# Used to perform string matching. Currently, this matches on the exact content.
|
|
331
|
+
# In the future, it can be expanded to allow for regular expressions and more
|
|
332
|
+
# complex matching.
|
|
333
|
+
class ContentMatcher
|
|
334
|
+
include Google::Apis::Core::Hashable
|
|
335
|
+
|
|
336
|
+
# String content to match
|
|
337
|
+
# Corresponds to the JSON property `content`
|
|
338
|
+
# @return [String]
|
|
339
|
+
attr_accessor :content
|
|
340
|
+
|
|
341
|
+
def initialize(**args)
|
|
342
|
+
update!(**args)
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
# Update properties of this object
|
|
346
|
+
def update!(**args)
|
|
347
|
+
@content = args[:content] if args.key?(:content)
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
303
351
|
# The CreateCollectdTimeSeries request.
|
|
304
352
|
class CreateCollectdTimeSeriesRequest
|
|
305
353
|
include Google::Apis::Core::Hashable
|
|
@@ -698,6 +746,72 @@ module Google
|
|
|
698
746
|
end
|
|
699
747
|
end
|
|
700
748
|
|
|
749
|
+
# Information involved in an HTTP/HTTPS uptime check request.
|
|
750
|
+
class HttpCheck
|
|
751
|
+
include Google::Apis::Core::Hashable
|
|
752
|
+
|
|
753
|
+
# A type of authentication to perform against the specified resource or URL that
|
|
754
|
+
# uses username and password. Currently, only Basic authentication is supported
|
|
755
|
+
# in Uptime Monitoring.
|
|
756
|
+
# Corresponds to the JSON property `authInfo`
|
|
757
|
+
# @return [Google::Apis::MonitoringV3::BasicAuthentication]
|
|
758
|
+
attr_accessor :auth_info
|
|
759
|
+
|
|
760
|
+
# The list of headers to send as part of the uptime check request. If two
|
|
761
|
+
# headers have the same key and different values, they should be entered as a
|
|
762
|
+
# single header, with the value being a comma-separated list of all the desired
|
|
763
|
+
# values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page
|
|
764
|
+
# 31). Entering two separate headers with the same key in a Create call will
|
|
765
|
+
# cause the first to be overwritten by the second.
|
|
766
|
+
# Corresponds to the JSON property `headers`
|
|
767
|
+
# @return [Hash<String,String>]
|
|
768
|
+
attr_accessor :headers
|
|
769
|
+
|
|
770
|
+
# Boolean specifiying whether to encrypt the header information. Encryption
|
|
771
|
+
# should be specified for any headers related to authentication that you do not
|
|
772
|
+
# wish to be seen when retrieving the configuration. The server will be
|
|
773
|
+
# responsible for encrypting the headers. On Get/List calls, if mask_headers is
|
|
774
|
+
# set to True then the headers will be obscured with ******.
|
|
775
|
+
# Corresponds to the JSON property `maskHeaders`
|
|
776
|
+
# @return [Boolean]
|
|
777
|
+
attr_accessor :mask_headers
|
|
778
|
+
alias_method :mask_headers?, :mask_headers
|
|
779
|
+
|
|
780
|
+
# The path to the page to run the check against. Will be combined with the host (
|
|
781
|
+
# specified within the MonitoredResource) and port to construct the full URL.
|
|
782
|
+
# Optional (defaults to "/").
|
|
783
|
+
# Corresponds to the JSON property `path`
|
|
784
|
+
# @return [String]
|
|
785
|
+
attr_accessor :path
|
|
786
|
+
|
|
787
|
+
# The port to the page to run the check against. Will be combined with host (
|
|
788
|
+
# specified within the MonitoredResource) and path to construct the full URL.
|
|
789
|
+
# Optional (defaults to 80 without SSL, or 443 with SSL).
|
|
790
|
+
# Corresponds to the JSON property `port`
|
|
791
|
+
# @return [Fixnum]
|
|
792
|
+
attr_accessor :port
|
|
793
|
+
|
|
794
|
+
# If true, use HTTPS instead of HTTP to run the check.
|
|
795
|
+
# Corresponds to the JSON property `useSsl`
|
|
796
|
+
# @return [Boolean]
|
|
797
|
+
attr_accessor :use_ssl
|
|
798
|
+
alias_method :use_ssl?, :use_ssl
|
|
799
|
+
|
|
800
|
+
def initialize(**args)
|
|
801
|
+
update!(**args)
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# Update properties of this object
|
|
805
|
+
def update!(**args)
|
|
806
|
+
@auth_info = args[:auth_info] if args.key?(:auth_info)
|
|
807
|
+
@headers = args[:headers] if args.key?(:headers)
|
|
808
|
+
@mask_headers = args[:mask_headers] if args.key?(:mask_headers)
|
|
809
|
+
@path = args[:path] if args.key?(:path)
|
|
810
|
+
@port = args[:port] if args.key?(:port)
|
|
811
|
+
@use_ssl = args[:use_ssl] if args.key?(:use_ssl)
|
|
812
|
+
end
|
|
813
|
+
end
|
|
814
|
+
|
|
701
815
|
# A description of a label.
|
|
702
816
|
class LabelDescriptor
|
|
703
817
|
include Google::Apis::Core::Hashable
|
|
@@ -908,6 +1022,65 @@ module Google
|
|
|
908
1022
|
end
|
|
909
1023
|
end
|
|
910
1024
|
|
|
1025
|
+
# The protocol for the ListUptimeCheckConfigs response.
|
|
1026
|
+
class ListUptimeCheckConfigsResponse
|
|
1027
|
+
include Google::Apis::Core::Hashable
|
|
1028
|
+
|
|
1029
|
+
# This field represents the pagination token to retrieve the next page of
|
|
1030
|
+
# results. If the value is empty, it means no further results for the request.
|
|
1031
|
+
# To retrieve the next page of results, the value of the next_page_token is
|
|
1032
|
+
# passed to the subsequent List method call (in the request message's page_token
|
|
1033
|
+
# field).
|
|
1034
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1035
|
+
# @return [String]
|
|
1036
|
+
attr_accessor :next_page_token
|
|
1037
|
+
|
|
1038
|
+
# The returned uptime check configurations.
|
|
1039
|
+
# Corresponds to the JSON property `uptimeCheckConfigs`
|
|
1040
|
+
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>]
|
|
1041
|
+
attr_accessor :uptime_check_configs
|
|
1042
|
+
|
|
1043
|
+
def initialize(**args)
|
|
1044
|
+
update!(**args)
|
|
1045
|
+
end
|
|
1046
|
+
|
|
1047
|
+
# Update properties of this object
|
|
1048
|
+
def update!(**args)
|
|
1049
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1050
|
+
@uptime_check_configs = args[:uptime_check_configs] if args.key?(:uptime_check_configs)
|
|
1051
|
+
end
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
# The protocol for the ListUptimeCheckIps response.
|
|
1055
|
+
class ListUptimeCheckIpsResponse
|
|
1056
|
+
include Google::Apis::Core::Hashable
|
|
1057
|
+
|
|
1058
|
+
# This field represents the pagination token to retrieve the next page of
|
|
1059
|
+
# results. If the value is empty, it means no further results for the request.
|
|
1060
|
+
# To retrieve the next page of results, the value of the next_page_token is
|
|
1061
|
+
# passed to the subsequent List method call (in the request message's page_token
|
|
1062
|
+
# field). NOTE: this field is not yet implemented
|
|
1063
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1064
|
+
# @return [String]
|
|
1065
|
+
attr_accessor :next_page_token
|
|
1066
|
+
|
|
1067
|
+
# The returned list of IP addresses (including region and location) that the
|
|
1068
|
+
# checkers run from.
|
|
1069
|
+
# Corresponds to the JSON property `uptimeCheckIps`
|
|
1070
|
+
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckIp>]
|
|
1071
|
+
attr_accessor :uptime_check_ips
|
|
1072
|
+
|
|
1073
|
+
def initialize(**args)
|
|
1074
|
+
update!(**args)
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1077
|
+
# Update properties of this object
|
|
1078
|
+
def update!(**args)
|
|
1079
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1080
|
+
@uptime_check_ips = args[:uptime_check_ips] if args.key?(:uptime_check_ips)
|
|
1081
|
+
end
|
|
1082
|
+
end
|
|
1083
|
+
|
|
911
1084
|
# A specific metric, identified by specifying values for all of the labels of a
|
|
912
1085
|
# MetricDescriptor.
|
|
913
1086
|
class Metric
|
|
@@ -1242,6 +1415,33 @@ module Google
|
|
|
1242
1415
|
end
|
|
1243
1416
|
end
|
|
1244
1417
|
|
|
1418
|
+
# The resource submessage for group checks. It can be used instead of a
|
|
1419
|
+
# monitored resource, when multiple resources are being monitored.
|
|
1420
|
+
class ResourceGroup
|
|
1421
|
+
include Google::Apis::Core::Hashable
|
|
1422
|
+
|
|
1423
|
+
# The group of resources being monitored. Should be only the group_id, not
|
|
1424
|
+
# projects/<project_id>/groups/<group_id>.
|
|
1425
|
+
# Corresponds to the JSON property `groupId`
|
|
1426
|
+
# @return [String]
|
|
1427
|
+
attr_accessor :group_id
|
|
1428
|
+
|
|
1429
|
+
# The resource type of the group members.
|
|
1430
|
+
# Corresponds to the JSON property `resourceType`
|
|
1431
|
+
# @return [String]
|
|
1432
|
+
attr_accessor :resource_type
|
|
1433
|
+
|
|
1434
|
+
def initialize(**args)
|
|
1435
|
+
update!(**args)
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
# Update properties of this object
|
|
1439
|
+
def update!(**args)
|
|
1440
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
|
1441
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
1442
|
+
end
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1245
1445
|
# SourceContext represents information about the source of a protobuf element,
|
|
1246
1446
|
# like the file in which it is defined.
|
|
1247
1447
|
class SourceContext
|
|
@@ -1330,6 +1530,26 @@ module Google
|
|
|
1330
1530
|
end
|
|
1331
1531
|
end
|
|
1332
1532
|
|
|
1533
|
+
# Information required for a TCP uptime check request.
|
|
1534
|
+
class TcpCheck
|
|
1535
|
+
include Google::Apis::Core::Hashable
|
|
1536
|
+
|
|
1537
|
+
# The port to the page to run the check against. Will be combined with host (
|
|
1538
|
+
# specified within the MonitoredResource) to construct the full URL. Required.
|
|
1539
|
+
# Corresponds to the JSON property `port`
|
|
1540
|
+
# @return [Fixnum]
|
|
1541
|
+
attr_accessor :port
|
|
1542
|
+
|
|
1543
|
+
def initialize(**args)
|
|
1544
|
+
update!(**args)
|
|
1545
|
+
end
|
|
1546
|
+
|
|
1547
|
+
# Update properties of this object
|
|
1548
|
+
def update!(**args)
|
|
1549
|
+
@port = args[:port] if args.key?(:port)
|
|
1550
|
+
end
|
|
1551
|
+
end
|
|
1552
|
+
|
|
1333
1553
|
# A time interval extending just after a start time through an end time. If the
|
|
1334
1554
|
# start time is the same as the end time, then the interval represents a single
|
|
1335
1555
|
# point in time.
|
|
@@ -1536,6 +1756,144 @@ module Google
|
|
|
1536
1756
|
@string_value = args[:string_value] if args.key?(:string_value)
|
|
1537
1757
|
end
|
|
1538
1758
|
end
|
|
1759
|
+
|
|
1760
|
+
# This message configures which resources and services to monitor for
|
|
1761
|
+
# availability.
|
|
1762
|
+
class UptimeCheckConfig
|
|
1763
|
+
include Google::Apis::Core::Hashable
|
|
1764
|
+
|
|
1765
|
+
# The expected content on the page the check is run against. Currently, only the
|
|
1766
|
+
# first entry in the list is supported, and other entries will be ignored. The
|
|
1767
|
+
# server will look for an exact match of the string in the page response's
|
|
1768
|
+
# content. This field is optional and should only be specified if a content
|
|
1769
|
+
# match is required.
|
|
1770
|
+
# Corresponds to the JSON property `contentMatchers`
|
|
1771
|
+
# @return [Array<Google::Apis::MonitoringV3::ContentMatcher>]
|
|
1772
|
+
attr_accessor :content_matchers
|
|
1773
|
+
|
|
1774
|
+
# A human-friendly name for the uptime check configuration. The display name
|
|
1775
|
+
# should be unique within a Stackdriver Account in order to make it easier to
|
|
1776
|
+
# identify; however, uniqueness is not enforced. Required.
|
|
1777
|
+
# Corresponds to the JSON property `displayName`
|
|
1778
|
+
# @return [String]
|
|
1779
|
+
attr_accessor :display_name
|
|
1780
|
+
|
|
1781
|
+
# Information involved in an HTTP/HTTPS uptime check request.
|
|
1782
|
+
# Corresponds to the JSON property `httpCheck`
|
|
1783
|
+
# @return [Google::Apis::MonitoringV3::HttpCheck]
|
|
1784
|
+
attr_accessor :http_check
|
|
1785
|
+
|
|
1786
|
+
# An object representing a resource that can be used for monitoring, logging,
|
|
1787
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
|
1788
|
+
# databases, and storage devices such as disks. The type field identifies a
|
|
1789
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
|
1790
|
+
# Information in the labels field identifies the actual resource and its
|
|
1791
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
|
1792
|
+
# VM instance could be represented by the following object, because the
|
|
1793
|
+
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
|
1794
|
+
# zone":
|
|
1795
|
+
# ` "type": "gce_instance",
|
|
1796
|
+
# "labels": ` "instance_id": "12345678901234",
|
|
1797
|
+
# "zone": "us-central1-a" ``
|
|
1798
|
+
# Corresponds to the JSON property `monitoredResource`
|
|
1799
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResource]
|
|
1800
|
+
attr_accessor :monitored_resource
|
|
1801
|
+
|
|
1802
|
+
# A unique resource name for this UptimeCheckConfig. The format is:projects/[
|
|
1803
|
+
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted
|
|
1804
|
+
# when creating the uptime check configuration; on create, the resource name is
|
|
1805
|
+
# assigned by the server and included in the response.
|
|
1806
|
+
# Corresponds to the JSON property `name`
|
|
1807
|
+
# @return [String]
|
|
1808
|
+
attr_accessor :name
|
|
1809
|
+
|
|
1810
|
+
# How often the uptime check is performed. Currently, only 1, 5, 10, and 15
|
|
1811
|
+
# minutes are supported. Required.
|
|
1812
|
+
# Corresponds to the JSON property `period`
|
|
1813
|
+
# @return [String]
|
|
1814
|
+
attr_accessor :period
|
|
1815
|
+
|
|
1816
|
+
# The resource submessage for group checks. It can be used instead of a
|
|
1817
|
+
# monitored resource, when multiple resources are being monitored.
|
|
1818
|
+
# Corresponds to the JSON property `resourceGroup`
|
|
1819
|
+
# @return [Google::Apis::MonitoringV3::ResourceGroup]
|
|
1820
|
+
attr_accessor :resource_group
|
|
1821
|
+
|
|
1822
|
+
# The list of regions from which the check will be run. If this field is
|
|
1823
|
+
# specified, enough regions to include a minimum of 3 locations must be provided,
|
|
1824
|
+
# or an error message is returned. Not specifying this field will result in
|
|
1825
|
+
# uptime checks running from all regions.
|
|
1826
|
+
# Corresponds to the JSON property `selectedRegions`
|
|
1827
|
+
# @return [Array<String>]
|
|
1828
|
+
attr_accessor :selected_regions
|
|
1829
|
+
|
|
1830
|
+
# Information required for a TCP uptime check request.
|
|
1831
|
+
# Corresponds to the JSON property `tcpCheck`
|
|
1832
|
+
# @return [Google::Apis::MonitoringV3::TcpCheck]
|
|
1833
|
+
attr_accessor :tcp_check
|
|
1834
|
+
|
|
1835
|
+
# The maximum amount of time to wait for the request to complete (must be
|
|
1836
|
+
# between 1 and 60 seconds). Required.
|
|
1837
|
+
# Corresponds to the JSON property `timeout`
|
|
1838
|
+
# @return [String]
|
|
1839
|
+
attr_accessor :timeout
|
|
1840
|
+
|
|
1841
|
+
def initialize(**args)
|
|
1842
|
+
update!(**args)
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
# Update properties of this object
|
|
1846
|
+
def update!(**args)
|
|
1847
|
+
@content_matchers = args[:content_matchers] if args.key?(:content_matchers)
|
|
1848
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1849
|
+
@http_check = args[:http_check] if args.key?(:http_check)
|
|
1850
|
+
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
|
|
1851
|
+
@name = args[:name] if args.key?(:name)
|
|
1852
|
+
@period = args[:period] if args.key?(:period)
|
|
1853
|
+
@resource_group = args[:resource_group] if args.key?(:resource_group)
|
|
1854
|
+
@selected_regions = args[:selected_regions] if args.key?(:selected_regions)
|
|
1855
|
+
@tcp_check = args[:tcp_check] if args.key?(:tcp_check)
|
|
1856
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
1857
|
+
end
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
# Contains the region, location, and list of IP addresses where checkers in the
|
|
1861
|
+
# location run from.
|
|
1862
|
+
class UptimeCheckIp
|
|
1863
|
+
include Google::Apis::Core::Hashable
|
|
1864
|
+
|
|
1865
|
+
# The IP address from which the uptime check originates. This is a full IP
|
|
1866
|
+
# address (not an IP address range). Most IP addresses, as of this publication,
|
|
1867
|
+
# are in IPv4 format; however, one should not rely on the IP addresses being in
|
|
1868
|
+
# IPv4 format indefinitely and should support interpreting this field in either
|
|
1869
|
+
# IPv4 or IPv6 format.
|
|
1870
|
+
# Corresponds to the JSON property `ipAddress`
|
|
1871
|
+
# @return [String]
|
|
1872
|
+
attr_accessor :ip_address
|
|
1873
|
+
|
|
1874
|
+
# A more specific location within the region that typically encodes a particular
|
|
1875
|
+
# city/town/metro (and its containing state/province or country) within the
|
|
1876
|
+
# broader umbrella region category.
|
|
1877
|
+
# Corresponds to the JSON property `location`
|
|
1878
|
+
# @return [String]
|
|
1879
|
+
attr_accessor :location
|
|
1880
|
+
|
|
1881
|
+
# A broad region category in which the IP address is located.
|
|
1882
|
+
# Corresponds to the JSON property `region`
|
|
1883
|
+
# @return [String]
|
|
1884
|
+
attr_accessor :region
|
|
1885
|
+
|
|
1886
|
+
def initialize(**args)
|
|
1887
|
+
update!(**args)
|
|
1888
|
+
end
|
|
1889
|
+
|
|
1890
|
+
# Update properties of this object
|
|
1891
|
+
def update!(**args)
|
|
1892
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
1893
|
+
@location = args[:location] if args.key?(:location)
|
|
1894
|
+
@region = args[:region] if args.key?(:region)
|
|
1895
|
+
end
|
|
1896
|
+
end
|
|
1539
1897
|
end
|
|
1540
1898
|
end
|
|
1541
1899
|
end
|