google-api-client 0.30.10 → 0.31.0

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 (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
  5. data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
  6. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
  8. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
  9. data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
  13. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
  15. data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
  16. data/generated/google/apis/bigquery_v2.rb +1 -1
  17. data/generated/google/apis/bigquery_v2/classes.rb +15 -9
  18. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  19. data/generated/google/apis/bigquery_v2/service.rb +24 -24
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
  22. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  23. data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
  24. data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
  25. data/generated/google/apis/calendar_v3.rb +1 -1
  26. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
  29. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  30. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
  31. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +20 -6
  35. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  36. data/generated/google/apis/compute_beta.rb +1 -1
  37. data/generated/google/apis/compute_beta/classes.rb +112 -6
  38. data/generated/google/apis/compute_beta/representations.rb +58 -0
  39. data/generated/google/apis/compute_beta/service.rb +118 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +1095 -7
  42. data/generated/google/apis/compute_v1/representations.rb +483 -0
  43. data/generated/google/apis/compute_v1/service.rb +2307 -468
  44. data/generated/google/apis/container_v1.rb +1 -1
  45. data/generated/google/apis/container_v1/classes.rb +3 -3
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +108 -3
  48. data/generated/google/apis/container_v1beta1/representations.rb +35 -0
  49. data/generated/google/apis/dialogflow_v2.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
  51. data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
  52. data/generated/google/apis/dialogflow_v2/service.rb +78 -0
  53. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
  55. data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
  56. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
  57. data/generated/google/apis/dns_v1.rb +1 -1
  58. data/generated/google/apis/dns_v1/classes.rb +330 -4
  59. data/generated/google/apis/dns_v1/representations.rb +149 -0
  60. data/generated/google/apis/dns_v1/service.rb +246 -0
  61. data/generated/google/apis/dns_v1beta2.rb +1 -1
  62. data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
  63. data/generated/google/apis/dns_v2beta1.rb +1 -1
  64. data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
  65. data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
  66. data/generated/google/apis/dns_v2beta1/service.rb +246 -0
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +9 -1
  69. data/generated/google/apis/iam_v1/service.rb +5 -3
  70. data/generated/google/apis/iap_v1.rb +1 -1
  71. data/generated/google/apis/iap_v1/classes.rb +11 -4
  72. data/generated/google/apis/iap_v1beta1.rb +1 -1
  73. data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
  74. data/generated/google/apis/jobs_v3.rb +1 -1
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/logging_v2.rb +1 -1
  77. data/generated/google/apis/logging_v2/classes.rb +30 -0
  78. data/generated/google/apis/logging_v2/representations.rb +15 -0
  79. data/generated/google/apis/logging_v2/service.rb +30 -35
  80. data/generated/google/apis/monitoring_v3.rb +1 -1
  81. data/generated/google/apis/monitoring_v3/classes.rb +60 -59
  82. data/generated/google/apis/monitoring_v3/service.rb +18 -18
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +40 -40
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
  87. data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
  88. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  89. data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
  90. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  91. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1.rb +1 -1
  93. data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
  94. data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
  95. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  96. data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
  97. data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
  98. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  99. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
  100. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
  101. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  102. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
  103. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
  104. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  105. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
  106. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
  107. data/lib/google/apis/version.rb +1 -1
  108. metadata +2 -6
  109. data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
  110. data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
  111. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
  112. data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -1317,9 +1317,9 @@ module Google
1317
1317
  execute_or_queue_command(command, &block)
1318
1318
  end
1319
1319
 
1320
- # Creates a new uptime check configuration.
1320
+ # Creates a new Uptime check configuration.
1321
1321
  # @param [String] parent
1322
- # The project in which to create the uptime check. The format is projects/[
1322
+ # The project in which to create the Uptime check. The format is projects/[
1323
1323
  # PROJECT_ID].
1324
1324
  # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
1325
1325
  # @param [String] fields
@@ -1351,11 +1351,11 @@ module Google
1351
1351
  execute_or_queue_command(command, &block)
1352
1352
  end
1353
1353
 
1354
- # Deletes an uptime check configuration. Note that this method will fail if the
1355
- # uptime check configuration is referenced by an alert policy or other dependent
1354
+ # Deletes an Uptime check configuration. Note that this method will fail if the
1355
+ # Uptime check configuration is referenced by an alert policy or other dependent
1356
1356
  # configs that would be rendered invalid by the deletion.
1357
1357
  # @param [String] name
1358
- # The uptime check configuration to delete. The format is projects/[PROJECT_ID]/
1358
+ # The Uptime check configuration to delete. The format is projects/[PROJECT_ID]/
1359
1359
  # uptimeCheckConfigs/[UPTIME_CHECK_ID].
1360
1360
  # @param [String] fields
1361
1361
  # Selector specifying which fields to include in a partial response.
@@ -1384,9 +1384,9 @@ module Google
1384
1384
  execute_or_queue_command(command, &block)
1385
1385
  end
1386
1386
 
1387
- # Gets a single uptime check configuration.
1387
+ # Gets a single Uptime check configuration.
1388
1388
  # @param [String] name
1389
- # The uptime check configuration to retrieve. The format is projects/[
1389
+ # The Uptime check configuration to retrieve. The format is projects/[
1390
1390
  # PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
1391
1391
  # @param [String] fields
1392
1392
  # Selector specifying which fields to include in a partial response.
@@ -1415,10 +1415,10 @@ module Google
1415
1415
  execute_or_queue_command(command, &block)
1416
1416
  end
1417
1417
 
1418
- # Lists the existing valid uptime check configurations for the project, leaving
1419
- # out any invalid configurations.
1418
+ # Lists the existing valid Uptime check configurations for the project (leaving
1419
+ # out any invalid configurations).
1420
1420
  # @param [String] parent
1421
- # The project whose uptime check configurations are listed. The format is
1421
+ # The project whose Uptime check configurations are listed. The format is
1422
1422
  # projects/[PROJECT_ID].
1423
1423
  # @param [Fixnum] page_size
1424
1424
  # The maximum number of results to return in a single response. The server may
@@ -1458,18 +1458,18 @@ module Google
1458
1458
  execute_or_queue_command(command, &block)
1459
1459
  end
1460
1460
 
1461
- # Updates an uptime check configuration. You can either replace the entire
1461
+ # Updates an Uptime check configuration. You can either replace the entire
1462
1462
  # configuration with a new one or replace only certain fields in the current
1463
- # configuration by specifying the fields to be updated via "updateMask". Returns
1463
+ # configuration by specifying the fields to be updated via updateMask. Returns
1464
1464
  # the updated configuration.
1465
1465
  # @param [String] name
1466
- # A unique resource name for this UptimeCheckConfig. The format is:projects/[
1467
- # PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted
1468
- # when creating the uptime check configuration; on create, the resource name is
1469
- # assigned by the server and included in the response.
1466
+ # A unique resource name for this Uptime check configuration. The format is:
1467
+ # projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should
1468
+ # be omitted when creating the Uptime check configuration; on create, the
1469
+ # resource name is assigned by the server and included in the response.
1470
1470
  # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
1471
1471
  # @param [String] update_mask
1472
- # Optional. If present, only the listed fields in the current uptime check
1472
+ # Optional. If present, only the listed fields in the current Uptime check
1473
1473
  # configuration are updated with values from the new configuration. If this
1474
1474
  # field is empty, then the current configuration is completely replaced with the
1475
1475
  # new configuration.
@@ -1503,7 +1503,7 @@ module Google
1503
1503
  execute_or_queue_command(command, &block)
1504
1504
  end
1505
1505
 
1506
- # Returns the list of IPs that checkers run from
1506
+ # Returns the list of IP addresses that checkers run from
1507
1507
  # @param [Fixnum] page_size
1508
1508
  # The maximum number of results to return in a single response. The server may
1509
1509
  # further constrain the maximum number of results returned in a single page. If
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190822'
28
+ REVISION = '20190910'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -196,14 +196,14 @@ module Google
196
196
  class Birthday
197
197
  include Google::Apis::Core::Hashable
198
198
 
199
- # Represents a whole calendar date, for example a date of birth. The time
200
- # of day and time zone are either specified elsewhere or are not
201
- # significant. The date is relative to the
202
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
203
- # Proleptic_Gregorian_calendar).
204
- # The day may be 0 to represent a year and month where the day is not
205
- # significant. The year may be 0 to represent a month and day independent
206
- # of year; for example, anniversary date.
199
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
200
+ # and time zone are either specified elsewhere or are not significant. The date
201
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
202
+ # * A full date, with non-zero year, month and day values
203
+ # * A month and day value, with a zero year, e.g. an anniversary
204
+ # * A year on its own, with zero month and day values
205
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
206
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
207
207
  # Corresponds to the JSON property `date`
208
208
  # @return [Google::Apis::PeopleV1::Date]
209
209
  attr_accessor :date
@@ -472,14 +472,14 @@ module Google
472
472
  end
473
473
  end
474
474
 
475
- # Represents a whole calendar date, for example a date of birth. The time
476
- # of day and time zone are either specified elsewhere or are not
477
- # significant. The date is relative to the
478
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
479
- # Proleptic_Gregorian_calendar).
480
- # The day may be 0 to represent a year and month where the day is not
481
- # significant. The year may be 0 to represent a month and day independent
482
- # of year; for example, anniversary date.
475
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
476
+ # and time zone are either specified elsewhere or are not significant. The date
477
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
478
+ # * A full date, with non-zero year, month and day values
479
+ # * A month and day value, with a zero year, e.g. an anniversary
480
+ # * A year on its own, with zero month and day values
481
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
482
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
483
483
  class Date
484
484
  include Google::Apis::Core::Hashable
485
485
 
@@ -628,14 +628,14 @@ module Google
628
628
  class Event
629
629
  include Google::Apis::Core::Hashable
630
630
 
631
- # Represents a whole calendar date, for example a date of birth. The time
632
- # of day and time zone are either specified elsewhere or are not
633
- # significant. The date is relative to the
634
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
635
- # Proleptic_Gregorian_calendar).
636
- # The day may be 0 to represent a year and month where the day is not
637
- # significant. The year may be 0 to represent a month and day independent
638
- # of year; for example, anniversary date.
631
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
632
+ # and time zone are either specified elsewhere or are not significant. The date
633
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
634
+ # * A full date, with non-zero year, month and day values
635
+ # * A month and day value, with a zero year, e.g. an anniversary
636
+ # * A year on its own, with zero month and day values
637
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
638
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
639
639
  # Corresponds to the JSON property `date`
640
640
  # @return [Google::Apis::PeopleV1::Date]
641
641
  attr_accessor :date
@@ -1228,14 +1228,14 @@ module Google
1228
1228
  # @return [String]
1229
1229
  attr_accessor :domain
1230
1230
 
1231
- # Represents a whole calendar date, for example a date of birth. The time
1232
- # of day and time zone are either specified elsewhere or are not
1233
- # significant. The date is relative to the
1234
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
1235
- # Proleptic_Gregorian_calendar).
1236
- # The day may be 0 to represent a year and month where the day is not
1237
- # significant. The year may be 0 to represent a month and day independent
1238
- # of year; for example, anniversary date.
1231
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1232
+ # and time zone are either specified elsewhere or are not significant. The date
1233
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
1234
+ # * A full date, with non-zero year, month and day values
1235
+ # * A month and day value, with a zero year, e.g. an anniversary
1236
+ # * A year on its own, with zero month and day values
1237
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
1238
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
1239
1239
  # Corresponds to the JSON property `endDate`
1240
1240
  # @return [Google::Apis::PeopleV1::Date]
1241
1241
  attr_accessor :end_date
@@ -1271,14 +1271,14 @@ module Google
1271
1271
  # @return [String]
1272
1272
  attr_accessor :phonetic_name
1273
1273
 
1274
- # Represents a whole calendar date, for example a date of birth. The time
1275
- # of day and time zone are either specified elsewhere or are not
1276
- # significant. The date is relative to the
1277
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
1278
- # Proleptic_Gregorian_calendar).
1279
- # The day may be 0 to represent a year and month where the day is not
1280
- # significant. The year may be 0 to represent a month and day independent
1281
- # of year; for example, anniversary date.
1274
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1275
+ # and time zone are either specified elsewhere or are not significant. The date
1276
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
1277
+ # * A full date, with non-zero year, month and day values
1278
+ # * A month and day value, with a zero year, e.g. an anniversary
1279
+ # * A year on its own, with zero month and day values
1280
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
1281
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
1282
1282
  # Corresponds to the JSON property `startDate`
1283
1283
  # @return [Google::Apis::PeopleV1::Date]
1284
1284
  attr_accessor :start_date
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190907'
30
+ REVISION = '20190911'
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'
@@ -1264,6 +1264,32 @@ module Google
1264
1264
  end
1265
1265
  end
1266
1266
 
1267
+ # Response message for getting service identity.
1268
+ class GetServiceIdentityResponse
1269
+ include Google::Apis::Core::Hashable
1270
+
1271
+ # Service identity for a service. This is the identity that service producer
1272
+ # should use to access consumer resources.
1273
+ # Corresponds to the JSON property `identity`
1274
+ # @return [Google::Apis::ServiceusageV1::ServiceIdentity]
1275
+ attr_accessor :identity
1276
+
1277
+ # Service identity state.
1278
+ # Corresponds to the JSON property `state`
1279
+ # @return [String]
1280
+ attr_accessor :state
1281
+
1282
+ def initialize(**args)
1283
+ update!(**args)
1284
+ end
1285
+
1286
+ # Update properties of this object
1287
+ def update!(**args)
1288
+ @identity = args[:identity] if args.key?(:identity)
1289
+ @state = args[:state] if args.key?(:state)
1290
+ end
1291
+ end
1292
+
1267
1293
  # `Service` is the root object of Google service configuration schema. It
1268
1294
  # describes basic information about a service, such as the name and the
1269
1295
  # title, and delegates other aspects to sub-sections. Each sub-section is
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class GetServiceIdentityResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class GoogleApiService
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -745,6 +751,15 @@ module Google
745
751
  end
746
752
  end
747
753
 
754
+ class GetServiceIdentityResponse
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :identity, as: 'identity', class: Google::Apis::ServiceusageV1::ServiceIdentity, decorator: Google::Apis::ServiceusageV1::ServiceIdentity::Representation
758
+
759
+ property :state, as: 'state'
760
+ end
761
+ end
762
+
748
763
  class GoogleApiService
749
764
  # @private
750
765
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190907'
30
+ REVISION = '20190911'
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'
@@ -1242,6 +1242,32 @@ module Google
1242
1242
  end
1243
1243
  end
1244
1244
 
1245
+ # Response message for getting service identity.
1246
+ class GetServiceIdentityResponse
1247
+ include Google::Apis::Core::Hashable
1248
+
1249
+ # Service identity for a service. This is the identity that service producer
1250
+ # should use to access consumer resources.
1251
+ # Corresponds to the JSON property `identity`
1252
+ # @return [Google::Apis::ServiceusageV1beta1::ServiceIdentity]
1253
+ attr_accessor :identity
1254
+
1255
+ # Service identity state.
1256
+ # Corresponds to the JSON property `state`
1257
+ # @return [String]
1258
+ attr_accessor :state
1259
+
1260
+ def initialize(**args)
1261
+ update!(**args)
1262
+ end
1263
+
1264
+ # Update properties of this object
1265
+ def update!(**args)
1266
+ @identity = args[:identity] if args.key?(:identity)
1267
+ @state = args[:state] if args.key?(:state)
1268
+ end
1269
+ end
1270
+
1245
1271
  # `Service` is the root object of Google service configuration schema. It
1246
1272
  # describes basic information about a service, such as the name and the
1247
1273
  # title, and delegates other aspects to sub-sections. Each sub-section is
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GetServiceIdentityResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleApiService
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -744,6 +750,15 @@ module Google
744
750
  end
745
751
  end
746
752
 
753
+ class GetServiceIdentityResponse
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :identity, as: 'identity', class: Google::Apis::ServiceusageV1beta1::ServiceIdentity, decorator: Google::Apis::ServiceusageV1beta1::ServiceIdentity::Representation
757
+
758
+ property :state, as: 'state'
759
+ end
760
+ end
761
+
747
762
  class GoogleApiService
748
763
  # @private
749
764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190826'
29
+ REVISION = '20190907'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190713'
30
+ REVISION = '20190905'
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'
@@ -1028,6 +1028,12 @@ module Google
1028
1028
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
1029
1029
  attr_accessor :segment_label_annotations
1030
1030
 
1031
+ # Presence label annotations on video level or user specified segment level.
1032
+ # There is exactly one element for each unique label.
1033
+ # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
1034
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
1035
+ attr_accessor :segment_presence_label_annotations
1036
+
1031
1037
  # Shot annotations. Each shot is represented as a video segment.
1032
1038
  # Corresponds to the JSON property `shotAnnotations`
1033
1039
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
@@ -1039,6 +1045,12 @@ module Google
1039
1045
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
1040
1046
  attr_accessor :shot_label_annotations
1041
1047
 
1048
+ # Presence label annotations on shot level. There is exactly one element for
1049
+ # each unique label.
1050
+ # Corresponds to the JSON property `shotPresenceLabelAnnotations`
1051
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
1052
+ attr_accessor :shot_presence_label_annotations
1053
+
1042
1054
  # Speech transcription.
1043
1055
  # Corresponds to the JSON property `speechTranscriptions`
1044
1056
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscription>]
@@ -1064,8 +1076,10 @@ module Google
1064
1076
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1065
1077
  @segment = args[:segment] if args.key?(:segment)
