google-api-client 0.42.1 → 0.42.2
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 +76 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +6 -12
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +18 -5
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- 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/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +14 -10
- data/generated/google/apis/customsearch_v1/service.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +195 -245
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +6 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -32
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
|
@@ -48,13 +48,12 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
# Send a message to specified target (a registration token, topic
|
|
52
|
-
# or condition).
|
|
51
|
+
# Send a message to specified target (a registration token, topic or condition).
|
|
53
52
|
# @param [String] parent
|
|
54
|
-
# Required. It contains the Firebase project id (i.e. the unique identifier
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
53
|
+
# Required. It contains the Firebase project id (i.e. the unique identifier for
|
|
54
|
+
# your Firebase project), in the format of `projects/`project_id``. For legacy
|
|
55
|
+
# support, the numeric project number with no padding is also supported in the
|
|
56
|
+
# format of `projects/`project_number``.
|
|
58
57
|
# @param [Google::Apis::FcmV1::SendMessageRequest] send_message_request_object
|
|
59
58
|
# @param [String] fields
|
|
60
59
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://firebase.google.com
|
|
27
27
|
module FirebaseV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200720'
|
|
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'
|
|
@@ -1106,16 +1106,13 @@ module Google
|
|
|
1106
1106
|
# with an encoded message of that type. Its use is similar to
|
|
1107
1107
|
# MessageSet, except it represents a single (type, encoded message)
|
|
1108
1108
|
# instead of a set.
|
|
1109
|
-
# To
|
|
1110
|
-
#
|
|
1109
|
+
# To embed "proto" inside "typed_msg":
|
|
1110
|
+
# MyProtoMessage proto;
|
|
1111
1111
|
# TypedMessage typed_msg;
|
|
1112
|
-
# typed_msg.set_type_id(
|
|
1113
|
-
# proto.AppendToCord(typed_msg.mutable_message());
|
|
1114
|
-
# To fill for unknown protocol type:
|
|
1115
|
-
# ProtocolMessage proto;
|
|
1116
|
-
# TypedMessage typed_msg;
|
|
1117
|
-
# typed_msg.set_type_id(proto.GetMapper()->type_id());
|
|
1112
|
+
# typed_msg.set_type_id(proto2::bridge::GetTypeId(proto));
|
|
1118
1113
|
# proto.AppendToCord(typed_msg.mutable_message());
|
|
1114
|
+
# Error handling is omitted from the sample code above. GetTypeId() will return
|
|
1115
|
+
# 0 for messages that don't have a TypeId specified.
|
|
1119
1116
|
# Corresponds to the JSON property `payload`
|
|
1120
1117
|
# @return [Google::Apis::FirebaseV1beta1::TypedMessage]
|
|
1121
1118
|
attr_accessor :payload
|
|
@@ -1195,16 +1192,13 @@ module Google
|
|
|
1195
1192
|
# with an encoded message of that type. Its use is similar to
|
|
1196
1193
|
# MessageSet, except it represents a single (type, encoded message)
|
|
1197
1194
|
# instead of a set.
|
|
1198
|
-
# To
|
|
1199
|
-
#
|
|
1200
|
-
# TypedMessage typed_msg;
|
|
1201
|
-
# typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);
|
|
1202
|
-
# proto.AppendToCord(typed_msg.mutable_message());
|
|
1203
|
-
# To fill for unknown protocol type:
|
|
1204
|
-
# ProtocolMessage proto;
|
|
1195
|
+
# To embed "proto" inside "typed_msg":
|
|
1196
|
+
# MyProtoMessage proto;
|
|
1205
1197
|
# TypedMessage typed_msg;
|
|
1206
|
-
# typed_msg.set_type_id(proto
|
|
1198
|
+
# typed_msg.set_type_id(proto2::bridge::GetTypeId(proto));
|
|
1207
1199
|
# proto.AppendToCord(typed_msg.mutable_message());
|
|
1200
|
+
# Error handling is omitted from the sample code above. GetTypeId() will return
|
|
1201
|
+
# 0 for messages that don't have a TypeId specified.
|
|
1208
1202
|
class TypedMessage
|
|
1209
1203
|
include Google::Apis::Core::Hashable
|
|
1210
1204
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com
|
|
26
26
|
module FirebasemlV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200722'
|
|
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'
|
|
@@ -324,6 +324,14 @@ module Google
|
|
|
324
324
|
# @return [String]
|
|
325
325
|
attr_accessor :gcs_tflite_uri
|
|
326
326
|
|
|
327
|
+
# Output only. A boolean indicating that this model was uploaded from the
|
|
328
|
+
# console.
|
|
329
|
+
# Read only
|
|
330
|
+
# Corresponds to the JSON property `managedUpload`
|
|
331
|
+
# @return [Boolean]
|
|
332
|
+
attr_accessor :managed_upload
|
|
333
|
+
alias_method :managed_upload?, :managed_upload
|
|
334
|
+
|
|
327
335
|
# Output only. The size of the TFLite model
|
|
328
336
|
# Corresponds to the JSON property `sizeBytes`
|
|
329
337
|
# @return [String]
|
|
@@ -336,6 +344,7 @@ module Google
|
|
|
336
344
|
# Update properties of this object
|
|
337
345
|
def update!(**args)
|
|
338
346
|
@gcs_tflite_uri = args[:gcs_tflite_uri] if args.key?(:gcs_tflite_uri)
|
|
347
|
+
@managed_upload = args[:managed_upload] if args.key?(:managed_upload)
|
|
339
348
|
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
|
340
349
|
end
|
|
341
350
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/games/
|
|
27
27
|
module GamesConfigurationV1configuration
|
|
28
28
|
VERSION = 'V1configuration'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200720'
|
|
30
30
|
|
|
31
31
|
# View and manage your Google Play Developer account
|
|
32
32
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -44,8 +44,8 @@ module Google
|
|
|
44
44
|
attr_accessor :quota_user
|
|
45
45
|
|
|
46
46
|
def initialize
|
|
47
|
-
super('https://
|
|
48
|
-
@batch_path = 'batch
|
|
47
|
+
super('https://gamesconfiguration.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# Delete the achievement configuration with the given ID.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/games/
|
|
28
28
|
module GamesManagementV1management
|
|
29
29
|
VERSION = 'V1management'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200720'
|
|
31
31
|
|
|
32
32
|
# Create, edit, and delete your Google Play Games activity
|
|
33
33
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
|
@@ -45,8 +45,8 @@ module Google
|
|
|
45
45
|
attr_accessor :quota_user
|
|
46
46
|
|
|
47
47
|
def initialize
|
|
48
|
-
super('https://
|
|
49
|
-
@batch_path = 'batch
|
|
48
|
+
super('https://gamesmanagement.googleapis.com/', '')
|
|
49
|
+
@batch_path = 'batch'
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Resets the achievement with the given ID for the currently authenticated
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/games/
|
|
28
28
|
module GamesV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200720'
|
|
31
31
|
|
|
32
32
|
# View and manage its own configuration data in your Google Drive
|
|
33
33
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
|
@@ -45,8 +45,8 @@ module Google
|
|
|
45
45
|
attr_accessor :quota_user
|
|
46
46
|
|
|
47
47
|
def initialize
|
|
48
|
-
super('https://
|
|
49
|
-
@batch_path = 'batch
|
|
48
|
+
super('https://games.googleapis.com/', '')
|
|
49
|
+
@batch_path = 'batch'
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Lists all the achievement definitions for your application.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/gmail/api/
|
|
27
27
|
module GmailV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200720'
|
|
30
30
|
|
|
31
31
|
# Read, compose, send, and permanently delete all your email from Gmail
|
|
32
32
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -537,8 +537,8 @@ module Google
|
|
|
537
537
|
# @return [String]
|
|
538
538
|
attr_accessor :label_list_visibility
|
|
539
539
|
|
|
540
|
-
# The visibility of
|
|
541
|
-
# Gmail web interface.
|
|
540
|
+
# The visibility of messages with this label in the message list
|
|
541
|
+
# in the Gmail web interface.
|
|
542
542
|
# @mutable gmail.users.labels.create gmail.users.labels.update
|
|
543
543
|
# Corresponds to the JSON property `messageListVisibility`
|
|
544
544
|
# @return [String]
|
|
@@ -767,7 +767,8 @@ module Google
|
|
|
767
767
|
# @param [String] format
|
|
768
768
|
# The format to return the message in.
|
|
769
769
|
# @param [Array<String>, String] metadata_headers
|
|
770
|
-
# When given and format is METADATA
|
|
770
|
+
# When given and format is `METADATA`, only include headers
|
|
771
|
+
# specified.
|
|
771
772
|
# @param [String] fields
|
|
772
773
|
# Selector specifying which fields to include in a partial response.
|
|
773
774
|
# @param [String] quota_user
|
|
@@ -27,7 +27,10 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/gmail/postmaster
|
|
28
28
|
module GmailpostmastertoolsV1beta1
|
|
29
29
|
VERSION = 'V1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200719'
|
|
31
|
+
|
|
32
|
+
# See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
|
|
33
|
+
AUTH_POSTMASTER_READONLY = 'https://www.googleapis.com/auth/postmaster.readonly'
|
|
31
34
|
end
|
|
32
35
|
end
|
|
33
36
|
end
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV1
|
|
31
31
|
VERSION = 'V1'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200720'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -52,7 +52,8 @@ module Google
|
|
|
52
52
|
# value must be at least 60 seconds. If a per-series aligner other than
|
|
53
53
|
# ALIGN_NONE is specified, this field is required or an error is returned. If no
|
|
54
54
|
# per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
|
|
55
|
-
# this field is ignored.
|
|
55
|
+
# this field is ignored.The maximum value of the alignment_period is 2 years, or
|
|
56
|
+
# 104 weeks.
|
|
56
57
|
# Corresponds to the JSON property `alignmentPeriod`
|
|
57
58
|
# @return [String]
|
|
58
59
|
attr_accessor :alignment_period
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV3
|
|
31
31
|
VERSION = 'V3'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200720'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -49,10 +49,11 @@ module Google
|
|
|
49
49
|
# The alignment_period specifies a time interval, in seconds, that is used to
|
|
50
50
|
# divide the data in all the time series into consistent blocks of time. This
|
|
51
51
|
# will be done before the per-series aligner can be applied to the data.The
|
|
52
|
-
# value must be at least 60 seconds. If a per-series aligner
|
|
53
|
-
# ALIGN_NONE is specified, this field is required or an error is
|
|
54
|
-
# per-series aligner is specified, or the aligner ALIGN_NONE is
|
|
55
|
-
# this field is ignored.
|
|
52
|
+
# value must be at least 60 seconds, at most 104 weeks. If a per-series aligner
|
|
53
|
+
# other than ALIGN_NONE is specified, this field is required or an error is
|
|
54
|
+
# returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is
|
|
55
|
+
# specified, then this field is ignored.The maximum value of the
|
|
56
|
+
# alignment_period is 2 years, or 104 weeks.
|
|
56
57
|
# Corresponds to the JSON property `alignmentPeriod`
|
|
57
58
|
# @return [String]
|
|
58
59
|
attr_accessor :alignment_period
|
|
@@ -1236,10 +1236,11 @@ module Google
|
|
|
1236
1236
|
# The alignment_period specifies a time interval, in seconds, that is used to
|
|
1237
1237
|
# divide the data in all the time series into consistent blocks of time. This
|
|
1238
1238
|
# will be done before the per-series aligner can be applied to the data.The
|
|
1239
|
-
# value must be at least 60 seconds. If a per-series aligner
|
|
1240
|
-
# ALIGN_NONE is specified, this field is required or an error is
|
|
1241
|
-
# per-series aligner is specified, or the aligner ALIGN_NONE is
|
|
1242
|
-
# this field is ignored.
|
|
1239
|
+
# value must be at least 60 seconds, at most 104 weeks. If a per-series aligner
|
|
1240
|
+
# other than ALIGN_NONE is specified, this field is required or an error is
|
|
1241
|
+
# returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is
|
|
1242
|
+
# specified, then this field is ignored.The maximum value of the
|
|
1243
|
+
# alignment_period is 2 years, or 104 weeks.
|
|
1243
1244
|
# @param [String] aggregation_cross_series_reducer
|
|
1244
1245
|
# The reduction operation to be used to combine time series into a single time
|
|
1245
1246
|
# series, where the value of each data point in the resulting series is a
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/
|
|
27
27
|
module OsconfigV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200714'
|
|
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'
|
|
@@ -199,6 +199,12 @@ module Google
|
|
|
199
199
|
# @return [Google::Apis::OsconfigV1::PatchConfig]
|
|
200
200
|
attr_accessor :patch_config
|
|
201
201
|
|
|
202
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
203
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
204
|
+
# Corresponds to the JSON property `rollout`
|
|
205
|
+
# @return [Google::Apis::OsconfigV1::PatchRollout]
|
|
206
|
+
attr_accessor :rollout
|
|
207
|
+
|
|
202
208
|
def initialize(**args)
|
|
203
209
|
update!(**args)
|
|
204
210
|
end
|
|
@@ -211,6 +217,34 @@ module Google
|
|
|
211
217
|
@duration = args[:duration] if args.key?(:duration)
|
|
212
218
|
@instance_filter = args[:instance_filter] if args.key?(:instance_filter)
|
|
213
219
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
220
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
|
225
|
+
# relative ("percent") to a value.
|
|
226
|
+
class FixedOrPercent
|
|
227
|
+
include Google::Apis::Core::Hashable
|
|
228
|
+
|
|
229
|
+
# Specifies a fixed value.
|
|
230
|
+
# Corresponds to the JSON property `fixed`
|
|
231
|
+
# @return [Fixnum]
|
|
232
|
+
attr_accessor :fixed
|
|
233
|
+
|
|
234
|
+
# Specifies the relative value defined as a percentage, which will be
|
|
235
|
+
# multiplied by a reference value.
|
|
236
|
+
# Corresponds to the JSON property `percent`
|
|
237
|
+
# @return [Fixnum]
|
|
238
|
+
attr_accessor :percent
|
|
239
|
+
|
|
240
|
+
def initialize(**args)
|
|
241
|
+
update!(**args)
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Update properties of this object
|
|
245
|
+
def update!(**args)
|
|
246
|
+
@fixed = args[:fixed] if args.key?(:fixed)
|
|
247
|
+
@percent = args[:percent] if args.key?(:percent)
|
|
214
248
|
end
|
|
215
249
|
end
|
|
216
250
|
|
|
@@ -517,6 +551,12 @@ module Google
|
|
|
517
551
|
# @return [Google::Apis::OsconfigV1::RecurringSchedule]
|
|
518
552
|
attr_accessor :recurring_schedule
|
|
519
553
|
|
|
554
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
555
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
556
|
+
# Corresponds to the JSON property `rollout`
|
|
557
|
+
# @return [Google::Apis::OsconfigV1::PatchRollout]
|
|
558
|
+
attr_accessor :rollout
|
|
559
|
+
|
|
520
560
|
# Output only. Time the patch deployment was last updated. Timestamp is in
|
|
521
561
|
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
|
522
562
|
# Corresponds to the JSON property `updateTime`
|
|
@@ -538,6 +578,7 @@ module Google
|
|
|
538
578
|
@one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
|
|
539
579
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
540
580
|
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
|
|
581
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
541
582
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
542
583
|
end
|
|
543
584
|
end
|
|
@@ -709,6 +750,12 @@ module Google
|
|
|
709
750
|
# @return [Float]
|
|
710
751
|
attr_accessor :percent_complete
|
|
711
752
|
|
|
753
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
754
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
755
|
+
# Corresponds to the JSON property `rollout`
|
|
756
|
+
# @return [Google::Apis::OsconfigV1::PatchRollout]
|
|
757
|
+
attr_accessor :rollout
|
|
758
|
+
|
|
712
759
|
# The current state of the PatchJob.
|
|
713
760
|
# Corresponds to the JSON property `state`
|
|
714
761
|
# @return [String]
|
|
@@ -737,6 +784,7 @@ module Google
|
|
|
737
784
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
738
785
|
@patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
|
|
739
786
|
@percent_complete = args[:percent_complete] if args.key?(:percent_complete)
|
|
787
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
740
788
|
@state = args[:state] if args.key?(:state)
|
|
741
789
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
742
790
|
end
|
|
@@ -898,6 +946,33 @@ module Google
|
|
|
898
946
|
end
|
|
899
947
|
end
|
|
900
948
|
|
|
949
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
950
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
951
|
+
class PatchRollout
|
|
952
|
+
include Google::Apis::Core::Hashable
|
|
953
|
+
|
|
954
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
|
955
|
+
# relative ("percent") to a value.
|
|
956
|
+
# Corresponds to the JSON property `disruptionBudget`
|
|
957
|
+
# @return [Google::Apis::OsconfigV1::FixedOrPercent]
|
|
958
|
+
attr_accessor :disruption_budget
|
|
959
|
+
|
|
960
|
+
# Mode of the patch rollout.
|
|
961
|
+
# Corresponds to the JSON property `mode`
|
|
962
|
+
# @return [String]
|
|
963
|
+
attr_accessor :mode
|
|
964
|
+
|
|
965
|
+
def initialize(**args)
|
|
966
|
+
update!(**args)
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
# Update properties of this object
|
|
970
|
+
def update!(**args)
|
|
971
|
+
@disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
|
|
972
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
973
|
+
end
|
|
974
|
+
end
|
|
975
|
+
|
|
901
976
|
# Sets the time for recurring patch deployments.
|
|
902
977
|
class RecurringSchedule
|
|
903
978
|
include Google::Apis::Core::Hashable
|
|
@@ -58,6 +58,12 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class FixedOrPercent
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
61
67
|
class GcsObject
|
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
69
|
|
|
@@ -142,6 +148,12 @@ module Google
|
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
149
|
end
|
|
144
150
|
|
|
151
|
+
class PatchRollout
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
145
157
|
class RecurringSchedule
|
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
159
|
|
|
@@ -243,6 +255,16 @@ module Google
|
|
|
243
255
|
|
|
244
256
|
property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1::PatchConfig, decorator: Google::Apis::OsconfigV1::PatchConfig::Representation
|
|
245
257
|
|
|
258
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
|
|
259
|
+
|
|
260
|
+
end
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
class FixedOrPercent
|
|
264
|
+
# @private
|
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
266
|
+
property :fixed, as: 'fixed'
|
|
267
|
+
property :percent, as: 'percent'
|
|
246
268
|
end
|
|
247
269
|
end
|
|
248
270
|
|
|
@@ -341,6 +363,8 @@ module Google
|
|
|
341
363
|
|
|
342
364
|
property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1::RecurringSchedule, decorator: Google::Apis::OsconfigV1::RecurringSchedule::Representation
|
|
343
365
|
|
|
366
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
|
|
367
|
+
|
|
344
368
|
property :update_time, as: 'updateTime'
|
|
345
369
|
end
|
|
346
370
|
end
|
|
@@ -382,6 +406,8 @@ module Google
|
|
|
382
406
|
|
|
383
407
|
property :patch_deployment, as: 'patchDeployment'
|
|
384
408
|
property :percent_complete, as: 'percentComplete'
|
|
409
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation
|
|
410
|
+
|
|
385
411
|
property :state, as: 'state'
|
|
386
412
|
property :update_time, as: 'updateTime'
|
|
387
413
|
end
|
|
@@ -419,6 +445,15 @@ module Google
|
|
|
419
445
|
end
|
|
420
446
|
end
|
|
421
447
|
|
|
448
|
+
class PatchRollout
|
|
449
|
+
# @private
|
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
451
|
+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1::FixedOrPercent, decorator: Google::Apis::OsconfigV1::FixedOrPercent::Representation
|
|
452
|
+
|
|
453
|
+
property :mode, as: 'mode'
|
|
454
|
+
end
|
|
455
|
+
end
|
|
456
|
+
|
|
422
457
|
class RecurringSchedule
|
|
423
458
|
# @private
|
|
424
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|