google-api-client 0.18.0 → 0.18.1

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.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +238 -10
  9. data/generated/google/apis/admin_directory_v1/representations.rb +101 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +529 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -0
  13. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +9 -0
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +1 -0
  17. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v2/classes.rb +34 -0
  19. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +21 -17
  22. data/generated/google/apis/appengine_v1beta.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta/classes.rb +21 -17
  24. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  25. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +326 -0
  28. data/generated/google/apis/calendar_v3/representations.rb +118 -0
  29. data/generated/google/apis/calendar_v3/service.rb +28 -4
  30. data/generated/google/apis/classroom_v1.rb +1 -1
  31. data/generated/google/apis/classroom_v1/classes.rb +69 -0
  32. data/generated/google/apis/classroom_v1/representations.rb +31 -0
  33. data/generated/google/apis/classroom_v1/service.rb +88 -0
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +49 -0
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -0
  37. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  38. data/generated/google/apis/cloudfunctions_v1/classes.rb +9 -12
  39. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +25 -0
  41. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +4 -0
  42. data/generated/google/apis/cloudresourcemanager_v1/service.rb +8 -3
  43. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +7 -3
  45. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -6
  47. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +19 -13
  48. data/generated/google/apis/cloudshell_v1.rb +35 -0
  49. data/generated/google/apis/cloudshell_v1/classes.rb +409 -0
  50. data/generated/google/apis/cloudshell_v1/representations.rb +161 -0
  51. data/generated/google/apis/cloudshell_v1/service.rb +214 -0
  52. data/generated/google/apis/cloudshell_v1alpha1.rb +35 -0
  53. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +403 -0
  54. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +160 -0
  55. data/generated/google/apis/cloudshell_v1alpha1/service.rb +237 -0
  56. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +106 -13
  58. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +31 -1
  59. data/generated/google/apis/cloudtasks_v2beta2/service.rb +63 -8
  60. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  61. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  62. data/generated/google/apis/container_v1.rb +2 -2
  63. data/generated/google/apis/container_v1/classes.rb +6 -7
  64. data/generated/google/apis/container_v1/service.rb +2 -2
  65. data/generated/google/apis/container_v1beta1.rb +2 -2
  66. data/generated/google/apis/container_v1beta1/classes.rb +4 -4
  67. data/generated/google/apis/container_v1beta1/service.rb +3 -3
  68. data/generated/google/apis/content_v2.rb +1 -1
  69. data/generated/google/apis/content_v2/classes.rb +257 -0
  70. data/generated/google/apis/content_v2/representations.rb +114 -0
  71. data/generated/google/apis/content_v2/service.rb +84 -0
  72. data/generated/google/apis/content_v2sandbox.rb +1 -1
  73. data/generated/google/apis/content_v2sandbox/classes.rb +257 -0
  74. data/generated/google/apis/content_v2sandbox/representations.rb +114 -0
  75. data/generated/google/apis/content_v2sandbox/service.rb +84 -0
  76. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  77. data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
  78. data/generated/google/apis/digitalassetlinks_v1.rb +32 -0
  79. data/generated/google/apis/digitalassetlinks_v1/classes.rb +305 -0
  80. data/generated/google/apis/digitalassetlinks_v1/representations.rb +133 -0
  81. data/generated/google/apis/digitalassetlinks_v1/service.rb +324 -0
  82. data/generated/google/apis/dlp_v2beta2.rb +36 -0
  83. data/generated/google/apis/dlp_v2beta2/classes.rb +5475 -0
  84. data/generated/google/apis/dlp_v2beta2/representations.rb +2734 -0
  85. data/generated/google/apis/dlp_v2beta2/service.rb +1135 -0
  86. data/generated/google/apis/drive_v2.rb +1 -1
  87. data/generated/google/apis/drive_v2/service.rb +25 -16
  88. data/generated/google/apis/drive_v3.rb +1 -1
  89. data/generated/google/apis/drive_v3/service.rb +1 -1
  90. data/generated/google/apis/monitoring_v3.rb +1 -1
  91. data/generated/google/apis/monitoring_v3/classes.rb +50 -1
  92. data/generated/google/apis/monitoring_v3/representations.rb +16 -0
  93. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  94. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -5
  95. data/generated/google/apis/slides_v1.rb +4 -1
  96. data/generated/google/apis/speech_v1.rb +1 -4
  97. data/generated/google/apis/speech_v1beta1.rb +1 -4
  98. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  99. data/generated/google/apis/streetviewpublish_v1/classes.rb +0 -2
  100. data/generated/google/apis/streetviewpublish_v1/service.rb +6 -0
  101. data/generated/google/apis/testing_v1.rb +1 -1
  102. data/generated/google/apis/testing_v1/classes.rb +81 -0
  103. data/generated/google/apis/testing_v1/representations.rb +45 -0
  104. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  105. data/generated/google/apis/youtube_v3.rb +1 -1
  106. data/generated/google/apis/youtube_v3/classes.rb +0 -6
  107. data/generated/google/apis/youtube_v3/representations.rb +0 -1
  108. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  109. data/generated/google/apis/youtubereporting_v1/classes.rb +576 -19
  110. data/generated/google/apis/youtubereporting_v1/representations.rb +218 -12
  111. data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
  112. data/lib/google/apis/version.rb +1 -1
  113. metadata +18 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20171020'
