google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/admin-sdk/alertcenter/
26
26
  module AlertcenterV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200821'
28
+ REVISION = '20201202'
29
29
 
30
30
  # See and delete your domain's G Suite alerts, and send alert feedback
31
31
  AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
@@ -47,7 +47,7 @@ module Google
47
47
  attr_accessor :user_ip
48
48
 
49
49
  def initialize
50
- super('https://www.googleapis.com/', 'analytics/v3/')
50
+ super('https://analytics.googleapis.com/', 'analytics/v3/')
51
51
  @batch_path = 'batch/analytics/v3'
52
52
  end
53
53
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see http://code.google.com/apis/analytics/docs/mgmt/home.html
26
26
  module AnalyticsadminV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20201201'
28
+ REVISION = '20201210'
29
29
 
30
30
  # Edit Google Analytics management entities
31
31
  AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit'
@@ -27,8 +27,8 @@ module Google
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # Country of business. Must be a non-deprecated code for a UN M.49 region. https:
30
- # //unicode.org/cldr/charts/latest/supplem // ental/
31
- # territory_containment_un_m_49.html
30
+ # //unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
31
+ # html
32
32
  # Corresponds to the JSON property `countryCode`
33
33
  # @return [String]
34
34
  attr_accessor :country_code
@@ -123,8 +123,7 @@ module Google
123
123
  execute_or_queue_command(command, &block)
124
124
  end
125
125
 
126
- # Lookup for a single Account. Throws "Target not found" if no such account
127
- # found, or if caller does not have permissions to access it.
126
+ # Lookup for a single Account.
128
127
  # @param [String] name
129
128
  # Required. The name of the account to lookup. Format: accounts/`account`
130
129
  # Example: "accounts/100"
@@ -721,9 +720,7 @@ module Google
721
720
  execute_or_queue_command(command, &block)
722
721
  end
723
722
 
724
- # Lookup for a single "GA4" Property. Throws "Target not found" if no such
725
- # property found, if property is not of the type "GA4", or if caller does not
726
- # have permissions to access it.
723
+ # Lookup for a single "GA4" Property.
727
724
  # @param [String] name
728
725
  # Required. The name of the property to lookup. Format: properties/`property_id`
729
726
  # Example: "properties/1000"
@@ -914,9 +911,7 @@ module Google
914
911
  execute_or_queue_command(command, &block)
915
912
  end
916
913
 
917
- # Lookup for a single AndroidAppDataStream Throws "Target not found" if no such
918
- # android app data stream found, or if the caller does not have permissions to
919
- # access it.
914
+ # Lookup for a single AndroidAppDataStream
920
915
  # @param [String] name
921
916
  # Required. The name of the android app data stream to lookup. Format:
922
917
  # properties/`property_id`/androidAppDataStreams/`stream_id` Example: "
@@ -1373,8 +1368,7 @@ module Google
1373
1368
  execute_or_queue_command(command, &block)
1374
1369
  end
1375
1370
 
1376
- # Lookup for a single IosAppDataStream Throws "Target not found" if no such iOS
1377
- # app data stream found, or if the caller does not have permissions to access it.
1371
+ # Lookup for a single IosAppDataStream
1378
1372
  # @param [String] name
1379
1373
  # Required. The name of the iOS app data stream to lookup. Format: properties/`
1380
1374
  # property_id`/iosAppDataStreams/`stream_id` Example: "properties/123/
@@ -1911,8 +1905,7 @@ module Google
1911
1905
  execute_or_queue_command(command, &block)
1912
1906
  end
1913
1907
 
1914
- # Lookup for a single WebDataStream Throws "Target not found" if no such web
1915
- # data stream found, or if the caller does not have permissions to access it.
1908
+ # Lookup for a single WebDataStream
1916
1909
  # @param [String] name
1917
1910
  # Required. The name of the web data stream to lookup. Format: properties/`
1918
1911
  # property_id`/webDataStreams/`stream_id` Example: "properties/123/
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/devguides/reporting/data/v1/
26
26
  module AnalyticsdataV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20201201'
28
+ REVISION = '20201209'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -264,21 +264,21 @@ module Google
264
264
  class CohortsRange
265
265
  include Google::Apis::Core::Hashable
266
266
 
