google-api-client 0.37.1 → 0.37.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +105 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1/classes.rb +2 -2
  7. data/generated/google/apis/accesscontextmanager_v1/service.rb +10 -8
  8. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -38
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -16
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v3/classes.rb +193 -0
  14. data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
  15. data/generated/google/apis/appengine_v1.rb +1 -1
  16. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta.rb +1 -1
  18. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  20. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +15 -14
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +86 -0
  26. data/generated/google/apis/books_v1/representations.rb +37 -0
  27. data/generated/google/apis/classroom_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  30. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  31. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  32. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  33. data/generated/google/apis/cloudiot_v1.rb +1 -1
  34. data/generated/google/apis/cloudkms_v1.rb +1 -1
  35. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  36. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -2
  37. data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
  38. data/generated/google/apis/cloudshell_v1.rb +1 -1
  39. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  41. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  42. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  43. data/generated/google/apis/composer_v1beta1.rb +1 -1
  44. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  45. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +30 -26
  49. data/generated/google/apis/content_v2_1.rb +1 -1
  50. data/generated/google/apis/content_v2_1/classes.rb +30 -26
  51. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  52. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -37
  53. data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -15
  54. data/generated/google/apis/datacatalog_v1beta1/service.rb +0 -43
  55. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  56. data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -0
  57. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  58. data/generated/google/apis/datastore_v1.rb +1 -1
  59. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  60. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  61. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  62. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -7
  63. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -1
  64. data/generated/google/apis/dialogflow_v2.rb +1 -1
  65. data/generated/google/apis/dialogflow_v2/classes.rb +20 -231
  66. data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
  67. data/generated/google/apis/dialogflow_v2/service.rb +26 -390
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -235
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +68 -804
  72. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  73. data/generated/google/apis/displayvideo_v1.rb +38 -0
  74. data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
  75. data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
  76. data/generated/google/apis/displayvideo_v1/service.rb +176 -0
  77. data/generated/google/apis/dlp_v2.rb +1 -1
  78. data/generated/google/apis/dlp_v2/classes.rb +31 -0
  79. data/generated/google/apis/dlp_v2/representations.rb +5 -0
  80. data/generated/google/apis/docs_v1.rb +1 -1
  81. data/generated/google/apis/docs_v1/classes.rb +22 -0
  82. data/generated/google/apis/docs_v1/representations.rb +3 -0
  83. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  84. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  85. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  86. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  87. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  88. data/generated/google/apis/firestore_v1.rb +1 -1
  89. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  90. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  91. data/generated/google/apis/fitness_v1.rb +1 -1
  92. data/generated/google/apis/fitness_v1/service.rb +13 -9
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  95. data/generated/google/apis/iam_v1.rb +1 -1
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta1.rb +1 -1
  98. data/generated/google/apis/language_v1beta2.rb +1 -1
  99. data/generated/google/apis/logging_v2.rb +1 -1
  100. data/generated/google/apis/logging_v2/classes.rb +22 -35
  101. data/generated/google/apis/logging_v2/representations.rb +0 -2
  102. data/generated/google/apis/logging_v2/service.rb +14 -14
  103. data/generated/google/apis/managedidentities_v1.rb +35 -0
  104. data/generated/google/apis/managedidentities_v1/classes.rb +1662 -0
  105. data/generated/google/apis/managedidentities_v1/representations.rb +576 -0
  106. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  107. data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
  108. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1661 -0
  109. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +576 -0
  110. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  111. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  112. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1659 -0
  113. data/generated/google/apis/managedidentities_v1beta1/representations.rb +576 -0
  114. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  115. data/generated/google/apis/ml_v1.rb +1 -1
  116. data/generated/google/apis/ml_v1/classes.rb +23 -43
  117. data/generated/google/apis/oauth2_v2.rb +1 -1
  118. data/generated/google/apis/oauth2_v2/classes.rb +0 -68
  119. data/generated/google/apis/oauth2_v2/representations.rb +0 -32
  120. data/generated/google/apis/oauth2_v2/service.rb +0 -30
  121. data/generated/google/apis/pubsub_v1.rb +1 -1
  122. data/generated/google/apis/pubsub_v1/classes.rb +16 -12
  123. data/generated/google/apis/pubsub_v1/service.rb +22 -21
  124. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  126. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  127. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  128. data/generated/google/apis/run_v1.rb +1 -1
  129. data/generated/google/apis/run_v1/classes.rb +48 -0
  130. data/generated/google/apis/run_v1/representations.rb +17 -0
  131. data/generated/google/apis/run_v1/service.rb +208 -0
  132. data/generated/google/apis/run_v1alpha1.rb +1 -1
  133. data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
  134. data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
  135. data/generated/google/apis/run_v1alpha1/service.rb +874 -448
  136. data/generated/google/apis/run_v1beta1.rb +1 -1
  137. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  138. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  139. data/generated/google/apis/secretmanager_v1.rb +3 -3
  140. data/generated/google/apis/secretmanager_v1/service.rb +2 -2
  141. data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
  142. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -2
  143. data/generated/google/apis/securitycenter_v1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  145. data/generated/google/apis/securitycenter_v1beta1/classes.rb +98 -98
  146. data/generated/google/apis/securitycenter_v1beta1/representations.rb +37 -37
  147. data/generated/google/apis/securitycenter_v1beta1/service.rb +36 -36
  148. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  149. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  150. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  151. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +56 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  153. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  154. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  156. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -0
  157. data/generated/google/apis/servicenetworking_v1/representations.rb +17 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +56 -0
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -0
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +56 -0
  163. data/generated/google/apis/serviceusage_v1/representations.rb +17 -0
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +56 -0
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +17 -0
  167. data/generated/google/apis/spanner_v1.rb +1 -1
  168. data/generated/google/apis/spanner_v1/classes.rb +38 -11
  169. data/generated/google/apis/spanner_v1/representations.rb +15 -0
  170. data/generated/google/apis/speech_v1.rb +1 -1
  171. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  172. data/generated/google/apis/speech_v2beta1.rb +1 -1
  173. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  174. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  175. data/generated/google/apis/texttospeech_v1.rb +1 -1
  176. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  177. data/generated/google/apis/toolresults_v1.rb +1 -1
  178. data/generated/google/apis/toolresults_v1/service.rb +1 -1
  179. data/generated/google/apis/translate_v3.rb +1 -1
  180. data/generated/google/apis/translate_v3beta1.rb +1 -1
  181. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  182. data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
  183. data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
  184. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  185. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
  186. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtube_v3.rb +1 -1
  189. data/generated/google/apis/youtube_v3/classes.rb +72 -33
  190. data/generated/google/apis/youtube_v3/representations.rb +32 -4
  191. data/lib/google/apis/version.rb +1 -1
  192. metadata +19 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200207'
