google-api-client 0.29.0 → 0.29.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/generated/google/apis/bigquery_v2.rb +1 -1
  4. data/generated/google/apis/bigquery_v2/classes.rb +0 -914
  5. data/generated/google/apis/bigquery_v2/representations.rb +0 -365
  6. data/generated/google/apis/bigquery_v2/service.rb +0 -162
  7. data/generated/google/apis/calendar_v3.rb +1 -1
  8. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  9. data/generated/google/apis/calendar_v3/service.rb +8 -8
  10. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  11. data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
  12. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  13. data/generated/google/apis/dialogflow_v2.rb +1 -1
  14. data/generated/google/apis/dialogflow_v2/classes.rb +3 -3
  15. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  16. data/generated/google/apis/digitalassetlinks_v1/service.rb +5 -4
  17. data/generated/google/apis/dns_v2beta1.rb +1 -1
  18. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  19. data/generated/google/apis/drive_v2.rb +1 -1
  20. data/generated/google/apis/drive_v2/classes.rb +10 -21
  21. data/generated/google/apis/drive_v2/service.rb +78 -26
  22. data/generated/google/apis/drive_v3.rb +1 -1
  23. data/generated/google/apis/drive_v3/classes.rb +9 -20
  24. data/generated/google/apis/drive_v3/service.rb +54 -18
  25. data/generated/google/apis/iam_v1.rb +1 -1
  26. data/generated/google/apis/iam_v1/classes.rb +48 -0
  27. data/generated/google/apis/iam_v1/representations.rb +28 -0
  28. data/generated/google/apis/iam_v1/service.rb +23 -6
  29. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  30. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -0
  31. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  32. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  33. data/generated/google/apis/servicenetworking_v1/classes.rb +6 -0
  34. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  35. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  36. data/generated/google/apis/servicenetworking_v1beta/classes.rb +6 -0
  37. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  38. data/generated/google/apis/serviceusage_v1.rb +1 -1
  39. data/generated/google/apis/serviceusage_v1/classes.rb +6 -0
  40. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  41. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  42. data/generated/google/apis/serviceusage_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  44. data/generated/google/apis/spanner_v1.rb +1 -1
  45. data/generated/google/apis/spanner_v1/classes.rb +48 -6
  46. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  47. data/generated/google/apis/storage_v1.rb +1 -1
  48. data/generated/google/apis/storage_v1/classes.rb +2 -2
  49. data/generated/google/apis/storage_v1/representations.rb +2 -1
  50. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  51. data/lib/google/apis/version.rb +1 -1
  52. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190422'
28
+ REVISION = '20190501'
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'
@@ -2207,6 +2207,11 @@ module Google
2207
2207
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::LabelDescriptor>]
2208
2208
  attr_accessor :labels
2209
2209
 
2210
+ # Optional. The launch stage of the monitored resource definition.
2211
+ # Corresponds to the JSON property `launchStage`
2212
+ # @return [String]
2213
+ attr_accessor :launch_stage
2214
+
2210
2215
  # Optional. The resource name of the monitored resource descriptor:
2211
2216
  # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2212
2217
  # `type` is the value of the `type` field in this object and
@@ -2233,6 +2238,7 @@ module Google
2233
2238
  @description = args[:description] if args.key?(:description)
2234
2239
  @display_name = args[:display_name] if args.key?(:display_name)
2235
2240
  @labels = args[:labels] if args.key?(:labels)
2241
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2236
2242
  @name = args[:name] if args.key?(:name)
2237
2243
  @type = args[:type] if args.key?(:type)
2238
2244
  end
@@ -973,6 +973,7 @@ module Google
973
973
  property :display_name, as: 'displayName'
974
974
  collection :labels, as: 'labels', class: Google::Apis::ServiceconsumermanagementV1::LabelDescriptor, decorator: Google::Apis::ServiceconsumermanagementV1::LabelDescriptor::Representation
975
975
 
976
+ property :launch_stage, as: 'launchStage'
976
977
  property :name, as: 'name'
977
978
  property :type, as: 'type'
