google-api-client 0.42.1 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +6 -12
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  8. data/generated/google/apis/apigee_v1/service.rb +18 -5
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/service.rb +6 -3
  11. data/generated/google/apis/appengine_v1beta.rb +1 -1
  12. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  16. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  17. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  18. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  19. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  20. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  21. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  22. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  23. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +140 -159
  26. data/generated/google/apis/books_v1/service.rb +47 -49
  27. data/generated/google/apis/chat_v1.rb +1 -1
  28. data/generated/google/apis/chat_v1/classes.rb +19 -0
  29. data/generated/google/apis/chat_v1/representations.rb +13 -0
  30. data/generated/google/apis/chat_v1/service.rb +39 -0
  31. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  32. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  33. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  34. data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
  35. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  36. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  37. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  41. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  42. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  43. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  46. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  47. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  49. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  50. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  52. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  53. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  55. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  56. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  57. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  58. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  59. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  61. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  62. data/generated/google/apis/cloudshell_v1.rb +1 -1
  63. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  64. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  66. data/generated/google/apis/content_v2.rb +1 -1
  67. data/generated/google/apis/content_v2/classes.rb +6 -0
  68. data/generated/google/apis/content_v2/representations.rb +1 -0
  69. data/generated/google/apis/content_v2_1.rb +1 -1
  70. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  71. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  72. data/generated/google/apis/customsearch_v1.rb +1 -1
  73. data/generated/google/apis/customsearch_v1/classes.rb +14 -10
  74. data/generated/google/apis/customsearch_v1/service.rb +6 -6
  75. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  76. data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
  77. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  78. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  79. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  83. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
  86. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  87. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  88. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  89. data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
  90. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  91. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
  92. data/generated/google/apis/displayvideo_v1.rb +7 -1
  93. data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
  94. data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
  95. data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  98. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  99. data/generated/google/apis/fcm_v1.rb +1 -1
  100. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  101. data/generated/google/apis/fcm_v1/service.rb +5 -6
  102. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  103. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  104. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  105. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  106. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  111. data/generated/google/apis/games_v1.rb +1 -1
  112. data/generated/google/apis/games_v1/classes.rb +1 -1
  113. data/generated/google/apis/games_v1/service.rb +2 -2
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/classes.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +2 -1
  117. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  118. data/generated/google/apis/monitoring_v1.rb +1 -1
  119. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  120. data/generated/google/apis/monitoring_v3.rb +1 -1
  121. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  122. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  123. data/generated/google/apis/osconfig_v1.rb +1 -1
  124. data/generated/google/apis/osconfig_v1/classes.rb +75 -0
  125. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  126. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  127. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  128. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  129. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  130. data/generated/google/apis/people_v1.rb +1 -1
  131. data/generated/google/apis/people_v1/classes.rb +243 -397
  132. data/generated/google/apis/people_v1/service.rb +156 -384
  133. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
  135. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  136. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
  137. data/generated/google/apis/pubsub_v1.rb +1 -1
  138. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  139. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  140. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  141. data/generated/google/apis/redis_v1.rb +1 -1
  142. data/generated/google/apis/redis_v1/classes.rb +397 -0
  143. data/generated/google/apis/redis_v1/representations.rb +139 -0
  144. data/generated/google/apis/redis_v1beta1.rb +1 -1
  145. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  146. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  147. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  148. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  149. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  150. data/generated/google/apis/run_v1.rb +1 -1
  151. data/generated/google/apis/run_v1/classes.rb +835 -1248
  152. data/generated/google/apis/run_v1/service.rb +195 -245
  153. data/generated/google/apis/run_v1alpha1.rb +1 -1
  154. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  155. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  156. data/generated/google/apis/run_v1beta1.rb +1 -1
  157. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  158. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  159. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  160. data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
  161. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  162. data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
  163. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  164. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
  165. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  166. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
  168. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  169. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  170. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  171. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  172. data/generated/google/apis/serviceusage_v1.rb +1 -1
  173. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  174. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  175. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  176. data/generated/google/apis/spanner_v1.rb +1 -1
  177. data/generated/google/apis/sql_v1beta4.rb +1 -1
  178. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  179. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  180. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  181. data/generated/google/apis/testing_v1.rb +1 -1
  182. data/generated/google/apis/testing_v1/classes.rb +63 -0
  183. data/generated/google/apis/testing_v1/representations.rb +32 -0
  184. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  185. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  186. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  187. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  188. data/generated/google/apis/webfonts_v1.rb +1 -1
  189. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  190. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  191. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  192. data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
  193. data/generated/google/apis/youtube_v3.rb +1 -1
  194. data/generated/google/apis/youtube_v3/classes.rb +6 -0
  195. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  196. data/generated/google/apis/youtube_v3/service.rb +32 -32
  197. data/lib/google/apis/version.rb +1 -1
  198. metadata +7 -7
  199. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  200. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
  201. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -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 = '20200627'
