google-api-client 0.21.1 → 0.21.2

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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/admin_reports_v1.rb +1 -1
  4. data/generated/google/apis/analytics_v3.rb +4 -1
  5. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  6. data/generated/google/apis/analytics_v3/representations.rb +33 -0
  7. data/generated/google/apis/analytics_v3/service.rb +33 -0
  8. data/generated/google/apis/analyticsreporting_v4.rb +2 -2
  9. data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
  10. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  12. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -0
  13. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
  14. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v2/service.rb +42 -0
  16. data/generated/google/apis/appengine_v1.rb +1 -1
  17. data/generated/google/apis/appengine_v1/classes.rb +11 -4
  18. data/generated/google/apis/appengine_v1/service.rb +28 -19
  19. data/generated/google/apis/appengine_v1beta.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
  21. data/generated/google/apis/appengine_v1beta/service.rb +28 -19
  22. data/generated/google/apis/bigquery_v2.rb +1 -1
  23. data/generated/google/apis/bigquery_v2/classes.rb +9 -6
  24. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  25. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
  26. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  27. data/generated/google/apis/cloudiot_v1.rb +1 -1
  28. data/generated/google/apis/cloudiot_v1/service.rb +2 -12
  29. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  31. data/generated/google/apis/composer_v1beta1.rb +1 -1
  32. data/generated/google/apis/composer_v1beta1/classes.rb +49 -52
  33. data/generated/google/apis/composer_v1beta1/service.rb +5 -5
  34. data/generated/google/apis/compute_v1.rb +1 -1
  35. data/generated/google/apis/container_v1.rb +1 -1
  36. data/generated/google/apis/container_v1/service.rb +18 -18
  37. data/generated/google/apis/container_v1beta1.rb +1 -1
  38. data/generated/google/apis/container_v1beta1/classes.rb +7 -0
  39. data/generated/google/apis/container_v1beta1/representations.rb +1 -0
  40. data/generated/google/apis/container_v1beta1/service.rb +18 -18
  41. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  42. data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
  43. data/generated/google/apis/dfareporting_v2_8/service.rb +4 -1
  44. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  45. data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
  46. data/generated/google/apis/dfareporting_v3_0/service.rb +4 -1
  47. data/generated/google/apis/dfareporting_v3_1.rb +40 -0
  48. data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
  49. data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
  50. data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
  51. data/generated/google/apis/dlp_v2.rb +1 -1
  52. data/generated/google/apis/dlp_v2/classes.rb +20 -0
  53. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  54. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  55. data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
  56. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  57. data/generated/google/apis/jobs_v2.rb +1 -1
  58. data/generated/google/apis/jobs_v2/classes.rb +1 -5
  59. data/generated/google/apis/jobs_v2/service.rb +9 -10
  60. data/generated/google/apis/language_v1.rb +1 -1
  61. data/generated/google/apis/language_v1/classes.rb +1 -0
  62. data/generated/google/apis/language_v1beta1.rb +1 -1
  63. data/generated/google/apis/language_v1beta1/classes.rb +1 -0
  64. data/generated/google/apis/language_v1beta2.rb +1 -1
  65. data/generated/google/apis/language_v1beta2/classes.rb +1 -0
  66. data/generated/google/apis/monitoring_v3.rb +1 -1
  67. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  68. data/generated/google/apis/partners_v2.rb +1 -1
  69. data/generated/google/apis/partners_v2/classes.rb +7 -0
  70. data/generated/google/apis/partners_v2/representations.rb +1 -0
  71. data/generated/google/apis/people_v1.rb +1 -1
  72. data/generated/google/apis/people_v1/service.rb +4 -0
  73. data/generated/google/apis/redis_v1beta1.rb +1 -1
  74. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  75. data/generated/google/apis/redis_v1beta1/service.rb +6 -6
  76. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  77. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  78. data/generated/google/apis/script_v1.rb +1 -1
  79. data/generated/google/apis/spanner_v1.rb +1 -1
  80. data/generated/google/apis/spanner_v1/classes.rb +1 -1
  81. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  82. data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
  83. data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
  84. data/generated/google/apis/sqladmin_v1beta4/service.rb +120 -0
  85. data/generated/google/apis/testing_v1.rb +1 -1
  86. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  87. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  88. data/generated/google/apis/vision_v1.rb +1 -1
  89. data/generated/google/apis/vision_v1/classes.rb +517 -0
  90. data/generated/google/apis/vision_v1/representations.rb +272 -0
  91. data/generated/google/apis/vision_v1/service.rb +35 -0
  92. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  93. data/generated/google/apis/vision_v1p1beta1/classes.rb +3411 -1415
  94. data/generated/google/apis/vision_v1p1beta1/representations.rb +868 -0
  95. data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
  96. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  97. data/generated/google/apis/vision_v1p2beta1/classes.rb +2521 -822
  98. data/generated/google/apis/vision_v1p2beta1/representations.rb +758 -14
  99. data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
  100. data/generated/google/apis/youtube_analytics_v2.rb +2 -2
  101. data/generated/google/apis/youtube_analytics_v2/service.rb +1 -1
  102. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +7 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f7adb7f3db798935c6730439ba4a3fb7f426d04