978
979
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190412'
29
+ REVISION = '20190501'
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'
@@ -2222,6 +2222,11 @@ module Google
2222
2222
  # @return [Array<Google::Apis::ServicenetworkingV1::LabelDescriptor>]
2223
2223
  attr_accessor :labels
2224
2224
 
2225
+ # Optional. The launch stage of the monitored resource definition.
2226
+ # Corresponds to the JSON property `launchStage`
2227
+ # @return [String]
2228
+ attr_accessor :launch_stage
2229
+
2225
2230
  # Optional. The resource name of the monitored resource descriptor:
2226
2231
  # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2227
2232
  # `type` is the value of the `type` field in this object and
@@ -2248,6 +2253,7 @@ module Google
2248
2253
  @description = args[:description] if args.key?(:description)
2249
2254
  @display_name = args[:display_name] if args.key?(:display_name)
2250
2255
  @labels = args[:labels] if args.key?(:labels)
2256
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2251
2257
  @name = args[:name] if args.key?(:name)
2252
2258
  @type = args[:type] if args.key?(:type)
2253
2259
  end
@@ -826,6 +826,7 @@ module Google
826
826
  property :display_name, as: 'displayName'
827
827
  collection :labels, as: 'labels', class: Google::Apis::ServicenetworkingV1::LabelDescriptor, decorator: Google::Apis::ServicenetworkingV1::LabelDescriptor::Representation
828
828
 
829
+ property :launch_stage, as: 'launchStage'
829
830
  property :name, as: 'name'
830
831
  property :type, as: 'type'
831
832
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20190412'
29
+ REVISION = '20190501'
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'
@@ -2162,6 +2162,11 @@ module Google
2162
2162
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
2163
2163
  attr_accessor :labels
2164
2164
 
2165
+ # Optional. The launch stage of the monitored resource definition.
2166
+ # Corresponds to the JSON property `launchStage`
2167
+ # @return [String]
2168
+ attr_accessor :launch_stage
2169
+
2165
2170
  # Optional. The resource name of the monitored resource descriptor:
2166
2171
  # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2167
2172
  # `type` is the value of the `type` field in this object and
@@ -2188,6 +2193,7 @@ module Google
2188
2193
  @description = args[:description] if args.key?(:description)
2189
2194
  @display_name = args[:display_name] if args.key?(:display_name)
2190
2195
  @labels = args[:labels] if args.key?(:labels)
2196
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2191
2197
  @name = args[:name] if args.key?(:name)
2192
2198
  @type = args[:type] if args.key?(:type)
2193
2199
  end
@@ -787,6 +787,7 @@ module Google
787
787
  property :display_name, as: 'displayName'
788
788
  collection :labels, as: 'labels', class: Google::Apis::ServicenetworkingV1beta::LabelDescriptor, decorator: Google::Apis::ServicenetworkingV1beta::LabelDescriptor::Representation
789
789
 
790
+ property :launch_stage, as: 'launchStage'
790
791
  property :name, as: 'name'
791
792
  property :type, as: 'type'
792
793
  end
@@ -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 = '20190412'
30
+ REVISION = '20190501'
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'
@@ -2923,6 +2923,11 @@ module Google
2923
2923
  # @return [Array<Google::Apis::ServiceusageV1::LabelDescriptor>]
2924
2924
  attr_accessor :labels
2925
2925
 
2926
+ # Optional. The launch stage of the monitored resource definition.
2927
+ # Corresponds to the JSON property `launchStage`
2928
+ # @return [String]
2929
+ attr_accessor :launch_stage
2930
+
2926
2931
  # Optional. The resource name of the monitored resource descriptor:
2927
2932
  # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2928
2933
  # `type` is the value of the `type` field in this object and
@@ -2949,6 +2954,7 @@ module Google
2949
2954
  @description = args[:description] if args.key?(:description)
2950
2955
  @display_name = args[:display_name] if args.key?(:display_name)
2951
2956
  @labels = args[:labels] if args.key?(:labels)
2957
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2952
2958
  @name = args[:name] if args.key?(:name)
2953
2959
  @type = args[:type] if args.key?(:type)
2954
2960
  end
@@ -1006,6 +1006,7 @@ module Google
1006
1006
  property :display_name, as: 'displayName'