29
+ REVISION = '20171208'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -56,10 +56,10 @@ module Google
56
56
 
57
57
  # Gets the information about the current user along with Drive API settings
58
58
  # @param [Boolean] include_subscribed
59
- # When calculating the number of remaining change IDs, whether to include public
60
- # files the user has opened and shared files. When set to false, this counts
61
- # only change IDs for owned files and any shared or public files that the user
62
- # has explicitly added to a folder they own.
59
+ # Whether to count changes outside the My Drive hierarchy. When set to false,
60
+ # changes to files such as those in the Application Data folder or shared files
61
+ # which have not been added to My Drive will be omitted from the
62
+ # maxChangeIdCount.
63
63
  # @param [Fixnum] max_change_id_count
64
64
  # Maximum number of remaining change IDs to count
65
65
  # @param [Fixnum] start_change_id
@@ -182,7 +182,8 @@ module Google
182
182
  execute_or_queue_command(command, &block)
183
183
  end
184
184
 
185
- # Gets a specific change.
185
+ # Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent
186
+ # changes.
186
187
  # @param [String] change_id
187
188
  # The ID of the change.
188
189
  # @param [Boolean] supports_team_drives
@@ -272,9 +273,10 @@ module Google
272
273
  # Whether to include changes indicating that items have been removed from the
273
274
  # list of changes, for example by deletion or loss of access.
274
275
  # @param [Boolean] include_subscribed
275
- # Whether to include public files the user has opened and shared files. When set
276
- # to false, the list only includes owned files plus any shared or public files
277
- # the user has explicitly added to a folder they own.
276
+ # Whether to include changes outside the My Drive hierarchy in the result. When
277
+ # set to false, changes to files such as those in the Application Data folder or
278
+ # shared files which have not been added to My Drive will be omitted from the
279
+ # result.
278
280
  # @param [Boolean] include_team_drive_items
279
281
  # Whether Team Drive files or changes should be included in results.
280
282
  # @param [Fixnum] max_results
@@ -287,7 +289,7 @@ module Google
287
289
  # A comma-separated list of spaces to query. Supported values are 'drive', '
288
290
  # appDataFolder' and 'photos'.
289
291
  # @param [Fixnum] start_change_id
290
- # Change ID to start listing changes from.
292
+ # Deprecated - use pageToken instead.
291
293
  # @param [Boolean] supports_team_drives
292
294
  # Whether the requesting application supports Team Drives.
293
295
  # @param [String] team_drive_id
@@ -346,9 +348,10 @@ module Google
346
348
  # Whether to include changes indicating that items have been removed from the
347
349
  # list of changes, for example by deletion or loss of access.
348
350
  # @param [Boolean] include_subscribed
349
- # Whether to include public files the user has opened and shared files. When set
350
- # to false, the list only includes owned files plus any shared or public files
351
- # the user has explicitly added to a folder they own.
351
+ # Whether to include changes outside the My Drive hierarchy in the result. When
352
+ # set to false, changes to files such as those in the Application Data folder or
353
+ # shared files which have not been added to My Drive will be omitted from the
354
+ # result.
352
355
  # @param [Boolean] include_team_drive_items