28
+ REVISION = '20200713'
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'
@@ -763,6 +763,16 @@ module Google
763
763
  # @return [String]
764
764
  attr_accessor :message_id
765
765
 
766
+ # If non-empty, identifies related messages for which publish order should be
767
+ # respected. If a `Subscription` has `enable_message_ordering` set to `true`,
768
+ # messages published with the same non-empty `ordering_key` value will be
769
+ # delivered to subscribers in the order in which they are received by the
770
+ # Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest`
771
+ # must specify the same `ordering_key` value.
772
+ # Corresponds to the JSON property `orderingKey`
773
+ # @return [String]
774
+ attr_accessor :ordering_key
775
+
766
776
  # The time at which the message was published, populated by the server when
767
777
  # it receives the `Publish` call. It must not be populated by the
768
778
  # publisher in a `Publish` call.
@@ -779,6 +789,7 @@ module Google
779
789
  @attributes = args[:attributes] if args.key?(:attributes)
780
790
  @data = args[:data] if args.key?(:data)
781
791
  @message_id = args[:message_id] if args.key?(:message_id)
792
+ @ordering_key = args[:ordering_key] if args.key?(:ordering_key)
782
793
  @publish_time = args[:publish_time] if args.key?(:publish_time)
783
794
  end
784
795
  end
@@ -1185,6 +1196,15 @@ module Google
1185
1196
  # @return [Google::Apis::PubsubV1::DeadLetterPolicy]
1186
1197
  attr_accessor :dead_letter_policy
1187
1198
 
1199
+ # If true, messages published with the same `ordering_key` in `PubsubMessage`
1200
+ # will be delivered to the subscribers in the order in which they
1201
+ # are received by the Pub/Sub system. Otherwise, they may be delivered in
1202
+ # any order.
1203
+ # Corresponds to the JSON property `enableMessageOrdering`
1204
+ # @return [Boolean]
1205
+ attr_accessor :enable_message_ordering
1206
+ alias_method :enable_message_ordering?, :enable_message_ordering
1207
+
1188
1208
  # A policy that specifies the conditions for resource expiration (i.e.,
1189
1209
  # automatic resource deletion).
1190
1210
  # Corresponds to the JSON property `expirationPolicy`
@@ -1270,6 +1290,7 @@ module Google
1270
1290
  def update!(**args)
1271
1291
  @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
1272
1292
  @dead_letter_policy = args[:dead_letter_policy] if args.key?(:dead_letter_policy)
1293
+ @enable_message_ordering = args[:enable_message_ordering] if args.key?(:enable_message_ordering)
1273
1294
  @expiration_policy = args[:expiration_policy] if args.key?(:expiration_policy)
1274
1295
  @filter = args[:filter] if args.key?(:filter)
1275
1296
  @labels = args[:labels] if args.key?(:labels)
@@ -411,6 +411,7 @@ module Google
411
411
  hash :attributes, as: 'attributes'
412
412
  property :data, :base64 => true, as: 'data'
413
413
  property :message_id, as: 'messageId'
414
+ property :ordering_key, as: 'orderingKey'
414
415
  property :publish_time, as: 'publishTime'