267
- # `endOffset` specifies the end date of the extended reporting date range for a
268
- # cohort report. `endOffset` can be any positive integer but is commonly set to
269
- # 5 to 10 so that reports contain data on the cohort for the next several
270
- # granularity time periods. If `granularity` is `DAILY`, the `endDate` of the
271
- # extended reporting date range is `endDate` of the cohort plus `endOffset` days.
272
- # If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
273
- # range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity`
274
- # is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate`
275
- # of the cohort plus `endOffset * 30` days.
267
+ # Required. `endOffset` specifies the end date of the extended reporting date
268
+ # range for a cohort report. `endOffset` can be any positive integer but is
269
+ # commonly set to 5 to 10 so that reports contain data on the cohort for the
270
+ # next several granularity time periods. If `granularity` is `DAILY`, the `
271
+ # endDate` of the extended reporting date range is `endDate` of the cohort plus `
272
+ # endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended
273
+ # reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `
274
+ # granularity` is `MONTHLY`, the `endDate` of the extended reporting date range
275
+ # is `endDate` of the cohort plus `endOffset * 30` days.
276
276
  # Corresponds to the JSON property `endOffset`
277
277
  # @return [Fixnum]
278
278
  attr_accessor :end_offset
279
279
 
280
- # The granularity used to interpret the `startOffset` and `endOffset` for the
281
- # extended reporting date range for a cohort report.
280
+ # Required. The granularity used to interpret the `startOffset` and `endOffset`
281
+ # for the extended reporting date range for a cohort report.
282
282
  # Corresponds to the JSON property `granularity`
283
283
  # @return [String]
284
284
  attr_accessor :granularity
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201123'
29
+ REVISION = '20201209'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/api-gateway/docs
26
26
  module ApigatewayV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20201029'
28
+ REVISION = '20201203'
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'
@@ -134,7 +134,7 @@ module Google
134
134
  attr_accessor :name
135
135
 
136
136
  # Optional. OpenAPI specification documents. If specified, grpc_services and
137
- # managed_service_config must not be included.
137
+ # managed_service_configs must not be included.
138
138
  # Corresponds to the JSON property `openapiDocuments`
139
139
  # @return [Array<Google::Apis::ApigatewayV1beta::ApigatewayApiConfigOpenApiDocument>]
140
140
  attr_accessor :openapi_documents
@@ -319,7 +319,7 @@ module Google
319
319
  end
320
320
  end
321
321
 
322
- # Configuration for a backend.
322
+ # Configuration for all backends.
323
323
  class ApigatewayBackendConfig
324
324
  include Google::Apis::Core::Hashable
325
325
 
@@ -352,11 +352,6 @@ module Google
352
352
  class ApigatewayBinding
353
353
  include Google::Apis::Core::Hashable
354
354
 
355
- #
356
- # Corresponds to the JSON property `bindingId`
357
- # @return [String]
358
- attr_accessor :binding_id
359
-
360
355
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
361
356
  # CEL is a C-like expression language. The syntax and semantics of CEL are
362
357
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -418,7 +413,6 @@ module Google
418
413
 
419
414
  # Update properties of this object
420
415
  def update!(**args)
421
- @binding_id = args[:binding_id] if args.key?(:binding_id)
422
416
  @condition = args[:condition] if args.key?(:condition)
423
417
  @members = args[:members] if args.key?(:members)
424
418
  @role = args[:role] if args.key?(:role)
@@ -564,7 +558,7 @@ module Google
564
558
  class ApigatewayGatewayConfig
565
559
  include Google::Apis::Core::Hashable
566
560
 
567
- # Configuration for a backend.
561
+ # Configuration for all backends.
568
562
  # Corresponds to the JSON property `backendConfig`
569
563
  # @return [Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig]
570
564
  attr_accessor :backend_config
@@ -277,7 +277,6 @@ module Google
277
277
  class ApigatewayBinding
278
278
  # @private
279
279
  class Representation < Google::Apis::Core::JsonRepresentation
280
- property :binding_id, as: 'bindingId'
281
280
  property :condition, as: 'condition', class: Google::Apis::ApigatewayV1beta::ApigatewayExpr, decorator: Google::Apis::ApigatewayV1beta::ApigatewayExpr::Representation
282
281
 
283
282
  collection :members, as: 'members'
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/apigee-api-management/
30
30
  module ApigeeV1
31
31
  VERSION = 'V1'
32
- REVISION = '20201117'
32
+ REVISION = '20201203'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -190,6 +190,19 @@ module Google
190
190
  end
191
191
  end
192
192
 
193
+ # Request for ActivateNatAddressRequest. Activate the nat address request.
194
+ class GoogleCloudApigeeV1ActivateNatAddressRequest
195
+ include Google::Apis::Core::Hashable
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ end
204
+ end
205
+
193
206
  # A reference to a certificate or key, certificate pair.
194
207
  class GoogleCloudApigeeV1Alias