4
- data.tar.gz: fb9c72f1d33119e24968f9eeba20ea089ac3193e
3
+ metadata.gz: 01333d45474dc427f053561b2d53a61d1d8d95c1
4
+ data.tar.gz: 52a3094bc02c6608707c56d42d37199e72efc95f
5
5
  SHA512:
6
- metadata.gz: 25a41f12fad0086f72db14c62b0e08dce37f05639c3a4cf13d1c001f29daf2dfa72b29618a74459dfb100f5b34e87aeebb3ee7ef87043177d326d0c6d5fb82d3
7
- data.tar.gz: 511dee7021fb94436489c410cd49d2d8c18159bc89ecd28004bd2c653387375e3363d2c0cfd5980f2626e14ebad1205a21c7fb39577058c01b7f9f6e1e5881ce
6
+ metadata.gz: 0575d0460a3498749fa55b207b32c6a51cc552afa36bb2737b7158d891a22794125b3c772dad2b4bc2908a59da9be12d4793fa5dd706cc32b2fe16b1fb551b91
7
+ data.tar.gz: e398a3c203f457814ae238773ec9ee2a2e0bdd81177d3d853b787a1966c52abe2c3cb51ea88126acd35ac196e525895eeb4a9548994ecd7111626a6c1589491c
@@ -1,3 +1,45 @@
1
+ # 0.21.2
2
+ * Backwards compatible changes:
3
+ * Added `dfareporting_v3_1`
4
+ * Updated `admin_reports_v1`
5
+ * Updated `analytics_v3`
6
+ * Updated `analyticsreporting_v4`
7
+ * Updated `androiddeviceprovisioning_v1`
8
+ * Updated `androidpublisher_v2`
9
+ * Updated `appengine_v1`
10
+ * Updated `appengine_v1beta`
11
+ * Updated `bigquery_v2`
12
+ * Updated `clouddebugger_v2`
13
+ * Updated `cloudiot_v1`
14
+ * Updated `cloudresourcemanager_v1`
15
+ * Updated `composer_v1beta1`
16
+ * Updated `compute_v1`
17
+ * Updated `container_v1`
18
+ * Updated `container_v1beta1`
19
+ * Updated `dfareporting_v2_8`
20
+ * Updated `dfareporting_v3_0`
21
+ * Updated `dlp_v2`
22
+ * Updated `identitytoolkit_v3`
23
+ * Updated `jobs_v2`
24
+ * Updated `language_v1`
25
+ * Updated `language_v1beta1`
26
+ * Updated `language_v1beta2`
27
+ * Updated `monitoring_v3`
28
+ * Updated `partners_v2`
29
+ * Updated `people_v1`
30
+ * Updated `redis_v1beta1`
31
+ * Updated `runtimeconfig_v1beta1`
32
+ * Updated `script_v1`
33
+ * Updated `spanner_v1`
34
+ * Updated `sqladmin_v1beta4`
35
+ * Updated `testing_v1`
36
+ * Updated `texttospeech_v1beta1`
37
+ * Updated `vision_v1`
38
+ * Updated `vision_v1p1beta1`
39
+ * Updated `vision_v1p2beta1`
40
+ * Updated `youtube_analytics_v2`
41
+ * Updated `youtube_partner_v1`
42
+
1
43
  # 0.21.1