1007
1007
  collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
1008
1008
 
1009
+ property :launch_stage, as: 'launchStage'
1009
1010
  property :name, as: 'name'
1010
1011
  property :type, as: 'type'
1011
1012
  end
@@ -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 = '20190412'
30
+ REVISION = '20190501'
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'
@@ -2899,6 +2899,11 @@ module Google
2899
2899
  # @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
2900
2900
  attr_accessor :labels
2901
2901
 
2902
+ # Optional. The launch stage of the monitored resource definition.
2903
+ # Corresponds to the JSON property `launchStage`
2904
+ # @return [String]
2905
+ attr_accessor :launch_stage
2906
+
2902
2907
  # Optional. The resource name of the monitored resource descriptor:
2903
2908
  # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2904
2909
  # `type` is the value of the `type` field in this object and
@@ -2925,6 +2930,7 @@ module Google
2925
2930
  @description = args[:description] if args.key?(:description)
2926
2931
  @display_name = args[:display_name] if args.key?(:display_name)
2927
2932
  @labels = args[:labels] if args.key?(:labels)
2933
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2928
2934
  @name = args[:name] if args.key?(:name)
2929
2935
  @type = args[:type] if args.key?(:type)
2930
2936
  end
@@ -1005,6 +1005,7 @@ module Google
1005
1005
  property :display_name, as: 'displayName'
1006
1006
  collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
1007
1007
 
1008
+ property :launch_stage, as: 'launchStage'
1008
1009
  property :name, as: 'name'
1009
1010
  property :type, as: 'type'
1010
1011
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190403'
29
+ REVISION = '20190416'
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'
@@ -846,7 +846,7 @@ module Google
846
846
  # serially, such that the effects of statement i are visible to statement
847
847
  # i+1. Each statement must be a DML statement. Execution will stop at the
848
848
  # first failed statement; the remaining statements will not run.
849
- # REQUIRES: statements_size() > 0.
849
+ # REQUIRES: `statements_size()` > 0.
850
850
  # Corresponds to the JSON property `statements`
851
851
  # @return [Array<Google::Apis::SpannerV1::Statement>]
852
852
  attr_accessor :statements
@@ -876,17 +876,17 @@ module Google
876
876
  # If a statement fails, the error is returned as part of the response payload.
877
877
  # Clients can determine whether all DML statements have run successfully, or if
878
878
  # a statement failed, using one of the following approaches:
879
- # 1. Check if 'status' field is OkStatus.
880
- # 2. Check if result_sets_size() equals the number of statements in
879
+ # 1. Check if `'status'` field is `OkStatus`.
880
+ # 2. Check if `result_sets_size()` equals the number of statements in
881
881
  # ExecuteBatchDmlRequest.
882
882
  # Example 1: A request with 5 DML statements, all executed successfully.
883
883
  # Result: A response with 5 ResultSets, one for each statement in the same
884
- # order, and an OK status.
884
+ # order, and an `OkStatus`.
885
885
  # Example 2: A request with 5 DML statements. The 3rd statement has a syntax
886
886
  # error.
887
887
  # Result: A response with 2 ResultSets, for the first 2 statements that
888
- # run successfully, and a syntax error (INVALID_ARGUMENT) status. From
889
- # result_set_size() client can determine that the 3rd statement has failed.
888
+ # run successfully, and a syntax error (`INVALID_ARGUMENT`) status. From
889
+ # `result_set_size()` client can determine that the 3rd statement has failed.
890
890
  class ExecuteBatchDmlResponse
891
891
  include Google::Apis::Core::Hashable
892
892
 
@@ -1264,6 +1264,12 @@ module Google
1264
1264
  # @return [String]
1265
1265
  attr_accessor :name
1266
1266
 
1267
+ # The geographic placement of nodes in this instance configuration and their
1268
+ # replication properties.
1269
+ # Corresponds to the JSON property `replicas`
1270
+ # @return [Array<Google::Apis::SpannerV1::ReplicaInfo>]
1271
+ attr_accessor :replicas
1272
+
1267
1273
  def initialize(**args)
1268
1274
  update!(**args)
