google-api-client 0.45.1 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  5. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  6. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  10. data/generated/google/apis/apigee_v1.rb +1 -1
  11. data/generated/google/apis/apigee_v1/classes.rb +5 -5
  12. data/generated/google/apis/apigee_v1/service.rb +21 -19
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  15. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  16. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +38 -18
  19. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  20. data/generated/google/apis/books_v1.rb +1 -1
  21. data/generated/google/apis/books_v1/service.rb +2 -2
  22. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  23. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
  24. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  25. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
  27. data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
  28. data/generated/google/apis/composer_v1beta1.rb +1 -1
  29. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  32. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  33. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  34. data/generated/google/apis/compute_beta.rb +1 -1
  35. data/generated/google/apis/compute_beta/classes.rb +491 -83
  36. data/generated/google/apis/compute_beta/representations.rb +96 -1
  37. data/generated/google/apis/compute_beta/service.rb +802 -133
  38. data/generated/google/apis/compute_v1.rb +1 -1
  39. data/generated/google/apis/compute_v1/classes.rb +308 -45
  40. data/generated/google/apis/compute_v1/representations.rb +54 -1
  41. data/generated/google/apis/compute_v1/service.rb +736 -130
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +2 -1
  44. data/generated/google/apis/content_v2_1.rb +1 -1
  45. data/generated/google/apis/content_v2_1/classes.rb +2 -1
  46. data/generated/google/apis/datafusion_v1.rb +1 -1
  47. data/generated/google/apis/dataproc_v1.rb +1 -1
  48. data/generated/google/apis/dataproc_v1/classes.rb +28 -2
  49. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  50. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  51. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  52. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
  55. data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
  56. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
  58. data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
  59. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
  61. data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
  62. data/generated/google/apis/file_v1.rb +1 -1
  63. data/generated/google/apis/file_v1/classes.rb +1 -1
  64. data/generated/google/apis/file_v1beta1.rb +1 -1
  65. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  66. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  67. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  68. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  69. data/generated/google/apis/jobs_v2.rb +1 -1
  70. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  71. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  72. data/generated/google/apis/jobs_v3.rb +1 -1
  73. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  74. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  77. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  78. data/generated/google/apis/managedidentities_v1.rb +1 -1
  79. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  80. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  81. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  82. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
  83. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  84. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  85. data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
  86. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  87. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  88. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  89. data/generated/google/apis/monitoring_v3.rb +1 -1
  90. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  91. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  92. data/generated/google/apis/osconfig_v1.rb +3 -3
  93. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  94. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  95. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  96. data/generated/google/apis/pubsublite_v1.rb +1 -1
  97. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  98. data/generated/google/apis/recommender_v1.rb +1 -1
  99. data/generated/google/apis/recommender_v1/service.rb +4 -2
  100. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  101. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +5 -5
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  107. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  108. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  109. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  113. data/generated/google/apis/storage_v1.rb +1 -1
  114. data/generated/google/apis/storage_v1/classes.rb +2 -10
  115. data/generated/google/apis/storage_v1/representations.rb +0 -1
  116. data/generated/google/apis/storage_v1/service.rb +3 -2
  117. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  118. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  119. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  120. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  121. data/generated/google/apis/translate_v3.rb +1 -1
  122. data/generated/google/apis/translate_v3/classes.rb +2 -2
  123. data/generated/google/apis/videointelligence_v1.rb +1 -1
  124. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  125. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  126. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  127. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  128. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  129. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  130. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  131. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  132. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  133. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  134. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  135. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  136. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  137. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  138. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  139. data/generated/google/apis/youtube_v3.rb +1 -1
  140. data/generated/google/apis/youtube_v3/service.rb +2 -2
  141. data/lib/google/apis/version.rb +1 -1
  142. metadata +3 -15
  143. data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
  144. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  145. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  146. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  147. data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
  148. data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
  149. data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
  150. data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
  151. data/generated/google/apis/appsactivity_v1.rb +0 -34
  152. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  153. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  154. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -1,34 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/apigateway_v1alpha2/service.rb'