353
356
  # Whether Team Drive files or changes should be included in results.
354
357
  # @param [Fixnum] max_results
@@ -361,7 +364,7 @@ module Google
361
364
  # A comma-separated list of spaces to query. Supported values are 'drive', '
362
365
  # appDataFolder' and 'photos'.
363
366
  # @param [Fixnum] start_change_id
364
- # Change ID to start listing changes from.
367
+ # Deprecated - use pageToken instead.
365
368
  # @param [Boolean] supports_team_drives
366
369
  # Whether the requesting application supports Team Drives.
367
370
  # @param [String] team_drive_id
@@ -1315,7 +1318,10 @@ module Google
1315
1318
  # @param [String] remove_parents
1316
1319
  # Comma-separated list of parent IDs to remove.
1317
1320
  # @param [Boolean] set_modified_date
1318
- # Whether to set the modified date with the supplied modified date.
1321
+ # Whether to set the modified date using the value supplied in the request body.
1322
+ # Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
1323
+ # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
1324
+ # to the modified date set modifiedDateBehavior=noChange.
1319
1325
  # @param [Boolean] supports_team_drives
1320
1326
  # Whether the requesting application supports Team Drives.
1321
1327
  # @param [String] timed_text_language
@@ -1517,7 +1523,10 @@ module Google
1517
1523
  # @param [String] remove_parents
1518
1524
  # Comma-separated list of parent IDs to remove.
1519
1525
  # @param [Boolean] set_modified_date
1520
- # Whether to set the modified date with the supplied modified date.
1526
+ # Whether to set the modified date using the value supplied in the request body.
1527
+ # Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
1528
+ # and false is equivalent to modifiedDateBehavior=now. To prevent any changes
1529
+ # to the modified date set modifiedDateBehavior=noChange.
1521
1530
  # @param [Boolean] supports_team_drives
1522
1531
  # Whether the requesting application supports Team Drives.
1523
1532
  # @param [String] timed_text_language
@@ -1929,7 +1938,7 @@ module Google
1929
1938
  # The ID for the file or Team Drive.
1930
1939
  # @param [Google::Apis::DriveV2::Permission] permission_object
1931
1940
  # @param [String] email_message
1932
- # A custom message to include in notification emails.
1941
+ # A plain text custom message to include in notification emails.
1933
1942
  # @param [Boolean] send_notification_emails
1934
1943
  # Whether to send notification emails when sharing to users or groups. This
1935
1944
  # parameter is ignored and an email is sent if the role is owner.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20171020'
29
+ REVISION = '20171208'
30
30
 
31
31
  # View and manage the files in your Google Drive
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1027,7 +1027,7 @@ module Google
1027
1027
  # The ID of the file or Team Drive.
1028
1028
  # @param [Google::Apis::DriveV3::Permission] permission_object
1029
1029
  # @param [String] email_message
1030
- # A custom message to include in the notification email.
1030
+ # A plain text custom message to include in the notification email.
1031
1031
  # @param [Boolean] send_notification_email
1032
1032
  # Whether to send a notification email when sharing to users or groups. This
1033
1033
  # defaults to true for users and groups, and is not allowed for other requests.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20171125'
30
+ REVISION = '20171213'
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'
@@ -1334,6 +1334,44 @@ module Google
1334
1334
  end
1335
1335
  end
1336
1336
 
