google-api-client 0.15.0 → 0.16.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 +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
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ScriptV1
|
23
|
-
# Google Apps Script
|
23
|
+
# Google Apps Script API
|
24
24
|
#
|
25
25
|
# An API for managing and executing Google Apps Script projects.
|
26
26
|
#
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Runs a function in an Apps Script project. The project must be deployed
|
51
|
-
# for use with the Apps Script
|
51
|
+
# for use with the Apps Script API.
|
52
52
|
# This method requires authorization with an OAuth 2.0 token that includes at
|
53
53
|
# least one of the scopes listed in the [Authorization](#authorization)
|
54
54
|
# section; script projects that do not require authorization cannot be
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
27
27
|
module ServicecontrolV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20171007'
|
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'
|
@@ -1231,8 +1231,10 @@ module Google
|
|
1231
1231
|
|
1232
1232
|
# Fully qualified name of the API method for which this quota operation is
|
1233
1233
|
# requested. This name is used for matching quota rules or metric rules and
|
1234
|
-
# billing status rules defined in service configuration.
|
1235
|
-
#
|
1234
|
+
# billing status rules defined in service configuration.
|
1235
|
+
# This field should not be set if any of the following is true:
|
1236
|
+
# (1) the quota operation is performed on non-API resources.
|
1237
|
+
# (2) quota_metrics is set because the caller is doing quota override.
|
1236
1238
|
# Example of an RPC method name:
|
1237
1239
|
# google.example.library.v1.LibraryService.CreateShelf
|
1238
1240
|
# Corresponds to the JSON property `methodName`
|
@@ -1259,6 +1261,7 @@ module Google
|
|
1259
1261
|
# label value combinations. If a request has such duplicated MetricValue
|
1260
1262
|
# instances, the entire request is rejected with
|
1261
1263
|
# an invalid argument error.
|
1264
|
+
# This field is mutually exclusive with method_name.
|
1262
1265
|
# Corresponds to the JSON property `quotaMetrics`
|
1263
1266
|
# @return [Array<Google::Apis::ServicecontrolV1::MetricValueSet>]
|
1264
1267
|
attr_accessor :quota_metrics
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20171013'
|
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'
|
@@ -1289,8 +1289,8 @@ module Google
|
|
1289
1289
|
include Google::Apis::Core::Hashable
|
1290
1290
|
|
1291
1291
|
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
1292
|
-
# please specify multiple google.api.Endpoint for each of the
|
1293
|
-
#
|
1292
|
+
# please specify multiple google.api.Endpoint for each of the intended
|
1293
|
+
# aliases.
|
1294
1294
|
# Additional names that this endpoint will be hosted on.
|
1295
1295
|
# Corresponds to the JSON property `aliases`
|
1296
1296
|
# @return [Array<String>]
|
@@ -2533,6 +2533,8 @@ module Google
|
|
2533
2533
|
|
2534
2534
|
# A concise name for the metric, which can be displayed in user interfaces.
|
2535
2535
|
# Use sentence case without an ending period, for example "Request count".
|
2536
|
+
# This field is optional but it is recommended to be set for any metrics
|
2537
|
+
# associated with user-visible concepts, such as Quota.
|
2536
2538
|
# Corresponds to the JSON property `displayName`
|
2537
2539
|
# @return [String]
|
2538
2540
|
attr_accessor :display_name
|
@@ -2553,14 +2555,7 @@ module Google
|
|
2553
2555
|
# @return [String]
|
2554
2556
|
attr_accessor :metric_kind
|
2555
2557
|
|
2556
|
-
# The resource name of the metric descriptor.
|
2557
|
-
# implementation, the name typically includes: (1) the parent resource name
|
2558
|
-
# that defines the scope of the metric type or of its data; and (2) the
|
2559
|
-
# metric's URL-encoded type, which also appears in the `type` field of this
|
2560
|
-
# descriptor. For example, following is the resource name of a custom
|
2561
|
-
# metric within the GCP project `my-project-id`:
|
2562
|
-
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
2563
|
-
# 2Fpaid%2Famount"
|
2558
|
+
# The resource name of the metric descriptor.
|
2564
2559
|
# Corresponds to the JSON property `name`
|
2565
2560
|
# @return [String]
|
2566
2561
|
attr_accessor :name
|
@@ -3387,22 +3382,14 @@ module Google
|
|
3387
3382
|
# The name of the metric this quota limit applies to. The quota limits with
|
3388
3383
|
# the same metric will be checked together during runtime. The metric must be
|
3389
3384
|
# defined within the service config.
|
3390
|
-
# Used by metric-based quotas only.
|
3391
3385
|
# Corresponds to the JSON property `metric`
|
3392
3386
|
# @return [String]
|
3393
3387
|
attr_accessor :metric
|
3394
3388
|
|
3395
|
-
# Name of the quota limit.
|
3396
|
-
#
|
3397
|
-
#
|
3398
|
-
# unique within the service. The name can only include alphanumeric
|
3399
|
-
# characters as well as '-'.
|
3389
|
+
# Name of the quota limit.
|
3390
|
+
# The name must be provided, and it must be unique within the service. The
|
3391
|
+
# name can only include alphanumeric characters as well as '-'.
|
3400
3392
|
# The maximum length of the limit name is 64 characters.
|
3401
|
-
# The name of a limit is used as a unique identifier for this limit.
|
3402
|
-
# Therefore, once a limit has been put into use, its name should be
|
3403
|
-
# immutable. You can use the display_name field to provide a user-friendly
|
3404
|
-
# name for the limit. The display name can be evolved over time without
|
3405
|
-
# affecting the identity of the limit.
|
3406
3393
|
# Corresponds to the JSON property `name`
|
3407
3394
|
# @return [String]
|
3408
3395
|
attr_accessor :name
|
@@ -3410,24 +3397,17 @@ module Google
|
|
3410
3397
|
# Specify the unit of the quota limit. It uses the same syntax as
|
3411
3398
|
# Metric.unit. The supported unit kinds are determined by the quota
|
3412
3399
|
# backend system.
|
3413
|
-
# The [Google Service Control](https://cloud.google.com/service-control)
|
3414
|
-
# supports the following unit components:
|
3415
|
-
# * One of the time intevals:
|
3416
|
-
# * "/min" for quota every minute.
|
3417
|
-
# * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
|
3418
|
-
# * Otherwise the quota won't be reset by time, such as storage limit.
|
3419
|
-
# * One and only one of the granted containers:
|
3420
|
-
# * "/`project`" quota for a project
|
3421
3400
|
# Here are some examples:
|
3422
3401
|
# * "1/min/`project`" for quota per minute per project.
|
3423
3402
|
# Note: the order of unit components is insignificant.
|
3424
3403
|
# The "1" at the beginning is required to follow the metric unit syntax.
|
3425
|
-
# Used by metric-based quotas only.
|
3426
3404
|
# Corresponds to the JSON property `unit`
|
3427
3405
|
# @return [String]
|
3428
3406
|
attr_accessor :unit
|
3429
3407
|
|
3430
|
-
# Tiered limit values
|
3408
|
+
# Tiered limit values. You must specify this as a key:value pair, with an
|
3409
|
+
# integer value that is the maximum number of requests allowed for the
|
3410
|
+
# specified unit. Currently only STANDARD is supported.
|
3431
3411
|
# Corresponds to the JSON property `values`
|
3432
3412
|
# @return [Hash<String,Fixnum>]
|
3433
3413
|
attr_accessor :values
|
@@ -4604,6 +4584,8 @@ module Google
|
|
4604
4584
|
|
4605
4585
|
# True, if the method should skip service control. If so, no control plane
|
4606
4586
|
# feature (like quota and billing) will be enabled.
|
4587
|
+
# This flag is used by ESP to allow some Endpoints customers to bypass
|
4588
|
+
# Google internal checks.
|
4607
4589
|
# Corresponds to the JSON property `skipServiceControl`
|
4608
4590
|
# @return [Boolean]
|
4609
4591
|
attr_accessor :skip_service_control
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServiceuserV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20171013'
|
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'
|
@@ -863,8 +863,8 @@ module Google
|
|
863
863
|
include Google::Apis::Core::Hashable
|
864
864
|
|
865
865
|
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
866
|
-
# please specify multiple google.api.Endpoint for each of the
|
867
|
-
#
|
866
|
+
# please specify multiple google.api.Endpoint for each of the intended
|
867
|
+
# aliases.
|
868
868
|
# Additional names that this endpoint will be hosted on.
|
869
869
|
# Corresponds to the JSON property `aliases`
|
870
870
|
# @return [Array<String>]
|
@@ -1808,6 +1808,8 @@ module Google
|
|
1808
1808
|
|
1809
1809
|
# A concise name for the metric, which can be displayed in user interfaces.
|
1810
1810
|
# Use sentence case without an ending period, for example "Request count".
|
1811
|
+
# This field is optional but it is recommended to be set for any metrics
|
1812
|
+
# associated with user-visible concepts, such as Quota.
|
1811
1813
|
# Corresponds to the JSON property `displayName`
|
1812
1814
|
# @return [String]
|
1813
1815
|
attr_accessor :display_name
|
@@ -1828,14 +1830,7 @@ module Google
|
|
1828
1830
|
# @return [String]
|
1829
1831
|
attr_accessor :metric_kind
|
1830
1832
|
|
1831
|
-
# The resource name of the metric descriptor.
|
1832
|
-
# implementation, the name typically includes: (1) the parent resource name
|
1833
|
-
# that defines the scope of the metric type or of its data; and (2) the
|
1834
|
-
# metric's URL-encoded type, which also appears in the `type` field of this
|
1835
|
-
# descriptor. For example, following is the resource name of a custom
|
1836
|
-
# metric within the GCP project `my-project-id`:
|
1837
|
-
# "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
|
1838
|
-
# 2Fpaid%2Famount"
|
1833
|
+
# The resource name of the metric descriptor.
|
1839
1834
|
# Corresponds to the JSON property `name`
|
1840
1835
|
# @return [String]
|
1841
1836
|
attr_accessor :name
|
@@ -2631,22 +2626,14 @@ module Google
|
|
2631
2626
|
# The name of the metric this quota limit applies to. The quota limits with
|
2632
2627
|
# the same metric will be checked together during runtime. The metric must be
|
2633
2628
|
# defined within the service config.
|
2634
|
-
# Used by metric-based quotas only.
|
2635
2629
|
# Corresponds to the JSON property `metric`
|
2636
2630
|
# @return [String]
|
2637
2631
|
attr_accessor :metric
|
2638
2632
|
|
2639
|
-
# Name of the quota limit.
|
2640
|
-
#
|
2641
|
-
#
|
2642
|
-
# unique within the service. The name can only include alphanumeric
|
2643
|
-
# characters as well as '-'.
|
2633
|
+
# Name of the quota limit.
|
2634
|
+
# The name must be provided, and it must be unique within the service. The
|
2635
|
+
# name can only include alphanumeric characters as well as '-'.
|
2644
2636
|
# The maximum length of the limit name is 64 characters.
|
2645
|
-
# The name of a limit is used as a unique identifier for this limit.
|
2646
|
-
# Therefore, once a limit has been put into use, its name should be
|
2647
|
-
# immutable. You can use the display_name field to provide a user-friendly
|
2648
|
-
# name for the limit. The display name can be evolved over time without
|
2649
|
-
# affecting the identity of the limit.
|
2650
2637
|
# Corresponds to the JSON property `name`
|
2651
2638
|
# @return [String]
|
2652
2639
|
attr_accessor :name
|
@@ -2654,24 +2641,17 @@ module Google
|
|
2654
2641
|
# Specify the unit of the quota limit. It uses the same syntax as
|
2655
2642
|
# Metric.unit. The supported unit kinds are determined by the quota
|
2656
2643
|
# backend system.
|
2657
|
-
# The [Google Service Control](https://cloud.google.com/service-control)
|
2658
|
-
# supports the following unit components:
|
2659
|
-
# * One of the time intevals:
|
2660
|
-
# * "/min" for quota every minute.
|
2661
|
-
# * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
|
2662
|
-
# * Otherwise the quota won't be reset by time, such as storage limit.
|
2663
|
-
# * One and only one of the granted containers:
|
2664
|
-
# * "/`project`" quota for a project
|
2665
2644
|
# Here are some examples:
|
2666
2645
|
# * "1/min/`project`" for quota per minute per project.
|
2667
2646
|
# Note: the order of unit components is insignificant.
|
2668
2647
|
# The "1" at the beginning is required to follow the metric unit syntax.
|
2669
|
-
# Used by metric-based quotas only.
|
2670
2648
|
# Corresponds to the JSON property `unit`
|
2671
2649
|
# @return [String]
|
2672
2650
|
attr_accessor :unit
|
2673
2651
|
|
2674
|
-
# Tiered limit values
|
2652
|
+
# Tiered limit values. You must specify this as a key:value pair, with an
|
2653
|
+
# integer value that is the maximum number of requests allowed for the
|
2654
|
+
# specified unit. Currently only STANDARD is supported.
|
2675
2655
|
# Corresponds to the JSON property `values`
|
2676
2656
|
# @return [Hash<String,Fixnum>]
|
2677
2657
|
attr_accessor :values
|
@@ -3553,6 +3533,8 @@ module Google
|
|
3553
3533
|
|
3554
3534
|
# True, if the method should skip service control. If so, no control plane
|
3555
3535
|
# feature (like quota and billing) will be enabled.
|
3536
|
+
# This flag is used by ESP to allow some Endpoints customers to bypass
|
3537
|
+
# Google internal checks.
|
3556
3538
|
# Corresponds to the JSON property `skipServiceControl`
|
3557
3539
|
# @return [Boolean]
|
3558
3540
|
attr_accessor :skip_service_control
|
@@ -6012,8 +6012,7 @@ module Google
|
|
6012
6012
|
# @return [String]
|
6013
6013
|
attr_accessor :formula
|
6014
6014
|
|
6015
|
-
# A name to use for the value.
|
6016
|
-
# Otherwise, the column name is used.
|
6015
|
+
# A name to use for the value.
|
6017
6016
|
# Corresponds to the JSON property `name`
|
6018
6017
|
# @return [String]
|
6019
6018
|
attr_accessor :name
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# display inside the presentation. Images must be less than 50MB in size,
|
315
315
|
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
316
316
|
# format.
|
317
|
-
# The provided URL can be at
|
317
|
+
# The provided URL can be at most 2 kB in length.
|
318
318
|
# Corresponds to the JSON property `url`
|
319
319
|
# @return [String]
|
320
320
|
attr_accessor :url
|
@@ -1116,6 +1116,61 @@ module Google
|
|
1116
1116
|
end
|
1117
1117
|
end
|
1118
1118
|
|
1119
|
+
# Groups objects to create an object group. For example, groups PageElements to
|
1120
|
+
# create a Group on the same page as all the children.
|
1121
|
+
class GroupObjectsRequest
|
1122
|
+
include Google::Apis::Core::Hashable
|
1123
|
+
|
1124
|
+
# The object IDs of the objects to group.
|
1125
|
+
# Only page elements can be grouped. There should be at least two page
|
1126
|
+
# elements on the same page that are not already in another group. Some page
|
1127
|
+
# elements, such as videos, tables and placeholder shapes cannot be grouped.
|
1128
|
+
# Corresponds to the JSON property `childrenObjectIds`
|
1129
|
+
# @return [Array<String>]
|
1130
|
+
attr_accessor :children_object_ids
|
1131
|
+
|
1132
|
+
# A user-supplied object ID for the group to be created.
|
1133
|
+
# If you specify an ID, it must be unique among all pages and page elements
|
1134
|
+
# in the presentation. The ID must start with an alphanumeric character or an
|
1135
|
+
# underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
|
1136
|
+
# may include those as well as a hyphen or colon (matches regex
|
1137
|
+
# `[a-zA-Z0-9_-:]`).
|
1138
|
+
# The length of the ID must not be less than 5 or greater than 50.
|
1139
|
+
# If you don't specify an ID, a unique one is generated.
|
1140
|
+
# Corresponds to the JSON property `groupObjectId`
|
1141
|
+
# @return [String]
|
1142
|
+
attr_accessor :group_object_id
|
1143
|
+
|
1144
|
+
def initialize(**args)
|
1145
|
+
update!(**args)
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# Update properties of this object
|
1149
|
+
def update!(**args)
|
1150
|
+
@children_object_ids = args[:children_object_ids] if args.key?(:children_object_ids)
|
1151
|
+
@group_object_id = args[:group_object_id] if args.key?(:group_object_id)
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# The result of grouping objects.
|
1156
|
+
class GroupObjectsResponse
|
1157
|
+
include Google::Apis::Core::Hashable
|
1158
|
+
|
1159
|
+
# The object ID of the created group.
|
1160
|
+
# Corresponds to the JSON property `objectId`
|
1161
|
+
# @return [String]
|
1162
|
+
attr_accessor :object_id_prop
|
1163
|
+
|
1164
|
+
def initialize(**args)
|
1165
|
+
update!(**args)
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# Update properties of this object
|
1169
|
+
def update!(**args)
|
1170
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1119
1174
|
# A PageElement kind representing an
|
1120
1175
|
# image.
|
1121
1176
|
class Image
|
@@ -1658,6 +1713,41 @@ module Google
|
|
1658
1713
|
end
|
1659
1714
|
end
|
1660
1715
|
|
1716
|
+
# Merges cells in a Table.
|
1717
|
+
class MergeTableCellsRequest
|
1718
|
+
include Google::Apis::Core::Hashable
|
1719
|
+
|
1720
|
+
# The object ID of the table.
|
1721
|
+
# Corresponds to the JSON property `objectId`
|
1722
|
+
# @return [String]
|
1723
|
+
attr_accessor :object_id_prop
|
1724
|
+
|
1725
|
+
# A table range represents a reference to a subset of a table.
|
1726
|
+
# It's important to note that the cells specified by a table range do not
|
1727
|
+
# necessarily form a rectangle. For example, let's say we have a 3 x 3 table
|
1728
|
+
# where all the cells of the last row are merged together. The table looks
|
1729
|
+
# like this:
|
1730
|
+
#
|
1731
|
+
# [ ]
|
1732
|
+
# A table range with location = (0, 0), row span = 3 and column span = 2
|
1733
|
+
# specifies the following cells:
|
1734
|
+
# x x
|
1735
|
+
# [ x ]
|
1736
|
+
# Corresponds to the JSON property `tableRange`
|
1737
|
+
# @return [Google::Apis::SlidesV1::TableRange]
|
1738
|
+
attr_accessor :table_range
|
1739
|
+
|
1740
|
+
def initialize(**args)
|
1741
|
+
update!(**args)
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
# Update properties of this object
|
1745
|
+
def update!(**args)
|
1746
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
1747
|
+
@table_range = args[:table_range] if args.key?(:table_range)
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1661
1751
|
# Contains properties describing the look and feel of a list bullet at a given
|
1662
1752
|
# level of nesting.
|
1663
1753
|
class NestingLevel
|
@@ -1780,9 +1870,9 @@ module Google
|
|
1780
1870
|
attr_accessor :outline_fill
|
1781
1871
|
|
1782
1872
|
# The outline property state.
|
1783
|
-
# Updating the
|
1784
|
-
#
|
1785
|
-
#
|
1873
|
+
# Updating the outline on a page element will implicitly update this field
|
1874
|
+
# to `RENDERED`, unless another value is specified in the same request. To
|
1875
|
+
# have no outline on a page element, set this field to `NOT_RENDERED`. In
|
1786
1876
|
# this case, any other outline fields set in the same request will be
|
1787
1877
|
# ignored.
|
1788
1878
|
# Corresponds to the JSON property `propertyState`
|
@@ -2477,7 +2567,7 @@ module Google
|
|
2477
2567
|
# display inside the presentation. Images must be less than 50MB in size,
|
2478
2568
|
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
2479
2569
|
# format.
|
2480
|
-
# The provided URL can be at
|
2570
|
+
# The provided URL can be at most 2 kB in length.
|
2481
2571
|
# Corresponds to the JSON property `imageUrl`
|
2482
2572
|
# @return [String]
|
2483
2573
|
attr_accessor :image_url
|
@@ -2744,6 +2834,12 @@ module Google
|
|
2744
2834
|
# @return [Google::Apis::SlidesV1::DuplicateObjectRequest]
|
2745
2835
|
attr_accessor :duplicate_object
|
2746
2836
|
|
2837
|
+
# Groups objects to create an object group. For example, groups PageElements to
|
2838
|
+
# create a Group on the same page as all the children.
|
2839
|
+
# Corresponds to the JSON property `groupObjects`
|
2840
|
+
# @return [Google::Apis::SlidesV1::GroupObjectsRequest]
|
2841
|
+
attr_accessor :group_objects
|
2842
|
+
|
2747
2843
|
# Inserts columns into a table.
|
2748
2844
|
# Other columns in the table will be resized to fit the new column.
|
2749
2845
|
# Corresponds to the JSON property `insertTableColumns`
|
@@ -2760,6 +2856,11 @@ module Google
|
|
2760
2856
|
# @return [Google::Apis::SlidesV1::InsertTextRequest]
|
2761
2857
|
attr_accessor :insert_text
|
2762
2858
|
|
2859
|
+
# Merges cells in a Table.
|
2860
|
+
# Corresponds to the JSON property `mergeTableCells`
|
2861
|
+
# @return [Google::Apis::SlidesV1::MergeTableCellsRequest]
|
2862
|
+
attr_accessor :merge_table_cells
|
2863
|
+
|
2763
2864
|
# Refreshes an embedded Google Sheets chart by replacing it with the latest
|
2764
2865
|
# version of the chart from Google Sheets.
|
2765
2866
|
# NOTE: Refreshing charts requires at least one of the spreadsheets.readonly,
|
@@ -2787,6 +2888,16 @@ module Google
|
|
2787
2888
|
# @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
|
2788
2889
|
attr_accessor :replace_all_text
|
2789
2890
|
|
2891
|
+
# Ungroups objects, such as groups.
|
2892
|
+
# Corresponds to the JSON property `ungroupObjects`
|
2893
|
+
# @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
|
2894
|
+
attr_accessor :ungroup_objects
|
2895
|
+
|
2896
|
+
# Unmerges cells in a Table.
|
2897
|
+
# Corresponds to the JSON property `unmergeTableCells`
|
2898
|
+
# @return [Google::Apis::SlidesV1::UnmergeTableCellsRequest]
|
2899
|
+
attr_accessor :unmerge_table_cells
|
2900
|
+
|
2790
2901
|
# Update the properties of an Image.
|
2791
2902
|
# Corresponds to the JSON property `updateImageProperties`
|
2792
2903
|
# @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
|
@@ -2826,11 +2937,26 @@ module Google
|
|
2826
2937
|
# @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
|
2827
2938
|
attr_accessor :update_slides_position
|
2828
2939
|
|
2940
|
+
# Updates the properties of the table borders in a Table.
|
2941
|
+
# Corresponds to the JSON property `updateTableBorderProperties`
|
2942
|
+
# @return [Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest]
|
2943
|
+
attr_accessor :update_table_border_properties
|
2944
|
+
|
2829
2945
|
# Update the properties of a TableCell.
|
2830
2946
|
# Corresponds to the JSON property `updateTableCellProperties`
|
2831
2947
|
# @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
|
2832
2948
|
attr_accessor :update_table_cell_properties
|
2833
2949
|
|
2950
|
+
# Updates the properties of a Table column.
|
2951
|
+
# Corresponds to the JSON property `updateTableColumnProperties`
|
2952
|
+
# @return [Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest]
|
2953
|
+
attr_accessor :update_table_column_properties
|
2954
|
+
|
2955
|
+
# Updates the properties of a Table row.
|
2956
|
+
# Corresponds to the JSON property `updateTableRowProperties`
|
2957
|
+
# @return [Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest]
|
2958
|
+
attr_accessor :update_table_row_properties
|
2959
|
+
|
2834
2960
|
# Update the styling of text in a Shape or
|
2835
2961
|
# Table.
|
2836
2962
|
# Corresponds to the JSON property `updateTextStyle`
|
@@ -2862,13 +2988,17 @@ module Google
|
|
2862
2988
|
@delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
|
2863
2989
|
@delete_text = args[:delete_text] if args.key?(:delete_text)
|
2864
2990
|
@duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
|
2991
|
+
@group_objects = args[:group_objects] if args.key?(:group_objects)
|
2865
2992
|
@insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns)
|
2866
2993
|
@insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows)
|
2867
2994
|
@insert_text = args[:insert_text] if args.key?(:insert_text)
|
2995
|
+
@merge_table_cells = args[:merge_table_cells] if args.key?(:merge_table_cells)
|
2868
2996
|
@refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart)
|
2869
2997
|
@replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
|
2870
2998
|
@replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
|
2871
2999
|
@replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
|
3000
|
+
@ungroup_objects = args[:ungroup_objects] if args.key?(:ungroup_objects)
|
3001
|
+
@unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
|
2872
3002
|
@update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
|
2873
3003
|
@update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
|
2874
3004
|
@update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
|
@@ -2876,7 +3006,10 @@ module Google
|
|
2876
3006
|
@update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
|
2877
3007
|
@update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
|
2878
3008
|
@update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
|
3009
|
+
@update_table_border_properties = args[:update_table_border_properties] if args.key?(:update_table_border_properties)
|
2879
3010
|
@update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
|
3011
|
+
@update_table_column_properties = args[:update_table_column_properties] if args.key?(:update_table_column_properties)
|
3012
|
+
@update_table_row_properties = args[:update_table_row_properties] if args.key?(:update_table_row_properties)
|
2880
3013
|
@update_text_style = args[:update_text_style] if args.key?(:update_text_style)
|
2881
3014
|
@update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties)
|
2882
3015
|
end
|
@@ -2926,6 +3059,11 @@ module Google
|
|
2926
3059
|
# @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
|
2927
3060
|
attr_accessor :duplicate_object
|
2928
3061
|
|
3062
|
+
# The result of grouping objects.
|
3063
|
+
# Corresponds to the JSON property `groupObjects`
|
3064
|
+
# @return [Google::Apis::SlidesV1::GroupObjectsResponse]
|
3065
|
+
attr_accessor :group_objects
|
3066
|
+
|
2929
3067
|
# The result of replacing shapes with an image.
|
2930
3068
|
# Corresponds to the JSON property `replaceAllShapesWithImage`
|
2931
3069
|
# @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse]
|
@@ -2955,6 +3093,7 @@ module Google
|
|
2955
3093
|
@create_table = args[:create_table] if args.key?(:create_table)
|
2956
3094
|
@create_video = args[:create_video] if args.key?(:create_video)
|
2957
3095
|
@duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
|
3096
|
+
@group_objects = args[:group_objects] if args.key?(:group_objects)
|
2958
3097
|
@replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
|
2959
3098
|
@replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
|
2960
3099
|
@replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
|
@@ -3022,9 +3161,9 @@ module Google
|
|
3022
3161
|
attr_accessor :color
|
3023
3162
|
|
3024
3163
|
# The shadow property state.
|
3025
|
-
# Updating the
|
3026
|
-
#
|
3027
|
-
#
|
3164
|
+
# Updating the shadow on a page element will implicitly update this field to
|
3165
|
+
# `RENDERED`, unless another value is specified in the same request. To have
|
3166
|
+
# no shadow on a page element, set this field to `NOT_RENDERED`. In this
|
3028
3167
|
# case, any other shadow fields set in the same request will be ignored.
|
3029
3168
|
# Corresponds to the JSON property `propertyState`
|
3030
3169
|
# @return [String]
|
@@ -3120,7 +3259,7 @@ module Google
|
|
3120
3259
|
include Google::Apis::Core::Hashable
|
3121
3260
|
|
3122
3261
|
# The background fill property state.
|
3123
|
-
# Updating the
|
3262
|
+
# Updating the fill on a shape will implicitly update this field to
|
3124
3263
|
# `RENDERED`, unless another value is specified in the same request. To
|
3125
3264
|
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
|
3126
3265
|
# any other fill fields set in the same request will be ignored.
|
@@ -3362,7 +3501,7 @@ module Google
|
|
3362
3501
|
# display inside the presentation. Pictures must be less than 50MB in size,
|
3363
3502
|
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
3364
3503
|
# format.
|
3365
|
-
# The provided URL can be at
|
3504
|
+
# The provided URL can be at most 2 kB in length.
|
3366
3505
|
# Corresponds to the JSON property `contentUrl`
|
3367
3506
|
# @return [String]
|
3368
3507
|
attr_accessor :content_url
|
@@ -3421,6 +3560,15 @@ module Google
|
|
3421
3560
|
# @return [Fixnum]
|
3422
3561
|
attr_accessor :columns
|
3423
3562
|
|
3563
|
+
# Properties of horizontal cell borders.
|
3564
|
+
# A table's horizontal cell borders are represented as a grid. The grid has
|
3565
|
+
# one more row than the number of rows in the table and the same number of
|
3566
|
+
# columns as the table. For example, if the table is 3 x 3, its horizontal
|
3567
|
+
# borders will be represented as a grid with 4 rows and 3 columns.
|
3568
|
+
# Corresponds to the JSON property `horizontalBorderRows`
|
3569
|
+
# @return [Array<Google::Apis::SlidesV1::TableBorderRow>]
|
3570
|
+
attr_accessor :horizontal_border_rows
|
3571
|
+
|
3424
3572
|
# Number of rows in the table.
|
3425
3573
|
# Corresponds to the JSON property `rows`
|
3426
3574
|
# @return [Fixnum]
|
@@ -3439,6 +3587,15 @@ module Google
|
|
3439
3587
|
# @return [Array<Google::Apis::SlidesV1::TableRow>]
|
3440
3588
|
attr_accessor :table_rows
|
3441
3589
|
|
3590
|
+
# Properties of vertical cell borders.
|
3591
|
+
# A table's vertical cell borders are represented as a grid. The grid has the
|
3592
|
+
# same number of rows as the table and one more column than the number of
|
3593
|
+
# columns in the table. For example, if the table is 3 x 3, its vertical
|
3594
|
+
# borders will be represented as a grid with 3 rows and 4 columns.
|
3595
|
+
# Corresponds to the JSON property `verticalBorderRows`
|
3596
|
+
# @return [Array<Google::Apis::SlidesV1::TableBorderRow>]
|
3597
|
+
attr_accessor :vertical_border_rows
|
3598
|
+
|
3442
3599
|
def initialize(**args)
|
3443
3600
|
update!(**args)
|
3444
3601
|
end
|
@@ -3446,9 +3603,111 @@ module Google
|
|
3446
3603
|
# Update properties of this object
|
3447
3604
|
def update!(**args)
|
3448
3605
|
@columns = args[:columns] if args.key?(:columns)
|
3606
|
+
@horizontal_border_rows = args[:horizontal_border_rows] if args.key?(:horizontal_border_rows)
|
3449
3607
|
@rows = args[:rows] if args.key?(:rows)
|
3450
3608
|
@table_columns = args[:table_columns] if args.key?(:table_columns)
|
3451
3609
|
@table_rows = args[:table_rows] if args.key?(:table_rows)
|
3610
|
+
@vertical_border_rows = args[:vertical_border_rows] if args.key?(:vertical_border_rows)
|
3611
|
+
end
|
3612
|
+
end
|
3613
|
+
|
3614
|
+
# The properties of each border cell.
|
3615
|
+
class TableBorderCell
|
3616
|
+
include Google::Apis::Core::Hashable
|
3617
|
+
|
3618
|
+
# A location of a single table cell within a table.
|
3619
|
+
# Corresponds to the JSON property `location`
|
3620
|
+
# @return [Google::Apis::SlidesV1::TableCellLocation]
|
3621
|
+
attr_accessor :location
|
3622
|
+
|
3623
|
+
# The border styling properties of the
|
3624
|
+
# TableBorderCell.
|
3625
|
+
# Corresponds to the JSON property `tableBorderProperties`
|
3626
|
+
# @return [Google::Apis::SlidesV1::TableBorderProperties]
|
3627
|
+
attr_accessor :table_border_properties
|
3628
|
+
|
3629
|
+
def initialize(**args)
|
3630
|
+
update!(**args)
|
3631
|
+
end
|
3632
|
+
|
3633
|
+
# Update properties of this object
|
3634
|
+
def update!(**args)
|
3635
|
+
@location = args[:location] if args.key?(:location)
|
3636
|
+
@table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties)
|
3637
|
+
end
|
3638
|
+
end
|
3639
|
+
|
3640
|
+
# The fill of the border.
|
3641
|
+
class TableBorderFill
|
3642
|
+
include Google::Apis::Core::Hashable
|
3643
|
+
|
3644
|
+
# A solid color fill. The page or page element is filled entirely with the
|
3645
|
+
# specified color value.
|
3646
|
+
# If any field is unset, its value may be inherited from a parent placeholder
|
3647
|
+
# if it exists.
|
3648
|
+
# Corresponds to the JSON property `solidFill`
|
3649
|
+
# @return [Google::Apis::SlidesV1::SolidFill]
|
3650
|
+
attr_accessor :solid_fill
|
3651
|
+
|
3652
|
+
def initialize(**args)
|
3653
|
+
update!(**args)
|
3654
|
+
end
|
3655
|
+
|
3656
|
+
# Update properties of this object
|
3657
|
+
def update!(**args)
|
3658
|
+
@solid_fill = args[:solid_fill] if args.key?(:solid_fill)
|
3659
|
+
end
|
3660
|
+
end
|
3661
|
+
|
3662
|
+
# The border styling properties of the
|
3663
|
+
# TableBorderCell.
|
3664
|
+
class TableBorderProperties
|
3665
|
+
include Google::Apis::Core::Hashable
|
3666
|
+
|
3667
|
+
# The dash style of the border.
|
3668
|
+
# Corresponds to the JSON property `dashStyle`
|
3669
|
+
# @return [String]
|
3670
|
+
attr_accessor :dash_style
|
3671
|
+
|
3672
|
+
# The fill of the border.
|
3673
|
+
# Corresponds to the JSON property `tableBorderFill`
|
3674
|
+
# @return [Google::Apis::SlidesV1::TableBorderFill]
|
3675
|
+
attr_accessor :table_border_fill
|
3676
|
+
|
3677
|
+
# A magnitude in a single direction in the specified units.
|
3678
|
+
# Corresponds to the JSON property `weight`
|
3679
|
+
# @return [Google::Apis::SlidesV1::Dimension]
|
3680
|
+
attr_accessor :weight
|
3681
|
+
|
3682
|
+
def initialize(**args)
|
3683
|
+
update!(**args)
|
3684
|
+
end
|
3685
|
+
|
3686
|
+
# Update properties of this object
|
3687
|
+
def update!(**args)
|
3688
|
+
@dash_style = args[:dash_style] if args.key?(:dash_style)
|
3689
|
+
@table_border_fill = args[:table_border_fill] if args.key?(:table_border_fill)
|
3690
|
+
@weight = args[:weight] if args.key?(:weight)
|
3691
|
+
end
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
# Contents of each border row in a table.
|
3695
|
+
class TableBorderRow
|
3696
|
+
include Google::Apis::Core::Hashable
|
3697
|
+
|
3698
|
+
# Properties of each border cell. When a border's adjacent table cells are
|
3699
|
+
# merged, it is not included in the response.
|
3700
|
+
# Corresponds to the JSON property `tableBorderCells`
|
3701
|
+
# @return [Array<Google::Apis::SlidesV1::TableBorderCell>]
|
3702
|
+
attr_accessor :table_border_cells
|
3703
|
+
|
3704
|
+
def initialize(**args)
|
3705
|
+
update!(**args)
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
# Update properties of this object
|
3709
|
+
def update!(**args)
|
3710
|
+
@table_border_cells = args[:table_border_cells] if args.key?(:table_border_cells)
|
3452
3711
|
end
|
3453
3712
|
end
|
3454
3713
|
|
@@ -3501,7 +3760,7 @@ module Google
|
|
3501
3760
|
include Google::Apis::Core::Hashable
|
3502
3761
|
|
3503
3762
|
# The background fill property state.
|
3504
|
-
# Updating the
|
3763
|
+
# Updating the fill on a table cell will implicitly update this field
|
3505
3764
|
# to `RENDERED`, unless another value is specified in the same request. To
|
3506
3765
|
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
|
3507
3766
|
# case, any other fill fields set in the same request will be ignored.
|
@@ -3650,6 +3909,11 @@ module Google
|
|
3650
3909
|
# @return [Array<Google::Apis::SlidesV1::TableCell>]
|
3651
3910
|
attr_accessor :table_cells
|
3652
3911
|
|
3912
|
+
# Properties of each row in a table.
|
3913
|
+
# Corresponds to the JSON property `tableRowProperties`
|
3914
|
+
# @return [Google::Apis::SlidesV1::TableRowProperties]
|
3915
|
+
attr_accessor :table_row_properties
|
3916
|
+
|
3653
3917
|
def initialize(**args)
|
3654
3918
|
update!(**args)
|
3655
3919
|
end
|
@@ -3658,6 +3922,26 @@ module Google
|
|
3658
3922
|
def update!(**args)
|
3659
3923
|
@row_height = args[:row_height] if args.key?(:row_height)
|
3660
3924
|
@table_cells = args[:table_cells] if args.key?(:table_cells)
|
3925
|
+
@table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties)
|
3926
|
+
end
|
3927
|
+
end
|
3928
|
+
|
3929
|
+
# Properties of each row in a table.
|
3930
|
+
class TableRowProperties
|
3931
|
+
include Google::Apis::Core::Hashable
|
3932
|
+
|
3933
|
+
# A magnitude in a single direction in the specified units.
|
3934
|
+
# Corresponds to the JSON property `minRowHeight`
|
3935
|
+
# @return [Google::Apis::SlidesV1::Dimension]
|
3936
|
+
attr_accessor :min_row_height
|
3937
|
+
|
3938
|
+
def initialize(**args)
|
3939
|
+
update!(**args)
|
3940
|
+
end
|
3941
|
+
|
3942
|
+
# Update properties of this object
|
3943
|
+
def update!(**args)
|
3944
|
+
@min_row_height = args[:min_row_height] if args.key?(:min_row_height)
|
3661
3945
|
end
|
3662
3946
|
end
|
3663
3947
|
|
@@ -3949,6 +4233,64 @@ module Google
|
|
3949
4233
|
end
|
3950
4234
|
end
|
3951
4235
|
|
4236
|
+
# Ungroups objects, such as groups.
|
4237
|
+
class UngroupObjectsRequest
|
4238
|
+
include Google::Apis::Core::Hashable
|
4239
|
+
|
4240
|
+
# The object IDs of the objects to ungroup.
|
4241
|
+
# Only groups that are not inside other
|
4242
|
+
# groups can be ungrouped. All the groups
|
4243
|
+
# should be on the same page. The group itself is deleted. The visual sizes
|
4244
|
+
# and positions of all the children are preserved.
|
4245
|
+
# Corresponds to the JSON property `objectIds`
|
4246
|
+
# @return [Array<String>]
|
4247
|
+
attr_accessor :object_ids
|
4248
|
+
|
4249
|
+
def initialize(**args)
|
4250
|
+
update!(**args)
|
4251
|
+
end
|
4252
|
+
|
4253
|
+
# Update properties of this object
|
4254
|
+
def update!(**args)
|
4255
|
+
@object_ids = args[:object_ids] if args.key?(:object_ids)
|
4256
|
+
end
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# Unmerges cells in a Table.
|
4260
|
+
class UnmergeTableCellsRequest
|
4261
|
+
include Google::Apis::Core::Hashable
|
4262
|
+
|
4263
|
+
# The object ID of the table.
|
4264
|
+
# Corresponds to the JSON property `objectId`
|
4265
|
+
# @return [String]
|
4266
|
+
attr_accessor :object_id_prop
|
4267
|
+
|
4268
|
+
# A table range represents a reference to a subset of a table.
|
4269
|
+
# It's important to note that the cells specified by a table range do not
|
4270
|
+
# necessarily form a rectangle. For example, let's say we have a 3 x 3 table
|
4271
|
+
# where all the cells of the last row are merged together. The table looks
|
4272
|
+
# like this:
|
4273
|
+
#
|
4274
|
+
# [ ]
|
4275
|
+
# A table range with location = (0, 0), row span = 3 and column span = 2
|
4276
|
+
# specifies the following cells:
|
4277
|
+
# x x
|
4278
|
+
# [ x ]
|
4279
|
+
# Corresponds to the JSON property `tableRange`
|
4280
|
+
# @return [Google::Apis::SlidesV1::TableRange]
|
4281
|
+
attr_accessor :table_range
|
4282
|
+
|
4283
|
+
def initialize(**args)
|
4284
|
+
update!(**args)
|
4285
|
+
end
|
4286
|
+
|
4287
|
+
# Update properties of this object
|
4288
|
+
def update!(**args)
|
4289
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
4290
|
+
@table_range = args[:table_range] if args.key?(:table_range)
|
4291
|
+
end
|
4292
|
+
end
|
4293
|
+
|
3952
4294
|
# Update the properties of an Image.
|
3953
4295
|
class UpdateImagePropertiesRequest
|
3954
4296
|
include Google::Apis::Core::Hashable
|
@@ -4245,6 +4587,69 @@ module Google
|
|
4245
4587
|
end
|
4246
4588
|
end
|
4247
4589
|
|
4590
|
+
# Updates the properties of the table borders in a Table.
|
4591
|
+
class UpdateTableBorderPropertiesRequest
|
4592
|
+
include Google::Apis::Core::Hashable
|
4593
|
+
|
4594
|
+
# The border position in the table range the updates should apply to. If a
|
4595
|
+
# border position is not specified, the updates will apply to all borders in
|
4596
|
+
# the table range.
|
4597
|
+
# Corresponds to the JSON property `borderPosition`
|
4598
|
+
# @return [String]
|
4599
|
+
attr_accessor :border_position
|
4600
|
+
|
4601
|
+
# The fields that should be updated.
|
4602
|
+
# At least one field must be specified. The root `tableBorderProperties` is
|
4603
|
+
# implied and should not be specified. A single `"*"` can be used as
|
4604
|
+
# short-hand for listing every field.
|
4605
|
+
# For example to update the table border solid fill color, set
|
4606
|
+
# `fields` to `"tableBorderFill.solidFill.color"`.
|
4607
|
+
# To reset a property to its default value, include its field name in the
|
4608
|
+
# field mask but leave the field itself unset.
|
4609
|
+
# Corresponds to the JSON property `fields`
|
4610
|
+
# @return [String]
|
4611
|
+
attr_accessor :fields
|
4612
|
+
|
4613
|
+
# The object ID of the table.
|
4614
|
+
# Corresponds to the JSON property `objectId`
|
4615
|
+
# @return [String]
|
4616
|
+
attr_accessor :object_id_prop
|
4617
|
+
|
4618
|
+
# The border styling properties of the
|
4619
|
+
# TableBorderCell.
|
4620
|
+
# Corresponds to the JSON property `tableBorderProperties`
|
4621
|
+
# @return [Google::Apis::SlidesV1::TableBorderProperties]
|
4622
|
+
attr_accessor :table_border_properties
|
4623
|
+
|
4624
|
+
# A table range represents a reference to a subset of a table.
|
4625
|
+
# It's important to note that the cells specified by a table range do not
|
4626
|
+
# necessarily form a rectangle. For example, let's say we have a 3 x 3 table
|
4627
|
+
# where all the cells of the last row are merged together. The table looks
|
4628
|
+
# like this:
|
4629
|
+
#
|
4630
|
+
# [ ]
|
4631
|
+
# A table range with location = (0, 0), row span = 3 and column span = 2
|
4632
|
+
# specifies the following cells:
|
4633
|
+
# x x
|
4634
|
+
# [ x ]
|
4635
|
+
# Corresponds to the JSON property `tableRange`
|
4636
|
+
# @return [Google::Apis::SlidesV1::TableRange]
|
4637
|
+
attr_accessor :table_range
|
4638
|
+
|
4639
|
+
def initialize(**args)
|
4640
|
+
update!(**args)
|
4641
|
+
end
|
4642
|
+
|
4643
|
+
# Update properties of this object
|
4644
|
+
def update!(**args)
|
4645
|
+
@border_position = args[:border_position] if args.key?(:border_position)
|
4646
|
+
@fields = args[:fields] if args.key?(:fields)
|
4647
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
4648
|
+
@table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties)
|
4649
|
+
@table_range = args[:table_range] if args.key?(:table_range)
|
4650
|
+
end
|
4651
|
+
end
|
4652
|
+
|
4248
4653
|
# Update the properties of a TableCell.
|
4249
4654
|
class UpdateTableCellPropertiesRequest
|
4250
4655
|
include Google::Apis::Core::Hashable
|
@@ -4299,6 +4704,95 @@ module Google
|
|
4299
4704
|
end
|
4300
4705
|
end
|
4301
4706
|
|
4707
|
+
# Updates the properties of a Table column.
|
4708
|
+
class UpdateTableColumnPropertiesRequest
|
4709
|
+
include Google::Apis::Core::Hashable
|
4710
|
+
|
4711
|
+
# The list of zero-based indices specifying which columns to update. If no
|
4712
|
+
# indices are provided, all columns in the table will be updated.
|
4713
|
+
# Corresponds to the JSON property `columnIndices`
|
4714
|
+
# @return [Array<Fixnum>]
|
4715
|
+
attr_accessor :column_indices
|
4716
|
+
|
4717
|
+
# The fields that should be updated.
|
4718
|
+
# At least one field must be specified. The root `tableColumnProperties` is
|
4719
|
+
# implied and should not be specified. A single `"*"` can be used as
|
4720
|
+
# short-hand for listing every field.
|
4721
|
+
# For example to update the column width, set `fields` to `"column_width"`.
|
4722
|
+
# If '"column_width"' is included in the field mask but the property is left
|
4723
|
+
# unset, the column width will default to 406,400 EMU (32 points).
|
4724
|
+
# Corresponds to the JSON property `fields`
|
4725
|
+
# @return [String]
|
4726
|
+
attr_accessor :fields
|
4727
|
+
|
4728
|
+
# The object ID of the table.
|
4729
|
+
# Corresponds to the JSON property `objectId`
|
4730
|
+
# @return [String]
|
4731
|
+
attr_accessor :object_id_prop
|
4732
|
+
|
4733
|
+
# Properties of each column in a table.
|
4734
|
+
# Corresponds to the JSON property `tableColumnProperties`
|
4735
|
+
# @return [Google::Apis::SlidesV1::TableColumnProperties]
|
4736
|
+
attr_accessor :table_column_properties
|
4737
|
+
|
4738
|
+
def initialize(**args)
|
4739
|
+
update!(**args)
|
4740
|
+
end
|
4741
|
+
|
4742
|
+
# Update properties of this object
|
4743
|
+
def update!(**args)
|
4744
|
+
@column_indices = args[:column_indices] if args.key?(:column_indices)
|
4745
|
+
@fields = args[:fields] if args.key?(:fields)
|
4746
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
4747
|
+
@table_column_properties = args[:table_column_properties] if args.key?(:table_column_properties)
|
4748
|
+
end
|
4749
|
+
end
|
4750
|
+
|
4751
|
+
# Updates the properties of a Table row.
|
4752
|
+
class UpdateTableRowPropertiesRequest
|
4753
|
+
include Google::Apis::Core::Hashable
|
4754
|
+
|
4755
|
+
# The fields that should be updated.
|
4756
|
+
# At least one field must be specified. The root `tableRowProperties` is
|
4757
|
+
# implied and should not be specified. A single `"*"` can be used as
|
4758
|
+
# short-hand for listing every field.
|
4759
|
+
# For example to update the minimum row height, set `fields` to
|
4760
|
+
# `"min_row_height"`.
|
4761
|
+
# If '"min_row_height"' is included in the field mask but the property is
|
4762
|
+
# left unset, the minimum row height will default to 0.
|
4763
|
+
# Corresponds to the JSON property `fields`
|
4764
|
+
# @return [String]
|
4765
|
+
attr_accessor :fields
|
4766
|
+
|
4767
|
+
# The object ID of the table.
|
4768
|
+
# Corresponds to the JSON property `objectId`
|
4769
|
+
# @return [String]
|
4770
|
+
attr_accessor :object_id_prop
|
4771
|
+
|
4772
|
+
# The list of zero-based indices specifying which rows to update. If no
|
4773
|
+
# indices are provided, all rows in the table will be updated.
|
4774
|
+
# Corresponds to the JSON property `rowIndices`
|
4775
|
+
# @return [Array<Fixnum>]
|
4776
|
+
attr_accessor :row_indices
|
4777
|
+
|
4778
|
+
# Properties of each row in a table.
|
4779
|
+
# Corresponds to the JSON property `tableRowProperties`
|
4780
|
+
# @return [Google::Apis::SlidesV1::TableRowProperties]
|
4781
|
+
attr_accessor :table_row_properties
|
4782
|
+
|
4783
|
+
def initialize(**args)
|
4784
|
+
update!(**args)
|
4785
|
+
end
|
4786
|
+
|
4787
|
+
# Update properties of this object
|
4788
|
+
def update!(**args)
|
4789
|
+
@fields = args[:fields] if args.key?(:fields)
|
4790
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
4791
|
+
@row_indices = args[:row_indices] if args.key?(:row_indices)
|
4792
|
+
@table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties)
|
4793
|
+
end
|
4794
|
+
end
|
4795
|
+
|
4302
4796
|
# Update the styling of text in a Shape or
|
4303
4797
|
# Table.
|
4304
4798
|
class UpdateTextStyleRequest
|