28
+ REVISION = '20200222'
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'
@@ -658,13 +658,11 @@ module Google
658
658
  # @return [String]
659
659
  attr_accessor :state
660
660
 
661
- # Represents input parameters for a training job. When using the
662
- # gcloud command to submit your training job, you can specify
663
- # the input parameters as command-line arguments and/or in a YAML configuration
664
- # file referenced from the --config command-line argument. For
665
- # details, see the guide to
666
- # <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
667
- # job</a>.
661
+ # Represents input parameters for a training job. When using the gcloud command
662
+ # to submit your training job, you can specify the input parameters as
663
+ # command-line arguments and/or in a YAML configuration file referenced from
664
+ # the --config command-line argument. For details, see the guide to [submitting
665
+ # a training job](/ai-platform/training/docs/training-jobs).
668
666
  # Corresponds to the JSON property `trainingInput`
669
667
  # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
670
668
  attr_accessor :training_input
@@ -1458,13 +1456,11 @@ module Google
1458
1456
  end
1459
1457
  end
1460
1458
 
1461
- # Represents input parameters for a training job. When using the
1462
- # gcloud command to submit your training job, you can specify
1463
- # the input parameters as command-line arguments and/or in a YAML configuration
1464
- # file referenced from the --config command-line argument. For
1465
- # details, see the guide to
1466
- # <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
1467
- # job</a>.
1459
+ # Represents input parameters for a training job. When using the gcloud command
1460
+ # to submit your training job, you can specify the input parameters as
1461
+ # command-line arguments and/or in a YAML configuration file referenced from
1462
+ # the --config command-line argument. For details, see the guide to [submitting
1463
+ # a training job](/ai-platform/training/docs/training-jobs).
1468
1464
  class GoogleCloudMlV1TrainingInput