1269
1275
  end
@@ -1272,6 +1278,7 @@ module Google
1272
1278
  def update!(**args)
1273
1279
  @display_name = args[:display_name] if args.key?(:display_name)
1274
1280
  @name = args[:name] if args.key?(:name)
1281
+ @replicas = args[:replicas] if args.key?(:replicas)
1275
1282
  end
1276
1283
  end
1277
1284
 
@@ -2390,6 +2397,41 @@ module Google
2390
2397
  end
2391
2398
  end
2392
2399
 
2400
+ #
2401
+ class ReplicaInfo
2402
+ include Google::Apis::Core::Hashable
2403
+
2404
+ # If true, this location is designated as the default leader location where
2405
+ # leader replicas are placed. See the [region types
2406
+ # documentation](https://cloud.google.com/spanner/docs/instances#region_types)
2407
+ # for more details.
2408
+ # Corresponds to the JSON property `defaultLeaderLocation`
2409
+ # @return [Boolean]
2410
+ attr_accessor :default_leader_location
2411
+ alias_method :default_leader_location?, :default_leader_location
2412
+
2413
+ # The location of the serving resources, e.g. "us-central1".
2414
+ # Corresponds to the JSON property `location`
2415
+ # @return [String]
2416
+ attr_accessor :location
2417
+
2418
+ # The type of replica.
2419
+ # Corresponds to the JSON property `type`
2420
+ # @return [String]
2421
+ attr_accessor :type
2422
+
2423
+ def initialize(**args)
2424
+ update!(**args)
2425
+ end
2426
+
2427
+ # Update properties of this object
2428
+ def update!(**args)
2429
+ @default_leader_location = args[:default_leader_location] if args.key?(:default_leader_location)
2430
+ @location = args[:location] if args.key?(:location)
2431
+ @type = args[:type] if args.key?(:type)
2432
+ end
2433
+ end
2434
+
2393
2435
  # Results from Read or
2394
2436
  # ExecuteSql.
2395
2437
  class ResultSet
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class ReplicaInfo
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class ResultSet
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -609,6 +615,8 @@ module Google
609
615
  class Representation < Google::Apis::Core::JsonRepresentation
610
616
  property :display_name, as: 'displayName'
611
617
  property :name, as: 'name'
618
+ collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
619
+
612
620
  end
613
621
  end
614
622
 
@@ -849,6 +857,15 @@ module Google
849
857
  end
850
858
  end
851
859
 
860
+ class ReplicaInfo
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :default_leader_location, as: 'defaultLeaderLocation'
864
+ property :location, as: 'location'
865
+ property :type, as: 'type'
866
+ end
867
+ end
868
+
852
869
  class ResultSet
853
870
  # @private
854
871
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20190416'
28
+ REVISION = '20190426'
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'
@@ -1028,9 +1028,9 @@ module Google
1028
1028
  # @return [String]
1029
1029
  attr_accessor :kind
1030
1030
 
1031
- # Key metadata.
1031
+ # JSON template to produce a JSON-style HMAC Key metadata resource.
1032
1032
  # Corresponds to the JSON property `metadata`
1033
- # @return [Object]
1033
+ # @return [Google::Apis::StorageV1::HmacKeyMetadata]
1034
1034
  attr_accessor :metadata
1035
1035
 
1036
1036
  # HMAC secret key material.
@@ -539,7 +539,8 @@ module Google
539
539
  # @private
540
540
  class Representation < Google::Apis::Core::JsonRepresentation
541
541
  property :kind, as: 'kind'
542
- property :metadata, as: 'metadata'
542
+ property :metadata, as: 'metadata', class: Google::Apis::StorageV1::HmacKeyMetadata, decorator: Google::Apis::StorageV1::HmacKeyMetadata::Representation
543
+
543
544
  property :secret, as: 'secret'
544
545
  end
545
546
  end
@@ -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 = '20190429'
28
+ REVISION = '20190502'
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.29.0'.freeze
18
+ VERSION = '0.29.1'.freeze
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.29.0
4
+ version: 0.29.1
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: 2019-05-02 00:00:00.000000000 Z
14
+ date: 2019-05-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable