google-api-client 0.28.2 → 0.28.3

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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/generated/google/apis/bigquery_v2.rb +1 -1
  4. data/generated/google/apis/bigquery_v2/classes.rb +28 -0
  5. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  6. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  7. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -9
  8. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  9. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  10. data/generated/google/apis/dataflow_v1b3/classes.rb +31 -0
  11. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  12. data/generated/google/apis/dfareporting_v3_3.rb +40 -0
  13. data/generated/google/apis/dfareporting_v3_3/classes.rb +12282 -0
  14. data/generated/google/apis/dfareporting_v3_3/representations.rb +4424 -0
  15. data/generated/google/apis/dfareporting_v3_3/service.rb +8688 -0
  16. data/generated/google/apis/games_v1.rb +4 -1
  17. data/generated/google/apis/iam_v1.rb +1 -1
  18. data/generated/google/apis/iam_v1/service.rb +0 -8
  19. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  20. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  21. data/generated/google/apis/script_v1.rb +1 -1
  22. data/generated/google/apis/script_v1/classes.rb +3 -2
  23. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  24. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +2 -0
  25. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  26. data/generated/google/apis/servicecontrol_v1/classes.rb +44 -0
  27. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  28. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  29. data/lib/google/apis/version.rb +1 -1
  30. metadata +6 -2
@@ -25,13 +25,16 @@ module Google
25
25
  # @see https://developers.google.com/games/services/
26
26
  module GamesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181113'
28
+ REVISION = '20190131'
29
29
 
30
30
  # View and manage its own configuration data in your Google Drive
31
31
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
32
32
 
33
33
  # Share your Google+ profile information and view and manage your game activity
34
34
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
35
+
36
+ # Know who you are on Google
37
+ AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
35
38
  end
36
39
  end
37
40
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190125'
30
+ REVISION = '20190131'
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'
@@ -871,10 +871,6 @@ module Google
871
871
  execute_or_queue_command(command, &block)
872
872
  end
873
873
 
874
- # **Note**: This method is in the process of being deprecated. Call the
875
- # [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
876
- # signBlob)
877
- # method of the Cloud IAM Service Account Credentials API instead.
878
874
  # Signs a blob using a service account's system-managed private key.
879
875
  # @param [String] name
880
876
  # The resource name of the service account in the following format:
@@ -912,10 +908,6 @@ module Google
912
908
  execute_or_queue_command(command, &block)
913
909
  end
914
910
 
915
- # **Note**: This method is in the process of being deprecated. Call the
916
- # [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
917
- # signJwt)
918
- # method of the Cloud IAM Service Account Credentials API instead.
919
911
  # Signs a JWT using a service account's system-managed private key.
920
912
  # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
921
913
  # an expiry time of one hour by default. If you request an expiry time of
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
26
26
  module IamcredentialsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181013'
28
+ REVISION = '20190125'
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'
@@ -193,8 +193,8 @@ module Google
193
193
  # "iss": "https://accounts.google.com",
194
194
  # "iat": 1517963104,
195
195
  # "exp": 1517966704,
196
- # "aud": "https://iamcredentials.googleapis.com/google.iam.credentials.v1.
197
- # CloudGaia",
196
+ # "aud":
197
+ # "https://iamcredentials.googleapis.com/google.iam.credentials.v1.CloudGaia",
198
198
  # "sub": "113475438248934895348",
199
199
  # "my_claims": `
200
200
  # "additional_claim": "value"
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/apps-script/api/
26
26
  module ScriptV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190112'
28
+ REVISION = '20190131'
29
29
 
30
30
  # Read, compose, send, and permanently delete all your email from Gmail
31
31
  AUTH_SCOPE = 'https://mail.google.com/'
@@ -278,8 +278,9 @@ module Google
278
278
  # @return [Array<Object>]
279
279
  attr_accessor :parameters
280
280
 
281
- # For Android add-ons only. An ID that represents the user's current session
282
- # in the Android app for Google Docs or Sheets, included as extra data in the
281
+ # <b>Deprecated</b>. For use with Android add-ons only. An ID that represents
282
+ # the user's current session in the Android app for Google Docs or Sheets,
283
+ # included as extra data in the
283
284
  # [Intent](https://developer.android.com/guide/components/intents-filters.html)
284
285
  # that launches the add-on. When an Android add-on is run with a session
285
286
  # state, it gains the privileges of a
@@ -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 = '20190119'
28
+ REVISION = '20190131'
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'
@@ -513,6 +513,8 @@ module Google
513
513
  # It will remove project lien with 'TenantManager' origin if that was added.
514
514
  # It will then attempt to delete the project. If that operation fails, this
515
515
  # method fails.
516
+ # Calls to remove already removed or non-existent tenant project
517
+ # will succeed.
516
518
  # After the project has been deleted, or if was already in DELETED state,
517
519
  # resource metadata is permanently removed from the tenancy unit.
518
520
  # Operation<response: Empty>.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190114'
29
+ REVISION = '20190128'
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'
@@ -474,6 +474,49 @@ module Google
474
474
  # @return [String]
475
475
  attr_accessor :detail
476
476
 
477
+ # The `Status` type defines a logical error model that is suitable for different
478
+ # programming environments, including REST APIs and RPC APIs. It is used by
479
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
480
+ # - Simple to use and understand for most users
481
+ # - Flexible enough to meet unexpected needs
482
+ # # Overview
483
+ # The `Status` message contains three pieces of data: error code, error message,
484
+ # and error details. The error code should be an enum value of
485
+ # google.rpc.Code, but it may accept additional error codes if needed. The
486
+ # error message should be a developer-facing English message that helps
487
+ # developers *understand* and *resolve* the error. If a localized user-facing
488
+ # error message is needed, put the localized message in the error details or
489
+ # localize it in the client. The optional error details may contain arbitrary
490
+ # information about the error. There is a predefined set of error detail types
491
+ # in the package `google.rpc` that can be used for common error conditions.
492
+ # # Language mapping
493
+ # The `Status` message is the logical representation of the error model, but it
494
+ # is not necessarily the actual wire format. When the `Status` message is
495
+ # exposed in different client libraries and different wire protocols, it can be
496
+ # mapped differently. For example, it will likely be mapped to some exceptions
497
+ # in Java, but more likely mapped to some error codes in C.
498
+ # # Other uses
499
+ # The error model and the `Status` message can be used in a variety of
500
+ # environments, either with or without APIs, to provide a
501
+ # consistent developer experience across different environments.
502
+ # Example uses of this error model include:
503
+ # - Partial errors. If a service needs to return partial errors to the client,
504
+ # it may embed the `Status` in the normal response to indicate the partial
505
+ # errors.
506
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
507
+ # have a `Status` message for error reporting.
508
+ # - Batch operations. If a client uses batch request and batch response, the
509
+ # `Status` message should be used directly inside batch response, one for
510
+ # each error sub-response.
511
+ # - Asynchronous operations. If an API call embeds asynchronous operation
512
+ # results in its response, the status of those operations should be
513
+ # represented directly using the `Status` message.
514
+ # - Logging. If some API errors are stored in logs, the message `Status` could
515
+ # be used directly after any stripping needed for security/privacy reasons.
516
+ # Corresponds to the JSON property `status`
517
+ # @return [Google::Apis::ServicecontrolV1::Status]
518
+ attr_accessor :status
519
+
477
520
  # Subject to whom this error applies. See the specific code enum for more
478
521
  # details on this field. For example:
479
522
  # - “project:<project-id or project-number>”
@@ -491,6 +534,7 @@ module Google
491
534
  def update!(**args)
492
535
  @code = args[:code] if args.key?(:code)
493
536
  @detail = args[:detail] if args.key?(:detail)
537
+ @status = args[:status] if args.key?(:status)
494
538
  @subject = args[:subject] if args.key?(:subject)
495
539
  end
496
540
  end
@@ -342,6 +342,8 @@ module Google
342
342
  class Representation < Google::Apis::Core::JsonRepresentation
343
343
  property :code, as: 'code'
344
344
  property :detail, as: 'detail'
345
+ property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation
346
+
345
347
  property :subject, as: 'subject'
346
348
  end
347
349
  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 = '20190121'
28
+ REVISION = '20190128'
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.28.2'.freeze
18
+ VERSION = '0.28.3'.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.28.2
4
+ version: 0.28.3
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-01-31 00:00:00.000000000 Z
14
+ date: 2019-02-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -573,6 +573,10 @@ files:
573
573
  - generated/google/apis/dfareporting_v3_2/classes.rb
574
574
  - generated/google/apis/dfareporting_v3_2/representations.rb
575
575
  - generated/google/apis/dfareporting_v3_2/service.rb
576
+ - generated/google/apis/dfareporting_v3_3.rb
577
+ - generated/google/apis/dfareporting_v3_3/classes.rb
578
+ - generated/google/apis/dfareporting_v3_3/representations.rb
579
+ - generated/google/apis/dfareporting_v3_3/service.rb
576
580
  - generated/google/apis/dialogflow_v2.rb
577
581
  - generated/google/apis/dialogflow_v2/classes.rb
578
582
  - generated/google/apis/dialogflow_v2/representations.rb