195
208
  include Google::Apis::Core::Hashable
@@ -3797,6 +3810,32 @@ module Google
3797
3810
  end
3798
3811
  end
3799
3812
 
3813
+ # Response for ListNatAddresses.
3814
+ class GoogleCloudApigeeV1ListNatAddressesResponse
3815
+ include Google::Apis::Core::Hashable
3816
+
3817
+ # List of NAT Addresses for the instance.
3818
+ # Corresponds to the JSON property `natAddresses`
3819
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress>]
3820
+ attr_accessor :nat_addresses
3821
+
3822
+ # Page token that you can include in a ListNatAddresses request to retrieve the
3823
+ # next page of content. If omitted, no subsequent pages exist.
3824
+ # Corresponds to the JSON property `nextPageToken`
3825
+ # @return [String]
3826
+ attr_accessor :next_page_token
3827
+
3828
+ def initialize(**args)
3829
+ update!(**args)
3830
+ end
3831
+
3832
+ # Update properties of this object
3833
+ def update!(**args)
3834
+ @nat_addresses = args[:nat_addresses] if args.key?(:nat_addresses)
3835
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3836
+ end
3837
+ end
3838
+
3800
3839
  #
3801
3840
  class GoogleCloudApigeeV1ListOfDevelopersResponse
3802
3841
  include Google::Apis::Core::Hashable
@@ -3911,6 +3950,38 @@ module Google
3911
3950
  end
3912
3951
  end
3913
3952
 
3953
+ # Apigee NAT(network address translation) address. A NAT address is a static
3954
+ # external IP address used for Internet egress traffic.
3955
+ class GoogleCloudApigeeV1NatAddress
3956
+ include Google::Apis::Core::Hashable
3957
+
3958
+ # Required. The static IPV4 address.
3959
+ # Corresponds to the JSON property `ipAddress`
3960
+ # @return [String]
3961
+ attr_accessor :ip_address
3962
+
3963
+ # Required. Resource ID of the NAT address.
3964
+ # Corresponds to the JSON property `name`
3965
+ # @return [String]
3966
+ attr_accessor :name
3967
+
3968
+ # Required. State of the nat address.
3969
+ # Corresponds to the JSON property `state`
3970
+ # @return [String]
3971
+ attr_accessor :state
3972
+
3973
+ def initialize(**args)
3974
+ update!(**args)
3975
+ end
3976
+
3977
+ # Update properties of this object
3978
+ def update!(**args)
3979
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
3980
+ @name = args[:name] if args.key?(:name)
3981
+ @state = args[:state] if args.key?(:state)
3982
+ end
3983
+ end
3984
+
3914
3985
  # Operation represents the pairing of REST resource path and the actions (verbs)
3915
3986
  # allowed on the resource path.
3916
3987
  class GoogleCloudApigeeV1Operation
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudApigeeV1ActivateNatAddressRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudApigeeV1Alias
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -544,6 +550,12 @@ module Google
544
550
  include Google::Apis::Core::JsonObjectSupport
545
551
  end
546
552
 
553
+ class GoogleCloudApigeeV1ListNatAddressesResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
547
559
  class GoogleCloudApigeeV1ListOfDevelopersResponse
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
@@ -574,6 +586,12 @@ module Google
574
586
  include Google::Apis::Core::JsonObjectSupport
575
587
  end
576
588
 
589
+ class GoogleCloudApigeeV1NatAddress
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
577
595
  class GoogleCloudApigeeV1Operation
578
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
597
 
@@ -1016,6 +1034,12 @@ module Google
1016
1034
  end
1017
1035
  end
1018
1036
 
1037
+ class GoogleCloudApigeeV1ActivateNatAddressRequest
1038
+ # @private
1039
+ class Representation < Google::Apis::Core::JsonRepresentation
1040
+ end
1041
+ end
1042
+
1019
1043
  class GoogleCloudApigeeV1Alias
1020
1044
  # @private
1021
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1966,6 +1990,15 @@ module Google
1966
1990
  end
1967
1991
  end
1968
1992
 
1993
+ class GoogleCloudApigeeV1ListNatAddressesResponse
1994
+ # @private
1995
+ class Representation < Google::Apis::Core::JsonRepresentation
1996
+ collection :nat_addresses, as: 'natAddresses', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
1997
+
1998
+ property :next_page_token, as: 'nextPageToken'
1999
+ end
2000
+ end
2001
+
1969
2002
  class GoogleCloudApigeeV1ListOfDevelopersResponse
1970
2003
  # @private