1337
+ # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
1338
+ # contain the minimum set of information to uniquely identify a monitored
1339
+ # resource instance. There is some other useful auxiliary metadata. Google
1340
+ # Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
1341
+ # metadata for cloud resources of all types , and stores the metadata in this
1342
+ # message.
1343
+ class MonitoredResourceMetadata
1344
+ include Google::Apis::Core::Hashable
1345
+
1346
+ # Output only. Values for predefined system metadata labels. System labels are a
1347
+ # kind of metadata extracted by Google Stackdriver. Stackdriver determines what
1348
+ # system labels are useful and how to obtain their values. Some examples: "
1349
+ # machine_image", "vpc", "subnet_id", "security_group", "name", etc. System
1350
+ # label values can be only strings, Boolean values, or a list of strings. For
1351
+ # example:
1352
+ # ` "name": "my-test-instance",
1353
+ # "security_group": ["a", "b", "c"],
1354
+ # "spot_instance": false `
1355
+ # Corresponds to the JSON property `systemLabels`
1356
+ # @return [Hash<String,Object>]
1357
+ attr_accessor :system_labels
1358
+
1359
+ # Output only. A map of user-defined metadata labels.
1360
+ # Corresponds to the JSON property `userLabels`
1361
+ # @return [Hash<String,String>]
1362
+ attr_accessor :user_labels
1363
+
1364
+ def initialize(**args)
1365
+ update!(**args)
1366
+ end
1367
+
1368
+ # Update properties of this object
1369
+ def update!(**args)
1370
+ @system_labels = args[:system_labels] if args.key?(:system_labels)
1371
+ @user_labels = args[:user_labels] if args.key?(:user_labels)
1372
+ end
1373
+ end
1374
+
1337
1375
  # A protocol buffer option, which can be attached to a message, field,
1338
1376
  # enumeration, etc.
1339
1377
  class Option
@@ -1588,6 +1626,16 @@ module Google
1588
1626
  class TimeSeries
1589
1627
  include Google::Apis::Core::Hashable
1590
1628
 
1629
+ # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
1630
+ # contain the minimum set of information to uniquely identify a monitored
1631
+ # resource instance. There is some other useful auxiliary metadata. Google
1632
+ # Stackdriver Monitoring & Logging uses an ingestion pipeline to extract
1633
+ # metadata for cloud resources of all types , and stores the metadata in this
1634
+ # message.
1635
+ # Corresponds to the JSON property `metadata`
1636
+ # @return [Google::Apis::MonitoringV3::MonitoredResourceMetadata]
1637
+ attr_accessor :metadata
1638
+
1591
1639
  # A specific metric, identified by specifying values for all of the labels of a
1592
1640
  # MetricDescriptor.
1593
1641
  # Corresponds to the JSON property `metric`
@@ -1646,6 +1694,7 @@ module Google
1646
1694
 
1647
1695
  # Update properties of this object
1648
1696
  def update!(**args)
1697
+ @metadata = args[:metadata] if args.key?(:metadata)
1649
1698
  @metric = args[:metric] if args.key?(:metric)
1650
1699
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1651
1700
  @points = args[:points] if args.key?(:points)
@@ -1793,7 +1842,7 @@ module Google
1793
1842
  # @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
1794
1843
  attr_accessor :internal_checkers
1795
1844
 
1796
- # Denotes whether this check is a check that egresses from InternalCheckers.
1845
+ # Denotes whether this is a check that egresses from InternalCheckers.
1797
1846
  # Corresponds to the JSON property `isInternal`
1798
1847
  # @return [Boolean]
1799
1848
  attr_accessor :is_internal
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class MonitoredResourceMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class Option
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -599,6 +605,14 @@ module Google
599
605
  end
600
606
  end
601
607
 
608
+ class MonitoredResourceMetadata
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ hash :system_labels, as: 'systemLabels'
612
+ hash :user_labels, as: 'userLabels'
613
+ end
614
+ end
615
+
602
616
  class Option
603
617
  # @private
604
618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -667,6 +681,8 @@ module Google
667
681
  class TimeSeries
668
682
  # @private
669
683
  class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::MonitoredResourceMetadata, decorator: Google::Apis::MonitoringV3::MonitoredResourceMetadata::Representation
685
+
670
686
  property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation
671
687
 
672
688
  property :metric_kind, as: 'metricKind'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-consumer-management/docs/overview
27
27
  module ServiceconsumermanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171113'
29
+ REVISION = '20171212'
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'
@@ -3834,7 +3834,8 @@ module Google
3834
3834
  class UsageRule
3835
3835
  include Google::Apis::Core::Hashable
3836
3836
 
3837
- # True, if the method allows unregistered calls; false otherwise.
3837
+ # If true, the selected method allows unregistered calls, e.g. calls
3838
+ # that don't identify any user or application.
3838
3839
  # Corresponds to the JSON property `allowUnregisteredCalls`
3839
3840
  # @return [Boolean]