1066
1078
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
1079
+ @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
1067
1080
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
1068
1081
  @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
1082
+ @shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
1069
1083
  @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
1070
1084
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
1071
1085
  end
@@ -1875,6 +1889,12 @@ module Google
1875
1889
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1876
1890
  attr_accessor :segment_label_annotations
1877
1891
 
1892
+ # Presence label annotations on video level or user specified segment level.
1893
+ # There is exactly one element for each unique label.
1894
+ # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
1895
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1896
+ attr_accessor :segment_presence_label_annotations
1897
+
1878
1898
  # Shot annotations. Each shot is represented as a video segment.
1879
1899
  # Corresponds to the JSON property `shotAnnotations`
1880
1900
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
@@ -1886,6 +1906,12 @@ module Google
1886
1906
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1887
1907
  attr_accessor :shot_label_annotations
1888
1908
 
1909
+ # Presence label annotations on shot level. There is exactly one element for
1910
+ # each unique label.
1911
+ # Corresponds to the JSON property `shotPresenceLabelAnnotations`
1912
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1913
+ attr_accessor :shot_presence_label_annotations
1914
+
1889
1915
  # Speech transcription.
1890
1916
  # Corresponds to the JSON property `speechTranscriptions`
1891
1917
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
@@ -1911,8 +1937,10 @@ module Google
1911
1937
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
1912
1938
  @segment = args[:segment] if args.key?(:segment)