1971
2004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2006,6 +2039,15 @@ module Google
2006
2039
  end
2007
2040
  end
2008
2041
 
2042
+ class GoogleCloudApigeeV1NatAddress
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :ip_address, as: 'ipAddress'
2046
+ property :name, as: 'name'
2047
+ property :state, as: 'state'
2048
+ end
2049
+ end
2050
+
2009
2051
  class GoogleCloudApigeeV1Operation
2010
2052
  # @private
2011
2053
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,6 +119,37 @@ module Google
119
119
  execute_or_queue_command(command, &block)
120
120
  end
121
121
 
122
+ # Delete an Apigee organization. Only supported for SubscriptionType TRIAL.
123
+ # @param [String] name
124
+ # Required. Name of the organization. Use the following structure in your
125
+ # request: `organizations/`org``
126
+ # @param [String] fields
127
+ # Selector specifying which fields to include in a partial response.
128
+ # @param [String] quota_user
129
+ # Available to use for quota purposes for server-side applications. Can be any
130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
131
+ # @param [Google::Apis::RequestOptions] options
132
+ # Request-specific options
133
+ #
134
+ # @yield [result, err] Result & error if block supplied
135
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
136
+ # @yieldparam err [StandardError] error object if request failed
137
+ #
138
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
139
+ #
140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
143
+ def delete_organization(name, fields: nil, quota_user: nil, options: nil, &block)
144
+ command = make_simple_command(:delete, 'v1/{+name}', options)
145
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
146
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
147
+ command.params['name'] = name unless name.nil?
148
+ command.query['fields'] = fields unless fields.nil?
149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
150
+ execute_or_queue_command(command, &block)
151
+ end
152
+
122
153
  # Gets the profile for an Apigee organization. See [Understanding organizations](
123
154
  # https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-
124
155
  # structure).
@@ -6394,6 +6425,181 @@ module Google
6394
6425
  execute_or_queue_command(command, &block)
6395
6426
  end
6396
6427
 