2
44
  * Backwards compatible changes:
3
45
  * Updated `analytics_v3`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/admin-sdk/reports/
27
27
  module AdminReportsV1
28
28
  VERSION = 'ReportsV1'
29
- REVISION = '20180430'
29
+ REVISION = '20180514'
30
30
 
31
31
  # View audit reports for your G Suite domain
32
32
  AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/
26
26
  module AnalyticsV3
27
27
  VERSION = 'V3'
28
- REVISION = '20180509'
28
+ REVISION = '20180514'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -44,6 +44,9 @@ module Google
44
44
 
45
45
  # View your Google Analytics data
46
46
  AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
47
+
48
+ # Manage Google Analytics user deletion requests
49
+ AUTH_ANALYTICS_USER_DELETION = 'https://www.googleapis.com/auth/analytics.user.deletion'
47
50
  end
48
51
  end
49
52
  end
@@ -5327,6 +5327,74 @@ module Google
5327
5327
  end
5328
5328
  end
5329
5329
 
5330
+ # JSON template for a user deletion request resource.
5331
+ class UserDeletionRequest
5332
+ include Google::Apis::Core::Hashable
5333
+
5334
+ # This marks the point in time for which all user data before should be deleted
5335
+ # Corresponds to the JSON property `deletionRequestTime`
5336
+ # @return [DateTime]
5337
+ attr_accessor :deletion_request_time
5338
+
5339
+ # Firebase Project Id
5340
+ # Corresponds to the JSON property `firebaseProjectId`
5341
+ # @return [String]
5342
+ attr_accessor :firebase_project_id
5343
+
5344
+ # User ID.
5345
+ # Corresponds to the JSON property `id`
5346
+ # @return [Google::Apis::AnalyticsV3::UserDeletionRequest::Id]
5347
+ attr_accessor :id
5348
+
5349
+ # Value is "analytics#userDeletionRequest".
5350
+ # Corresponds to the JSON property `kind`
5351
+ # @return [String]
5352
+ attr_accessor :kind
5353
+
5354
+ # Web property ID of the form UA-XXXXX-YY.
5355
+ # Corresponds to the JSON property `webPropertyId`
5356
+ # @return [String]
5357
+ attr_accessor :web_property_id
5358
+
5359
+ def initialize(**args)
5360
+ update!(**args)
5361
+ end
5362
+
5363
+ # Update properties of this object
5364
+ def update!(**args)
5365
+ @deletion_request_time = args[:deletion_request_time] if args.key?(:deletion_request_time)
5366
+ @firebase_project_id = args[:firebase_project_id] if args.key?(:firebase_project_id)
5367
+ @id = args[:id] if args.key?(:id)
5368
+ @kind = args[:kind] if args.key?(:kind)
5369
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
5370
+ end
5371
+
5372
+ # User ID.
5373
+ class Id
5374
+ include Google::Apis::Core::Hashable
5375
+
5376
+ # Type of user
5377
+ # Corresponds to the JSON property `type`
5378
+ # @return [String]
5379
+ attr_accessor :type
5380
+
5381
+ # The User's id
5382
+ # Corresponds to the JSON property `userId`
5383
+ # @return [String]
5384
+ attr_accessor :user_id
5385
+
5386
+ def initialize(**args)
5387
+ update!(**args)
5388
+ end
5389
+
5390
+ # Update properties of this object
5391
+ def update!(**args)
5392
+ @type = args[:type] if args.key?(:type)
5393
+ @user_id = args[:user_id] if args.key?(:user_id)
5394
+ end
5395
+ end
5396
+ end
5397
+
5330
5398
  # JSON template for a user reference.
5331
5399
  class UserRef
5332
5400
  include Google::Apis::Core::Hashable
@@ -604,6 +604,18 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class UserDeletionRequest
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ class Id
611
+ class Representation < Google::Apis::Core::JsonRepresentation; end
612
+
613
+ include Google::Apis::Core::JsonObjectSupport
614
+ end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class UserRef
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -1962,6 +1974,27 @@ module Google
1962
1974
  end
1963
1975
  end