1913
1939
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
1940
+ @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
1914
1941
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
1915
1942
  @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
1943
+ @shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
1916
1944
  @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
1917
1945
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
1918
1946
  end
@@ -2665,6 +2693,12 @@ module Google
2665
2693
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2666
2694
  attr_accessor :segment_label_annotations
2667
2695
 
2696
+ # Presence label annotations on video level or user specified segment level.
2697
+ # There is exactly one element for each unique label.
2698
+ # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
2699
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2700
+ attr_accessor :segment_presence_label_annotations
2701
+
2668
2702
  # Shot annotations. Each shot is represented as a video segment.
2669
2703
  # Corresponds to the JSON property `shotAnnotations`
2670
2704
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
@@ -2676,6 +2710,12 @@ module Google
2676
2710
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2677
2711
  attr_accessor :shot_label_annotations
2678
2712
 
2713
+ # Presence label annotations on shot level. There is exactly one element for
2714
+ # each unique label.
2715
+ # Corresponds to the JSON property `shotPresenceLabelAnnotations`
2716
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2717
+ attr_accessor :shot_presence_label_annotations
2718
+
2679
2719
  # Speech transcription.
2680
2720
  # Corresponds to the JSON property `speechTranscriptions`
2681
2721
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
@@ -2701,8 +2741,10 @@ module Google
2701
2741
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2702
2742
  @segment = args[:segment] if args.key?(:segment)