3840
3841
  attr_accessor :allow_unregistered_calls
@@ -3847,10 +3848,10 @@ module Google
3847
3848
  # @return [String]
3848
3849
  attr_accessor :selector
3849
3850
 
3850
- # True, if the method should skip service control. If so, no control plane
3851
- # feature (like quota and billing) will be enabled.
3852
- # This flag is used by ESP to allow some Endpoints customers to bypass
3853
- # Google internal checks.
3851
+ # If true, the selected method should skip service control and the control
3852
+ # plane features, such as quota and billing, will not be available.
3853
+ # This flag is used by Google Cloud Endpoints to bypass checks for internal
3854
+ # methods, such as service health check methods.
3854
3855
  # Corresponds to the JSON property `skipServiceControl`
3855
3856
  # @return [Boolean]
3856
3857
  attr_accessor :skip_service_control
@@ -25,11 +25,14 @@ module Google
25
25
  # @see https://developers.google.com/slides/
26
26
  module SlidesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171113'
28
+ REVISION = '20171208'
29
29
 
30
30
  # View and manage the files in your Google Drive
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
32
32
 
33
+ # View and manage Google Drive files and folders that you have opened or created with this app
34
+ AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
35
+
33
36
  # View the files in your Google Drive
34
37
  AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
35
38
 
@@ -25,13 +25,10 @@ module Google
25
25
  # @see https://cloud.google.com/speech/
26
26
  module SpeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171129'
28
+ REVISION = '20171213'
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'
32
-
33
- # Convert speech to text using Google speech recognition technology
34
- AUTH_CLOUD_SPEECH = 'https://www.googleapis.com/auth/cloud-speech'
35
32
  end
36
33
  end
37
34
  end
@@ -25,13 +25,10 @@ module Google
25
25
  # @see https://cloud.google.com/speech/
26
26
  module SpeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20171129'
28
+ REVISION = '20171213'
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'
32
-
33
- # Convert speech to text using Google speech recognition technology
34
- AUTH_CLOUD_SPEECH = 'https://www.googleapis.com/auth/cloud-speech'
35
32
  end
36
33
  end
37
34
  end
@@ -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 = '20171207'
30
+ REVISION = '20171211'
31
31
 
32
32
  # Publish and manage your 360 photos on Google Street View
33
33
  AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
@@ -363,8 +363,6 @@ module Google
363
363
 
364
364
  # Connections to other photos. A connection represents the link from this
365
365
  # photo to another photo.
366
- # The maximum number of connections that can be set through an
367
- # google.streetview.publish.v1.UpdatePhotoRequest is 10.
368
366
  # Corresponds to the JSON property `connections`
369
367
  # @return [Array<Google::Apis::StreetviewpublishV1::Connection>]
370
368
  attr_accessor :connections
@@ -136,6 +136,8 @@ module Google
136
136
  # create the requested Photo.
137
137
  # * google.rpc.Code.NOT_FOUND if the requested
138
138
  # Photo does not exist.
139
+ # * google.rpc.Code.UNAVAILABLE if the requested
140
+ # Photo is still being indexed.
139
141
  # @param [String] photo_id
140
142
  # Required. ID of the Photo.
141
143
  # @param [String] view
@@ -230,6 +232,8 @@ module Google
230
232
  # create the requested photo.
231
233
  # * google.rpc.Code.INVALID_ARGUMENT if the request is malformed.
232
234
  # * google.rpc.Code.NOT_FOUND if the requested photo does not exist.
235
+ # * google.rpc.Code.UNAVAILABLE if the requested
236
+ # Photo is still being indexed.
233
237
  # @param [String] id
234
238
  # Required. A unique identifier for a photo.
235
239
  # @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
@@ -435,6 +439,8 @@ module Google
435
439
 
436
440
  # Lists all the Photos that belong to
437
441
  # the user.
442
+ # <aside class="note"><b>Note:</b> Recently created photos that are still
443
+ # being indexed are not returned in the response.</aside>
438
444
  # @param [String] filter
439
445
  # The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
440
446
  # The only filter supported at the moment is `placeId`.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171129'
29
+ REVISION = '20171213'
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'
@@ -429,6 +429,14 @@ module Google
429
429
  # @return [Array<Google::Apis::TestingV1::RoboDirective>]