1469
1465
  include Google::Apis::Core::Hashable
1470
1466
 
@@ -1580,40 +1576,32 @@ module Google
1580
1576
  # @return [String]
1581
1577
  attr_accessor :python_module
1582
1578
 
1583
- # Optional. The version of Python used in training. If not set, the default
1584
- # version is '2.7'. Starting [January 13,
1585
- # 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
1586
- # required.
1579
+ # Optional. The version of Python used in training. You must either specify
1580
+ # this field or specify `masterConfig.imageUri`.
1587
1581
  # The following Python versions are available:
1588
1582
  # * Python '3.7' is available when `runtime_version` is set to '1.15' or
1589
1583
  # later.
1590
1584
  # * Python '3.5' is available when `runtime_version` is set to a version
1591
1585
  # from '1.4' to '1.14'.
1592
1586
  # * Python '2.7' is available when `runtime_version` is set to '1.15' or
1593
- # earlier. (Runtime versions released [after January 1,
1594
- # 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
1595
- # Python 2.7.)
1587
+ # earlier.
1596
1588
  # Read more about the Python versions available for [each runtime
1597
1589
  # version](/ml-engine/docs/runtime-version-list).
1598
1590
  # Corresponds to the JSON property `pythonVersion`
1599
1591
  # @return [String]
1600
1592
  attr_accessor :python_version
1601
1593
 
1602
- # Required. The Google Compute Engine region to run the training job in.
1603
- # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
1604
- # for AI Platform services.
1594
+ # Required. The region to run the training job in. See the [available
1595
+ # regions](/ai-platform/training/docs/regions) for AI Platform Training.
1605
1596
  # Corresponds to the JSON property `region`
1606
1597
  # @return [String]
1607
1598
  attr_accessor :region
1608
1599
 
1609
- # Optional. The AI Platform runtime version to use for training. If not
1610
- # set, AI Platform uses the default stable version, 1.0. Starting [January
1611
- # 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
1612
- # required.
1613
- # For more information, see the
1614
- # <a href="/ml-engine/docs/runtime-version-list">runtime version list</a>
1615
- # and
1616
- # <a href="/ml-engine/docs/versioning">how to manage runtime versions</a>.
1600
+ # Optional. The AI Platform runtime version to use for training. You must
1601
+ # either specify this field or specify `masterConfig.imageUri`.
1602
+ # For more information, see the [runtime version
1603
+ # list](/ai-platform/training/docs/runtime-version-list) and learn [how to
1604
+ # manage runtime versions](/ai-platform/training/docs/versioning).
1617
1605
  # Corresponds to the JSON property `runtimeVersion`
1618
1606
  # @return [String]
1619
1607
  attr_accessor :runtime_version
@@ -1973,19 +1961,14 @@ module Google
1973
1961
  # @return [String]
1974
1962
  attr_accessor :prediction_class
1975
1963
 
1976
- # Optional. The version of Python used in prediction. If not set, the default
1977
- # version is '2.7'. Starting [January 13,
1978
- # 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
1979
- # required.
1964
+ # Required. The version of Python used in prediction.
1980
1965
  # The following Python versions are available:
1981
1966
  # * Python '3.7' is available when `runtime_version` is set to '1.15' or
1982
1967
  # later.
1983
1968
  # * Python '3.5' is available when `runtime_version` is set to a version
1984
1969
  # from '1.4' to '1.14'.
1985
1970
  # * Python '2.7' is available when `runtime_version` is set to '1.15' or
1986
- # earlier. (Runtime versions released [after January 1,
1987
- # 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
1988
- # Python 2.7.)
1971
+ # earlier.
1989
1972
  # Read more about the Python versions available for [each runtime
1990
1973
  # version](/ml-engine/docs/runtime-version-list).
