google-api-client 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +111 -0
- data/generated/google/apis/appengine_v1/representations.rb +59 -0
- data/generated/google/apis/appengine_v1/service.rb +220 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +361 -0
- data/generated/google/apis/classroom_v1/representations.rb +161 -0
- data/generated/google/apis/classroom_v1/service.rb +426 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudiot_v1.rb +38 -0
- data/generated/google/apis/cloudiot_v1/classes.rb +1197 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +473 -0
- data/generated/google/apis/cloudiot_v1/service.rb +657 -0
- data/generated/google/apis/cloudiot_v1beta1.rb +38 -0
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +1064 -0
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +442 -0
- data/generated/google/apis/cloudiot_v1beta1/service.rb +725 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +34 -4
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +34 -4
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +91 -9
- data/generated/google/apis/content_v2/representations.rb +20 -0
- data/generated/google/apis/content_v2/service.rb +1 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +90 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +20 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +53 -3
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +461 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +194 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +452 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +30 -1
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +8 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +2 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +44 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firebaserules_v1/service.rb +35 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -3
- data/generated/google/apis/fitness_v1/service.rb +4 -4
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +14 -14
- data/generated/google/apis/iam_v1/service.rb +29 -29
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +11 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +11 -9
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +5 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +19 -23
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +106 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +92 -92
- data/generated/google/apis/serviceuser_v1/representations.rb +27 -15
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +53 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +29 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +37 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -88,6 +88,18 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class Billing
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class BillingDestination
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
91
103
|
class Binding
|
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
105
|
|
|
@@ -666,6 +678,22 @@ module Google
|
|
|
666
678
|
end
|
|
667
679
|
end
|
|
668
680
|
|
|
681
|
+
class Billing
|
|
682
|
+
# @private
|
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
684
|
+
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServicemanagementV1::BillingDestination, decorator: Google::Apis::ServicemanagementV1::BillingDestination::Representation
|
|
685
|
+
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
class BillingDestination
|
|
690
|
+
# @private
|
|
691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
692
|
+
collection :metrics, as: 'metrics'
|
|
693
|
+
property :monitored_resource, as: 'monitoredResource'
|
|
694
|
+
end
|
|
695
|
+
end
|
|
696
|
+
|
|
669
697
|
class Binding
|
|
670
698
|
# @private
|
|
671
699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -905,8 +933,10 @@ module Google
|
|
|
905
933
|
property :cancel_state, as: 'cancelState'
|
|
906
934
|
property :deadline, as: 'deadline'
|
|
907
935
|
property :flow_name, as: 'flowName'
|
|
936
|
+
property :operation_type, as: 'operationType'
|
|
908
937
|
collection :resource_names, as: 'resourceNames'
|
|
909
938
|
property :start_time, as: 'startTime'
|
|
939
|
+
property :surface, as: 'surface'
|
|
910
940
|
end
|
|
911
941
|
end
|
|
912
942
|
|
|
@@ -1261,6 +1291,8 @@ module Google
|
|
|
1261
1291
|
|
|
1262
1292
|
property :backend, as: 'backend', class: Google::Apis::ServicemanagementV1::Backend, decorator: Google::Apis::ServicemanagementV1::Backend::Representation
|
|
1263
1293
|
|
|
1294
|
+
property :billing, as: 'billing', class: Google::Apis::ServicemanagementV1::Billing, decorator: Google::Apis::ServicemanagementV1::Billing::Representation
|
|
1295
|
+
|
|
1264
1296
|
property :config_version, as: 'configVersion'
|
|
1265
1297
|
property :context, as: 'context', class: Google::Apis::ServicemanagementV1::Context, decorator: Google::Apis::ServicemanagementV1::Context::Representation
|
|
1266
1298
|
|
|
@@ -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 = '20170926'
|
|
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'
|
|
@@ -351,49 +351,6 @@ module Google
|
|
|
351
351
|
end
|
|
352
352
|
end
|
|
353
353
|
|
|
354
|
-
# Authorization rule for API services.
|
|
355
|
-
# It specifies the permission(s) required for an API element for the overall
|
|
356
|
-
# API request to succeed. It is typically used to mark request message fields
|
|
357
|
-
# that contain the name of the resource and indicates the permissions that
|
|
358
|
-
# will be checked on that resource.
|
|
359
|
-
# For example:
|
|
360
|
-
# package google.storage.v1;
|
|
361
|
-
# message CopyObjectRequest `
|
|
362
|
-
# string source = 1 [
|
|
363
|
-
# (google.api.authz).permissions = "storage.objects.get"];
|
|
364
|
-
# string destination = 2 [
|
|
365
|
-
# (google.api.authz).permissions =
|
|
366
|
-
# "storage.objects.create,storage.objects.update"];
|
|
367
|
-
# `
|
|
368
|
-
class AuthorizationRule
|
|
369
|
-
include Google::Apis::Core::Hashable
|
|
370
|
-
|
|
371
|
-
# The required permissions. The acceptable values vary depend on the
|
|
372
|
-
# authorization system used. For Google APIs, it should be a comma-separated
|
|
373
|
-
# Google IAM permission values. When multiple permissions are listed, the
|
|
374
|
-
# semantics is not defined by the system. Additional documentation must
|
|
375
|
-
# be provided manually.
|
|
376
|
-
# Corresponds to the JSON property `permissions`
|
|
377
|
-
# @return [String]
|
|
378
|
-
attr_accessor :permissions
|
|
379
|
-
|
|
380
|
-
# Selects the API elements to which this rule applies.
|
|
381
|
-
# Refer to selector for syntax details.
|
|
382
|
-
# Corresponds to the JSON property `selector`
|
|
383
|
-
# @return [String]
|
|
384
|
-
attr_accessor :selector
|
|
385
|
-
|
|
386
|
-
def initialize(**args)
|
|
387
|
-
update!(**args)
|
|
388
|
-
end
|
|
389
|
-
|
|
390
|
-
# Update properties of this object
|
|
391
|
-
def update!(**args)
|
|
392
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
|
393
|
-
@selector = args[:selector] if args.key?(:selector)
|
|
394
|
-
end
|
|
395
|
-
end
|
|
396
|
-
|
|
397
354
|
# `Backend` defines the backend configuration for a service.
|
|
398
355
|
class Backend
|
|
399
356
|
include Google::Apis::Core::Hashable
|
|
@@ -454,6 +411,74 @@ module Google
|
|
|
454
411
|
end
|
|
455
412
|
end
|
|
456
413
|
|
|
414
|
+
# Billing related configuration of the service.
|
|
415
|
+
# The following example shows how to configure monitored resources and metrics
|
|
416
|
+
# for billing:
|
|
417
|
+
# monitored_resources:
|
|
418
|
+
# - type: library.googleapis.com/branch
|
|
419
|
+
# labels:
|
|
420
|
+
# - key: /city
|
|
421
|
+
# description: The city where the library branch is located in.
|
|
422
|
+
# - key: /name
|
|
423
|
+
# description: The name of the branch.
|
|
424
|
+
# metrics:
|
|
425
|
+
# - name: library.googleapis.com/book/borrowed_count
|
|
426
|
+
# metric_kind: DELTA
|
|
427
|
+
# value_type: INT64
|
|
428
|
+
# billing:
|
|
429
|
+
# consumer_destinations:
|
|
430
|
+
# - monitored_resource: library.googleapis.com/branch
|
|
431
|
+
# metrics:
|
|
432
|
+
# - library.googleapis.com/book/borrowed_count
|
|
433
|
+
class Billing
|
|
434
|
+
include Google::Apis::Core::Hashable
|
|
435
|
+
|
|
436
|
+
# Billing configurations for sending metrics to the consumer project.
|
|
437
|
+
# There can be multiple consumer destinations per service, each one must have
|
|
438
|
+
# a different monitored resource type. A metric can be used in at most
|
|
439
|
+
# one consumer destination.
|
|
440
|
+
# Corresponds to the JSON property `consumerDestinations`
|
|
441
|
+
# @return [Array<Google::Apis::ServiceuserV1::BillingDestination>]
|
|
442
|
+
attr_accessor :consumer_destinations
|
|
443
|
+
|
|
444
|
+
def initialize(**args)
|
|
445
|
+
update!(**args)
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Update properties of this object
|
|
449
|
+
def update!(**args)
|
|
450
|
+
@consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations)
|
|
451
|
+
end
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# Configuration of a specific billing destination (Currently only support
|
|
455
|
+
# bill against consumer project).
|
|
456
|
+
class BillingDestination
|
|
457
|
+
include Google::Apis::Core::Hashable
|
|
458
|
+
|
|
459
|
+
# Names of the metrics to report to this billing destination.
|
|
460
|
+
# Each name must be defined in Service.metrics section.
|
|
461
|
+
# Corresponds to the JSON property `metrics`
|
|
462
|
+
# @return [Array<String>]
|
|
463
|
+
attr_accessor :metrics
|
|
464
|
+
|
|
465
|
+
# The monitored resource type. The type must be defined in
|
|
466
|
+
# Service.monitored_resources section.
|
|
467
|
+
# Corresponds to the JSON property `monitoredResource`
|
|
468
|
+
# @return [String]
|
|
469
|
+
attr_accessor :monitored_resource
|
|
470
|
+
|
|
471
|
+
def initialize(**args)
|
|
472
|
+
update!(**args)
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# Update properties of this object
|
|
476
|
+
def update!(**args)
|
|
477
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
478
|
+
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
457
482
|
# `Context` defines which contexts an API requests.
|
|
458
483
|
# Example:
|
|
459
484
|
# context:
|
|
@@ -1297,14 +1322,6 @@ module Google
|
|
|
1297
1322
|
# @return [Array<Google::Apis::ServiceuserV1::HttpRule>]
|
|
1298
1323
|
attr_accessor :additional_bindings
|
|
1299
1324
|
|
|
1300
|
-
# Specifies the permission(s) required for an API element for the overall
|
|
1301
|
-
# API request to succeed. It is typically used to mark request message fields
|
|
1302
|
-
# that contain the name of the resource and indicates the permissions that
|
|
1303
|
-
# will be checked on that resource.
|
|
1304
|
-
# Corresponds to the JSON property `authorizations`
|
|
1305
|
-
# @return [Array<Google::Apis::ServiceuserV1::AuthorizationRule>]
|
|
1306
|
-
attr_accessor :authorizations
|
|
1307
|
-
|
|
1308
1325
|
# The name of the request field whose value is mapped to the HTTP body, or
|
|
1309
1326
|
# `*` for mapping all fields not captured by the path pattern to the HTTP
|
|
1310
1327
|
# body. NOTE: the referred field must not be a repeated field and must be
|
|
@@ -1368,44 +1385,6 @@ module Google
|
|
|
1368
1385
|
# @return [String]
|
|
1369
1386
|
attr_accessor :response_body
|
|
1370
1387
|
|
|
1371
|
-
# DO NOT USE. This is an experimental field.
|
|
1372
|
-
# Optional. The REST collection name is by default derived from the URL
|
|
1373
|
-
# pattern. If specified, this field overrides the default collection name.
|
|
1374
|
-
# Example:
|
|
1375
|
-
# rpc AddressesAggregatedList(AddressesAggregatedListRequest)
|
|
1376
|
-
# returns (AddressesAggregatedListResponse) `
|
|
1377
|
-
# option (google.api.http) = `
|
|
1378
|
-
# get: "/v1/projects/`project_id`/aggregated/addresses"
|
|
1379
|
-
# rest_collection: "projects.addresses"
|
|
1380
|
-
# `;
|
|
1381
|
-
# `
|
|
1382
|
-
# This method has the automatically derived collection name
|
|
1383
|
-
# "projects.aggregated". Because, semantically, this rpc is actually an
|
|
1384
|
-
# operation on the "projects.addresses" collection, the `rest_collection`
|
|
1385
|
-
# field is configured to override the derived collection name.
|
|
1386
|
-
# Corresponds to the JSON property `restCollection`
|
|
1387
|
-
# @return [String]
|
|
1388
|
-
attr_accessor :rest_collection
|
|
1389
|
-
|
|
1390
|
-
# DO NOT USE. This is an experimental field.
|
|
1391
|
-
# Optional. The rest method name is by default derived from the URL
|
|
1392
|
-
# pattern. If specified, this field overrides the default method name.
|
|
1393
|
-
# Example:
|
|
1394
|
-
# rpc CreateResource(CreateResourceRequest)
|
|
1395
|
-
# returns (CreateResourceResponse) `
|
|
1396
|
-
# option (google.api.http) = `
|
|
1397
|
-
# post: "/v1/resources",
|
|
1398
|
-
# body: "resource",
|
|
1399
|
-
# rest_method_name: "insert"
|
|
1400
|
-
# `;
|
|
1401
|
-
# `
|
|
1402
|
-
# This method has the automatically derived rest method name
|
|
1403
|
-
# "create", but for backwards compatibility with apiary, it is specified as
|
|
1404
|
-
# insert.
|
|
1405
|
-
# Corresponds to the JSON property `restMethodName`
|
|
1406
|
-
# @return [String]
|
|
1407
|
-
attr_accessor :rest_method_name
|
|
1408
|
-
|
|
1409
1388
|
# Selects methods to which this rule applies.
|
|
1410
1389
|
# Refer to selector for syntax details.
|
|
1411
1390
|
# Corresponds to the JSON property `selector`
|
|
@@ -1419,7 +1398,6 @@ module Google
|
|
|
1419
1398
|
# Update properties of this object
|
|
1420
1399
|
def update!(**args)
|
|
1421
1400
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
|
1422
|
-
@authorizations = args[:authorizations] if args.key?(:authorizations)
|
|
1423
1401
|
@body = args[:body] if args.key?(:body)
|
|
1424
1402
|
@custom = args[:custom] if args.key?(:custom)
|
|
1425
1403
|
@delete = args[:delete] if args.key?(:delete)
|
|
@@ -1430,8 +1408,6 @@ module Google
|
|
|
1430
1408
|
@post = args[:post] if args.key?(:post)
|
|
1431
1409
|
@put = args[:put] if args.key?(:put)
|
|
1432
1410
|
@response_body = args[:response_body] if args.key?(:response_body)
|
|
1433
|
-
@rest_collection = args[:rest_collection] if args.key?(:rest_collection)
|
|
1434
|
-
@rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name)
|
|
1435
1411
|
@selector = args[:selector] if args.key?(:selector)
|
|
1436
1412
|
end
|
|
1437
1413
|
end
|
|
@@ -2799,6 +2775,29 @@ module Google
|
|
|
2799
2775
|
# @return [Google::Apis::ServiceuserV1::Backend]
|
|
2800
2776
|
attr_accessor :backend
|
|
2801
2777
|
|
|
2778
|
+
# Billing related configuration of the service.
|
|
2779
|
+
# The following example shows how to configure monitored resources and metrics
|
|
2780
|
+
# for billing:
|
|
2781
|
+
# monitored_resources:
|
|
2782
|
+
# - type: library.googleapis.com/branch
|
|
2783
|
+
# labels:
|
|
2784
|
+
# - key: /city
|
|
2785
|
+
# description: The city where the library branch is located in.
|
|
2786
|
+
# - key: /name
|
|
2787
|
+
# description: The name of the branch.
|
|
2788
|
+
# metrics:
|
|
2789
|
+
# - name: library.googleapis.com/book/borrowed_count
|
|
2790
|
+
# metric_kind: DELTA
|
|
2791
|
+
# value_type: INT64
|
|
2792
|
+
# billing:
|
|
2793
|
+
# consumer_destinations:
|
|
2794
|
+
# - monitored_resource: library.googleapis.com/branch
|
|
2795
|
+
# metrics:
|
|
2796
|
+
# - library.googleapis.com/book/borrowed_count
|
|
2797
|
+
# Corresponds to the JSON property `billing`
|
|
2798
|
+
# @return [Google::Apis::ServiceuserV1::Billing]
|
|
2799
|
+
attr_accessor :billing
|
|
2800
|
+
|
|
2802
2801
|
# The semantic version of the service configuration. The config version
|
|
2803
2802
|
# affects the interpretation of the service configuration. For example,
|
|
2804
2803
|
# certain features are enabled by default for certain config versions.
|
|
@@ -3151,6 +3150,7 @@ module Google
|
|
|
3151
3150
|
@apis = args[:apis] if args.key?(:apis)
|
|
3152
3151
|
@authentication = args[:authentication] if args.key?(:authentication)
|
|
3153
3152
|
@backend = args[:backend] if args.key?(:backend)
|
|
3153
|
+
@billing = args[:billing] if args.key?(:billing)
|
|
3154
3154
|
@config_version = args[:config_version] if args.key?(:config_version)
|
|
3155
3155
|
@context = args[:context] if args.key?(:context)
|
|
3156
3156
|
@control = args[:control] if args.key?(:control)
|
|
@@ -58,19 +58,25 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Backend
|
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
63
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class BackendRule
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Billing
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class BillingDestination
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -467,14 +473,6 @@ module Google
|
|
|
467
473
|
end
|
|
468
474
|
end
|
|
469
475
|
|
|
470
|
-
class AuthorizationRule
|
|
471
|
-
# @private
|
|
472
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
473
|
-
property :permissions, as: 'permissions'
|
|
474
|
-
property :selector, as: 'selector'
|
|
475
|
-
end
|
|
476
|
-
end
|
|
477
|
-
|
|
478
476
|
class Backend
|
|
479
477
|
# @private
|
|
480
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -493,6 +491,22 @@ module Google
|
|
|
493
491
|
end
|
|
494
492
|
end
|
|
495
493
|
|
|
494
|
+
class Billing
|
|
495
|
+
# @private
|
|
496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
497
|
+
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceuserV1::BillingDestination, decorator: Google::Apis::ServiceuserV1::BillingDestination::Representation
|
|
498
|
+
|
|
499
|
+
end
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
class BillingDestination
|
|
503
|
+
# @private
|
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
505
|
+
collection :metrics, as: 'metrics'
|
|
506
|
+
property :monitored_resource, as: 'monitoredResource'
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
496
510
|
class Context
|
|
497
511
|
# @private
|
|
498
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -658,8 +672,6 @@ module Google
|
|
|
658
672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
659
673
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceuserV1::HttpRule, decorator: Google::Apis::ServiceuserV1::HttpRule::Representation
|
|
660
674
|
|
|
661
|
-
collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceuserV1::AuthorizationRule, decorator: Google::Apis::ServiceuserV1::AuthorizationRule::Representation
|
|
662
|
-
|
|
663
675
|
property :body, as: 'body'
|
|
664
676
|
property :custom, as: 'custom', class: Google::Apis::ServiceuserV1::CustomHttpPattern, decorator: Google::Apis::ServiceuserV1::CustomHttpPattern::Representation
|
|
665
677
|
|
|
@@ -673,8 +685,6 @@ module Google
|
|
|
673
685
|
property :post, as: 'post'
|
|
674
686
|
property :put, as: 'put'
|
|
675
687
|
property :response_body, as: 'responseBody'
|
|
676
|
-
property :rest_collection, as: 'restCollection'
|
|
677
|
-
property :rest_method_name, as: 'restMethodName'
|
|
678
688
|
property :selector, as: 'selector'
|
|
679
689
|
end
|
|
680
690
|
end
|
|
@@ -928,6 +938,8 @@ module Google
|
|
|
928
938
|
|
|
929
939
|
property :backend, as: 'backend', class: Google::Apis::ServiceuserV1::Backend, decorator: Google::Apis::ServiceuserV1::Backend::Representation
|
|
930
940
|
|
|
941
|
+
property :billing, as: 'billing', class: Google::Apis::ServiceuserV1::Billing, decorator: Google::Apis::ServiceuserV1::Billing::Representation
|
|
942
|
+
|
|
931
943
|
property :config_version, as: 'configVersion'
|
|
932
944
|
property :context, as: 'context', class: Google::Apis::ServiceuserV1::Context, decorator: Google::Apis::ServiceuserV1::Context::Representation
|
|
933
945
|
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/streetview/publish/
|
|
28
28
|
module StreetviewpublishV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20170927'
|
|
31
31
|
|
|
32
32
|
# Publish and manage your 360 photos on Google Street View
|
|
33
33
|
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
|
@@ -54,6 +54,12 @@ module Google
|
|
|
54
54
|
# CreatePhoto
|
|
55
55
|
# publishes the uploaded Photo to
|
|
56
56
|
# Street View on Google Maps.
|
|
57
|
+
# Currently, the only way to set heading, pitch, and roll in CreatePhoto is
|
|
58
|
+
# through the [Photo Sphere XMP
|
|
59
|
+
# metadata](https://developers.google.com/streetview/spherical-metadata) in
|
|
60
|
+
# the photo bytes. The `pose.heading`, `pose.pitch`, `pose.roll`,
|
|
61
|
+
# `pose.altitude`, and `pose.level` fields in Pose are ignored for
|
|
62
|
+
# CreatePhoto.
|
|
57
63
|
# This method returns the following error codes:
|
|
58
64
|
# * google.rpc.Code.INVALID_ARGUMENT if the request is malformed.
|
|
59
65
|
# * google.rpc.Code.NOT_FOUND if the upload reference does not exist.
|
|
@@ -430,6 +436,7 @@ module Google
|
|
|
430
436
|
# the user.
|
|
431
437
|
# @param [String] filter
|
|
432
438
|
# The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
|
|
439
|
+
# The only filter supported at the moment is `placeId`.
|
|
433
440
|
# @param [Fixnum] page_size
|
|
434
441
|
# The maximum number of photos to return.
|
|
435
442
|
# `pageSize` must be non-negative. If `pageSize` is zero or is not provided,
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
|
26
26
|
module ToolresultsV1beta3
|
|
27
27
|
VERSION = 'V1beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170925'
|
|
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'
|
|
@@ -707,7 +707,7 @@ module Google
|
|
|
707
707
|
class FailureDetail
|
|
708
708
|
include Google::Apis::Core::Hashable
|
|
709
709
|
|
|
710
|
-
# If the failure was severe because the system under test crashed.
|
|
710
|
+
# If the failure was severe because the system (app) under test crashed.
|
|
711
711
|
# Corresponds to the JSON property `crashed`
|
|
712
712
|
# @return [Boolean]
|
|
713
713
|
attr_accessor :crashed
|
|
@@ -720,7 +720,7 @@ module Google
|
|
|
720
720
|
attr_accessor :not_installed
|
|
721
721
|
alias_method :not_installed?, :not_installed
|
|
722
722
|
|
|
723
|
-
# If a native process other than the app crashed.
|
|
723
|
+
# If a native process (including any other than the app) crashed.
|
|
724
724
|
# Corresponds to the JSON property `otherNativeCrash`
|
|
725
725
|
# @return [Boolean]
|
|
726
726
|
attr_accessor :other_native_crash
|