2703
2743
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
2744
+ @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
2704
2745
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
2705
2746
  @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
2747
+ @shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
2706
2748
  @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
2707
2749
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
2708
2750
  end
@@ -3455,6 +3497,12 @@ module Google
3455
3497
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3456
3498
  attr_accessor :segment_label_annotations
3457
3499
 
3500
+ # Presence label annotations on video level or user specified segment level.
3501
+ # There is exactly one element for each unique label.
3502
+ # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
3503
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3504
+ attr_accessor :segment_presence_label_annotations
3505
+
3458
3506
  # Shot annotations. Each shot is represented as a video segment.
3459
3507
  # Corresponds to the JSON property `shotAnnotations`
3460
3508
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
@@ -3466,6 +3514,12 @@ module Google
3466
3514
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3467
3515
  attr_accessor :shot_label_annotations
3468
3516
 
3517
+ # Presence label annotations on shot level. There is exactly one element for
3518
+ # each unique label.
3519
+ # Corresponds to the JSON property `shotPresenceLabelAnnotations`
3520
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3521
+ attr_accessor :shot_presence_label_annotations
3522
+
3469
3523
  # Speech transcription.
3470
3524
  # Corresponds to the JSON property `speechTranscriptions`
3471
3525
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
@@ -3491,8 +3545,10 @@ module Google
3491
3545
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3492
3546
  @segment = args[:segment] if args.key?(:segment)