1991
1974
  # Corresponds to the JSON property `pythonVersion`
@@ -2007,10 +1990,7 @@ module Google
2007
1990
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
2008
1991
  attr_accessor :request_logging_config
2009
1992
 
2010
- # Optional. The AI Platform runtime version to use for this deployment.
2011
- # If not set, AI Platform uses the default stable version, 1.0. Starting
2012
- # [January 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this
2013
- # field is required.
1993
+ # Required. The AI Platform runtime version to use for this deployment.
2014
1994
  # For more information, see the
2015
1995
  # [runtime version list](/ml-engine/docs/runtime-version-list) and
2016
1996
  # [how to manage runtime versions](/ml-engine/docs/versioning).
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/accounts/docs/OAuth2
26
26
  module Oauth2V2
27
27
  VERSION = 'V2'
28
- REVISION = '20190313'
28
+ REVISION = '20200213'
29
29
 
30
30
  # Associate you with your personal info on Google
31
31
  AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
@@ -22,74 +22,6 @@ module Google
22
22
  module Apis
23
23
  module Oauth2V2
24
24
 
25
- #
26
- class Jwk
27
- include Google::Apis::Core::Hashable
28
-
29
- #
30
- # Corresponds to the JSON property `keys`
31
- # @return [Array<Google::Apis::Oauth2V2::Jwk::Key>]
32
- attr_accessor :keys
33
-
34
- def initialize(**args)
35
- update!(**args)
36
- end
37
-
38
- # Update properties of this object
39
- def update!(**args)
40
- @keys = args[:keys] if args.key?(:keys)
41
- end
42
-
43
- #
44
- class Key
45
- include Google::Apis::Core::Hashable
46
-
47
- #
48
- # Corresponds to the JSON property `alg`
49
- # @return [String]
50
- attr_accessor :alg
51
-
52
- #
53
- # Corresponds to the JSON property `e`
54
- # @return [String]
55
- attr_accessor :e
56
-
57
- #
58
- # Corresponds to the JSON property `kid`
59
- # @return [String]
60
- attr_accessor :kid
61
-
62
- #
63
- # Corresponds to the JSON property `kty`
64
- # @return [String]
65
- attr_accessor :kty
66
-
67
- #
68
- # Corresponds to the JSON property `n`
69
- # @return [String]
70
- attr_accessor :n
71
-
72
- #
73
- # Corresponds to the JSON property `use`
74
- # @return [String]
75
- attr_accessor :use
76
-
77
- def initialize(**args)
78
- update!(**args)
79
- end
80
-
81
- # Update properties of this object
82
- def update!(**args)
83
- @alg = args[:alg] if args.key?(:alg)
84
- @e = args[:e] if args.key?(:e)
85
- @kid = args[:kid] if args.key?(:kid)
86
- @kty = args[:kty] if args.key?(:kty)
87
- @n = args[:n] if args.key?(:n)
88
- @use = args[:use] if args.key?(:use)
89
- end
90
- end
91
- end
92
-
93
25
  #
94
26
  class Tokeninfo
95
27
  include Google::Apis::Core::Hashable
@@ -22,18 +22,6 @@ module Google
22
22
  module Apis
23
23
  module Oauth2V2
24
24
 
25
- class Jwk
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- class Key
29
- class Representation < Google::Apis::Core::JsonRepresentation; end
30
-
31
- include Google::Apis::Core::JsonObjectSupport
32
- end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
25
  class Tokeninfo
38
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
27
 
@@ -46,26 +34,6 @@ module Google
46
34
  include Google::Apis::Core::JsonObjectSupport
47
35
  end
48
36
 
49
- class Jwk
50
- # @private
51
- class Representation < Google::Apis::Core::JsonRepresentation
52
- collection :keys, as: 'keys', class: Google::Apis::Oauth2V2::Jwk::Key, decorator: Google::Apis::Oauth2V2::Jwk::Key::Representation
53
-
54
- end
55
-
56
- class Key
57
- # @private
58
- class Representation < Google::Apis::Core::JsonRepresentation
59
- property :alg, as: 'alg'
60
- property :e, as: 'e'
61
- property :kid, as: 'kid'
62
- property :kty, as: 'kty'
63
- property :n, as: 'n'
64
- property :use, as: 'use'
65
- end
66
- end
67
- end
68
-
69
37
  class Tokeninfo