6428
+ # Activates the NAT address. The Apigee instance can now use this for Internet
6429
+ # egress traffic. **Note:** Not supported for Apigee hybrid.
6430
+ # @param [String] name
6431
+ # Required. Name of the nat address. Use the following structure in your request:
6432
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6433
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest] google_cloud_apigee_v1_activate_nat_address_request_object
6434
+ # @param [String] fields
6435
+ # Selector specifying which fields to include in a partial response.
6436
+ # @param [String] quota_user
6437
+ # Available to use for quota purposes for server-side applications. Can be any
6438
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6439
+ # @param [Google::Apis::RequestOptions] options
6440
+ # Request-specific options
6441
+ #
6442
+ # @yield [result, err] Result & error if block supplied
6443
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6444
+ # @yieldparam err [StandardError] error object if request failed
6445
+ #
6446
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6447
+ #
6448
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6449
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6450
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6451
+ def activate_organization_instance_nat_address(name, google_cloud_apigee_v1_activate_nat_address_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6452
+ command = make_simple_command(:post, 'v1/{+name}:activate', options)
6453
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ActivateNatAddressRequest::Representation
6454
+ command.request_object = google_cloud_apigee_v1_activate_nat_address_request_object
6455
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6456
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6457
+ command.params['name'] = name unless name.nil?
6458
+ command.query['fields'] = fields unless fields.nil?
6459
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6460
+ execute_or_queue_command(command, &block)
6461
+ end
6462
+
6463
+ # Creates a NAT address. The address is created in the RESERVED state and a
6464
+ # static external IP address will be provisioned. At this time, the instance
6465
+ # will not use this IP address for Internet egress traffic. The address can be
6466
+ # activated for use once any required firewall IP whitelisting has been
6467
+ # completed. **Note:** Not supported for Apigee hybrid.
6468
+ # @param [String] parent
6469
+ # Required. Name of the instance. Use the following structure in your request: `
6470
+ # organizations/`org`/instances/`instance``
6471
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] google_cloud_apigee_v1_nat_address_object
6472
+ # @param [String] fields
6473
+ # Selector specifying which fields to include in a partial response.
6474
+ # @param [String] quota_user
6475
+ # Available to use for quota purposes for server-side applications. Can be any
6476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6477
+ # @param [Google::Apis::RequestOptions] options
6478
+ # Request-specific options
6479
+ #
6480
+ # @yield [result, err] Result & error if block supplied
6481
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6482
+ # @yieldparam err [StandardError] error object if request failed
6483
+ #
6484
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6485
+ #
6486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6489
+ def create_organization_instance_nat_address(parent, google_cloud_apigee_v1_nat_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6490
+ command = make_simple_command(:post, 'v1/{+parent}/natAddresses', options)
6491
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6492
+ command.request_object = google_cloud_apigee_v1_nat_address_object
6493
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6494
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6495
+ command.params['parent'] = parent unless parent.nil?
6496
+ command.query['fields'] = fields unless fields.nil?
6497
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6498
+ execute_or_queue_command(command, &block)
6499
+ end
6500
+
6501
+ # Deletes the NAT address. Connections that are actively using the address are
6502
+ # drained before it is removed. **Note:** Not supported for Apigee hybrid.
6503
+ # @param [String] name
6504
+ # Required. Name of the nat address. Use the following structure in your request:
6505
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress```
6506
+ # @param [String] fields
6507
+ # Selector specifying which fields to include in a partial response.
6508
+ # @param [String] quota_user
6509
+ # Available to use for quota purposes for server-side applications. Can be any
6510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6511
+ # @param [Google::Apis::RequestOptions] options
6512
+ # Request-specific options
6513
+ #
6514
+ # @yield [result, err] Result & error if block supplied
6515
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
6516
+ # @yieldparam err [StandardError] error object if request failed
6517
+ #
6518
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
6519
+ #
6520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6523
+ def delete_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6524
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6525
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
6526
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
6527
+ command.params['name'] = name unless name.nil?
6528
+ command.query['fields'] = fields unless fields.nil?
6529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6530
+ execute_or_queue_command(command, &block)
6531
+ end
6532
+
6533
+ # Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.
6534
+ # @param [String] name
6535
+ # Required. Name of the nat address. Use the following structure in your request:
6536
+ # `organizations/`org`/instances/`instances`/natAddresses/`nataddress``
6537
+ # @param [String] fields
6538
+ # Selector specifying which fields to include in a partial response.
6539
+ # @param [String] quota_user
6540
+ # Available to use for quota purposes for server-side applications. Can be any
6541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6542
+ # @param [Google::Apis::RequestOptions] options
6543
+ # Request-specific options
6544
+ #
6545
+ # @yield [result, err] Result & error if block supplied
6546
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress] parsed result object
6547
+ # @yieldparam err [StandardError] error object if request failed
6548
+ #
6549
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress]
6550
+ #
6551
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6552
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6553
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6554
+ def get_organization_instance_nat_address(name, fields: nil, quota_user: nil, options: nil, &block)
6555
+ command = make_simple_command(:get, 'v1/{+name}', options)
6556
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress::Representation
6557
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
6558
+ command.params['name'] = name unless name.nil?
6559
+ command.query['fields'] = fields unless fields.nil?
6560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6561
+ execute_or_queue_command(command, &block)
6562
+ end
6563
+
6564
+ # Lists the NAT addresses for an Apigee instance. **Note:** Not supported for
6565
+ # Apigee hybrid.
6566
+ # @param [String] parent
6567
+ # Required. Name of the instance. Use the following structure in your request: `
6568
+ # organizations/`org`/instances/`instance``
6569
+ # @param [Fixnum] page_size
6570
+ # Maximum number of natAddresses to return. Defaults to 25.
6571
+ # @param [String] page_token
6572
+ # Page token, returned from a previous ListNatAddresses call, that you can use
6573
+ # to retrieve the next page of content.
6574
+ # @param [String] fields
6575
+ # Selector specifying which fields to include in a partial response.
6576
+ # @param [String] quota_user
6577
+ # Available to use for quota purposes for server-side applications. Can be any
6578
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6579
+ # @param [Google::Apis::RequestOptions] options
6580
+ # Request-specific options
6581
+ #
6582
+ # @yield [result, err] Result & error if block supplied
6583
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse] parsed result object
6584
+ # @yieldparam err [StandardError] error object if request failed
6585
+ #
6586
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse]
6587
+ #
6588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6591
+ def list_organization_instance_nat_addresses(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6592
+ command = make_simple_command(:get, 'v1/{+parent}/natAddresses', options)
6593
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse::Representation
6594
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListNatAddressesResponse
6595
+ command.params['parent'] = parent unless parent.nil?
6596
+ command.query['pageSize'] = page_size unless page_size.nil?
6597
+ command.query['pageToken'] = page_token unless page_token.nil?
6598
+ command.query['fields'] = fields unless fields.nil?
6599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6600
+ execute_or_queue_command(command, &block)
6601
+ end
6602
+
6397
6603
  # Creates a key value map in an organization.
6398
6604
  # @param [String] parent
6399
6605
  # Required. The name of the organization in which to create the key value map