google-api-client 0.44.2 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -70,54 +70,6 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
73
|
class ImportInstanceRequest
|
122
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
75
|
|
@@ -246,97 +198,6 @@ module Google
|
|
246
198
|
end
|
247
199
|
end
|
248
200
|
|
249
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
250
|
-
# @private
|
251
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
252
|
-
property :consumer_defined_name, as: 'consumerDefinedName'
|
253
|
-
property :create_time, as: 'createTime'
|
254
|
-
hash :labels, as: 'labels'
|
255
|
-
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
256
|
-
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
257
|
-
|
258
|
-
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
259
|
-
|
260
|
-
property :name, as: 'name'
|
261
|
-
hash :producer_metadata, as: 'producerMetadata'
|
262
|
-
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
263
|
-
|
264
|
-
property :slm_instance_template, as: 'slmInstanceTemplate'
|
265
|
-
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
266
|
-
|
267
|
-
hash :software_versions, as: 'softwareVersions'
|
268
|
-
property :state, as: 'state'
|
269
|
-
property :tenant_project_id, as: 'tenantProjectId'
|
270
|
-
property :update_time, as: 'updateTime'
|
271
|
-
end
|
272
|
-
end
|
273
|
-
|
274
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
275
|
-
# @private
|
276
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
-
property :can_reschedule, as: 'canReschedule'
|
278
|
-
property :end_time, as: 'endTime'
|
279
|
-
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
280
|
-
property :start_time, as: 'startTime'
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
285
|
-
# @private
|
286
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
287
|
-
property :exclude, as: 'exclude'
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
292
|
-
# @private
|
293
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
295
|
-
|
296
|
-
property :location, as: 'location'
|
297
|
-
property :node_id, as: 'nodeId'
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
302
|
-
# @private
|
303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
304
|
-
property :resource_type, as: 'resourceType'
|
305
|
-
property :resource_url, as: 'resourceUrl'
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
310
|
-
# @private
|
311
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
-
property :eligible, as: 'eligible'
|
313
|
-
property :reason, as: 'reason'
|
314
|
-
end
|
315
|
-
end
|
316
|
-
|
317
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
318
|
-
# @private
|
319
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
-
property :duration, as: 'duration'
|
321
|
-
property :reason, as: 'reason'
|
322
|
-
property :sli_name, as: 'sliName'
|
323
|
-
property :start_time, as: 'startTime'
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
328
|
-
# @private
|
329
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
331
|
-
|
332
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
333
|
-
|
334
|
-
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
335
|
-
|
336
|
-
property :tier, as: 'tier'
|
337
|
-
end
|
338
|
-
end
|
339
|
-
|
340
201
|
class ImportInstanceRequest
|
341
202
|
# @private
|
342
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200916'
|
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,392 +214,6 @@ 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 are
|
223
|
-
# not necessarily aware of it. consumer_defined_name is used for notification/UI
|
224
|
-
# purposes for consumer to recognize their instances.
|
225
|
-
# Corresponds to the JSON property `consumerDefinedName`
|
226
|
-
# @return [String]
|
227
|
-
attr_accessor :consumer_defined_name
|
228
|
-
|
229
|
-
# Output only. Timestamp when the resource was created.
|
230
|
-
# Corresponds to the JSON property `createTime`
|
231
|
-
# @return [String]
|
232
|
-
attr_accessor :create_time
|
233
|
-
|
234
|
-
# Optional. Resource labels to represent user provided metadata. Each label is a
|
235
|
-
# key-value pair, where both the key and the value are arbitrary strings
|
236
|
-
# provided by the user.
|
237
|
-
# Corresponds to the JSON property `labels`
|
238
|
-
# @return [Hash<String,String>]
|
239
|
-
attr_accessor :labels
|
240
|
-
|
241
|
-
# The MaintenancePolicies that have been attached to the instance. The key must
|
242
|
-
# be of the type name of the oneof policy name defined in MaintenancePolicy, and
|
243
|
-
# the referenced policy must define the same policy type. For complete details
|
244
|
-
# of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
245
|
-
# Corresponds to the JSON property `maintenancePolicyNames`
|
246
|
-
# @return [Hash<String,String>]
|
247
|
-
attr_accessor :maintenance_policy_names
|
248
|
-
|
249
|
-
# The MaintenanceSchedule contains the scheduling information of published
|
250
|
-
# maintenance schedule.
|
251
|
-
# Corresponds to the JSON property `maintenanceSchedules`
|
252
|
-
# @return [Hash<String,Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
253
|
-
attr_accessor :maintenance_schedules
|
254
|
-
|
255
|
-
# Maintenance settings associated with instance. Allows service producers and
|
256
|
-
# end users to assign settings that controls maintenance on this instance.
|
257
|
-
# Corresponds to the JSON property `maintenanceSettings`
|
258
|
-
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
259
|
-
attr_accessor :maintenance_settings
|
260
|
-
|
261
|
-
# Unique name of the resource. It uses the form: `projects/`project_id`/
|
262
|
-
# locations/`location_id`/instances/`instance_id``
|
263
|
-
# Corresponds to the JSON property `name`
|
264
|
-
# @return [String]
|
265
|
-
attr_accessor :name
|
266
|
-
|
267
|
-
# Output only. Custom string attributes used primarily to expose producer-
|
268
|
-
# specific information in monitoring dashboards. See go/get-instance-metadata.
|
269
|
-
# Corresponds to the JSON property `producerMetadata`
|
270
|
-
# @return [Hash<String,String>]
|
271
|
-
attr_accessor :producer_metadata
|
272
|
-
|
273
|
-
# Output only. The list of data plane resources provisioned for this instance, e.
|
274
|
-
# g. compute VMs. See go/get-instance-metadata.
|
275
|
-
# Corresponds to the JSON property `provisionedResources`
|
276
|
-
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
277
|
-
attr_accessor :provisioned_resources
|
278
|
-
|
279
|
-
# Link to the SLM instance template. Only populated when updating SLM instances
|
280
|
-
# via SSA's Actuation service adaptor. Service producers with custom control
|
281
|
-
# plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they
|
282
|
-
# should use software_versions.
|
283
|
-
# Corresponds to the JSON property `slmInstanceTemplate`
|
284
|
-
# @return [String]
|
285
|
-
attr_accessor :slm_instance_template
|
286
|
-
|
287
|
-
# SloMetadata contains resources required for proper SLO classification of the
|
288
|
-
# instance.
|
289
|
-
# Corresponds to the JSON property `sloMetadata`
|
290
|
-
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
|
291
|
-
attr_accessor :slo_metadata
|
292
|
-
|
293
|
-
# Software versions that are used to deploy this instance. This can be mutated
|
294
|
-
# by rollout services.
|
295
|
-
# Corresponds to the JSON property `softwareVersions`
|
296
|
-
# @return [Hash<String,String>]
|
297
|
-
attr_accessor :software_versions
|
298
|
-
|
299
|
-
# Output only. Current lifecycle state of the resource (e.g. if it's being
|
300
|
-
# created or ready to use).
|
301
|
-
# Corresponds to the JSON property `state`
|
302
|
-
# @return [String]
|
303
|
-
attr_accessor :state
|
304
|
-
|
305
|
-
# Output only. ID of the associated GCP tenant project. See go/get-instance-
|
306
|
-
# metadata.
|
307
|
-
# Corresponds to the JSON property `tenantProjectId`
|
308
|
-
# @return [String]
|
309
|
-
attr_accessor :tenant_project_id
|
310
|
-
|
311
|
-
# Output only. Timestamp when the resource was last modified.
|
312
|
-
# Corresponds to the JSON property `updateTime`
|
313
|
-
# @return [String]
|
314
|
-
attr_accessor :update_time
|
315
|
-
|
316
|
-
def initialize(**args)
|
317
|
-
update!(**args)
|
318
|
-
end
|
319
|
-
|
320
|
-
# Update properties of this object
|
321
|
-
def update!(**args)
|
322
|
-
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
323
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
324
|
-
@labels = args[:labels] if args.key?(:labels)
|
325
|
-
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
326
|
-
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
327
|
-
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
328
|
-
@name = args[:name] if args.key?(:name)
|
329
|
-
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
330
|
-
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
331
|
-
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
332
|
-
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
|
333
|
-
@software_versions = args[:software_versions] if args.key?(:software_versions)
|
334
|
-
@state = args[:state] if args.key?(:state)
|
335
|
-
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
|
336
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
337
|
-
end
|
338
|
-
end
|
339
|
-
|
340
|
-
# Maintenance schedule which is exposed to customer and potentially end user,
|
341
|
-
# indicating published upcoming future maintenance schedule
|
342
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
343
|
-
include Google::Apis::Core::Hashable
|
344
|
-
|
345
|
-
# Can this scheduled update be rescheduled? By default, it's true and API needs
|
346
|
-
# to do explicitly check whether it's set, if it's set as false explicitly, it's
|
347
|
-
# false
|
348
|
-
# Corresponds to the JSON property `canReschedule`
|
349
|
-
# @return [Boolean]
|
350
|
-
attr_accessor :can_reschedule
|
351
|
-
alias_method :can_reschedule?, :can_reschedule
|
352
|
-
|
353
|
-
# The scheduled end time for the maintenance.
|
354
|
-
# Corresponds to the JSON property `endTime`
|
355
|
-
# @return [String]
|
356
|
-
attr_accessor :end_time
|
357
|
-
|
358
|
-
# The rollout management policy this maintenance schedule is associated with.
|
359
|
-
# When doing reschedule update request, the reschedule should be against this
|
360
|
-
# given policy.
|
361
|
-
# Corresponds to the JSON property `rolloutManagementPolicy`
|
362
|
-
# @return [String]
|
363
|
-
attr_accessor :rollout_management_policy
|
364
|
-
|
365
|
-
# The scheduled start time for the maintenance.
|
366
|
-
# Corresponds to the JSON property `startTime`
|
367
|
-
# @return [String]
|
368
|
-
attr_accessor :start_time
|
369
|
-
|
370
|
-
def initialize(**args)
|
371
|
-
update!(**args)
|
372
|
-
end
|
373
|
-
|
374
|
-
# Update properties of this object
|
375
|
-
def update!(**args)
|
376
|
-
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
377
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
378
|
-
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
|
379
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
380
|
-
end
|
381
|
-
end
|
382
|
-
|
383
|
-
# Maintenance settings associated with instance. Allows service producers and
|
384
|
-
# end users to assign settings that controls maintenance on this instance.
|
385
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
386
|
-
include Google::Apis::Core::Hashable
|
387
|
-
|
388
|
-
# Optional. Exclude instance from maintenance. When true, rollout service will
|
389
|
-
# not attempt maintenance on the instance. Rollout service will include the
|
390
|
-
# instance in reported rollout progress as not attempted.
|
391
|
-
# Corresponds to the JSON property `exclude`
|
392
|
-
# @return [Boolean]
|
393
|
-
attr_accessor :exclude
|
394
|
-
alias_method :exclude?, :exclude
|
395
|
-
|
396
|
-
def initialize(**args)
|
397
|
-
update!(**args)
|
398
|
-
end
|
399
|
-
|
400
|
-
# Update properties of this object
|
401
|
-
def update!(**args)
|
402
|
-
@exclude = args[:exclude] if args.key?(:exclude)
|
403
|
-
end
|
404
|
-
end
|
405
|
-
|
406
|
-
# Node information for custom per-node SLO implementations. SSA does not support
|
407
|
-
# per-node SLO, but producers can populate per-node information in SloMetadata
|
408
|
-
# for custom precomputations. SSA Eligibility Exporter will emit per-node metric
|
409
|
-
# based on this information.
|
410
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
411
|
-
include Google::Apis::Core::Hashable
|
412
|
-
|
413
|
-
# By default node is eligible if instance is eligible. But individual node might
|
414
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
415
|
-
# exclusions. If both instance and node level exclusions are present for time
|
416
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
417
|
-
# Corresponds to the JSON property `exclusions`
|
418
|
-
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
419
|
-
attr_accessor :exclusions
|
420
|
-
|
421
|
-
# The location of the node, if different from instance location.
|
422
|
-
# Corresponds to the JSON property `location`
|
423
|
-
# @return [String]
|
424
|
-
attr_accessor :location
|
425
|
-
|
426
|
-
# The id of the node. This should be equal to SaasInstanceNode.node_id.
|
427
|
-
# Corresponds to the JSON property `nodeId`
|
428
|
-
# @return [String]
|
429
|
-
attr_accessor :node_id
|
430
|
-
|
431
|
-
def initialize(**args)
|
432
|
-
update!(**args)
|
433
|
-
end
|
434
|
-
|
435
|
-
# Update properties of this object
|
436
|
-
def update!(**args)
|
437
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
438
|
-
@location = args[:location] if args.key?(:location)
|
439
|
-
@node_id = args[:node_id] if args.key?(:node_id)
|
440
|
-
end
|
441
|
-
end
|
442
|
-
|
443
|
-
# Describes provisioned dataplane resources.
|
444
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
445
|
-
include Google::Apis::Core::Hashable
|
446
|
-
|
447
|
-
# Type of the resource. This can be either a GCP resource or a custom one (e.g.
|
448
|
-
# another cloud provider's VM). For GCP compute resources use singular form of
|
449
|
-
# the names listed in GCP compute API documentation (https://cloud.google.com/
|
450
|
-
# compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: '
|
451
|
-
# compute-instance', 'compute-disk', 'compute-autoscaler'.
|
452
|
-
# Corresponds to the JSON property `resourceType`
|
453
|
-
# @return [String]
|
454
|
-
attr_accessor :resource_type
|
455
|
-
|
456
|
-
# URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/
|
457
|
-
# projects/...)".
|
458
|
-
# Corresponds to the JSON property `resourceUrl`
|
459
|
-
# @return [String]
|
460
|
-
attr_accessor :resource_url
|
461
|
-
|
462
|
-
def initialize(**args)
|
463
|
-
update!(**args)
|
464
|
-
end
|
465
|
-
|
466
|
-
# Update properties of this object
|
467
|
-
def update!(**args)
|
468
|
-
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
469
|
-
@resource_url = args[:resource_url] if args.key?(:resource_url)
|
470
|
-
end
|
471
|
-
end
|
472
|
-
|
473
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
474
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
475
|
-
# related calculations along with a user-defined reason.
|
476
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
477
|
-
include Google::Apis::Core::Hashable
|
478
|
-
|
479
|
-
# Whether an instance is eligible or ineligible.
|
480
|
-
# Corresponds to the JSON property `eligible`
|
481
|
-
# @return [Boolean]
|
482
|
-
attr_accessor :eligible
|
483
|
-
alias_method :eligible?, :eligible
|
484
|
-
|
485
|
-
# User-defined reason for the current value of instance eligibility. Usually,
|
486
|
-
# this can be directly mapped to the internal state. An empty reason is allowed.
|
487
|
-
# Corresponds to the JSON property `reason`
|
488
|
-
# @return [String]
|
489
|
-
attr_accessor :reason
|
490
|
-
|
491
|
-
def initialize(**args)
|
492
|
-
update!(**args)
|
493
|
-
end
|
494
|
-
|
495
|
-
# Update properties of this object
|
496
|
-
def update!(**args)
|
497
|
-
@eligible = args[:eligible] if args.key?(:eligible)
|
498
|
-
@reason = args[:reason] if args.key?(:reason)
|
499
|
-
end
|
500
|
-
end
|
501
|
-
|
502
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
503
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
504
|
-
include Google::Apis::Core::Hashable
|
505
|
-
|
506
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
507
|
-
# operation is taking longer than initially expected, an existing entry in the
|
508
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
509
|
-
# the subsystem exporting eligibility data as long as such extension is
|
510
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
511
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
512
|
-
# application in the exported timeseries.
|
513
|
-
# Corresponds to the JSON property `duration`
|
514
|
-
# @return [String]
|
515
|
-
attr_accessor :duration
|
516
|
-
|
517
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
518
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
519
|
-
# data (e.g. instance name). Can be left empty.
|
520
|
-
# Corresponds to the JSON property `reason`
|
521
|
-
# @return [String]
|
522
|
-
attr_accessor :reason
|
523
|
-
|
524
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
525
|
-
# that the instance should be excluded from all SLIs defined in the service SLO
|
526
|
-
# configuration.
|
527
|
-
# Corresponds to the JSON property `sliName`
|
528
|
-
# @return [String]
|
529
|
-
attr_accessor :sli_name
|
530
|
-
|
531
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
532
|
-
# Corresponds to the JSON property `startTime`
|
533
|
-
# @return [String]
|
534
|
-
attr_accessor :start_time
|
535
|
-
|
536
|
-
def initialize(**args)
|
537
|
-
update!(**args)
|
538
|
-
end
|
539
|
-
|
540
|
-
# Update properties of this object
|
541
|
-
def update!(**args)
|
542
|
-
@duration = args[:duration] if args.key?(:duration)
|
543
|
-
@reason = args[:reason] if args.key?(:reason)
|
544
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
545
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
546
|
-
end
|
547
|
-
end
|
548
|
-
|
549
|
-
# SloMetadata contains resources required for proper SLO classification of the
|
550
|
-
# instance.
|
551
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
552
|
-
include Google::Apis::Core::Hashable
|
553
|
-
|
554
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
555
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
556
|
-
# related calculations along with a user-defined reason.
|
557
|
-
# Corresponds to the JSON property `eligibility`
|
558
|
-
# @return [Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
559
|
-
attr_accessor :eligibility
|
560
|
-
|
561
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
562
|
-
# matching the exclusion time-window against current time point) the exclusion
|
563
|
-
# reason used in the first matching entry will be published. It is not needed to
|
564
|
-
# include expired exclusion in this list, as only the currently applicable
|
565
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
566
|
-
# historical state of exclusions will be reflected in the historically produced
|
567
|
-
# timeseries regardless of the current state). This field can be used to mark
|
568
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
569
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
570
|
-
# recommended. See 'eligibility' field below.
|
571
|
-
# Corresponds to the JSON property `exclusions`
|
572
|
-
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
573
|
-
attr_accessor :exclusions
|
574
|
-
|
575
|
-
# Optional. List of nodes. Some producers need to use per-node metadata to
|
576
|
-
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
577
|
-
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
578
|
-
# form of per node metric to Monarch.
|
579
|
-
# Corresponds to the JSON property `nodes`
|
580
|
-
# @return [Array<Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
581
|
-
attr_accessor :nodes
|
582
|
-
|
583
|
-
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
584
|
-
# match the tiers specified in the service SLO configuration. Field is mandatory
|
585
|
-
# and must not be empty.
|
586
|
-
# Corresponds to the JSON property `tier`
|
587
|
-
# @return [String]
|
588
|
-
attr_accessor :tier
|
589
|
-
|
590
|
-
def initialize(**args)
|
591
|
-
update!(**args)
|
592
|
-
end
|
593
|
-
|
594
|
-
# Update properties of this object
|
595
|
-
def update!(**args)
|
596
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
597
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
598
|
-
@nodes = args[:nodes] if args.key?(:nodes)
|
599
|
-
@tier = args[:tier] if args.key?(:tier)
|
600
|
-
end
|
601
|
-
end
|
602
|
-
|
603
217
|
# Request for Import.
|
604
218
|
class ImportInstanceRequest
|
605
219
|
include Google::Apis::Core::Hashable
|