70
38
  # @private
71
39
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,36 +51,6 @@ module Google
51
51
  @batch_path = 'batch/oauth2/v2'
52
52
  end
53
53
 
54
- #
55
- # @param [String] fields
56
- # Selector specifying which fields to include in a partial response.
57
- # @param [String] quota_user
58
- # An opaque string that represents a user for quota purposes. Must not exceed 40
59
- # characters.
60
- # @param [String] user_ip
61
- # Deprecated. Please use quotaUser instead.
62
- # @param [Google::Apis::RequestOptions] options
63
- # Request-specific options
64
- #
65
- # @yield [result, err] Result & error if block supplied
66
- # @yieldparam result [Google::Apis::Oauth2V2::Jwk] parsed result object
67
- # @yieldparam err [StandardError] error object if request failed
68
- #
69
- # @return [Google::Apis::Oauth2V2::Jwk]
70
- #
71
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
- # @raise [Google::Apis::AuthorizationError] Authorization is required
74
- def get_cert_for_open_id_connect(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
75
- command = make_simple_command(:get, 'oauth2/v2/certs', options)
76
- command.response_representation = Google::Apis::Oauth2V2::Jwk::Representation
77
- command.response_class = Google::Apis::Oauth2V2::Jwk
78
- command.query['fields'] = fields unless fields.nil?
79
- command.query['quotaUser'] = quota_user unless quota_user.nil?
80
- command.query['userIp'] = user_ip unless user_ip.nil?
81
- execute_or_queue_command(command, &block)
82
- end
83
-
84
54
  #
85
55
  # @param [String] access_token
86
56
  # @param [String] id_token
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200211'
28
+ REVISION = '20200218'
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'
@@ -26,7 +26,8 @@ module Google
26
26
  class AcknowledgeRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The acknowledgment ID for the messages being acknowledged that was returned
29
+ # Required. The acknowledgment ID for the messages being acknowledged that was
30
+ # returned
30
31
  # by the Pub/Sub system in the `Pull` response. Must not be empty.
31
32
  # Corresponds to the JSON property `ackIds`
32
33
  # @return [Array<String>]
@@ -135,7 +136,7 @@ module Google
135
136
  # @return [Hash<String,String>]
136
137
  attr_accessor :labels
137
138
 
138
- # The subscription whose backlog the snapshot retains.
139
+ # Required. The subscription whose backlog the snapshot retains.
139
140
  # Specifically, the created snapshot is guaranteed to retain:
140
141
  # (a) The existing backlog on the subscription. More precisely, this is
141
142
  # defined as the messages in the subscription's backlog that are
@@ -469,7 +470,8 @@ module Google
469
470
  class ModifyAckDeadlineRequest
470
471
  include Google::Apis::Core::Hashable
471
472
 
472
- # The new ack deadline with respect to the time this request was sent to
473
+ # Required. The new ack deadline with respect to the time this request was sent
474
+ # to
473
475
  # the Pub/Sub system. For example, if the value is 10, the new
474
476
  # ack deadline will expire 10 seconds after the `ModifyAckDeadline` call
475
477
  # was made. Specifying zero might immediately make the message available for
@@ -481,7 +483,7 @@ module Google
481
483
  # @return [Fixnum]
482
484
  attr_accessor :ack_deadline_seconds
483
485
 
484
- # List of acknowledgment IDs.
486
+ # Required. List of acknowledgment IDs.
485
487
  # Corresponds to the JSON property `ackIds`
486
488
  # @return [Array<String>]
487
489
  attr_accessor :ack_ids
@@ -670,7 +672,7 @@ module Google
670
672
  class PublishRequest
671
673
  include Google::Apis::Core::Hashable
672
674
 
673
- # The messages to publish.
675
+ # Required. The messages to publish.
674
676
  # Corresponds to the JSON property `messages`
675
677
  # @return [Array<Google::Apis::PubsubV1::Message>]
676
678
  attr_accessor :messages
@@ -762,7 +764,7 @@ module Google
762
764
  class PullRequest
763
765
  include Google::Apis::Core::Hashable
764
766
 
765
- # The maximum number of messages to return for this request. Must be a
767
+ # Required. The maximum number of messages to return for this request. Must be a
766
768
  # positive integer. The Pub/Sub system may return fewer than the number
767
769
  # specified.
768
770
  # Corresponds to the JSON property `maxMessages`
@@ -1141,7 +1143,7 @@ module Google
1141
1143
  # @return [String]
1142
1144
  attr_accessor :message_retention_duration
1143
1145
 
1144
- # The name of the subscription. It must have the format
1146
+ # Required. The name of the subscription. It must have the format
1145
1147
  # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
1146
1148
  # start with a letter, and contain only letters (`[A-Za-z]`), numbers
1147
1149
  # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -1168,7 +1170,8 @@ module Google
1168
1170
  attr_accessor :retain_acked_messages
1169
1171
  alias_method :retain_acked_messages?, :retain_acked_messages
1170
1172
 
1171
- # The name of the topic from which this subscription is receiving messages.
1173
+ # Required. The name of the topic from which this subscription is receiving
1174
+ # messages.
1172
1175
  # Format is `projects/`project`/topics/`topic``.
1173
1176
  # The value of this field will be `_deleted-topic_` if the topic has been
1174
1177
  # deleted.
@@ -1260,7 +1263,7 @@ module Google
1260
1263
  # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
1261
1264
  attr_accessor :message_storage_policy
1262
1265
 
1263
- # The name of the topic. It must have the format
1266
+ # Required. The name of the topic. It must have the format
1264
1267
  # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
1265
1268
  # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
1266
1269
  # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1297,7 +1300,7 @@ module Google
1297
1300
  # @return [Google::Apis::PubsubV1::Snapshot]
1298
1301
  attr_accessor :snapshot
1299
1302
 
1300
- # Indicates which fields in the provided snapshot to update.
1303
+ # Required. Indicates which fields in the provided snapshot to update.
1301
1304
  # Must be specified and non-empty.
1302
1305
  # Corresponds to the JSON property `updateMask`
1303
1306
  # @return [String]
@@ -1323,7 +1326,7 @@ module Google
1323
1326
  # @return [Google::Apis::PubsubV1::Subscription]
1324
1327
  attr_accessor :subscription
1325
1328
 
1326
- # Indicates which fields in the provided subscription to update.
1329
+ # Required. Indicates which fields in the provided subscription to update.
1327
1330
  # Must be specified and non-empty.
1328
1331
  # Corresponds to the JSON property `updateMask`
1329
1332
  # @return [String]
@@ -1349,7 +1352,8 @@ module Google
1349
1352
  # @return [Google::Apis::PubsubV1::Topic]
1350
1353
  attr_accessor :topic
1351
1354
 
1352
- # Indicates which fields in the provided topic to update. Must be specified
1355
+ # Required. Indicates which fields in the provided topic to update. Must be
1356
+ # specified
1353
1357
  # and non-empty. Note that if `update_mask` contains
1354
1358
  # "message_storage_policy" then the new value will be determined based on the
1355
1359
  # policy configured at the project or organization level. The
@@ -66,7 +66,8 @@ module Google
66
66
  # generated name is populated in the returned Snapshot object. Note that for
67
67
  # REST API requests, you must specify a name in the request.
68
68
  # @param [String] name
69
- # User-provided name for this snapshot. If the name is not provided in the
69
+ # Required. User-provided name for this snapshot. If the name is not provided in
70
+ # the
70
71
  # request, the server will assign a random name for this snapshot on the same
71
72
  # project as the subscription. Note that for REST API requests, you must
72
73
  # specify a name. See the <a
@@ -113,7 +114,7 @@ module Google
113
114
  # created with the same name, but the new one has no association with the old
114
115
  # snapshot or its subscription, unless the same subscription is specified.
115
116
  # @param [String] snapshot
116
- # The name of the snapshot to delete.
117
+ # Required. The name of the snapshot to delete.
117
118
  # Format is `projects/`project`/snapshots/`snap``.
118
119
  # @param [String] fields
119
120
  # Selector specifying which fields to include in a partial response.
@@ -148,7 +149,7 @@ module Google
148
149
  # is, you can set the acknowledgment state of messages in an existing
149
150
  # subscription to the state captured by a snapshot.
150
151
  # @param [String] snapshot
151
- # The name of the snapshot to get.
152
+ # Required. The name of the snapshot to get.
152
153
  # Format is `projects/`project`/snapshots/`snap``.
153
154
  # @param [String] fields
154
155
  # Selector specifying which fields to include in a partial response.
@@ -225,7 +226,7 @@ module Google
225
226
  # acknowledgment state of messages in an existing subscription to the state
226
227
  # captured by a snapshot.
227
228
  # @param [String] project
228
- # The name of the project in which to list snapshots.
229
+ # Required. The name of the project in which to list snapshots.
229
230
  # Format is `projects/`project-id``.
230
231
  # @param [Fixnum] page_size
231
232
  # Maximum number of snapshots to return.
@@ -382,7 +383,7 @@ module Google
382
383
  # but such a message may be redelivered later. Acknowledging a message more
383
384
  # than once will not result in an error.
384
385
  # @param [String] subscription
385
- # The subscription whose message is being acknowledged.
386
+ # Required. The subscription whose message is being acknowledged.
386
387
  # Format is `projects/`project`/subscriptions/`sub``.
387
388
  # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object
388
389
  # @param [String] fields
@@ -427,7 +428,7 @@ module Google
427
428
  # generated name is populated in the returned Subscription object. Note that
428
429
  # for REST API requests, you must specify a name in the request.
429
430
  # @param [String] name
430
- # The name of the subscription. It must have the format
431
+ # Required. The name of the subscription. It must have the format
431
432
  # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
432
433
  # start with a letter, and contain only letters (`[A-Za-z]`), numbers
433
434
  # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -469,7 +470,7 @@ module Google
469
470
  # the same name, but the new one has no association with the old
470
471
  # subscription or its topic unless the same topic is specified.
471
472
  # @param [String] subscription
472
- # The subscription to delete.
473
+ # Required. The subscription to delete.
473
474
  # Format is `projects/`project`/subscriptions/`sub``.
474
475
  # @param [String] fields
475
476
  # Selector specifying which fields to include in a partial response.
@@ -500,7 +501,7 @@ module Google
500
501
 
501
502
  # Gets the configuration details of a subscription.
502
503
  # @param [String] subscription
503
- # The name of the subscription to get.
504
+ # Required. The name of the subscription to get.
504
505
  # Format is `projects/`project`/subscriptions/`sub``.
505
506
  # @param [String] fields
506
507
  # Selector specifying which fields to include in a partial response.
@@ -572,7 +573,7 @@ module Google
572
573
 
573
574
  # Lists matching subscriptions.
574
575
  # @param [String] project
575
- # The name of the project in which to list subscriptions.
576
+ # Required. The name of the project in which to list subscriptions.
576
577
  # Format is `projects/`project-id``.
577
578
  # @param [Fixnum] page_size
578
579
  # Maximum number of subscriptions to return.
@@ -615,7 +616,7 @@ module Google
615
616
  # processing was interrupted. Note that this does not modify the
616
617
  # subscription-level `ackDeadlineSeconds` used for subsequent messages.
617
618
  # @param [String] subscription
618
- # The name of the subscription.
619
+ # Required. The name of the subscription.
619
620
  # Format is `projects/`project`/subscriptions/`sub``.
620
621
  # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object
621
622
  # @param [String] fields
@@ -653,7 +654,7 @@ module Google
653
654
  # attributes of a push subscription. Messages will accumulate for delivery
654
655
  # continuously through the call regardless of changes to the `PushConfig`.
655
656
  # @param [String] subscription
656
- # The name of the subscription.
657
+ # Required. The name of the subscription.
657
658
  # Format is `projects/`project`/subscriptions/`sub``.
658
659
  # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object
659
660
  # @param [String] fields
@@ -688,7 +689,7 @@ module Google
688
689
  # Updates an existing subscription. Note that certain properties of a
689
690
  # subscription, such as its topic, are not modifiable.
690
691
  # @param [String] name
691
- # The name of the subscription. It must have the format
692
+ # Required. The name of the subscription. It must have the format
692
693
  # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
693
694
  # start with a letter, and contain only letters (`[A-Za-z]`), numbers
694
695
  # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
@@ -728,7 +729,7 @@ module Google
728
729
  # there are too many concurrent pull requests pending for the given
729
730
  # subscription.
730
731
  # @param [String] subscription
731
- # The subscription from which messages should be pulled.
732
+ # Required. The subscription from which messages should be pulled.
732
733
  # Format is `projects/`project`/subscriptions/`sub``.
733
734
  # @param [Google::Apis::PubsubV1::PullRequest] pull_request_object
734
735
  # @param [String] fields
@@ -769,7 +770,7 @@ module Google
769
770
  # captured by a snapshot. Note that both the subscription and the snapshot
770
771
  # must be on the same topic.
771
772
  # @param [String] subscription
772
- # The subscription to affect.
773
+ # Required. The subscription to affect.
773
774
  # @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object
774
775
  # @param [String] fields
775
776
  # Selector specifying which fields to include in a partial response.
@@ -879,7 +880,7 @@ module Google
879
880
  # <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
880
881
  # resource name rules</a>.
881
882
  # @param [String] name
882
- # The name of the topic. It must have the format
883
+ # Required. The name of the topic. It must have the format
883
884
  # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
884
885
  # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
885
886
  # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -921,7 +922,7 @@ module Google
921
922
  # configuration or subscriptions. Existing subscriptions to this topic are
922
923
  # not deleted, but their `topic` field is set to `_deleted-topic_`.
923
924
  # @param [String] topic
924
- # Name of the topic to delete.
925
+ # Required. Name of the topic to delete.
925
926
  # Format is `projects/`project`/topics/`topic``.
926
927
  # @param [String] fields
927
928
  # Selector specifying which fields to include in a partial response.
@@ -952,7 +953,7 @@ module Google
952
953
 
953
954
  # Gets the configuration of a topic.
954
955
  # @param [String] topic
955
- # The name of the topic to get.
956
+ # Required. The name of the topic to get.
956
957
  # Format is `projects/`project`/topics/`topic``.
957
958
  # @param [String] fields
958
959
  # Selector specifying which fields to include in a partial response.
@@ -1024,7 +1025,7 @@ module Google
1024
1025
 
1025
1026
  # Lists matching topics.
1026
1027
  # @param [String] project
1027
- # The name of the project in which to list topics.
1028
+ # Required. The name of the project in which to list topics.
1028
1029
  # Format is `projects/`project-id``.
1029
1030
  # @param [Fixnum] page_size
1030
1031
  # Maximum number of topics to return.
@@ -1064,7 +1065,7 @@ module Google
1064
1065
  # Updates an existing topic. Note that certain properties of a
1065
1066
  # topic are not modifiable.
1066
1067
  # @param [String] name
1067
- # The name of the topic. It must have the format
1068
+ # Required. The name of the topic. It must have the format
1068
1069
  # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
1069
1070
  # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
1070
1071
  # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
@@ -1103,7 +1104,7 @@ module Google
1103
1104
  # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
1104
1105
  # does not exist.
1105
1106
  # @param [String] topic
1106
- # The messages in the request will be published on this topic.
1107
+ # Required. The messages in the request will be published on this topic.
1107
1108
  # Format is `projects/`project`/topics/`topic``.
1108
1109
  # @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object
1109
1110
  # @param [String] fields
@@ -1256,7 +1257,7 @@ module Google
1256
1257
 
1257
1258
  # Lists the names of the subscriptions on this topic.
1258
1259
  # @param [String] topic
1259
- # The name of the topic that subscriptions are attached to.
1260
+ # Required. The name of the topic that subscriptions are attached to.
1260
1261
  # Format is `projects/`project`/topics/`topic``.
1261
1262
  # @param [Fixnum] page_size
1262
1263
  # Maximum number of subscription names to return.