3493
3547
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
3548
+ @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
3494
3549
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
3495
3550
  @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
3551
+ @shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
3496
3552
  @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
3497
3553
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
3498
3554
  end
@@ -4472,6 +4528,12 @@ module Google
4472
4528
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4473
4529
  attr_accessor :segment_label_annotations
4474
4530
 
4531
+ # Presence label annotations on video level or user specified segment level.
4532
+ # There is exactly one element for each unique label.
4533
+ # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
4534
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4535
+ attr_accessor :segment_presence_label_annotations
4536
+
4475
4537
  # Shot annotations. Each shot is represented as a video segment.
4476
4538
  # Corresponds to the JSON property `shotAnnotations`
4477
4539
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
@@ -4483,6 +4545,12 @@ module Google
4483
4545
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4484
4546
  attr_accessor :shot_label_annotations
4485
4547
 
4548
+ # Presence label annotations on shot level. There is exactly one element for
4549
+ # each unique label.
4550
+ # Corresponds to the JSON property `shotPresenceLabelAnnotations`
4551
+ # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4552
+ attr_accessor :shot_presence_label_annotations
4553
+
4486
4554
  # Speech transcription.
4487
4555
  # Corresponds to the JSON property `speechTranscriptions`
4488
4556
  # @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
@@ -4509,8 +4577,10 @@ module Google
4509
4577
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4510
4578
  @segment = args[:segment] if args.key?(:segment)
4511
4579
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4580
+ @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
4512
4581
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
4513
4582
  @shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
4583
+ @shot_presence_label_annotations = args[:shot_presence_label_annotations] if args.key?(:shot_presence_label_annotations)
4514
4584
  @speech_transcriptions = args[:speech_transcriptions] if args.key?(:speech_transcriptions)
4515
4585
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
4516
4586
  end