16
- require 'google/apis/apigateway_v1alpha2/classes.rb'
17
- require 'google/apis/apigateway_v1alpha2/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # API Gateway API
22
- #
23
- #
24
- #
25
- # @see https://cloud.google.com/api-gateway/docs
26
- module ApigatewayV1alpha2
27
- VERSION = 'V1alpha2'
28
- REVISION = '20200915'
29
-
30
- # View and manage your data across Google Cloud Platform services
31
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
- end
33
- end
34
- end
@@ -1,633 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module ApigatewayV1alpha2
24
-
25
- # Specifies the audit configuration for a service. The configuration determines
26
- # which permission types are logged, and what identities, if any, are exempted
27
- # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
- # are AuditConfigs for both `allServices` and a specific service, the union of
29
- # the two AuditConfigs is used for that service: the log_types specified in each
30
- # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
- # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
- # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
- # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
- # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
- # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
- # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
- # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
- # DATA_WRITE logging.
40
- class ApigatewayAuditConfig
41
- include Google::Apis::Core::Hashable
42
-
43
- # The configuration for logging of each type of permission.
44
- # Corresponds to the JSON property `auditLogConfigs`
45
- # @return [Array<Google::Apis::ApigatewayV1alpha2::ApigatewayAuditLogConfig>]
46
- attr_accessor :audit_log_configs
47
-
48
- # Specifies a service that will be enabled for audit logging. For example, `
49
- # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
- # value that covers all services.
51
- # Corresponds to the JSON property `service`
52
- # @return [String]
53
- attr_accessor :service
54
-
55
- def initialize(**args)
56
- update!(**args)
57
- end
58
-
59
- # Update properties of this object
60
- def update!(**args)
61
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
- @service = args[:service] if args.key?(:service)
63
- end
64
- end
65
-
66
- # Provides the configuration for logging a type of permissions. Example: ` "
67
- # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
- # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
- # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
- # DATA_READ logging.
71
- class ApigatewayAuditLogConfig
72
- include Google::Apis::Core::Hashable
73
-
74
- # Specifies the identities that do not cause logging for this type of permission.
75
- # Follows the same format of Binding.members.
76
- # Corresponds to the JSON property `exemptedMembers`
77
- # @return [Array<String>]
78
- attr_accessor :exempted_members
79
-
80
- # The log type that this config enables.
81
- # Corresponds to the JSON property `logType`
82
- # @return [String]
83
- attr_accessor :log_type
84
-
85
- def initialize(**args)
86
- update!(**args)
87
- end
88
-
89
- # Update properties of this object
90
- def update!(**args)
91
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
- @log_type = args[:log_type] if args.key?(:log_type)
93
- end
94
- end
95
-
96
- # Associates `members` with a `role`.
97
- class ApigatewayBinding
98
- include Google::Apis::Core::Hashable
99
-
100
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
- # CEL is a C-like expression language. The syntax and semantics of CEL are
102
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
- # "Summary size limit" description: "Determines if a summary is less than 100
104
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
- # Requestor is owner" description: "Determines if requestor is the document
106
- # owner" expression: "document.owner == request.auth.claims.email" Example (
107
- # Logic): title: "Public documents" description: "Determine whether the document
108
- # should be publicly visible" expression: "document.type != 'private' &&
109
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
- # string" description: "Create a notification string with a timestamp."
111
- # expression: "'New message received at ' + string(document.create_time)" The
112
- # exact variables and functions that may be referenced within an expression are
113
- # determined by the service that evaluates it. See the service documentation for
114
- # additional information.
115
- # Corresponds to the JSON property `condition`
116
- # @return [Google::Apis::ApigatewayV1alpha2::ApigatewayExpr]
117
- attr_accessor :condition
118
-
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
120
- # members` can have the following values: * `allUsers`: A special identifier
121
- # that represents anyone who is on the internet; with or without a Google
122
- # account. * `allAuthenticatedUsers`: A special identifier that represents
123
- # anyone who is authenticated with a Google account or a service account. * `
124
- # user:`emailid``: An email address that represents a specific Google account.
125
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
- # address that represents a service account. For example, `my-other-app@appspot.
127
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
- # `uniqueid``: An email address (plus unique identifier) representing a user
130
- # that has been recently deleted. For example, `alice@example.com?uid=
131
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
- # identifier) representing a service account that has been recently deleted. For
135
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
- # If the service account is undeleted, this value reverts to `serviceAccount:`
137
- # emailid`` and the undeleted service account retains the role in the binding. *
138
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
139
- # identifier) representing a Google group that has been recently deleted. For
140
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
141
- # recovered, this value reverts to `group:`emailid`` and the recovered group
142
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
- # primary) that represents all the users of that domain. For example, `google.
144
- # com` or `example.com`.
145
- # Corresponds to the JSON property `members`
146
- # @return [Array<String>]
147
- attr_accessor :members
148
-
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
151
- # Corresponds to the JSON property `role`
152
- # @return [String]
153
- attr_accessor :role
154
-
155
- def initialize(**args)
156
- update!(**args)
157
- end
158
-
159
- # Update properties of this object
160
- def update!(**args)
161
- @condition = args[:condition] if args.key?(:condition)
162
- @members = args[:members] if args.key?(:members)
163
- @role = args[:role] if args.key?(:role)
164
- end
165
- end
166
-
167
- # The request message for Operations.CancelOperation.
168
- class ApigatewayCancelOperationRequest
169
- include Google::Apis::Core::Hashable
170
-
171
- def initialize(**args)
172
- update!(**args)
173
- end
174
-
175
- # Update properties of this object
176
- def update!(**args)
177
- end
178
- end
179
-
180
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
181
- # CEL is a C-like expression language. The syntax and semantics of CEL are
182
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
183
- # "Summary size limit" description: "Determines if a summary is less than 100
184
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
185
- # Requestor is owner" description: "Determines if requestor is the document
186
- # owner" expression: "document.owner == request.auth.claims.email" Example (
187
- # Logic): title: "Public documents" description: "Determine whether the document
188
- # should be publicly visible" expression: "document.type != 'private' &&
189
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
190
- # string" description: "Create a notification string with a timestamp."
191
- # expression: "'New message received at ' + string(document.create_time)" The
192
- # exact variables and functions that may be referenced within an expression are
193
- # determined by the service that evaluates it. See the service documentation for
194
- # additional information.
195
- class ApigatewayExpr
196
- include Google::Apis::Core::Hashable
197
-
198
- # Optional. Description of the expression. This is a longer text which describes
199
- # the expression, e.g. when hovered over it in a UI.
200
- # Corresponds to the JSON property `description`
201
- # @return [String]
202
- attr_accessor :description
203
-
204
- # Textual representation of an expression in Common Expression Language syntax.
205
- # Corresponds to the JSON property `expression`
206
- # @return [String]
207
- attr_accessor :expression
208
-
209
- # Optional. String indicating the location of the expression for error reporting,
210
- # e.g. a file name and a position in the file.
211
- # Corresponds to the JSON property `location`
212
- # @return [String]
213
- attr_accessor :location
214
-
215
- # Optional. Title for the expression, i.e. a short string describing its purpose.
216
- # This can be used e.g. in UIs which allow to enter the expression.
217
- # Corresponds to the JSON property `title`
218
- # @return [String]
219
- attr_accessor :title
220
-
221
- def initialize(**args)
222
- update!(**args)
223
- end
224
-
225
- # Update properties of this object
226
- def update!(**args)
227
- @description = args[:description] if args.key?(:description)
228
- @expression = args[:expression] if args.key?(:expression)
229
- @location = args[:location] if args.key?(:location)
230
- @title = args[:title] if args.key?(:title)
231
- end
232
- end
233
-
234
- # The response message for Locations.ListLocations.
235
- class ApigatewayListLocationsResponse
236
- include Google::Apis::Core::Hashable
237
-
238
- # A list of locations that matches the specified filter in the request.
239
- # Corresponds to the JSON property `locations`
240
- # @return [Array<Google::Apis::ApigatewayV1alpha2::ApigatewayLocation>]
241
- attr_accessor :locations
242
-
243
- # The standard List next-page token.
244
- # Corresponds to the JSON property `nextPageToken`
245
- # @return [String]
246
- attr_accessor :next_page_token
247
-
248
- def initialize(**args)
249
- update!(**args)
250
- end
251
-
252
- # Update properties of this object
253
- def update!(**args)
254
- @locations = args[:locations] if args.key?(:locations)
255
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
256
- end
257
- end
258
-
259
- # The response message for Operations.ListOperations.
260
- class ApigatewayListOperationsResponse
261
- include Google::Apis::Core::Hashable
262
-
263
- # The standard List next-page token.
264
- # Corresponds to the JSON property `nextPageToken`
265
- # @return [String]
266
- attr_accessor :next_page_token
267
-
268
- # A list of operations that matches the specified filter in the request.
269
- # Corresponds to the JSON property `operations`
270
- # @return [Array<Google::Apis::ApigatewayV1alpha2::ApigatewayOperation>]
271
- attr_accessor :operations
272
-
273
- def initialize(**args)
274
- update!(**args)
275
- end
276
-
277
- # Update properties of this object
278
- def update!(**args)
279
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
280
- @operations = args[:operations] if args.key?(:operations)
281
- end
282
- end
283
-
284
- # A resource that represents Google Cloud Platform location.
285
- class ApigatewayLocation
286
- include Google::Apis::Core::Hashable
287
-
288
- # The friendly name for this location, typically a nearby city name. For example,
289
- # "Tokyo".
290
- # Corresponds to the JSON property `displayName`
291
- # @return [String]
292
- attr_accessor :display_name
293
-
294
- # Cross-service attributes for the location. For example `"cloud.googleapis.com/
295
- # region": "us-east1"`
296
- # Corresponds to the JSON property `labels`
297
- # @return [Hash<String,String>]
298
- attr_accessor :labels
299
-
300
- # The canonical id for this location. For example: `"us-east1"`.
301
- # Corresponds to the JSON property `locationId`
302
- # @return [String]
303
- attr_accessor :location_id
304
-
305
- # Service-specific metadata. For example the available capacity at the given
306
- # location.
307
- # Corresponds to the JSON property `metadata`
308
- # @return [Hash<String,Object>]
309
- attr_accessor :metadata
310
-
311
- # Resource name for the location, which may vary between implementations. For
312
- # example: `"projects/example-project/locations/us-east1"`
313
- # Corresponds to the JSON property `name`
314
- # @return [String]
315
- attr_accessor :name
316
-
317
- def initialize(**args)
318
- update!(**args)
319
- end
320
-
321
- # Update properties of this object
322
- def update!(**args)
323
- @display_name = args[:display_name] if args.key?(:display_name)
324
- @labels = args[:labels] if args.key?(:labels)
325
- @location_id = args[:location_id] if args.key?(:location_id)
326
- @metadata = args[:metadata] if args.key?(:metadata)
327
- @name = args[:name] if args.key?(:name)
328
- end
329
- end
330
-
331
- # This resource represents a long-running operation that is the result of a
332
- # network API call.
333
- class ApigatewayOperation
334
- include Google::Apis::Core::Hashable
335
-
336
- # If the value is `false`, it means the operation is still in progress. If `true`
337
- # , the operation is completed, and either `error` or `response` is available.
338
- # Corresponds to the JSON property `done`
339
- # @return [Boolean]
340
- attr_accessor :done
341
- alias_method :done?, :done
342
-
343
- # The `Status` type defines a logical error model that is suitable for different
344
- # programming environments, including REST APIs and RPC APIs. It is used by [
345
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
346
- # data: error code, error message, and error details. You can find out more
347
- # about this error model and how to work with it in the [API Design Guide](https:
348
- # //cloud.google.com/apis/design/errors).
349
- # Corresponds to the JSON property `error`
350
- # @return [Google::Apis::ApigatewayV1alpha2::ApigatewayStatus]
351
- attr_accessor :error
352
-
353
- # Service-specific metadata associated with the operation. It typically contains
354
- # progress information and common metadata such as create time. Some services
355
- # might not provide such metadata. Any method that returns a long-running
356
- # operation should document the metadata type, if any.
357
- # Corresponds to the JSON property `metadata`
358
- # @return [Hash<String,Object>]
359
- attr_accessor :metadata
360
-
361
- # The server-assigned name, which is only unique within the same service that
362
- # originally returns it. If you use the default HTTP mapping, the `name` should
363
- # be a resource name ending with `operations/`unique_id``.
364
- # Corresponds to the JSON property `name`
365
- # @return [String]
366
- attr_accessor :name
367
-
368
- # The normal response of the operation in case of success. If the original
369
- # method returns no data on success, such as `Delete`, the response is `google.
370
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
371
- # the response should be the resource. For other methods, the response should
372
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
373
- # example, if the original method name is `TakeSnapshot()`, the inferred
374
- # response type is `TakeSnapshotResponse`.
375
- # Corresponds to the JSON property `response`
376
- # @return [Hash<String,Object>]
377
- attr_accessor :response
378
-
379
- def initialize(**args)
380
- update!(**args)
381
- end
382
-
383
- # Update properties of this object
384
- def update!(**args)
385
- @done = args[:done] if args.key?(:done)
386
- @error = args[:error] if args.key?(:error)
387
- @metadata = args[:metadata] if args.key?(:metadata)
388
- @name = args[:name] if args.key?(:name)
389
- @response = args[:response] if args.key?(:response)
390
- end
391
- end
392
-
393
- # An Identity and Access Management (IAM) policy, which specifies access
394
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
395
- # A `binding` binds one or more `members` to a single `role`. Members can be
396
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
397
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
398
- # role or a user-created custom role. For some types of Google Cloud resources,
399
- # a `binding` can also specify a `condition`, which is a logical expression that
400
- # allows access to a resource only if the expression evaluates to `true`. A
401
- # condition can add constraints based on attributes of the request, the resource,
402
- # or both. To learn which resources support conditions in their IAM policies,
403
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
404
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
405
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
406
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
407
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
408
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
409
- # title": "expirable access", "description": "Does not grant access after Sep
410
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
411
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
412
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
413
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
414
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
415
- # roles/resourcemanager.organizationViewer condition: title: expirable access
416
- # description: Does not grant access after Sep 2020 expression: request.time <
417
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
418
- # description of IAM and its features, see the [IAM documentation](https://cloud.
419
- # google.com/iam/docs/).
420
- class ApigatewayPolicy
421
- include Google::Apis::Core::Hashable
422
-
423
- # Specifies cloud audit logging configuration for this policy.
424
- # Corresponds to the JSON property `auditConfigs`
425
- # @return [Array<Google::Apis::ApigatewayV1alpha2::ApigatewayAuditConfig>]
426
- attr_accessor :audit_configs
427
-
428
- # Associates a list of `members` to a `role`. Optionally, may specify a `
429
- # condition` that determines how and when the `bindings` are applied. Each of
430
- # the `bindings` must contain at least one member.
431
- # Corresponds to the JSON property `bindings`
432
- # @return [Array<Google::Apis::ApigatewayV1alpha2::ApigatewayBinding>]
433
- attr_accessor :bindings
434
-
435
- # `etag` is used for optimistic concurrency control as a way to help prevent
436
- # simultaneous updates of a policy from overwriting each other. It is strongly
437
- # suggested that systems make use of the `etag` in the read-modify-write cycle
438
- # to perform policy updates in order to avoid race conditions: An `etag` is
439
- # returned in the response to `getIamPolicy`, and systems are expected to put
440
- # that etag in the request to `setIamPolicy` to ensure that their change will be
441
- # applied to the same version of the policy. **Important:** If you use IAM
442
- # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
443
- # If you omit this field, then IAM allows you to overwrite a version `3` policy
444
- # with a version `1` policy, and all of the conditions in the version `3` policy
445
- # are lost.
446
- # Corresponds to the JSON property `etag`
447
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
448
- # @return [String]
449
- attr_accessor :etag
450
-
451
- # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
452
- # Requests that specify an invalid value are rejected. Any operation that
453
- # affects conditional role bindings must specify version `3`. This requirement
454
- # applies to the following operations: * Getting a policy that includes a
455
- # conditional role binding * Adding a conditional role binding to a policy *
456
- # Changing a conditional role binding in a policy * Removing any role binding,
457
- # with or without a condition, from a policy that includes conditions **
458
- # Important:** If you use IAM Conditions, you must include the `etag` field
459
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
460
- # to overwrite a version `3` policy with a version `1` policy, and all of the
461
- # conditions in the version `3` policy are lost. If a policy does not include
462
- # any conditions, operations on that policy may specify any valid version or
463
- # leave the field unset. To learn which resources support conditions in their
464
- # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
465
- # conditions/resource-policies).
466
- # Corresponds to the JSON property `version`
467
- # @return [Fixnum]
468
- attr_accessor :version
469
-
470
- def initialize(**args)
471
- update!(**args)
472
- end
473
-
474
- # Update properties of this object
475
- def update!(**args)
476
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
477
- @bindings = args[:bindings] if args.key?(:bindings)
478
- @etag = args[:etag] if args.key?(:etag)
479
- @version = args[:version] if args.key?(:version)
480
- end
481
- end
482
-
483
- # Request message for `SetIamPolicy` method.
484
- class ApigatewaySetIamPolicyRequest
485
- include Google::Apis::Core::Hashable
486
-
487
- # An Identity and Access Management (IAM) policy, which specifies access
488
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
489
- # A `binding` binds one or more `members` to a single `role`. Members can be
490
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
491
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
492
- # role or a user-created custom role. For some types of Google Cloud resources,
493
- # a `binding` can also specify a `condition`, which is a logical expression that
494
- # allows access to a resource only if the expression evaluates to `true`. A
495
- # condition can add constraints based on attributes of the request, the resource,
496
- # or both. To learn which resources support conditions in their IAM policies,
497
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
498
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
499
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
500
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
501
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
502
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
503
- # title": "expirable access", "description": "Does not grant access after Sep
504
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
505
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
506
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
507
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
508
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
509
- # roles/resourcemanager.organizationViewer condition: title: expirable access
510
- # description: Does not grant access after Sep 2020 expression: request.time <
511
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
512
- # description of IAM and its features, see the [IAM documentation](https://cloud.
513
- # google.com/iam/docs/).
514
- # Corresponds to the JSON property `policy`
515
- # @return [Google::Apis::ApigatewayV1alpha2::ApigatewayPolicy]
516
- attr_accessor :policy
517
-
518
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
519
- # the fields in the mask will be modified. If no mask is provided, the following
520
- # default mask is used: `paths: "bindings, etag"`
521
- # Corresponds to the JSON property `updateMask`
522
- # @return [String]
523
- attr_accessor :update_mask
524
-
525
- def initialize(**args)
526
- update!(**args)
527
- end
528
-
529
- # Update properties of this object
530
- def update!(**args)
531
- @policy = args[:policy] if args.key?(:policy)
532
- @update_mask = args[:update_mask] if args.key?(:update_mask)
533
- end
534
- end
535
-
536
- # The `Status` type defines a logical error model that is suitable for different
537
- # programming environments, including REST APIs and RPC APIs. It is used by [
538
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
539
- # data: error code, error message, and error details. You can find out more
540
- # about this error model and how to work with it in the [API Design Guide](https:
541
- # //cloud.google.com/apis/design/errors).
542
- class ApigatewayStatus
543
- include Google::Apis::Core::Hashable
544
-
545
- # The status code, which should be an enum value of google.rpc.Code.
546
- # Corresponds to the JSON property `code`
547
- # @return [Fixnum]
548
- attr_accessor :code
549
-
550
- # A list of messages that carry the error details. There is a common set of
551
- # message types for APIs to use.
552
- # Corresponds to the JSON property `details`
553
- # @return [Array<Hash<String,Object>>]
554
- attr_accessor :details
555
-
556
- # A developer-facing error message, which should be in English. Any user-facing
557
- # error message should be localized and sent in the google.rpc.Status.details
558
- # field, or localized by the client.
559
- # Corresponds to the JSON property `message`
560
- # @return [String]
561
- attr_accessor :message
562
-
563
- def initialize(**args)
564
- update!(**args)
565
- end
566
-
567
- # Update properties of this object
568
- def update!(**args)
569
- @code = args[:code] if args.key?(:code)
570
- @details = args[:details] if args.key?(:details)
571
- @message = args[:message] if args.key?(:message)
572
- end
573
- end
574
-
575
- # Request message for `TestIamPermissions` method.
576
- class ApigatewayTestIamPermissionsRequest
577
- include Google::Apis::Core::Hashable
578
-
579
- # The set of permissions to check for the `resource`. Permissions with wildcards
580
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
581
- # Overview](https://cloud.google.com/iam/docs/overview#permissions).
582
- # Corresponds to the JSON property `permissions`
583
- # @return [Array<String>]
584
- attr_accessor :permissions
585
-
586
- def initialize(**args)
587
- update!(**args)
588
- end
589
-
590
- # Update properties of this object
591
- def update!(**args)
592
- @permissions = args[:permissions] if args.key?(:permissions)
593
- end
594
- end
595
-
596
- # Response message for `TestIamPermissions` method.
597
- class ApigatewayTestIamPermissionsResponse
598
- include Google::Apis::Core::Hashable
599
-
600
- # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
601
- # Corresponds to the JSON property `permissions`
602
- # @return [Array<String>]
603
- attr_accessor :permissions
604
-
605
- def initialize(**args)
606
- update!(**args)
607
- end
608
-
609
- # Update properties of this object
610
- def update!(**args)
611
- @permissions = args[:permissions] if args.key?(:permissions)
612
- end
613
- end
614
-
615
- # A generic empty message that you can re-use to avoid defining duplicated empty
616
- # messages in your APIs. A typical example is to use it as the request or the
617
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
618
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
619
- # `Empty` is empty JSON object ````.
620
- class Empty
621
- include Google::Apis::Core::Hashable
622
-
623
- def initialize(**args)
624
- update!(**args)
625
- end
626
-
627
- # Update properties of this object
628
- def update!(**args)
629
- end
630
- end
631
- end
632
- end
633
- end