1964
1976
 
1977
+ class UserDeletionRequest
1978
+ # @private
1979
+ class Representation < Google::Apis::Core::JsonRepresentation
1980
+ property :deletion_request_time, as: 'deletionRequestTime', type: DateTime
1981
+
1982
+ property :firebase_project_id, as: 'firebaseProjectId'
1983
+ property :id, as: 'id', class: Google::Apis::AnalyticsV3::UserDeletionRequest::Id, decorator: Google::Apis::AnalyticsV3::UserDeletionRequest::Id::Representation
1984
+
1985
+ property :kind, as: 'kind'
1986
+ property :web_property_id, as: 'webPropertyId'
1987
+ end
1988
+
1989
+ class Id
1990
+ # @private
1991
+ class Representation < Google::Apis::Core::JsonRepresentation
1992
+ property :type, as: 'type'
1993
+ property :user_id, as: 'userId'
1994
+ end
1995
+ end
1996
+ end
1997
+
1965
1998
  class UserRef
1966
1999
  # @private
1967
2000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3672,6 +3672,39 @@ module Google
3672
3672
  command.query['userIp'] = user_ip unless user_ip.nil?
3673
3673
  execute_or_queue_command(command, &block)
3674
3674
  end
3675
+
3676
+ # Insert or update a user deletion requests.
3677
+ # @param [Google::Apis::AnalyticsV3::UserDeletionRequest] user_deletion_request_object
3678
+ # @param [String] fields
3679
+ # Selector specifying which fields to include in a partial response.
3680
+ # @param [String] quota_user
3681
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
3682
+ # characters.
3683
+ # @param [String] user_ip
3684
+ # Deprecated. Please use quotaUser instead.
3685
+ # @param [Google::Apis::RequestOptions] options
3686
+ # Request-specific options
3687
+ #
3688
+ # @yield [result, err] Result & error if block supplied
3689
+ # @yieldparam result [Google::Apis::AnalyticsV3::UserDeletionRequest] parsed result object
3690
+ # @yieldparam err [StandardError] error object if request failed
3691
+ #
3692
+ # @return [Google::Apis::AnalyticsV3::UserDeletionRequest]
3693
+ #
3694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3697
+ def upsert_user_deletion_user_deletion_request(user_deletion_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3698
+ command = make_simple_command(:post, 'userDeletion/userDeletionRequests:upsert', options)
3699
+ command.request_representation = Google::Apis::AnalyticsV3::UserDeletionRequest::Representation
3700
+ command.request_object = user_deletion_request_object
3701
+ command.response_representation = Google::Apis::AnalyticsV3::UserDeletionRequest::Representation
3702
+ command.response_class = Google::Apis::AnalyticsV3::UserDeletionRequest
3703
+ command.query['fields'] = fields unless fields.nil?
3704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3705
+ command.query['userIp'] = user_ip unless user_ip.nil?
3706
+ execute_or_queue_command(command, &block)
3707
+ end
3675
3708
 
3676
3709
  protected
3677
3710
 
@@ -18,14 +18,14 @@ require 'google/apis/analyticsreporting_v4/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Analytics Reporting API
21
+ # Analytics Reporting API
22
22
  #
23
23
  # Accesses Analytics report data.
24
24
  #
25
25
  # @see https://developers.google.com/analytics/devguides/reporting/core/v4/
26
26
  module AnalyticsreportingV4
27
27
  VERSION = 'V4'
28
- REVISION = '20171108'
28
+ REVISION = '20180515'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -1031,7 +1031,7 @@ module Google
1031
1031
 
1032
1032
  # Page size is for paging and specifies the maximum number of returned rows.
1033
1033
  # Page size should be >= 0. A query returns the default of 1,000 rows.
1034
- # The Analytics Core Reporting API returns a maximum of 10,000 rows per
1034
+ # The Analytics Core Reporting API returns a maximum of 100,000 rows per
1035
1035
  # request, no matter how many you ask for. It can also return fewer rows
1036
1036
  # than requested, if there aren't as many dimension segments as you expect.
1037
1037
  # For instance, there are fewer than 300 possible values for `ga:country`,
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module AnalyticsreportingV4
23
- # Google Analytics Reporting API
23
+ # Analytics Reporting API
24
24
  #
25
25
  # Accesses Analytics report data.
26
26
  #
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/zero-touch/
27
27
  module AndroiddeviceprovisioningV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180413'
29
+ REVISION = '20180511'
30
30
  end
31
31
  end
32
32
  end
@@ -137,6 +137,13 @@ module Google
137
137
  # @return [Array<String>]
138
138
  attr_accessor :owner_emails
139
139
 
140
+ # Output only. Whether any user from the company has accepted the latest
141
+ # Terms of Service (ToS). See
142
+ # TermsStatus.
143
+ # Corresponds to the JSON property `termsStatus`
144
+ # @return [String]
145
+ attr_accessor :terms_status
146
+
140
147
  def initialize(**args)
141
148
  update!(**args)
142
149
  end
@@ -148,6 +155,7 @@ module Google
148
155
  @company_name = args[:company_name] if args.key?(:company_name)
149
156
  @name = args[:name] if args.key?(:name)
150
157
  @owner_emails = args[:owner_emails] if args.key?(:owner_emails)
158
+ @terms_status = args[:terms_status] if args.key?(:terms_status)
151
159
  end
152
160
  end
153
161
 
@@ -284,6 +284,7 @@ module Google
284
284
  property :company_name, as: 'companyName'
285
285
  property :name, as: 'name'
286
286
  collection :owner_emails, as: 'ownerEmails'
287
+ property :terms_status, as: 'termsStatus'
287
288
  end
288
289
  end
289
290
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180504'
28
+ REVISION = '20180515'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -2045,6 +2045,48 @@ module Google
2045
2045
  execute_or_queue_command(command, &block)
2046
2046
  end
2047
2047
 
2048
+ # Refund a user's subscription or in-app purchase order.
2049
+ # @param [String] package_name
2050
+ # The package name of the application for which this subscription or in-app item
2051
+ # was purchased (for example, 'com.some.thing').
2052
+ # @param [String] order_id
2053
+ # The order ID provided to the user when the subscription or in-app order was
2054
+ # purchased.
2055
+ # @param [Boolean] revoke
2056
+ # Whether to revoke the purchased item. If set to true, access to the
2057
+ # subscription or in-app item will be terminated immediately. If the item is a
2058
+ # recurring subscription, all future payments will also be terminated. Consumed
2059
+ # in-app items need to be handled by developer's app. (optional)
2060
+ # @param [String] fields
2061
+ # Selector specifying which fields to include in a partial response.
2062
+ # @param [String] quota_user
2063
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2064
+ # characters.
2065
+ # @param [String] user_ip
2066
+ # Deprecated. Please use quotaUser instead.
2067
+ # @param [Google::Apis::RequestOptions] options
2068
+ # Request-specific options
2069
+ #
2070
+ # @yield [result, err] Result & error if block supplied
2071
+ # @yieldparam result [NilClass] No result returned for this method
2072
+ # @yieldparam err [StandardError] error object if request failed
2073
+ #
2074
+ # @return [void]
2075
+ #
2076
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2077
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2078
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2079
+ def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2080
+ command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
2081
+ command.params['packageName'] = package_name unless package_name.nil?
2082
+ command.params['orderId'] = order_id unless order_id.nil?
2083
+ command.query['revoke'] = revoke unless revoke.nil?
2084
+ command.query['fields'] = fields unless fields.nil?
2085
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2086
+ command.query['userIp'] = user_ip unless user_ip.nil?
2087
+ execute_or_queue_command(command, &block)
2088
+ end
2089
+
2048
2090
  # Checks the purchase and consumption status of an inapp item.
2049
2091
  # @param [String] package_name
2050
2092
  # The package name of the application the inapp product was sold in (for example,
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180320'
29
+ REVISION = '20180511'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -805,14 +805,21 @@ module Google
805
805
  # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
806
806
  # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
807
807
  # via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
808
- # The fields here refer to the name and configuration id of a "service" resource
808
+ # The fields here refer to the name and configuration ID of a "service" resource
809
809
  # in the Service Management API (https://cloud.google.com/service-management/
810
810
  # overview).
811
811
  class EndpointsApiService
812
812
  include Google::Apis::Core::Hashable
813
813
 
814
- # Endpoints service configuration id as specified by the Service Management API.
815
- # For example "2016-09-19r1"
814
+ # Endpoints service configuration ID as specified by the Service Management API.
815
+ # For example "2016-09-19r1".By default, the rollout strategy for Endpoints is
816
+ # RolloutStrategy.FIXED. This means that Endpoints starts up with a particular
817
+ # configuration ID. When a new configuration is rolled out, Endpoints must be
818
+ # given the new configuration ID. The config_id field is used to give the
819
+ # configuration ID and is required in this case.Endpoints also has a rollout
820
+ # strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches
821
+ # the latest configuration and does not need the configuration ID. In this case,
822
+ # config_id must be omitted.
816
823
  # Corresponds to the JSON property `configId`
817
824
  # @return [String]
818
825
  attr_accessor :config_id
@@ -2694,7 +2701,7 @@ module Google
2694
2701
  # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
2695
2702
  # Endpoints API Service provides tooling for serving Open API and gRPC endpoints
2696
2703
  # via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
2697
- # The fields here refer to the name and configuration id of a "service" resource
2704
+ # The fields here refer to the name and configuration ID of a "service" resource
2698
2705
  # in the Service Management API (https://cloud.google.com/service-management/
2699
2706
  # overview).
2700
2707
  # Corresponds to the JSON property `endpointsApiService`
@@ -1291,38 +1291,47 @@ module Google
1291
1291
 
1292
1292
  # Updates the specified Version resource. You can specify the following fields
1293
1293
  # depending on the App Engine environment and type of scaling that the version
1294
- # resource uses:
1295
- # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
1296
- # rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version
1297
- # resources that use basic scaling, manual scaling, or run in the App Engine
1298
- # flexible environment.
1294
+ # resource uses:Standard environment
1299
1295
  # instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/
1300
- # rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version
1301
- # resources that run in the App Engine standard environment.
1296
+ # rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling
1297
+ # in the standard environment:
1302
1298
  # automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/
1303
1299
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1304
- # automatic_scaling): For Version resources that use automatic scaling and run
1305
- # in the App Engine standard environment.
1300
+ # automatic_scaling)
1306
1301
  # automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/
1307
1302
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1308
- # automatic_scaling): For Version resources that use automatic scaling and run
1309
- # in the App Engine standard environment.
1303
+ # automatic_scaling)
1304
+ # automaticScaling.standard_scheduler_settings.max_instances (https://cloud.
1305
+ # google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
1306
+ # StandardSchedulerSettings)
1307
+ # automaticScaling.standard_scheduler_settings.min_instances (https://cloud.
1308
+ # google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
1309
+ # StandardSchedulerSettings)
1310
+ # automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://
1311
+ # cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.
1312
+ # versions#StandardSchedulerSettings)
1313
+ # automaticScaling.standard_scheduler_settings.target_throughput_utilization (
1314
+ # https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.
1315
+ # services.versions#StandardSchedulerSettings)basic scaling or manual scaling in
1316
+ # the standard environment:
1317
+ # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
1318
+ # rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible
1319
+ # environment
1320
+ # serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/
1321
+ # rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling
1322
+ # in the flexible environment:
1310
1323
  # automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
1311
1324
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1312
- # automatic_scaling): For Version resources that use automatic scaling and run
1313
- # in the App Engine flexible environment.
1325
+ # automatic_scaling)
1314
1326
  # automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
1315
1327
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1316
- # automatic_scaling): For Version resources that use automatic scaling and run
1317
- # in the App Engine flexible environment.
1328
+ # automatic_scaling)
1318
1329
  # automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
1319
1330
  # docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1320
- # automatic_scaling): For Version resources that use automatic scaling and run
1321
- # in the App Engine flexible environment.
1331
+ # automatic_scaling)
1322
1332
  # automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
1323
1333
  # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
1324
- # FIELDS.automatic_scaling): For Version resources that use automatic scaling
1325
- # and run in the App Engine flexible environment.
1334
+ # FIELDS.automatic_scaling)
1326
1335
  # @param [String] apps_id
1327
1336
  # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
1328
1337
  # default/versions/1.