google-api-client 0.21.2 → 0.22.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 (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +181 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +59 -0
  8. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v3/service.rb +42 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +31 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  13. data/generated/google/apis/bigquery_v2/service.rb +6 -3
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -5
  16. data/generated/google/apis/cloudiot_v1.rb +1 -1
  17. data/generated/google/apis/cloudiot_v1/service.rb +0 -56
  18. data/generated/google/apis/cloudkms_v1.rb +1 -1
  19. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  20. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -0
  22. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -0
  24. data/generated/google/apis/container_v1beta1.rb +1 -1
  25. data/generated/google/apis/container_v1beta1/classes.rb +33 -0
  26. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  27. data/generated/google/apis/content_v2.rb +1 -1
  28. data/generated/google/apis/content_v2/classes.rb +2 -2
  29. data/generated/google/apis/content_v2sandbox.rb +1 -1
  30. data/generated/google/apis/content_v2sandbox/classes.rb +2 -2
  31. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  32. data/generated/google/apis/dataproc_v1beta2/classes.rb +146 -0
  33. data/generated/google/apis/dataproc_v1beta2/representations.rb +62 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +19 -9
  36. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  37. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +6 -0
  38. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  39. data/generated/google/apis/ml_v1.rb +1 -1
  40. data/generated/google/apis/ml_v1/classes.rb +27 -15
  41. data/generated/google/apis/monitoring_v3.rb +1 -1
  42. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  43. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  44. data/generated/google/apis/people_v1.rb +1 -1
  45. data/generated/google/apis/people_v1/classes.rb +76 -28
  46. data/generated/google/apis/people_v1/representations.rb +19 -0
  47. data/generated/google/apis/people_v1/service.rb +4 -0
  48. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  49. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +2 -1
  50. data/generated/google/apis/pubsub_v1.rb +1 -1
  51. data/generated/google/apis/pubsub_v1/classes.rb +45 -12
  52. data/generated/google/apis/pubsub_v1/service.rb +41 -20
  53. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  54. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +8 -0
  55. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +1 -0
  56. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  57. data/generated/google/apis/servicebroker_v1beta1/classes.rb +41 -0
  58. data/generated/google/apis/servicebroker_v1beta1/representations.rb +5 -0
  59. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  60. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -27
  61. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -15
  62. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  63. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -27
  64. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -15
  65. data/generated/google/apis/sheets_v4.rb +1 -1
  66. data/generated/google/apis/sheets_v4/classes.rb +41 -41
  67. data/generated/google/apis/slides_v1.rb +1 -1
  68. data/generated/google/apis/slides_v1/classes.rb +4 -2
  69. data/generated/google/apis/storage_v1.rb +1 -1
  70. data/generated/google/apis/storage_v1/classes.rb +44 -38
  71. data/generated/google/apis/storage_v1/service.rb +10 -2
  72. data/generated/google/apis/testing_v1.rb +1 -1
  73. data/generated/google/apis/testing_v1/classes.rb +26 -0
  74. data/generated/google/apis/testing_v1/representations.rb +15 -0
  75. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  76. data/lib/google/apis/version.rb +1 -1
  77. metadata +2 -10
  78. data/generated/google/apis/resourceviews_v1beta1.rb +0 -50
  79. data/generated/google/apis/resourceviews_v1beta1/classes.rb +0 -338
  80. data/generated/google/apis/resourceviews_v1beta1/representations.rb +0 -201
  81. data/generated/google/apis/resourceviews_v1beta1/service.rb +0 -637
  82. data/generated/google/apis/resourceviews_v1beta2.rb +0 -50
  83. data/generated/google/apis/resourceviews_v1beta2/classes.rb +0 -660
  84. data/generated/google/apis/resourceviews_v1beta2/representations.rb +0 -301
  85. data/generated/google/apis/resourceviews_v1beta2/service.rb +0 -540
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/slides/
26
26
  module SlidesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180409'
28
+ REVISION = '20180521'
29
29
 
30
30
  # View and manage the files in your Google Drive
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -3522,12 +3522,14 @@ module Google
3522
3522
  class SlideProperties
3523
3523
  include Google::Apis::Core::Hashable
3524
3524
 
3525
- # The object ID of the layout that this slide is based on.
3525
+ # The object ID of the layout that this slide is based on. This property is
3526
+ # read-only.
3526
3527
  # Corresponds to the JSON property `layoutObjectId`
3527
3528
  # @return [String]
3528
3529
  attr_accessor :layout_object_id
3529
3530
 
3530
- # The object ID of the master that this slide is based on.
3531
+ # The object ID of the master that this slide is based on. This property is
3532
+ # read-only.
3531
3533
  # Corresponds to the JSON property `masterObjectId`
3532
3534
  # @return [String]
3533
3535
  attr_accessor :master_object_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180430'
28
+ REVISION = '20180518'
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'
@@ -41,16 +41,18 @@ module Google
41
41
  # @return [Array<Google::Apis::StorageV1::Bucket::CorsConfiguration>]
42
42
  attr_accessor :cors_configurations
43
43
 
44
- # Defines the default value for Event-Based hold on newly created objects in
45
- # this bucket. Event-Based hold is a way to retain objects indefinitely until an
46
- # event occurs, signified by the hold's release. After being released, such
47
- # objects will be subject to bucket-level retention (if any). One sample use
48
- # case of this flag is for banks to hold loan documents for at least 3 years
49
- # after loan is paid in full. Here bucket-level retention is 3 years and the
50
- # event is loan being paid in full. In this example these objects will be held
51
- # intact for any number of years until the event has occurred (hold is released)
52
- # and then 3 more years after that. Objects under Event-Based hold cannot be
53
- # deleted, overwritten or archived until the hold is removed.
44
+ # The default value for event-based hold on newly created objects in this bucket.
45
+ # Event-based hold is a way to retain objects indefinitely until an event
46
+ # occurs, signified by the hold's release. After being released, such objects
47
+ # will be subject to bucket-level retention (if any). One sample use case of
48
+ # this flag is for banks to hold loan documents for at least 3 years after loan
49
+ # is paid in full. Here, bucket-level retention is 3 years and the event is loan
50
+ # being paid in full. In this example, these objects will be held intact for any
51
+ # number of years until the event has occurred (event-based hold on the object
52
+ # is released) and then 3 more years after that. That means retention duration
53
+ # of the objects begins from the moment event-based hold transitioned from true
54
+ # to false. Objects under event-based hold cannot be deleted, overwritten or
55
+ # archived until the hold is removed.
54
56
  # Corresponds to the JSON property `defaultEventBasedHold`
55
57
  # @return [Boolean]
56
58
  attr_accessor :default_event_based_hold
@@ -125,12 +127,12 @@ module Google
125
127
  # @return [Fixnum]
126
128
  attr_accessor :project_number
127
129
 
128
- # Defines the retention policy for a bucket. The Retention policy enforces a
129
- # minimum retention time for all objects contained in the bucket, based on their
130
+ # The bucket's retention policy. The retention policy enforces a minimum
131
+ # retention time for all objects contained in the bucket, based on their
130
132
  # creation time. Any attempt to overwrite or delete objects younger than the
131
133
  # retention period will result in a PERMISSION_DENIED error. An unlocked
132
- # retention policy can be modified or removed from the bucket via the
133
- # UpdateBucketMetadata RPC. A locked retention policy cannot be removed or
134
+ # retention policy can be modified or removed from the bucket via a storage.
135
+ # buckets.update operation. A locked retention policy cannot be removed or
134
136
  # shortened in duration for the lifetime of the bucket. Attempting to remove or
135
137
  # decrease period of a locked retention policy will result in a
136
138
  # PERMISSION_DENIED error.
@@ -463,19 +465,20 @@ module Google
463
465
  end
464
466
  end
465
467
 
466
- # Defines the retention policy for a bucket. The Retention policy enforces a
467
- # minimum retention time for all objects contained in the bucket, based on their
468
+ # The bucket's retention policy. The retention policy enforces a minimum
469
+ # retention time for all objects contained in the bucket, based on their
468
470
  # creation time. Any attempt to overwrite or delete objects younger than the
469
471
  # retention period will result in a PERMISSION_DENIED error. An unlocked
470
- # retention policy can be modified or removed from the bucket via the
471
- # UpdateBucketMetadata RPC. A locked retention policy cannot be removed or
472
+ # retention policy can be modified or removed from the bucket via a storage.
473
+ # buckets.update operation. A locked retention policy cannot be removed or
472
474
  # shortened in duration for the lifetime of the bucket. Attempting to remove or
473
475
  # decrease period of a locked retention policy will result in a
474
476
  # PERMISSION_DENIED error.
475
477
  class RetentionPolicy
476
478
  include Google::Apis::Core::Hashable
477
479
 
478
- # The time from which policy was enforced and effective. RFC 3339 format.
480
+ # Server-determined value that indicates the time from which policy was enforced
481
+ # and effective. This value is in RFC 3339 format.
479
482
  # Corresponds to the JSON property `effectiveTime`
480
483
  # @return [DateTime]
481
484
  attr_accessor :effective_time
@@ -486,7 +489,7 @@ module Google
486
489
  attr_accessor :is_locked
487
490
  alias_method :is_locked?, :is_locked
488
491
 
489
- # Specifies the duration that objects need to be retained. Retention duration
492
+ # The duration in seconds that objects need to be retained. Retention duration
490
493
  # must be greater than zero and less than 100 years. Note that enforcement of
491
494
  # retention periods less than a day is not guaranteed. Such periods should only
492
495
  # be used for testing purposes.
@@ -1059,14 +1062,17 @@ module Google
1059
1062
  # @return [String]
1060
1063
  attr_accessor :etag
1061
1064
 
1062
- # Defines the Event-Based hold for an object. Event-Based hold is a way to
1063
- # retain objects indefinitely until an event occurs, signified by the hold's
1064
- # release. After being released, such objects will be subject to bucket-level
1065
- # retention (if any). One sample use case of this flag is for banks to hold loan
1066
- # documents for at least 3 years after loan is paid in full. Here bucket-level
1067
- # retention is 3 years and the event is loan being paid in full. In this example
1068
- # these objects will be held intact for any number of years until the event has
1069
- # occurred (hold is released) and then 3 more years after that.
1065
+ # Whether an object is under event-based hold. Event-based hold is a way to
1066
+ # retain objects until an event occurs, which is signified by the hold's release
1067
+ # (i.e. this value is set to false). After being released (set to false), such
1068
+ # objects will be subject to bucket-level retention (if any). One sample use
1069
+ # case of this flag is for banks to hold loan documents for at least 3 years
1070
+ # after loan is paid in full. Here, bucket-level retention is 3 years and the
1071
+ # event is the loan being paid in full. In this example, these objects will be
1072
+ # held intact for any number of years until the event has occurred (event-based
1073
+ # hold on the object is released) and then 3 more years after that. That means
1074
+ # retention duration of the objects begins from the moment event-based hold
1075
+ # transitioned from true to false.
1070
1076
  # Corresponds to the JSON property `eventBasedHold`
1071
1077
  # @return [Boolean]
1072
1078
  attr_accessor :event_based_hold
@@ -1128,12 +1134,12 @@ module Google
1128
1134
  # @return [Google::Apis::StorageV1::Object::Owner]
1129
1135
  attr_accessor :owner
1130
1136
 
1131
- # Specifies the earliest time that the object's retention period expires. This
1132
- # value is server-determined and is in RFC 3339 format. Note 1: This field is
1133
- # not provided for objects with an active Event-Based hold, since retention
1137
+ # A server-determined value that specifies the earliest time that the object's
1138
+ # retention period expires. This value is in RFC 3339 format. Note 1: This field
1139
+ # is not provided for objects with an active event-based hold, since retention
1134
1140
  # expiration is unknown until the hold is removed. Note 2: This value can be
1135
- # provided even when TemporaryHold is set (so that the user can reason about
1136
- # policy without having to first unset the TemporaryHold).
1141
+ # provided even when temporary hold is set (so that the user can reason about
1142
+ # policy without having to first unset the temporary hold).
1137
1143
  # Corresponds to the JSON property `retentionExpirationTime`
1138
1144
  # @return [DateTime]
1139
1145
  attr_accessor :retention_expiration_time
@@ -1153,11 +1159,11 @@ module Google
1153
1159
  # @return [String]
1154
1160
  attr_accessor :storage_class
1155
1161
 
1156
- # Defines the temporary hold for an object. This flag is used to enforce a
1157
- # temporary hold on an object. While it is set to true, the object is protected
1158
- # against deletion and overwrites. A common use case of this flag is regulatory
1159
- # investigations where objects need to be retained while the investigation is
1160
- # ongoing.
1162
+ # Whether an object is under temporary hold. While this flag is set to true, the
1163
+ # object is protected against deletion and overwrites. A common use case of this
1164
+ # flag is regulatory investigations where objects need to be retained while the
1165
+ # investigation is ongoing. Note that unlike event-based hold, temporary hold
1166
+ # does not impact retention expiration time of an object.
1161
1167
  # Corresponds to the JSON property `temporaryHold`
1162
1168
  # @return [Boolean]
1163
1169
  attr_accessor :temporary_hold
@@ -1907,6 +1907,9 @@ module Google
1907
1907
  # names, aside from the prefix, contain delimiter will have their name,
1908
1908
  # truncated after the delimiter, returned in prefixes. Duplicate prefixes are
1909
1909
  # omitted.
1910
+ # @param [Boolean] include_trailing_delimiter
1911
+ # If true, objects that end in exactly one instance of delimiter will have their
1912
+ # metadata included in items in addition to prefixes.
1910
1913
  # @param [Fixnum] max_results
1911
1914
  # Maximum number of items plus prefixes to return in a single page of responses.
1912
1915
  # As duplicate prefixes are omitted, fewer total results may be returned than
@@ -1943,12 +1946,13 @@ module Google
1943
1946
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1944
1947
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1945
1948
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1946
- def list_objects(bucket, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1949
+ def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1947
1950
  command = make_simple_command(:get, 'b/{bucket}/o', options)
1948
1951
  command.response_representation = Google::Apis::StorageV1::Objects::Representation
1949
1952
  command.response_class = Google::Apis::StorageV1::Objects
1950
1953
  command.params['bucket'] = bucket unless bucket.nil?
1951
1954
  command.query['delimiter'] = delimiter unless delimiter.nil?
1955
+ command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
1952
1956
  command.query['maxResults'] = max_results unless max_results.nil?
1953
1957
  command.query['pageToken'] = page_token unless page_token.nil?
1954
1958
  command.query['prefix'] = prefix unless prefix.nil?
@@ -2330,6 +2334,9 @@ module Google
2330
2334
  # names, aside from the prefix, contain delimiter will have their name,
2331
2335
  # truncated after the delimiter, returned in prefixes. Duplicate prefixes are
2332
2336
  # omitted.
2337
+ # @param [Boolean] include_trailing_delimiter
2338
+ # If true, objects that end in exactly one instance of delimiter will have their
2339
+ # metadata included in items in addition to prefixes.
2333
2340
  # @param [Fixnum] max_results
2334
2341
  # Maximum number of items plus prefixes to return in a single page of responses.
2335
2342
  # As duplicate prefixes are omitted, fewer total results may be returned than
@@ -2366,7 +2373,7 @@ module Google
2366
2373
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2367
2374
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2368
2375
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2369
- def watch_all_objects(bucket, channel_object = nil, delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2376
+ def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2370
2377
  command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
2371
2378
  command.request_representation = Google::Apis::StorageV1::Channel::Representation
2372
2379
  command.request_object = channel_object
@@ -2374,6 +2381,7 @@ module Google
2374
2381
  command.response_class = Google::Apis::StorageV1::Channel
2375
2382
  command.params['bucket'] = bucket unless bucket.nil?
2376
2383
  command.query['delimiter'] = delimiter unless delimiter.nil?
2384
+ command.query['includeTrailingDelimiter'] = include_trailing_delimiter unless include_trailing_delimiter.nil?
2377
2385
  command.query['maxResults'] = max_results unless max_results.nil?
2378
2386
  command.query['pageToken'] = page_token unless page_token.nil?
2379
2387
  command.query['prefix'] = prefix unless prefix.nil?
@@ -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 = '20180516'
29
+ REVISION = '20180522'
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'
@@ -1237,6 +1237,26 @@ module Google
1237
1237
  end
1238
1238
  end
1239
1239
 
1240
+ # The currently provided software environment on the devices under test.
1241
+ class ProvidedSoftwareCatalog
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # A string representing the current version of Android Test Orchestrator that
1245
+ # is provided by TestExecutionService. Example: "1.0.2 beta"
1246
+ # Corresponds to the JSON property `orchestratorVersion`
1247
+ # @return [String]
1248
+ attr_accessor :orchestrator_version
1249
+
1250
+ def initialize(**args)
1251
+ update!(**args)
1252
+ end
1253
+
1254
+ # Update properties of this object
1255
+ def update!(**args)
1256
+ @orchestrator_version = args[:orchestrator_version] if args.key?(:orchestrator_version)
1257
+ end
1258
+ end
1259
+
1240
1260
  # A file or directory to install on the device before the test starts
1241
1261
  class RegularFile
1242
1262
  include Google::Apis::Core::Hashable
@@ -1465,6 +1485,11 @@ module Google
1465
1485
  # @return [Google::Apis::TestingV1::NetworkConfigurationCatalog]
1466
1486
  attr_accessor :network_configuration_catalog
1467
1487
 
1488
+ # The currently provided software environment on the devices under test.
1489
+ # Corresponds to the JSON property `softwareCatalog`
1490
+ # @return [Google::Apis::TestingV1::ProvidedSoftwareCatalog]
1491
+ attr_accessor :software_catalog
1492
+
1468
1493
  def initialize(**args)
1469
1494
  update!(**args)
1470
1495
  end
@@ -1473,6 +1498,7 @@ module Google
1473
1498
  def update!(**args)
1474
1499
  @android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
1475
1500
  @network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
1501
+ @software_catalog = args[:software_catalog] if args.key?(:software_catalog)
1476
1502
  end
1477
1503
  end
1478
1504
 
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class ProvidedSoftwareCatalog
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class RegularFile
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -648,6 +654,13 @@ module Google
648
654
  end
649
655
  end
650
656
 
657
+ class ProvidedSoftwareCatalog
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :orchestrator_version, as: 'orchestratorVersion'
661
+ end
662
+ end
663
+
651
664
  class RegularFile
652
665
  # @private
653
666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -713,6 +726,8 @@ module Google
713
726
 
714
727
  property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation
715
728
 
729
+ property :software_catalog, as: 'softwareCatalog', class: Google::Apis::TestingV1::ProvidedSoftwareCatalog, decorator: Google::Apis::TestingV1::ProvidedSoftwareCatalog::Representation
730
+
716
731
  end
717
732
  end
718
733
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180514'
28
+ REVISION = '20180518'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.21.2'
18
+ VERSION = '0.22.0'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.2
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-05-21 00:00:00.000000000 Z
14
+ date: 2018-05-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -766,14 +766,6 @@ files:
766
766
  - generated/google/apis/reseller_v1/classes.rb
767
767
  - generated/google/apis/reseller_v1/representations.rb
768
768
  - generated/google/apis/reseller_v1/service.rb
769
- - generated/google/apis/resourceviews_v1beta1.rb
770
- - generated/google/apis/resourceviews_v1beta1/classes.rb
771
- - generated/google/apis/resourceviews_v1beta1/representations.rb
772
- - generated/google/apis/resourceviews_v1beta1/service.rb
773
- - generated/google/apis/resourceviews_v1beta2.rb
774
- - generated/google/apis/resourceviews_v1beta2/classes.rb
775
- - generated/google/apis/resourceviews_v1beta2/representations.rb
776
- - generated/google/apis/resourceviews_v1beta2/service.rb
777
769
  - generated/google/apis/runtimeconfig_v1.rb
778
770
  - generated/google/apis/runtimeconfig_v1/classes.rb
779
771
  - generated/google/apis/runtimeconfig_v1/representations.rb
@@ -1,50 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/resourceviews_v1beta1/service.rb'
16
- require 'google/apis/resourceviews_v1beta1/classes.rb'
17
- require 'google/apis/resourceviews_v1beta1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Resource Views API
22
- #
23
- # The Resource View API allows users to create and manage logical sets of Google
24
- # Compute Engine instances.
25
- #
26
- # @see https://developers.google.com/compute/
27
- module ResourceviewsV1beta1
28
- VERSION = 'V1beta1'
29
- REVISION = '20160512'
30
-
31
- # View and manage your data across Google Cloud Platform services
32
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
-
34
- # View your data across Google Cloud Platform services
35
- AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
36
-
37
- # View and manage your Google Compute Engine resources
38
- AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
39
-
40
- # View your Google Compute Engine resources
41
- AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
42
-
43
- # View and manage your Google Cloud Platform management resources and deployment status information
44
- AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
45
-
46
- # View your Google Cloud Platform management resources and deployment status information
47
- AUTH_NDEV_CLOUDMAN_READONLY = 'https://www.googleapis.com/auth/ndev.cloudman.readonly'
48
- end
49
- end
50
- end
@@ -1,338 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module ResourceviewsV1beta1
24
-
25
- # The Label to be applied to the resource views.
26
- class Label
27
- include Google::Apis::Core::Hashable
28
-
29
- # Key of the label.
30
- # Corresponds to the JSON property `key`
31
- # @return [String]
32
- attr_accessor :key
33
-
34
- # Value of the label.
35
- # Corresponds to the JSON property `value`
36
- # @return [String]
37
- attr_accessor :value
38
-
39
- def initialize(**args)
40
- update!(**args)
41
- end
42
-
43
- # Update properties of this object
44
- def update!(**args)
45
- @key = args[:key] if args.key?(:key)
46
- @value = args[:value] if args.key?(:value)
47
- end
48
- end
49
-
50
- # The request to add resources to the resource view.
51
- class RegionViewsAddResourcesRequest
52
- include Google::Apis::Core::Hashable
53
-
54
- # The list of resources to be added.
55
- # Corresponds to the JSON property `resources`
56
- # @return [Array<String>]
57
- attr_accessor :resources
58
-
59
- def initialize(**args)
60
- update!(**args)
61
- end
62
-
63
- # Update properties of this object
64
- def update!(**args)
65
- @resources = args[:resources] if args.key?(:resources)
66
- end
67
- end
68
-
69
- # The response to a resource view insert request.
70
- class RegionViewsInsertResponse
71
- include Google::Apis::Core::Hashable
72
-
73
- # The resource view object.
74
- # Corresponds to the JSON property `resource`
75
- # @return [Google::Apis::ResourceviewsV1beta1::ResourceView]
76
- attr_accessor :resource
77
-
78
- def initialize(**args)
79
- update!(**args)
80
- end
81
-
82
- # Update properties of this object
83
- def update!(**args)
84
- @resource = args[:resource] if args.key?(:resource)
85
- end
86
- end
87
-
88
- # The response to the list resource request.
89
- class RegionViewsListResourcesResponse
90
- include Google::Apis::Core::Hashable
91
-
92
- # The resources in the view.
93
- # Corresponds to the JSON property `members`
94
- # @return [Array<String>]
95
- attr_accessor :members
96
-
97
- # A token used for pagination.
98
- # Corresponds to the JSON property `nextPageToken`
99
- # @return [String]
100
- attr_accessor :next_page_token
101
-
102
- def initialize(**args)
103
- update!(**args)
104
- end
105
-
106
- # Update properties of this object
107
- def update!(**args)
108
- @members = args[:members] if args.key?(:members)
109
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
110
- end
111
- end
112
-
113
- # The response to the list resource view request.
114
- class RegionViewsListResponse
115
- include Google::Apis::Core::Hashable
116
-
117
- # A token used for pagination.
118
- # Corresponds to the JSON property `nextPageToken`
119
- # @return [String]
120
- attr_accessor :next_page_token
121
-
122
- # The list of resource views that meet the criteria.
123
- # Corresponds to the JSON property `resourceViews`
124
- # @return [Array<Google::Apis::ResourceviewsV1beta1::ResourceView>]
125
- attr_accessor :resource_views
126
-
127
- def initialize(**args)
128
- update!(**args)
129
- end
130
-
131
- # Update properties of this object
132
- def update!(**args)
133
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
134
- @resource_views = args[:resource_views] if args.key?(:resource_views)
135
- end
136
- end
137
-
138
- # The request to remove resources from the resource view.
139
- class RegionViewsRemoveResourcesRequest
140
- include Google::Apis::Core::Hashable
141
-
142
- # The list of resources to be removed.
143
- # Corresponds to the JSON property `resources`
144
- # @return [Array<String>]
145
- attr_accessor :resources
146
-
147
- def initialize(**args)
148
- update!(**args)
149
- end
150
-
151
- # Update properties of this object
152
- def update!(**args)
153
- @resources = args[:resources] if args.key?(:resources)
154
- end
155
- end
156
-
157
- # The resource view object.
158
- class ResourceView
159
- include Google::Apis::Core::Hashable
160
-
161
- # The creation time of the resource view.
162
- # Corresponds to the JSON property `creationTime`
163
- # @return [String]
164
- attr_accessor :creation_time
165
-
166
- # The detailed description of the resource view.
167
- # Corresponds to the JSON property `description`
168
- # @return [String]
169
- attr_accessor :description
170
-
171
- # [Output Only] The ID of the resource view.
172
- # Corresponds to the JSON property `id`
173
- # @return [String]
174
- attr_accessor :id
175
-
176
- # Type of the resource.
177
- # Corresponds to the JSON property `kind`
178
- # @return [String]
179
- attr_accessor :kind
180
-
181
- # The labels for events.
182
- # Corresponds to the JSON property `labels`
183
- # @return [Array<Google::Apis::ResourceviewsV1beta1::Label>]
184
- attr_accessor :labels
185
-
186
- # The last modified time of the view. Not supported yet.
187
- # Corresponds to the JSON property `lastModified`
188
- # @return [String]
189
- attr_accessor :last_modified
190
-
191
- # A list of all resources in the resource view.
192
- # Corresponds to the JSON property `members`
193
- # @return [Array<String>]
194
- attr_accessor :members
195
-
196
- # The name of the resource view.
197
- # Corresponds to the JSON property `name`
198
- # @return [String]
199
- attr_accessor :name
200
-
201
- # The total number of resources in the resource view.
202
- # Corresponds to the JSON property `numMembers`
203
- # @return [Fixnum]
204
- attr_accessor :num_members
205
-
206
- # [Output Only] A self-link to the resource view.
207
- # Corresponds to the JSON property `selfLink`
208
- # @return [String]
209
- attr_accessor :self_link
210
-
211
- def initialize(**args)
212
- update!(**args)
213
- end
214
-
215
- # Update properties of this object
216
- def update!(**args)
217
- @creation_time = args[:creation_time] if args.key?(:creation_time)
218
- @description = args[:description] if args.key?(:description)
219
- @id = args[:id] if args.key?(:id)
220
- @kind = args[:kind] if args.key?(:kind)
221
- @labels = args[:labels] if args.key?(:labels)
222
- @last_modified = args[:last_modified] if args.key?(:last_modified)
223
- @members = args[:members] if args.key?(:members)
224
- @name = args[:name] if args.key?(:name)
225
- @num_members = args[:num_members] if args.key?(:num_members)
226
- @self_link = args[:self_link] if args.key?(:self_link)
227
- end
228
- end
229
-
230
- # The request to add resources to the resource view.
231
- class ZoneViewsAddResourcesRequest
232
- include Google::Apis::Core::Hashable
233
-
234
- # The list of resources to be added.
235
- # Corresponds to the JSON property `resources`
236
- # @return [Array<String>]
237
- attr_accessor :resources
238
-
239
- def initialize(**args)
240
- update!(**args)
241
- end
242
-
243
- # Update properties of this object
244
- def update!(**args)
245
- @resources = args[:resources] if args.key?(:resources)
246
- end
247
- end
248
-
249
- # The response to an insert request.
250
- class ZoneViewsInsertResponse
251
- include Google::Apis::Core::Hashable
252
-
253
- # The resource view object.
254
- # Corresponds to the JSON property `resource`
255
- # @return [Google::Apis::ResourceviewsV1beta1::ResourceView]
256
- attr_accessor :resource
257
-
258
- def initialize(**args)
259
- update!(**args)
260
- end
261
-
262
- # Update properties of this object
263
- def update!(**args)
264
- @resource = args[:resource] if args.key?(:resource)
265
- end
266
- end
267
-
268
- # The response to a list resource request.
269
- class ZoneViewsListResourcesResponse
270
- include Google::Apis::Core::Hashable
271
-
272
- # The full URL of resources in the view.
273
- # Corresponds to the JSON property `members`
274
- # @return [Array<String>]
275
- attr_accessor :members
276
-
277
- # A token used for pagination.
278
- # Corresponds to the JSON property `nextPageToken`
279
- # @return [String]
280
- attr_accessor :next_page_token
281
-
282
- def initialize(**args)
283
- update!(**args)
284
- end
285
-
286
- # Update properties of this object
287
- def update!(**args)
288
- @members = args[:members] if args.key?(:members)
289
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
290
- end
291
- end
292
-
293
- # The response to a list request.
294
- class ZoneViewsListResponse
295
- include Google::Apis::Core::Hashable
296
-
297
- # A token used for pagination.
298
- # Corresponds to the JSON property `nextPageToken`
299
- # @return [String]
300
- attr_accessor :next_page_token
301
-
302
- # The result that contains all resource views that meet the criteria.
303
- # Corresponds to the JSON property `resourceViews`
304
- # @return [Array<Google::Apis::ResourceviewsV1beta1::ResourceView>]
305
- attr_accessor :resource_views
306
-
307
- def initialize(**args)
308
- update!(**args)
309
- end
310
-
311
- # Update properties of this object
312
- def update!(**args)
313
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
314
- @resource_views = args[:resource_views] if args.key?(:resource_views)
315
- end
316
- end
317
-
318
- # The request to remove resources from the resource view.
319
- class ZoneViewsRemoveResourcesRequest
320
- include Google::Apis::Core::Hashable
321
-
322
- # The list of resources to be removed.
323
- # Corresponds to the JSON property `resources`
324
- # @return [Array<String>]
325
- attr_accessor :resources
326
-
327
- def initialize(**args)
328
- update!(**args)
329
- end
330
-
331
- # Update properties of this object
332
- def update!(**args)
333
- @resources = args[:resources] if args.key?(:resources)
334
- end
335
- end
336
- end
337
- end
338
- end