415
416
  end
416
417
  end
@@ -497,6 +498,7 @@ module Google
497
498
  property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
498
499
  property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
499
500
 
501
+ property :enable_message_ordering, as: 'enableMessageOrdering'
500
502
  property :expiration_policy, as: 'expirationPolicy', class: Google::Apis::PubsubV1::ExpirationPolicy, decorator: Google::Apis::PubsubV1::ExpirationPolicy::Representation
501
503
 
502
504
  property :filter, as: 'filter'
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
29
29
  module RealtimebiddingV1
30
30
  VERSION = 'V1'
31
- REVISION = '20200713'
31
+ REVISION = '20200720'
32
32
 
33
33
  # Manage your Ad Exchange buyer account configuration
34
34
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200706'
28
+ REVISION = '20200722'
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'
@@ -214,6 +214,403 @@ module Google
214
214
  end
215
215
  end
216
216
 
217
+ #
218
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # consumer_defined_name is the name that is set by the consumer. On the other
222
+ # hand Name field represents system-assigned id of an instance so consumers
223
+ # are not necessarily aware of it.
224
+ # consumer_defined_name is used for notification/UI purposes for consumer to
225
+ # recognize their instances.
226
+ # Corresponds to the JSON property `consumerDefinedName`
227
+ # @return [String]
228
+ attr_accessor :consumer_defined_name
229
+
230
+ # Output only. Timestamp when the resource was created.
231
+ # Corresponds to the JSON property `createTime`
232
+ # @return [String]
233
+ attr_accessor :create_time
234
+
235
+ # Optional. Resource labels to represent user provided metadata. Each label
236
+ # is a key-value pair, where both the key and the value are arbitrary strings
237
+ # provided by the user.
238
+ # Corresponds to the JSON property `labels`
239
+ # @return [Hash<String,String>]
240
+ attr_accessor :labels
241
+
242
+ # The MaintenancePolicies that have been attached to the instance.
243
+ # The key must be of the type name of the oneof policy name defined in
244
+ # MaintenancePolicy, and the referenced policy must define the same policy
245
+ # type. For complete details of MaintenancePolicy, please refer to
246
+ # go/cloud-saas-mw-ug.
247
+ # Corresponds to the JSON property `maintenancePolicyNames`
248
+ # @return [Hash<String,String>]
249
+ attr_accessor :maintenance_policy_names
250
+
251
+ # The MaintenanceSchedule contains the scheduling information of published
252
+ # maintenance schedule.
253
+ # Corresponds to the JSON property `maintenanceSchedules`
254
+ # @return [Hash<String,Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
255
+ attr_accessor :maintenance_schedules
256
+
257
+ # Maintenance settings associated with instance. Allows service producers and
258
+ # end users to assign settings that controls maintenance on this instance.
259
+ # Corresponds to the JSON property `maintenanceSettings`
260
+ # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
261
+ attr_accessor :maintenance_settings
262
+
263
+ # Unique name of the resource. It uses the form:
264
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
265
+ # Corresponds to the JSON property `name`
266
+ # @return [String]
267
+ attr_accessor :name
268
+
269
+ # Output only. Custom string attributes used primarily to expose
270
+ # producer-specific information in monitoring dashboards.
271
+ # See go/get-instance-metadata.
272
+ # Corresponds to the JSON property `producerMetadata`
273
+ # @return [Hash<String,String>]
274
+ attr_accessor :producer_metadata
275
+
276
+ # Output only. The list of data plane resources provisioned for this
277
+ # instance, e.g. compute VMs. See go/get-instance-metadata.
278
+ # Corresponds to the JSON property `provisionedResources`
279
+ # @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
280
+ attr_accessor :provisioned_resources
281
+
282
+ # Link to the SLM instance template. Only populated when updating SLM
283
+ # instances via SSA's Actuation service adaptor.
284
+ # Service producers with custom control plane (e.g. Cloud SQL) doesn't
285
+ # need to populate this field. Instead they should use software_versions.
286
+ # Corresponds to the JSON property `slmInstanceTemplate`
287
+ # @return [String]
288
+ attr_accessor :slm_instance_template
289
+
290
+ # SloMetadata contains resources required for proper SLO classification of the
291
+ # instance.
292
+ # Corresponds to the JSON property `sloMetadata`
293
+ # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
294
+ attr_accessor :slo_metadata
295
+
296
+ # Software versions that are used to deploy this instance. This can be
297
+ # mutated by rollout services.
298
+ # Corresponds to the JSON property `softwareVersions`
299
+ # @return [Hash<String,String>]
300
+ attr_accessor :software_versions
301
+
302
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
303
+ # created or ready to use).
304
+ # Corresponds to the JSON property `state`
305
+ # @return [String]
306
+ attr_accessor :state
307
+
308
+ # Output only. ID of the associated GCP tenant project.
309
+ # See go/get-instance-metadata.
310
+ # Corresponds to the JSON property `tenantProjectId`
311
+ # @return [String]
312
+ attr_accessor :tenant_project_id
313
+
314
+ # Output only. Timestamp when the resource was last modified.
315
+ # Corresponds to the JSON property `updateTime`
316
+ # @return [String]
317
+ attr_accessor :update_time
318
+
319
+ def initialize(**args)
320
+ update!(**args)
321
+ end
322
+
323
+ # Update properties of this object
324
+ def update!(**args)
325
+ @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
326
+ @create_time = args[:create_time] if args.key?(:create_time)
327
+ @labels = args[:labels] if args.key?(:labels)
328
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
329
+ @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
330
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
331
+ @name = args[:name] if args.key?(:name)
332
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
333
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
334
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
335
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
336
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
337
+ @state = args[:state] if args.key?(:state)
338
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
339
+ @update_time = args[:update_time] if args.key?(:update_time)
340
+ end
341
+ end
342
+
343
+ # Maintenance schedule which is exposed to customer and potentially end user,
344
+ # indicating published upcoming future maintenance schedule
345
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # Can this scheduled update be rescheduled?
349
+ # By default, it's true and API needs to do explicitly check whether it's
350
+ # set, if it's set as false explicitly, it's false
351
+ # Corresponds to the JSON property `canReschedule`
352
+ # @return [Boolean]
353
+ attr_accessor :can_reschedule
354
+ alias_method :can_reschedule?, :can_reschedule
355
+
356
+ # The scheduled end time for the maintenance.
357
+ # Corresponds to the JSON property `endTime`
358
+ # @return [String]
359
+ attr_accessor :end_time
360
+
361
+ # The rollout management policy this maintenance schedule is associated
362
+ # with. When doing reschedule update request, the reschedule should be
363
+ # against this given policy.
364
+ # Corresponds to the JSON property `rolloutManagementPolicy`
365
+ # @return [String]
366
+ attr_accessor :rollout_management_policy
367
+
368
+ # The scheduled start time for the maintenance.
369
+ # Corresponds to the JSON property `startTime`
370
+ # @return [String]
371
+ attr_accessor :start_time
372
+
373
+ def initialize(**args)
374
+ update!(**args)
375
+ end
376
+
377
+ # Update properties of this object
378
+ def update!(**args)
379
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
380
+ @end_time = args[:end_time] if args.key?(:end_time)
381
+ @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
382
+ @start_time = args[:start_time] if args.key?(:start_time)
383
+ end
384
+ end
385
+
386
+ # Maintenance settings associated with instance. Allows service producers and
387
+ # end users to assign settings that controls maintenance on this instance.
388
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
389
+ include Google::Apis::Core::Hashable
390
+
391
+ # Optional. Exclude instance from maintenance. When true, rollout service will
392
+ # not
393
+ # attempt maintenance on the instance. Rollout service will include the
394
+ # instance in reported rollout progress as not attempted.
395
+ # Corresponds to the JSON property `exclude`
396
+ # @return [Boolean]
397
+ attr_accessor :exclude
398
+ alias_method :exclude?, :exclude
399
+
400
+ def initialize(**args)
401
+ update!(**args)
402
+ end
403
+
404
+ # Update properties of this object
405
+ def update!(**args)
406
+ @exclude = args[:exclude] if args.key?(:exclude)
407
+ end
408
+ end
409
+
410
+ # Node information for custom per-node SLO implementations.
411
+ # SSA does not support per-node SLO, but producers can populate per-node
412
+ # information in SloMetadata for custom precomputations.
413
+ # SSA Eligibility Exporter will emit per-node metric based on this information.
414
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
415
+ include Google::Apis::Core::Hashable
416
+
417
+ # By default node is eligible if instance is eligible.
418
+ # But individual node might be excluded from SLO by adding entry here.
419
+ # For semantic see SloMetadata.exclusions.
420
+ # If both instance and node level exclusions are present for time period,
421
+ # the node level's reason will be reported by Eligibility Exporter.
422
+ # Corresponds to the JSON property `exclusions`
423
+ # @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
424
+ attr_accessor :exclusions
425
+
426
+ # The location of the node, if different from instance location.
427
+ # Corresponds to the JSON property `location`
428
+ # @return [String]
429
+ attr_accessor :location
430
+
431
+ # The id of the node.
432
+ # This should be equal to SaasInstanceNode.node_id.
433
+ # Corresponds to the JSON property `nodeId`
434
+ # @return [String]
435
+ attr_accessor :node_id
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
444
+ @location = args[:location] if args.key?(:location)
445
+ @node_id = args[:node_id] if args.key?(:node_id)
446
+ end
447
+ end
448
+
449
+ # Describes provisioned dataplane resources.
450
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # Type of the resource. This can be either a GCP resource or a custom one
454
+ # (e.g. another cloud provider's VM). For GCP compute resources use singular
455
+ # form of the names listed in GCP compute API documentation
456
+ # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
457
+ # 'compute-', for example: 'compute-instance', 'compute-disk',
458
+ # 'compute-autoscaler'.
459
+ # Corresponds to the JSON property `resourceType`
460
+ # @return [String]
461
+ attr_accessor :resource_type
462
+
463
+ # URL identifying the resource, e.g.
464
+ # "https://www.googleapis.com/compute/v1/projects/...)".
465
+ # Corresponds to the JSON property `resourceUrl`
466
+ # @return [String]
467
+ attr_accessor :resource_url
468
+
469
+ def initialize(**args)
470
+ update!(**args)
471
+ end
472
+
473
+ # Update properties of this object
474
+ def update!(**args)
475
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
476
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
477
+ end
478
+ end
479
+
480
+ # SloEligibility is a tuple containing eligibility value: true if an instance
481
+ # is eligible for SLO calculation or false if it should be excluded from all
482
+ # SLO-related calculations along with a user-defined reason.
483
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # Whether an instance is eligible or ineligible.
487
+ # Corresponds to the JSON property `eligible`
488
+ # @return [Boolean]
489
+ attr_accessor :eligible
490
+ alias_method :eligible?, :eligible
491
+
492
+ # User-defined reason for the current value of instance eligibility. Usually,
493
+ # this can be directly mapped to the internal state. An empty reason is
494
+ # allowed.
495
+ # Corresponds to the JSON property `reason`
496
+ # @return [String]
497
+ attr_accessor :reason
498
+
499
+ def initialize(**args)
500
+ update!(**args)
501
+ end
502
+
503
+ # Update properties of this object
504
+ def update!(**args)
505
+ @eligible = args[:eligible] if args.key?(:eligible)
506
+ @reason = args[:reason] if args.key?(:reason)
507
+ end
508
+ end
509
+
510
+ # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
511
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # Exclusion duration. No restrictions on the possible values.
515
+ # When an ongoing operation is taking longer than initially expected,
516
+ # an existing entry in the exclusion list can be updated by extending the
517
+ # duration. This is supported by the subsystem exporting eligibility data
518
+ # as long as such extension is committed at least 10 minutes before the
519
+ # original exclusion expiration - otherwise it is possible that there will
520
+ # be "gaps" in the exclusion application in the exported timeseries.
521
+ # Corresponds to the JSON property `duration`
522
+ # @return [String]
523
+ attr_accessor :duration
524
+
525
+ # Human-readable reason for the exclusion.
526
+ # This should be a static string (e.g. "Disruptive update in progress")
527
+ # and should not contain dynamically generated data (e.g. instance name).
528
+ # Can be left empty.
529
+ # Corresponds to the JSON property `reason`
530
+ # @return [String]
531
+ attr_accessor :reason
532
+
533
+ # Name of an SLI that this exclusion applies to. Can be left empty,
534
+ # signaling that the instance should be excluded from all SLIs defined
535
+ # in the service SLO configuration.
536
+ # Corresponds to the JSON property `sliName`
537
+ # @return [String]
538
+ attr_accessor :sli_name
539
+
540
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
541
+ # Corresponds to the JSON property `startTime`
542
+ # @return [String]
543
+ attr_accessor :start_time
544
+
545
+ def initialize(**args)
546
+ update!(**args)
547
+ end
548
+
549
+ # Update properties of this object
550
+ def update!(**args)
551
+ @duration = args[:duration] if args.key?(:duration)
552
+ @reason = args[:reason] if args.key?(:reason)
553
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
554
+ @start_time = args[:start_time] if args.key?(:start_time)
555
+ end
556
+ end
557
+
558
+ # SloMetadata contains resources required for proper SLO classification of the
559
+ # instance.
560
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
561
+ include Google::Apis::Core::Hashable
562
+
563
+ # SloEligibility is a tuple containing eligibility value: true if an instance
564
+ # is eligible for SLO calculation or false if it should be excluded from all
565
+ # SLO-related calculations along with a user-defined reason.
566
+ # Corresponds to the JSON property `eligibility`
567
+ # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
568
+ attr_accessor :eligibility
569
+
570
+ # List of SLO exclusion windows. When multiple entries in the list match
571
+ # (matching the exclusion time-window against current time point)
572
+ # the exclusion reason used in the first matching entry will be published.
573
+ # It is not needed to include expired exclusion in this list, as only the
574
+ # currently applicable exclusions are taken into account by the eligibility
575
+ # exporting subsystem (the historical state of exclusions will be reflected
576
+ # in the historically produced timeseries regardless of the current state).
577
+ # This field can be used to mark the instance as temporary ineligible
578
+ # for the purpose of SLO calculation. For permanent instance SLO exclusion,
579
+ # use of custom instance eligibility is recommended. See 'eligibility' field
580
+ # below.
581
+ # Corresponds to the JSON property `exclusions`
582
+ # @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
583
+ attr_accessor :exclusions
584
+
585
+ # Optional. List of nodes.
586
+ # Some producers need to use per-node metadata to calculate SLO.
587
+ # This field allows such producers to publish per-node SLO meta data,
588
+ # which will be consumed by SSA Eligibility Exporter and published in the
589
+ # form of per node metric to Monarch.
590
+ # Corresponds to the JSON property `nodes`
591
+ # @return [Array<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
592
+ attr_accessor :nodes
593
+
594
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
595
+ # match the tiers specified in the service SLO configuration.
596
+ # Field is mandatory and must not be empty.
597
+ # Corresponds to the JSON property `tier`
598
+ # @return [String]
599
+ attr_accessor :tier
600
+
601
+ def initialize(**args)
602
+ update!(**args)
603
+ end
604
+
605
+ # Update properties of this object
606
+ def update!(**args)
607
+ @eligibility = args[:eligibility] if args.key?(:eligibility)
608
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
609
+ @nodes = args[:nodes] if args.key?(:nodes)
610
+ @tier = args[:tier] if args.key?(:tier)
611
+ end
612
+ end
613
+
217
614
  # Request for Import.
218
615
  class ImportInstanceRequest
219
616
  include Google::Apis::Core::Hashable