google-api-client 0.21.1 → 0.21.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +4 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +33 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +2 -2
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +42 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +11 -4
- data/generated/google/apis/appengine_v1/service.rb +28 -19
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
- data/generated/google/apis/appengine_v1beta/service.rb +28 -19
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -6
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +2 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +49 -52
- data/generated/google/apis/composer_v1beta1/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +18 -18
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1/service.rb +18 -18
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v2_8/service.rb +4 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v3_0/service.rb +4 -1
- data/generated/google/apis/dfareporting_v3_1.rb +40 -0
- data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
- data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
- data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +20 -0
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1 -5
- data/generated/google/apis/jobs_v2/service.rb +9 -10
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -0
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +6 -6
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +120 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +517 -0
- data/generated/google/apis/vision_v1/representations.rb +272 -0
- data/generated/google/apis/vision_v1/service.rb +35 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +3411 -1415
- data/generated/google/apis/vision_v1p1beta1/representations.rb +868 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2521 -822
- data/generated/google/apis/vision_v1p2beta1/representations.rb +758 -14
- data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
- data/generated/google/apis/youtube_analytics_v2.rb +2 -2
- data/generated/google/apis/youtube_analytics_v2/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
27
27
|
module AppengineV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180511'
|
30
30
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -890,17 +890,21 @@ module Google
|
|
890
890
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
891
891
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
892
892
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
893
|
-
# The fields here refer to the name and configuration
|
893
|
+
# The fields here refer to the name and configuration ID of a "service" resource
|
894
894
|
# in the Service Management API (https://cloud.google.com/service-management/
|
895
895
|
# overview).
|
896
896
|
class EndpointsApiService
|
897
897
|
include Google::Apis::Core::Hashable
|
898
898
|
|
899
|
-
# Endpoints service configuration
|
900
|
-
# For example "2016-09-19r1"By default, the
|
901
|
-
#
|
902
|
-
# configuration
|
903
|
-
#
|
899
|
+
# Endpoints service configuration ID as specified by the Service Management API.
|
900
|
+
# For example "2016-09-19r1".By default, the rollout strategy for Endpoints is
|
901
|
+
# RolloutStrategy.FIXED. This means that Endpoints starts up with a particular
|
902
|
+
# configuration ID. When a new configuration is rolled out, Endpoints must be
|
903
|
+
# given the new configuration ID. The config_id field is used to give the
|
904
|
+
# configuration ID and is required in this case.Endpoints also has a rollout
|
905
|
+
# strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches
|
906
|
+
# the latest configuration and does not need to be told the configuration ID. In
|
907
|
+
# this case, config_id must be omitted.
|
904
908
|
# Corresponds to the JSON property `configId`
|
905
909
|
# @return [String]
|
906
910
|
attr_accessor :config_id
|
@@ -2856,7 +2860,7 @@ module Google
|
|
2856
2860
|
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
2857
2861
|
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
2858
2862
|
# via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
|
2859
|
-
# The fields here refer to the name and configuration
|
2863
|
+
# The fields here refer to the name and configuration ID of a "service" resource
|
2860
2864
|
# in the Service Management API (https://cloud.google.com/service-management/
|
2861
2865
|
# overview).
|
2862
2866
|
# Corresponds to the JSON property `endpointsApiService`
|
@@ -1291,38 +1291,47 @@ module Google
|
|
1291
1291
|
|
1292
1292
|
# Updates the specified Version resource. You can specify the following fields
|
1293
1293
|
# depending on the App Engine environment and type of scaling that the version
|
1294
|
-
# resource uses:
|
1295
|
-
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
1296
|
-
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For
|
1297
|
-
# Version resources that use basic scaling, manual scaling, or run in the App
|
1298
|
-
# Engine flexible environment.
|
1294
|
+
# resource uses:Standard environment
|
1299
1295
|
# instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
|
1300
|
-
# rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)
|
1301
|
-
#
|
1296
|
+
# rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic
|
1297
|
+
# scaling in the standard environment:
|
1302
1298
|
# automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
|
1303
1299
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
1304
|
-
# automatic_scaling)
|
1305
|
-
# in the App Engine standard environment.
|
1300
|
+
# automatic_scaling)
|
1306
1301
|
# automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
|
1307
1302
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
1308
|
-
# automatic_scaling)
|
1309
|
-
#
|
1303
|
+
# automatic_scaling)
|
1304
|
+
# automaticScaling.standard_scheduler_settings.max_instances (https://cloud.
|
1305
|
+
# google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
1306
|
+
# versions#StandardSchedulerSettings)
|
1307
|
+
# automaticScaling.standard_scheduler_settings.min_instances (https://cloud.
|
1308
|
+
# google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
1309
|
+
# versions#StandardSchedulerSettings)
|
1310
|
+
# automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://
|
1311
|
+
# cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.
|
1312
|
+
# versions#StandardSchedulerSettings)
|
1313
|
+
# automaticScaling.standard_scheduler_settings.target_throughput_utilization (
|
1314
|
+
# https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.
|
1315
|
+
# services.versions#StandardSchedulerSettings)basic scaling or manual scaling in
|
1316
|
+
# the standard environment:
|
1317
|
+
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
1318
|
+
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible
|
1319
|
+
# environment
|
1320
|
+
# serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
|
1321
|
+
# rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic
|
1322
|
+
# scaling in the flexible environment:
|
1310
1323
|
# automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
|
1311
1324
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
1312
|
-
# automatic_scaling)
|
1313
|
-
# in the App Engine flexible environment.
|
1325
|
+
# automatic_scaling)
|
1314
1326
|
# automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
|
1315
1327
|
# admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
1316
|
-
# automatic_scaling)
|
1317
|
-
# in the App Engine flexible environment.
|
1328
|
+
# automatic_scaling)
|
1318
1329
|
# automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
|
1319
1330
|
# docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
|
1320
|
-
# automatic_scaling)
|
1321
|
-
# in the App Engine flexible environment.
|
1331
|
+
# automatic_scaling)
|
1322
1332
|
# automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
|
1323
1333
|
# appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.
|
1324
|
-
# FIELDS.automatic_scaling)
|
1325
|
-
# and run in the App Engine flexible environment.
|
1334
|
+
# FIELDS.automatic_scaling)
|
1326
1335
|
# @param [String] apps_id
|
1327
1336
|
# Part of `name`. Name of the resource to update. Example: apps/myapp/services/
|
1328
1337
|
# default/versions/1.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180510'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -1977,7 +1977,8 @@ module Google
|
|
1977
1977
|
attr_accessor :job_id
|
1978
1978
|
|
1979
1979
|
# [Experimental] The geographic location of the job. Required except for US and
|
1980
|
-
# EU.
|
1980
|
+
# EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#
|
1981
|
+
# specifying_your_location.
|
1981
1982
|
# Corresponds to the JSON property `location`
|
1982
1983
|
# @return [String]
|
1983
1984
|
attr_accessor :location
|
@@ -3457,16 +3458,18 @@ module Google
|
|
3457
3458
|
class TimePartitioning
|
3458
3459
|
include Google::Apis::Core::Hashable
|
3459
3460
|
|
3460
|
-
# [Optional] Number of milliseconds for which to keep the storage for
|
3461
|
-
# partition
|
3461
|
+
# [Optional] Number of milliseconds for which to keep the storage for partitions
|
3462
|
+
# in the table. The storage in a partition will have an expiration time of its
|
3463
|
+
# partition time plus this value.
|
3462
3464
|
# Corresponds to the JSON property `expirationMs`
|
3463
3465
|
# @return [Fixnum]
|
3464
3466
|
attr_accessor :expiration_ms
|
3465
3467
|
|
3466
3468
|
# [Experimental] [Optional] If not set, the table is partitioned by pseudo
|
3467
|
-
# column '_PARTITIONTIME'
|
3468
|
-
#
|
3469
|
-
# or
|
3469
|
+
# column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '
|
3470
|
+
# _PARTITIONDATE' as DATE type. If field is specified, the table is instead
|
3471
|
+
# partitioned by this field. The field must be a top-level TIMESTAMP or DATE
|
3472
|
+
# field. Its mode must be NULLABLE or REQUIRED.
|
3470
3473
|
# Corresponds to the JSON property `field`
|
3471
3474
|
# @return [String]
|
3472
3475
|
attr_accessor :field
|
@@ -23,10 +23,10 @@ module Google
|
|
23
23
|
# Examines the call stack and variables of a running application without
|
24
24
|
# stopping or slowing it down.
|
25
25
|
#
|
26
|
-
# @see
|
26
|
+
# @see https://cloud.google.com/debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180516'
|
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'
|
@@ -133,7 +133,8 @@ module Google
|
|
133
133
|
# @return [String]
|
134
134
|
attr_accessor :log_message_format
|
135
135
|
|
136
|
-
# The stack at breakpoint time
|
136
|
+
# The stack at breakpoint time, where stack_frames[0] represents the most
|
137
|
+
# recently entered function.
|
137
138
|
# Corresponds to the JSON property `stackFrames`
|
138
139
|
# @return [Array<Google::Apis::ClouddebuggerV2::StackFrame>]
|
139
140
|
attr_accessor :stack_frames
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Clouddebugger = Google::Apis::ClouddebuggerV2 # Alias the module
|
32
32
|
# service = Clouddebugger::CloudDebuggerService.new
|
33
33
|
#
|
34
|
-
# @see
|
34
|
+
# @see https://cloud.google.com/debugger
|
35
35
|
class CloudDebuggerService < Google::Apis::Core::BaseService
|
36
36
|
# @return [String]
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180508'
|
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'
|
@@ -63,10 +63,6 @@ module Google
|
|
63
63
|
# The fields of the `Device` resource to be returned in the response. The
|
64
64
|
# fields `id`, and `num_id` are always returned by default, along with any
|
65
65
|
# other fields specified.
|
66
|
-
# @param [String] gateway_type
|
67
|
-
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
68
|
-
# specified, only non-gateway devices are returned. If
|
69
|
-
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
70
66
|
# @param [Fixnum] page_size
|
71
67
|
# The maximum number of devices to return in the response. If this value
|
72
68
|
# is zero, the service will select a default size. A call may return fewer
|
@@ -93,7 +89,7 @@ module Google
|
|
93
89
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
94
90
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
95
91
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
96
|
-
def list_project_location_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil,
|
92
|
+
def list_project_location_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
97
93
|
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
98
94
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
99
95
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
@@ -101,7 +97,6 @@ module Google
|
|
101
97
|
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
102
98
|
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
103
99
|
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
104
|
-
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
105
100
|
command.query['pageSize'] = page_size unless page_size.nil?
|
106
101
|
command.query['pageToken'] = page_token unless page_token.nil?
|
107
102
|
command.query['fields'] = fields unless fields.nil?
|
@@ -513,10 +508,6 @@ module Google
|
|
513
508
|
# The fields of the `Device` resource to be returned in the response. The
|
514
509
|
# fields `id`, and `num_id` are always returned by default, along with any
|
515
510
|
# other fields specified.
|
516
|
-
# @param [String] gateway_type
|
517
|
-
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
518
|
-
# specified, only non-gateway devices are returned. If
|
519
|
-
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
520
511
|
# @param [Fixnum] page_size
|
521
512
|
# The maximum number of devices to return in the response. If this value
|
522
513
|
# is zero, the service will select a default size. A call may return fewer
|
@@ -543,7 +534,7 @@ module Google
|
|
543
534
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
544
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
|
-
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil,
|
537
|
+
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
538
|
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
548
539
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
549
540
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
@@ -551,7 +542,6 @@ module Google
|
|
551
542
|
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
552
543
|
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
553
544
|
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
554
|
-
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
555
545
|
command.query['pageSize'] = page_size unless page_size.nil?
|
556
546
|
command.query['pageToken'] = page_token unless page_token.nil?
|
557
547
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180517'
|
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'
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
attr_accessor :parent
|
573
573
|
|
574
574
|
# Concise user-visible strings indicating why an action cannot be performed
|
575
|
-
# on a resource. Maximum
|
575
|
+
# on a resource. Maximum length of 200 characters.
|
576
576
|
# Example: 'Holds production API key'
|
577
577
|
# Corresponds to the JSON property `reason`
|
578
578
|
# @return [String]
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180510'
|
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'
|
@@ -68,7 +68,7 @@ module Google
|
|
68
68
|
attr_accessor :labels
|
69
69
|
|
70
70
|
# The resource name of the environment, in the form:
|
71
|
-
#
|
71
|
+
# "projects/`projectId`/locations/`locationId`/environments/`environmentId`"
|
72
72
|
# Corresponds to the JSON property `name`
|
73
73
|
# @return [String]
|
74
74
|
attr_accessor :name
|
@@ -133,19 +133,19 @@ module Google
|
|
133
133
|
# @return [String]
|
134
134
|
attr_accessor :gke_cluster
|
135
135
|
|
136
|
-
# The configuration information for the
|
136
|
+
# The configuration information for the Kubernetes Engine nodes running
|
137
137
|
# the Apache Airflow software.
|
138
138
|
# Corresponds to the JSON property `nodeConfig`
|
139
139
|
# @return [Google::Apis::ComposerV1beta1::NodeConfig]
|
140
140
|
attr_accessor :node_config
|
141
141
|
|
142
|
-
# The number of nodes in the
|
142
|
+
# The number of nodes in the Kubernetes Engine cluster that will be
|
143
143
|
# used to run this environment.
|
144
144
|
# Corresponds to the JSON property `nodeCount`
|
145
145
|
# @return [Fixnum]
|
146
146
|
attr_accessor :node_count
|
147
147
|
|
148
|
-
# Specifies the selection and
|
148
|
+
# Specifies the selection and configuration of software inside the environment.
|
149
149
|
# Corresponds to the JSON property `softwareConfig`
|
150
150
|
# @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
|
151
151
|
attr_accessor :software_config
|
@@ -215,12 +215,12 @@ module Google
|
|
215
215
|
end
|
216
216
|
end
|
217
217
|
|
218
|
-
# The configuration information for the
|
218
|
+
# The configuration information for the Kubernetes Engine nodes running
|
219
219
|
# the Apache Airflow software.
|
220
220
|
class NodeConfig
|
221
221
|
include Google::Apis::Core::Hashable
|
222
222
|
|
223
|
-
# Optional. The disk size in GB used for node VMs. Minimum is 10GB.
|
223
|
+
# Optional. The disk size in GB used for node VMs. Minimum size is 10GB.
|
224
224
|
# If unspecified, defaults to 100GB. Cannot be updated.
|
225
225
|
# Corresponds to the JSON property `diskSizeGb`
|
226
226
|
# @return [Fixnum]
|
@@ -228,55 +228,54 @@ module Google
|
|
228
228
|
|
229
229
|
# Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
|
230
230
|
# to deploy the VMs used to run the Apache Airflow software, specified as a
|
231
|
-
# relative resource name](
|
232
|
-
#
|
233
|
-
# For example: `projects/`projectId`/zones/`zoneId``.
|
231
|
+
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
232
|
+
# For example: "projects/`projectId`/zones/`zoneId`".
|
234
233
|
# This `location` must belong to the enclosing environment's project and
|
235
234
|
# location. If both this field and `nodeConfig.machineType` are specified,
|
236
235
|
# `nodeConfig.machineType` must belong to this `location`; if both are
|
237
236
|
# unspecified, the service will pick a zone in the Compute Engine region
|
238
|
-
# corresponding to the Cloud Composer location and propagate that choice to
|
239
|
-
# both fields. If
|
237
|
+
# corresponding to the Cloud Composer location, and propagate that choice to
|
238
|
+
# both fields. If only one field (`location` or `nodeConfig.machineType`) is
|
240
239
|
# specified, the location information from the specified field will be
|
241
240
|
# propagated to the unspecified field.
|
242
241
|
# Corresponds to the JSON property `location`
|
243
242
|
# @return [String]
|
244
243
|
attr_accessor :location
|
245
244
|
|
246
|
-
# Optional. The
|
247
|
-
# /compute/docs/machine-types) used for cluster instances,
|
248
|
-
#
|
249
|
-
#
|
245
|
+
# Optional. The Compute Engine
|
246
|
+
# [machine type](/compute/docs/machine-types) used for cluster instances,
|
247
|
+
# specified as a
|
248
|
+
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
250
249
|
# For example:
|
251
|
-
#
|
250
|
+
# "projects/`projectId`/zones/`zoneId`/machineTypes/`machineTypeId`".
|
252
251
|
# The `machineType` must belong to the enclosing environment's project and
|
253
252
|
# location. If both this field and `nodeConfig.location` are specified,
|
254
253
|
# this `machineType` must belong to the `nodeConfig.location`; if both are
|
255
254
|
# unspecified, the service will pick a zone in the Compute Engine region
|
256
|
-
# corresponding to the Cloud Composer location and propagate that choice to
|
255
|
+
# corresponding to the Cloud Composer location, and propagate that choice to
|
257
256
|
# both fields. If exactly one of this field and `nodeConfig.location` is
|
258
257
|
# specified, the location information from the specified field will be
|
259
258
|
# propagated to the unspecified field.
|
260
|
-
#
|
261
|
-
# to
|
259
|
+
# If this field is unspecified, the `machineTypeId` defaults
|
260
|
+
# to "n1-standard-1".
|
262
261
|
# Corresponds to the JSON property `machineType`
|
263
262
|
# @return [String]
|
264
263
|
attr_accessor :machine_type
|
265
264
|
|
266
265
|
# Optional. The Compute Engine network to be used for machine
|
267
|
-
# communications, specified as a
|
268
|
-
#
|
269
|
-
# For example:
|
266
|
+
# communications, specified as a
|
267
|
+
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
268
|
+
# For example: "projects/`projectId`/global/networks/`networkId`".
|
270
269
|
# [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
|
271
270
|
# network must belong to the environment's project. If unspecified, the
|
272
|
-
# "default" network ID in the environment's project is used. If a
|
273
|
-
# Subnet Network
|
274
|
-
#
|
271
|
+
# "default" network ID in the environment's project is used. If a
|
272
|
+
# [Custom Subnet Network]((/vpc/docs/vpc#vpc_networks_and_subnets)
|
273
|
+
# is provided, `nodeConfig.subnetwork` must also be provided.
|
275
274
|
# Corresponds to the JSON property `network`
|
276
275
|
# @return [String]
|
277
276
|
attr_accessor :network
|
278
277
|
|
279
|
-
# Optional. The set of Google API scopes to be made available on all
|
278
|
+
# Optional. The set of Google API scopes to be made available on all
|
280
279
|
# node VMs. If `oauth_scopes` is empty, defaults to
|
281
280
|
# ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
|
282
281
|
# Corresponds to the JSON property `oauthScopes`
|
@@ -291,10 +290,10 @@ module Google
|
|
291
290
|
attr_accessor :service_account
|
292
291
|
|
293
292
|
# Optional. The Compute Engine subnetwork to be used for machine
|
294
|
-
# communications, specified as a
|
295
|
-
#
|
293
|
+
# communications, specified as a
|
294
|
+
# [relative resource name](/apis/design/resource_names#relative_resource_name).
|
296
295
|
# For example:
|
297
|
-
#
|
296
|
+
# "projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId`"
|
298
297
|
# If a subnetwork is provided, `nodeConfig.network` must also be provided,
|
299
298
|
# and the subnetwork must belong to the enclosing environment's project and
|
300
299
|
# location.
|
@@ -481,26 +480,24 @@ module Google
|
|
481
480
|
end
|
482
481
|
end
|
483
482
|
|
484
|
-
# Specifies the selection and
|
483
|
+
# Specifies the selection and configuration of software inside the environment.
|
485
484
|
class SoftwareConfig
|
486
485
|
include Google::Apis::Core::Hashable
|
487
486
|
|
488
487
|
# Optional. Apache Airflow configuration properties to override.
|
489
|
-
# Property keys contain the section and property
|
490
|
-
# for example
|
488
|
+
# Property keys contain the section and property names, separated by a hyphen,
|
489
|
+
# for example "core-dags_are_paused_at_creation". Section names must not
|
491
490
|
# contain hyphens ("-"), opening square brackets ("["), or closing square
|
492
|
-
# brackets ("]"). The name must be
|
493
|
-
# sign ("=") or semicolon (";").
|
494
|
-
# contain a period ("."). Apache Airflow configuration property names
|
495
|
-
# written in
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# Property values can contain any character and be written in any lower/upper
|
499
|
-
# case format.
|
491
|
+
# brackets ("]"). The property name must not be empty and must not contain
|
492
|
+
# an equals sign ("=") or semicolon (";"). Section and property names must
|
493
|
+
# not contain a period ("."). Apache Airflow configuration property names
|
494
|
+
# must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case).
|
495
|
+
# Property values can contain any character, and can be written in any
|
496
|
+
# lower/upper case format.
|
500
497
|
# Certain Apache Airflow configuration property values are
|
501
498
|
# [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#
|
502
|
-
# airflow_configuration_blacklists)
|
503
|
-
# cannot be overridden.
|
499
|
+
# airflow_configuration_blacklists),
|
500
|
+
# and cannot be overridden.
|
504
501
|
# Corresponds to the JSON property `airflowConfigOverrides`
|
505
502
|
# @return [Hash<String,String>]
|
506
503
|
attr_accessor :airflow_config_overrides
|
@@ -508,10 +505,10 @@ module Google
|
|
508
505
|
# Optional. Additional environment variables to provide to the Apache Airflow
|
509
506
|
# scheduler, worker, and webserver processes.
|
510
507
|
# Environment variable names must match the regular expression
|
511
|
-
# `a-zA-Z_*`.
|
512
|
-
# software configuration overrides (
|
513
|
-
# `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`)
|
514
|
-
# reserved
|
508
|
+
# `a-zA-Z_*`. They cannot specify Apache Airflow
|
509
|
+
# software configuration overrides (they cannot match the regular expression
|
510
|
+
# `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
|
511
|
+
# following reserved names:
|
515
512
|
# * `AIRFLOW_HOME`
|
516
513
|
# * `C_FORCE_ROOT`
|
517
514
|
# * `CONTAINER_NAME`
|
@@ -534,10 +531,10 @@ module Google
|
|
534
531
|
# This encapsulates both the version of Cloud Composer functionality and the
|
535
532
|
# version of Apache Airflow. It must match the regular expression
|
536
533
|
# `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
|
537
|
-
# The Cloud Composer portion of the version is a
|
538
|
-
# version](https://semver.org). The portion of the image version
|
539
|
-
# <em>airflow-</em> is an official Apache Airflow repository
|
540
|
-
# name](https://github.com/apache/incubator-airflow/releases).
|
534
|
+
# The Cloud Composer portion of the version is a
|
535
|
+
# [semantic version](https://semver.org). The portion of the image version
|
536
|
+
# following <em>airflow-</em> is an official Apache Airflow repository
|
537
|
+
# [release name](https://github.com/apache/incubator-airflow/releases).
|
541
538
|
# See also [Release Notes](/composer/docs/release-notes).
|
542
539
|
# Corresponds to the JSON property `imageVersion`
|
543
540
|
# @return [String]
|
@@ -545,9 +542,9 @@ module Google
|
|
545
542
|
|
546
543
|
# Optional. Custom Python Package Index (PyPI) packages to be installed in
|
547
544
|
# the environment.
|
548
|
-
# Keys refer to the lowercase package name such as
|
545
|
+
# Keys refer to the lowercase package name such as "numpy"
|
549
546
|
# and values are the lowercase extras and version specifier such as
|
550
|
-
#
|
547
|
+
# "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a
|
551
548
|
# package without pinning it to a version specifier, use the empty string as
|
552
549
|
# the value.
|
553
550
|
# Corresponds to the JSON property `pypiPackages`
|