430
430
  attr_accessor :robo_directives
431
431
 
432
+ # The intents used to launch the app for the crawl.
433
+ # If none are provided, then the main launcher activity is launched.
434
+ # If some are provided, then only those provided are launched (the main
435
+ # launcher activity must be provided explicitly).
436
+ # Corresponds to the JSON property `startingIntents`
437
+ # @return [Array<Google::Apis::TestingV1::RoboStartingIntent>]
438
+ attr_accessor :starting_intents
439
+
432
440
  def initialize(**args)
433
441
  update!(**args)
434
442
  end
@@ -441,6 +449,7 @@ module Google
441
449
  @max_depth = args[:max_depth] if args.key?(:max_depth)
442
450
  @max_steps = args[:max_steps] if args.key?(:max_steps)
443
451
  @robo_directives = args[:robo_directives] if args.key?(:robo_directives)
452
+ @starting_intents = args[:starting_intents] if args.key?(:starting_intents)
444
453
  end
445
454
  end
446
455
 
@@ -886,6 +895,19 @@ module Google
886
895
  end
887
896
  end
888
897
 
898
+ # Specifies an intent that starts the main launcher activity.
899
+ class LauncherActivityIntent
900
+ include Google::Apis::Core::Hashable
901
+
902
+ def initialize(**args)
903
+ update!(**args)
904
+ end
905
+
906
+ # Update properties of this object
907
+ def update!(**args)
908
+ end
909
+ end
910
+
889
911
  # A location/region designation for language.
890
912
  class Locale
891
913
  include Google::Apis::Core::Hashable
@@ -1123,6 +1145,65 @@ module Google
1123
1145
  end
1124
1146
  end
1125
1147
 
1148
+ # Message for specifying the start activities to crawl
1149
+ class RoboStartingIntent
1150
+ include Google::Apis::Core::Hashable
1151
+
1152
+ # Specifies an intent that starts the main launcher activity.
1153
+ # Corresponds to the JSON property `launcherActivity`
1154
+ # @return [Google::Apis::TestingV1::LauncherActivityIntent]
1155
+ attr_accessor :launcher_activity
1156
+
1157
+ # A starting intent specified by an action, uri, and categories.
1158
+ # Corresponds to the JSON property `startActivity`
1159
+ # @return [Google::Apis::TestingV1::StartActivityIntent]
1160
+ attr_accessor :start_activity
1161
+
1162
+ def initialize(**args)
1163
+ update!(**args)
1164
+ end
1165
+
1166
+ # Update properties of this object
1167
+ def update!(**args)
1168
+ @launcher_activity = args[:launcher_activity] if args.key?(:launcher_activity)
1169
+ @start_activity = args[:start_activity] if args.key?(:start_activity)
1170
+ end
1171
+ end
1172
+
1173
+ # A starting intent specified by an action, uri, and categories.
1174
+ class StartActivityIntent
1175
+ include Google::Apis::Core::Hashable
1176
+
1177
+ # Action name.
1178
+ # Required for START_ACTIVITY.
1179
+ # Corresponds to the JSON property `action`
1180
+ # @return [String]
1181
+ attr_accessor :action
1182
+
1183
+ # Intent categories to set on the intent.
1184
+ # Optional.
1185
+ # Corresponds to the JSON property `categories`
1186
+ # @return [Array<String>]
1187
+ attr_accessor :categories
1188
+
1189
+ # URI for the action.
1190
+ # Optional.
1191
+ # Corresponds to the JSON property `uri`
1192
+ # @return [String]
1193
+ attr_accessor :uri
1194
+
1195
+ def initialize(**args)
1196
+ update!(**args)
1197
+ end
1198
+
1199
+ # Update properties of this object
1200
+ def update!(**args)
1201
+ @action = args[:action] if args.key?(:action)
1202
+ @categories = args[:categories] if args.key?(:categories)
1203
+ @uri = args[:uri] if args.key?(:uri)
1204
+ end
1205
+ end
1206
+
1126
1207
  # Additional details about the progress of the running test.
1127
1208
  class TestDetails
1128
1209
  include Google::Apis::Core::Hashable