google-api-client 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +23 -45
- data/CHANGELOG.md +100 -0
- data/README.md +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
- data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +71 -0
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +206 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -13
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -7
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -4
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class BaseType
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -82,24 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class Condition
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
85
|
class ConfigFile
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
87
|
|
94
88
|
include Google::Apis::Core::JsonObjectSupport
|
95
89
|
end
|
96
90
|
|
97
|
-
class ConfigurableService
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
91
|
class Credential
|
104
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
93
|
|
@@ -184,36 +172,6 @@ module Google
|
|
184
172
|
include Google::Apis::Core::JsonObjectSupport
|
185
173
|
end
|
186
174
|
|
187
|
-
class LogConfig
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
|
-
class LogConfigCloudAuditOptions
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
|
-
class LogConfigCounterOptions
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
-
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
203
|
-
end
|
204
|
-
|
205
|
-
class LogConfigCounterOptionsCustomField
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
|
-
class LogConfigDataAccessOptions
|
212
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
-
|
214
|
-
include Google::Apis::Core::JsonObjectSupport
|
215
|
-
end
|
216
|
-
|
217
175
|
class Manifest
|
218
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
177
|
|
@@ -346,12 +304,6 @@ module Google
|
|
346
304
|
include Google::Apis::Core::JsonObjectSupport
|
347
305
|
end
|
348
306
|
|
349
|
-
class Rule
|
350
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
-
|
352
|
-
include Google::Apis::Core::JsonObjectSupport
|
353
|
-
end
|
354
|
-
|
355
307
|
class ServiceAccount
|
356
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
309
|
|
@@ -456,7 +408,6 @@ module Google
|
|
456
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
457
409
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerAlpha::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerAlpha::AuditLogConfig::Representation
|
458
410
|
|
459
|
-
collection :exempted_members, as: 'exemptedMembers'
|
460
411
|
property :service, as: 'service'
|
461
412
|
end
|
462
413
|
end
|
@@ -465,15 +416,20 @@ module Google
|
|
465
416
|
# @private
|
466
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
467
418
|
collection :exempted_members, as: 'exemptedMembers'
|
468
|
-
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
469
419
|
property :log_type, as: 'logType'
|
470
420
|
end
|
471
421
|
end
|
472
422
|
|
473
|
-
class
|
423
|
+
class BaseType
|
474
424
|
# @private
|
475
425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
476
|
-
|
426
|
+
collection :collection_overrides, as: 'collectionOverrides', class: Google::Apis::DeploymentmanagerAlpha::CollectionOverride, decorator: Google::Apis::DeploymentmanagerAlpha::CollectionOverride::Representation
|
427
|
+
|
428
|
+
property :credential, as: 'credential', class: Google::Apis::DeploymentmanagerAlpha::Credential, decorator: Google::Apis::DeploymentmanagerAlpha::Credential::Representation
|
429
|
+
|
430
|
+
property :descriptor_url, as: 'descriptorUrl'
|
431
|
+
property :options, as: 'options', class: Google::Apis::DeploymentmanagerAlpha::Options, decorator: Google::Apis::DeploymentmanagerAlpha::Options::Representation
|
432
|
+
|
477
433
|
end
|
478
434
|
end
|
479
435
|
|
@@ -541,17 +497,6 @@ module Google
|
|
541
497
|
end
|
542
498
|
end
|
543
499
|
|
544
|
-
class Condition
|
545
|
-
# @private
|
546
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
-
property :iam, as: 'iam'
|
548
|
-
property :op, as: 'op'
|
549
|
-
property :svc, as: 'svc'
|
550
|
-
property :sys, as: 'sys'
|
551
|
-
collection :values, as: 'values'
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
500
|
class ConfigFile
|
556
501
|
# @private
|
557
502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -559,19 +504,6 @@ module Google
|
|
559
504
|
end
|
560
505
|
end
|
561
506
|
|
562
|
-
class ConfigurableService
|
563
|
-
# @private
|
564
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
-
collection :collection_overrides, as: 'collectionOverrides', class: Google::Apis::DeploymentmanagerAlpha::CollectionOverride, decorator: Google::Apis::DeploymentmanagerAlpha::CollectionOverride::Representation
|
566
|
-
|
567
|
-
property :credential, as: 'credential', class: Google::Apis::DeploymentmanagerAlpha::Credential, decorator: Google::Apis::DeploymentmanagerAlpha::Credential::Representation
|
568
|
-
|
569
|
-
property :descriptor_url, as: 'descriptorUrl'
|
570
|
-
property :options, as: 'options', class: Google::Apis::DeploymentmanagerAlpha::Options, decorator: Google::Apis::DeploymentmanagerAlpha::Options::Representation
|
571
|
-
|
572
|
-
end
|
573
|
-
end
|
574
|
-
|
575
507
|
class Credential
|
576
508
|
# @private
|
577
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -715,52 +647,6 @@ module Google
|
|
715
647
|
end
|
716
648
|
end
|
717
649
|
|
718
|
-
class LogConfig
|
719
|
-
# @private
|
720
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
721
|
-
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::DeploymentmanagerAlpha::LogConfigCloudAuditOptions, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigCloudAuditOptions::Representation
|
722
|
-
|
723
|
-
property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions::Representation
|
724
|
-
|
725
|
-
property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerAlpha::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigDataAccessOptions::Representation
|
726
|
-
|
727
|
-
end
|
728
|
-
end
|
729
|
-
|
730
|
-
class LogConfigCloudAuditOptions
|
731
|
-
# @private
|
732
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
-
property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerAlpha::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerAlpha::AuthorizationLoggingOptions::Representation
|
734
|
-
|
735
|
-
property :log_name, as: 'logName'
|
736
|
-
end
|
737
|
-
end
|
738
|
-
|
739
|
-
class LogConfigCounterOptions
|
740
|
-
# @private
|
741
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
-
collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField::Representation
|
743
|
-
|
744
|
-
property :field, as: 'field'
|
745
|
-
property :metric, as: 'metric'
|
746
|
-
end
|
747
|
-
end
|
748
|
-
|
749
|
-
class LogConfigCounterOptionsCustomField
|
750
|
-
# @private
|
751
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
-
property :name, as: 'name'
|
753
|
-
property :value, as: 'value'
|
754
|
-
end
|
755
|
-
end
|
756
|
-
|
757
|
-
class LogConfigDataAccessOptions
|
758
|
-
# @private
|
759
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
760
|
-
property :log_mode, as: 'logMode'
|
761
|
-
end
|
762
|
-
end
|
763
|
-
|
764
650
|
class Manifest
|
765
651
|
# @private
|
766
652
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -816,7 +702,6 @@ module Google
|
|
816
702
|
property :progress, as: 'progress'
|
817
703
|
property :region, as: 'region'
|
818
704
|
property :self_link, as: 'selfLink'
|
819
|
-
property :self_link_with_id, as: 'selfLinkWithId'
|
820
705
|
property :start_time, as: 'startTime'
|
821
706
|
property :status, as: 'status'
|
822
707
|
property :status_message, as: 'statusMessage'
|
@@ -894,9 +779,6 @@ module Google
|
|
894
779
|
collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerAlpha::Binding, decorator: Google::Apis::DeploymentmanagerAlpha::Binding::Representation
|
895
780
|
|
896
781
|
property :etag, :base64 => true, as: 'etag'
|
897
|
-
property :iam_owned, as: 'iamOwned'
|
898
|
-
collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerAlpha::Rule, decorator: Google::Apis::DeploymentmanagerAlpha::Rule::Representation
|
899
|
-
|
900
782
|
property :version, as: 'version'
|
901
783
|
end
|
902
784
|
end
|
@@ -1026,21 +908,6 @@ module Google
|
|
1026
908
|
end
|
1027
909
|
end
|
1028
910
|
|
1029
|
-
class Rule
|
1030
|
-
# @private
|
1031
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1032
|
-
property :action, as: 'action'
|
1033
|
-
collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerAlpha::Condition, decorator: Google::Apis::DeploymentmanagerAlpha::Condition::Representation
|
1034
|
-
|
1035
|
-
property :description, as: 'description'
|
1036
|
-
collection :ins, as: 'ins'
|
1037
|
-
collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerAlpha::LogConfig, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfig::Representation
|
1038
|
-
|
1039
|
-
collection :not_ins, as: 'notIns'
|
1040
|
-
collection :permissions, as: 'permissions'
|
1041
|
-
end
|
1042
|
-
end
|
1043
|
-
|
1044
911
|
class ServiceAccount
|
1045
912
|
# @private
|
1046
913
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1087,7 +954,7 @@ module Google
|
|
1087
954
|
class Type
|
1088
955
|
# @private
|
1089
956
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1090
|
-
property :
|
957
|
+
property :base, as: 'base', class: Google::Apis::DeploymentmanagerAlpha::BaseType, decorator: Google::Apis::DeploymentmanagerAlpha::BaseType::Representation
|
1091
958
|
|
1092
959
|
property :description, as: 'description'
|
1093
960
|
property :id, :numeric_string => true, as: 'id'
|
@@ -20,36 +20,33 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module DeploymentmanagerAlpha
|
23
|
-
#
|
23
|
+
# Cloud Deployment Manager V2 API
|
24
24
|
#
|
25
|
-
# The Deployment Manager API
|
26
|
-
#
|
25
|
+
# The Google Cloud Deployment Manager v2 API provides services for configuring,
|
26
|
+
# deploying, and viewing Google Cloud services and APIs via templates which
|
27
|
+
# specify deployments of Cloud resources.
|
27
28
|
#
|
28
29
|
# @example
|
29
30
|
# require 'google/apis/deploymentmanager_alpha'
|
30
31
|
#
|
31
32
|
# Deploymentmanager = Google::Apis::DeploymentmanagerAlpha # Alias the module
|
32
|
-
# service = Deploymentmanager::
|
33
|
+
# service = Deploymentmanager::DeploymentManagerService.new
|
33
34
|
#
|
34
|
-
# @see https://cloud.google.com/deployment-manager
|
35
|
-
class
|
35
|
+
# @see https://cloud.google.com/deployment-manager
|
36
|
+
class DeploymentManagerService < Google::Apis::Core::BaseService
|
36
37
|
# @return [String]
|
37
38
|
# API key. Your API key identifies your project and provides you with API access,
|
38
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
40
|
attr_accessor :key
|
40
41
|
|
41
42
|
# @return [String]
|
42
|
-
#
|
43
|
-
# characters.
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
45
|
attr_accessor :quota_user
|
45
46
|
|
46
|
-
# @return [String]
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
48
|
-
attr_accessor :user_ip
|
49
|
-
|
50
47
|
def initialize
|
51
|
-
super('https://
|
52
|
-
@batch_path = 'batch
|
48
|
+
super('https://deploymentmanager.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
53
50
|
end
|
54
51
|
|
55
52
|
# Deletes a composite type.
|
@@ -60,10 +57,8 @@ module Google
|
|
60
57
|
# @param [String] fields
|
61
58
|
# Selector specifying which fields to include in a partial response.
|
62
59
|
# @param [String] quota_user
|
63
|
-
#
|
64
|
-
# characters.
|
65
|
-
# @param [String] user_ip
|
66
|
-
# Deprecated. Please use quotaUser instead.
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
62
|
# @param [Google::Apis::RequestOptions] options
|
68
63
|
# Request-specific options
|
69
64
|
#
|
@@ -76,15 +71,14 @@ module Google
|
|
76
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def delete_composite_type(project, composite_type, fields: nil, quota_user: nil,
|
80
|
-
command = make_simple_command(:delete, '{project}/global/compositeTypes/{compositeType}', options)
|
74
|
+
def delete_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:delete, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}', options)
|
81
76
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
82
77
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
83
78
|
command.params['project'] = project unless project.nil?
|
84
79
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
85
80
|
command.query['fields'] = fields unless fields.nil?
|
86
81
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
88
82
|
execute_or_queue_command(command, &block)
|
89
83
|
end
|
90
84
|
|
@@ -96,10 +90,8 @@ module Google
|
|
96
90
|
# @param [String] fields
|
97
91
|
# Selector specifying which fields to include in a partial response.
|
98
92
|
# @param [String] quota_user
|
99
|
-
#
|
100
|
-
# characters.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# Deprecated. Please use quotaUser instead.
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
103
95
|
# @param [Google::Apis::RequestOptions] options
|
104
96
|
# Request-specific options
|
105
97
|
#
|
@@ -112,15 +104,14 @@ module Google
|
|
112
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def get_composite_type(project, composite_type, fields: nil, quota_user: nil,
|
116
|
-
command = make_simple_command(:get, '{project}/global/compositeTypes/{compositeType}', options)
|
107
|
+
def get_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}', options)
|
117
109
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation
|
118
110
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeType
|
119
111
|
command.params['project'] = project unless project.nil?
|
120
112
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
121
113
|
command.query['fields'] = fields unless fields.nil?
|
122
114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
124
115
|
execute_or_queue_command(command, &block)
|
125
116
|
end
|
126
117
|
|
@@ -131,10 +122,8 @@ module Google
|
|
131
122
|
# @param [String] fields
|
132
123
|
# Selector specifying which fields to include in a partial response.
|
133
124
|
# @param [String] quota_user
|
134
|
-
#
|
135
|
-
# characters.
|
136
|
-
# @param [String] user_ip
|
137
|
-
# Deprecated. Please use quotaUser instead.
|
125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
127
|
# @param [Google::Apis::RequestOptions] options
|
139
128
|
# Request-specific options
|
140
129
|
#
|
@@ -147,8 +136,8 @@ module Google
|
|
147
136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
-
def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil,
|
151
|
-
command = make_simple_command(:post, '{project}/global/compositeTypes', options)
|
139
|
+
def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes', options)
|
152
141
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation
|
153
142
|
command.request_object = composite_type_object
|
154
143
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -156,7 +145,6 @@ module Google
|
|
156
145
|
command.params['project'] = project unless project.nil?
|
157
146
|
command.query['fields'] = fields unless fields.nil?
|
158
147
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
160
148
|
execute_or_queue_command(command, &block)
|
161
149
|
end
|
162
150
|
|
@@ -167,19 +155,18 @@ module Google
|
|
167
155
|
# A filter expression that filters resources listed in the response. The
|
168
156
|
# expression must specify the field name, a comparison operator, and the value
|
169
157
|
# that you want to use for filtering. The value must be a string, a number, or a
|
170
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
171
|
-
#
|
158
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
159
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
172
160
|
# instances named `example-instance` by specifying `name != example-instance`.
|
173
161
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
174
162
|
# automaticRestart = false` to include instances only if they are not scheduled
|
175
163
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
176
|
-
# on resource labels.
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
164
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
165
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
166
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
167
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
168
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
169
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
183
170
|
# @param [Fixnum] max_results
|
184
171
|
# The maximum number of results per page that should be returned. If the number
|
185
172
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -187,26 +174,20 @@ module Google
|
|
187
174
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
188
175
|
# @param [String] order_by
|
189
176
|
# Sorts list results by a certain order. By default, results are returned in
|
190
|
-
# alphanumerical order based on the resource name.
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
# returned first.
|
177
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
178
|
+
# descending order based on the creation timestamp using `orderBy="
|
179
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
180
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
181
|
+
# resources like operations so that the newest operation is returned first.
|
196
182
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
197
183
|
# @param [String] page_token
|
198
184
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
199
185
|
# by a previous list request to get the next page of results.
|
200
|
-
# @param [Boolean] return_partial_success
|
201
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
202
|
-
# failure. The default value is false and the logic is the same as today.
|
203
186
|
# @param [String] fields
|
204
187
|
# Selector specifying which fields to include in a partial response.
|
205
188
|
# @param [String] quota_user
|
206
|
-
#
|
207
|
-
# characters.
|
208
|
-
# @param [String] user_ip
|
209
|
-
# Deprecated. Please use quotaUser instead.
|
189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
210
191
|
# @param [Google::Apis::RequestOptions] options
|
211
192
|
# Request-specific options
|
212
193
|
#
|
@@ -219,8 +200,8 @@ module Google
|
|
219
200
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
220
201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
|
-
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
223
|
-
command = make_simple_command(:get, '{project}/global/compositeTypes', options)
|
203
|
+
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
204
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes', options)
|
224
205
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse::Representation
|
225
206
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse
|
226
207
|
command.params['project'] = project unless project.nil?
|
@@ -228,10 +209,8 @@ module Google
|
|
228
209
|
command.query['maxResults'] = max_results unless max_results.nil?
|
229
210
|
command.query['orderBy'] = order_by unless order_by.nil?
|
230
211
|
command.query['pageToken'] = page_token unless page_token.nil?
|
231
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
232
212
|
command.query['fields'] = fields unless fields.nil?
|
233
213
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
234
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
235
214
|
execute_or_queue_command(command, &block)
|
236
215
|
end
|
237
216
|
|
@@ -244,10 +223,8 @@ module Google
|
|
244
223
|
# @param [String] fields
|
245
224
|
# Selector specifying which fields to include in a partial response.
|
246
225
|
# @param [String] quota_user
|
247
|
-
#
|
248
|
-
# characters.
|
249
|
-
# @param [String] user_ip
|
250
|
-
# Deprecated. Please use quotaUser instead.
|
226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
251
228
|
# @param [Google::Apis::RequestOptions] options
|
252
229
|
# Request-specific options
|
253
230
|
#
|
@@ -260,8 +237,8 @@ module Google
|
|
260
237
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
261
238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
|
-
def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil,
|
264
|
-
command = make_simple_command(:patch, '{project}/global/compositeTypes/{compositeType}', options)
|
240
|
+
def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
241
|
+
command = make_simple_command(:patch, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}', options)
|
265
242
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation
|
266
243
|
command.request_object = composite_type_object
|
267
244
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -270,7 +247,6 @@ module Google
|
|
270
247
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
271
248
|
command.query['fields'] = fields unless fields.nil?
|
272
249
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
274
250
|
execute_or_queue_command(command, &block)
|
275
251
|
end
|
276
252
|
|
@@ -283,10 +259,8 @@ module Google
|
|
283
259
|
# @param [String] fields
|
284
260
|
# Selector specifying which fields to include in a partial response.
|
285
261
|
# @param [String] quota_user
|
286
|
-
#
|
287
|
-
# characters.
|
288
|
-
# @param [String] user_ip
|
289
|
-
# Deprecated. Please use quotaUser instead.
|
262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
290
264
|
# @param [Google::Apis::RequestOptions] options
|
291
265
|
# Request-specific options
|
292
266
|
#
|
@@ -299,8 +273,8 @@ module Google
|
|
299
273
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
300
274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
301
275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
302
|
-
def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil,
|
303
|
-
command = make_simple_command(:put, '{project}/global/compositeTypes/{compositeType}', options)
|
276
|
+
def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
277
|
+
command = make_simple_command(:put, 'deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}', options)
|
304
278
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation
|
305
279
|
command.request_object = composite_type_object
|
306
280
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -309,7 +283,6 @@ module Google
|
|
309
283
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
310
284
|
command.query['fields'] = fields unless fields.nil?
|
311
285
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
312
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
313
286
|
execute_or_queue_command(command, &block)
|
314
287
|
end
|
315
288
|
|
@@ -322,10 +295,8 @@ module Google
|
|
322
295
|
# @param [String] fields
|
323
296
|
# Selector specifying which fields to include in a partial response.
|
324
297
|
# @param [String] quota_user
|
325
|
-
#
|
326
|
-
# characters.
|
327
|
-
# @param [String] user_ip
|
328
|
-
# Deprecated. Please use quotaUser instead.
|
298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
329
300
|
# @param [Google::Apis::RequestOptions] options
|
330
301
|
# Request-specific options
|
331
302
|
#
|
@@ -338,8 +309,8 @@ module Google
|
|
338
309
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
339
310
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
340
311
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
341
|
-
def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil,
|
342
|
-
command = make_simple_command(:post, '{project}/global/deployments/{deployment}/cancelPreview', options)
|
312
|
+
def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
313
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/cancelPreview', options)
|
343
314
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsCancelPreviewRequest::Representation
|
344
315
|
command.request_object = deployments_cancel_preview_request_object
|
345
316
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -348,7 +319,6 @@ module Google
|
|
348
319
|
command.params['deployment'] = deployment unless deployment.nil?
|
349
320
|
command.query['fields'] = fields unless fields.nil?
|
350
321
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
351
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
352
322
|
execute_or_queue_command(command, &block)
|
353
323
|
end
|
354
324
|
|
@@ -362,10 +332,8 @@ module Google
|
|
362
332
|
# @param [String] fields
|
363
333
|
# Selector specifying which fields to include in a partial response.
|
364
334
|
# @param [String] quota_user
|
365
|
-
#
|
366
|
-
# characters.
|
367
|
-
# @param [String] user_ip
|
368
|
-
# Deprecated. Please use quotaUser instead.
|
335
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
336
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
369
337
|
# @param [Google::Apis::RequestOptions] options
|
370
338
|
# Request-specific options
|
371
339
|
#
|
@@ -378,8 +346,8 @@ module Google
|
|
378
346
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
379
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
380
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
381
|
-
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil,
|
382
|
-
command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
|
349
|
+
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
350
|
+
command = make_simple_command(:delete, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}', options)
|
383
351
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
384
352
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
385
353
|
command.params['project'] = project unless project.nil?
|
@@ -387,7 +355,6 @@ module Google
|
|
387
355
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
388
356
|
command.query['fields'] = fields unless fields.nil?
|
389
357
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
390
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
391
358
|
execute_or_queue_command(command, &block)
|
392
359
|
end
|
393
360
|
|
@@ -399,10 +366,8 @@ module Google
|
|
399
366
|
# @param [String] fields
|
400
367
|
# Selector specifying which fields to include in a partial response.
|
401
368
|
# @param [String] quota_user
|
402
|
-
#
|
403
|
-
# characters.
|
404
|
-
# @param [String] user_ip
|
405
|
-
# Deprecated. Please use quotaUser instead.
|
369
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
370
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
406
371
|
# @param [Google::Apis::RequestOptions] options
|
407
372
|
# Request-specific options
|
408
373
|
#
|
@@ -415,15 +380,14 @@ module Google
|
|
415
380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
-
def get_deployment(project, deployment, fields: nil, quota_user: nil,
|
419
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
|
383
|
+
def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
|
384
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}', options)
|
420
385
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation
|
421
386
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Deployment
|
422
387
|
command.params['project'] = project unless project.nil?
|
423
388
|
command.params['deployment'] = deployment unless deployment.nil?
|
424
389
|
command.query['fields'] = fields unless fields.nil?
|
425
390
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
426
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
427
391
|
execute_or_queue_command(command, &block)
|
428
392
|
end
|
429
393
|
|
@@ -438,10 +402,8 @@ module Google
|
|
438
402
|
# @param [String] fields
|
439
403
|
# Selector specifying which fields to include in a partial response.
|
440
404
|
# @param [String] quota_user
|
441
|
-
#
|
442
|
-
# characters.
|
443
|
-
# @param [String] user_ip
|
444
|
-
# Deprecated. Please use quotaUser instead.
|
405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
445
407
|
# @param [Google::Apis::RequestOptions] options
|
446
408
|
# Request-specific options
|
447
409
|
#
|
@@ -454,8 +416,8 @@ module Google
|
|
454
416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
455
417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
456
418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
457
|
-
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil,
|
458
|
-
command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
|
419
|
+
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
420
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
|
459
421
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
|
460
422
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy
|
461
423
|
command.params['project'] = project unless project.nil?
|
@@ -463,7 +425,6 @@ module Google
|
|
463
425
|
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
464
426
|
command.query['fields'] = fields unless fields.nil?
|
465
427
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
466
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
467
428
|
execute_or_queue_command(command, &block)
|
468
429
|
end
|
469
430
|
|
@@ -485,10 +446,8 @@ module Google
|
|
485
446
|
# @param [String] fields
|
486
447
|
# Selector specifying which fields to include in a partial response.
|
487
448
|
# @param [String] quota_user
|
488
|
-
#
|
489
|
-
# characters.
|
490
|
-
# @param [String] user_ip
|
491
|
-
# Deprecated. Please use quotaUser instead.
|
449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
492
451
|
# @param [Google::Apis::RequestOptions] options
|
493
452
|
# Request-specific options
|
494
453
|
#
|
@@ -501,8 +460,8 @@ module Google
|
|
501
460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
502
461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
503
462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
504
|
-
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
505
|
-
command = make_simple_command(:post, '{project}/global/deployments', options)
|
463
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
464
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/deployments', options)
|
506
465
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation
|
507
466
|
command.request_object = deployment_object
|
508
467
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -512,7 +471,6 @@ module Google
|
|
512
471
|
command.query['preview'] = preview unless preview.nil?
|
513
472
|
command.query['fields'] = fields unless fields.nil?
|
514
473
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
515
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
516
474
|
execute_or_queue_command(command, &block)
|
517
475
|
end
|
518
476
|
|
@@ -523,19 +481,18 @@ module Google
|
|
523
481
|
# A filter expression that filters resources listed in the response. The
|
524
482
|
# expression must specify the field name, a comparison operator, and the value
|
525
483
|
# that you want to use for filtering. The value must be a string, a number, or a
|
526
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
527
|
-
#
|
484
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
485
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
528
486
|
# instances named `example-instance` by specifying `name != example-instance`.
|
529
487
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
530
488
|
# automaticRestart = false` to include instances only if they are not scheduled
|
531
489
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
532
|
-
# on resource labels.
|
533
|
-
#
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
490
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
491
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
492
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
493
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
494
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
495
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
539
496
|
# @param [Fixnum] max_results
|
540
497
|
# The maximum number of results per page that should be returned. If the number
|
541
498
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -543,26 +500,20 @@ module Google
|
|
543
500
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
544
501
|
# @param [String] order_by
|
545
502
|
# Sorts list results by a certain order. By default, results are returned in
|
546
|
-
# alphanumerical order based on the resource name.
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
# returned first.
|
503
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
504
|
+
# descending order based on the creation timestamp using `orderBy="
|
505
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
506
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
507
|
+
# resources like operations so that the newest operation is returned first.
|
552
508
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
553
509
|
# @param [String] page_token
|
554
510
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
555
511
|
# by a previous list request to get the next page of results.
|
556
|
-
# @param [Boolean] return_partial_success
|
557
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
558
|
-
# failure. The default value is false and the logic is the same as today.
|
559
512
|
# @param [String] fields
|
560
513
|
# Selector specifying which fields to include in a partial response.
|
561
514
|
# @param [String] quota_user
|
562
|
-
#
|
563
|
-
# characters.
|
564
|
-
# @param [String] user_ip
|
565
|
-
# Deprecated. Please use quotaUser instead.
|
515
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
516
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
566
517
|
# @param [Google::Apis::RequestOptions] options
|
567
518
|
# Request-specific options
|
568
519
|
#
|
@@ -575,8 +526,8 @@ module Google
|
|
575
526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
576
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
577
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
578
|
-
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
579
|
-
command = make_simple_command(:get, '{project}/global/deployments', options)
|
529
|
+
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
530
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments', options)
|
580
531
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse::Representation
|
581
532
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse
|
582
533
|
command.params['project'] = project unless project.nil?
|
@@ -584,10 +535,8 @@ module Google
|
|
584
535
|
command.query['maxResults'] = max_results unless max_results.nil?
|
585
536
|
command.query['orderBy'] = order_by unless order_by.nil?
|
586
537
|
command.query['pageToken'] = page_token unless page_token.nil?
|
587
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
588
538
|
command.query['fields'] = fields unless fields.nil?
|
589
539
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
590
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
591
540
|
execute_or_queue_command(command, &block)
|
592
541
|
end
|
593
542
|
|
@@ -616,10 +565,8 @@ module Google
|
|
616
565
|
# @param [String] fields
|
617
566
|
# Selector specifying which fields to include in a partial response.
|
618
567
|
# @param [String] quota_user
|
619
|
-
#
|
620
|
-
# characters.
|
621
|
-
# @param [String] user_ip
|
622
|
-
# Deprecated. Please use quotaUser instead.
|
568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
623
570
|
# @param [Google::Apis::RequestOptions] options
|
624
571
|
# Request-specific options
|
625
572
|
#
|
@@ -632,8 +579,8 @@ module Google
|
|
632
579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
633
580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
634
581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
635
|
-
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
636
|
-
command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
|
582
|
+
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
583
|
+
command = make_simple_command(:patch, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}', options)
|
637
584
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation
|
638
585
|
command.request_object = deployment_object
|
639
586
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -645,7 +592,6 @@ module Google
|
|
645
592
|
command.query['preview'] = preview unless preview.nil?
|
646
593
|
command.query['fields'] = fields unless fields.nil?
|
647
594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
648
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
649
595
|
execute_or_queue_command(command, &block)
|
650
596
|
end
|
651
597
|
|
@@ -659,10 +605,8 @@ module Google
|
|
659
605
|
# @param [String] fields
|
660
606
|
# Selector specifying which fields to include in a partial response.
|
661
607
|
# @param [String] quota_user
|
662
|
-
#
|
663
|
-
# characters.
|
664
|
-
# @param [String] user_ip
|
665
|
-
# Deprecated. Please use quotaUser instead.
|
608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
666
610
|
# @param [Google::Apis::RequestOptions] options
|
667
611
|
# Request-specific options
|
668
612
|
#
|
@@ -675,8 +619,8 @@ module Google
|
|
675
619
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
676
620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
677
621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
678
|
-
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil,
|
679
|
-
command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
|
622
|
+
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
623
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/setIamPolicy', options)
|
680
624
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::GlobalSetPolicyRequest::Representation
|
681
625
|
command.request_object = global_set_policy_request_object
|
682
626
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
|
@@ -685,7 +629,6 @@ module Google
|
|
685
629
|
command.params['resource'] = resource unless resource.nil?
|
686
630
|
command.query['fields'] = fields unless fields.nil?
|
687
631
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
688
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
689
632
|
execute_or_queue_command(command, &block)
|
690
633
|
end
|
691
634
|
|
@@ -699,10 +642,8 @@ module Google
|
|
699
642
|
# @param [String] fields
|
700
643
|
# Selector specifying which fields to include in a partial response.
|
701
644
|
# @param [String] quota_user
|
702
|
-
#
|
703
|
-
# characters.
|
704
|
-
# @param [String] user_ip
|
705
|
-
# Deprecated. Please use quotaUser instead.
|
645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
706
647
|
# @param [Google::Apis::RequestOptions] options
|
707
648
|
# Request-specific options
|
708
649
|
#
|
@@ -715,8 +656,8 @@ module Google
|
|
715
656
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
716
657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
717
658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
718
|
-
def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil,
|
719
|
-
command = make_simple_command(:post, '{project}/global/deployments/{deployment}/stop', options)
|
659
|
+
def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
660
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/stop', options)
|
720
661
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsStopRequest::Representation
|
721
662
|
command.request_object = deployments_stop_request_object
|
722
663
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -725,7 +666,6 @@ module Google
|
|
725
666
|
command.params['deployment'] = deployment unless deployment.nil?
|
726
667
|
command.query['fields'] = fields unless fields.nil?
|
727
668
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
728
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
729
669
|
execute_or_queue_command(command, &block)
|
730
670
|
end
|
731
671
|
|
@@ -738,10 +678,8 @@ module Google
|
|
738
678
|
# @param [String] fields
|
739
679
|
# Selector specifying which fields to include in a partial response.
|
740
680
|
# @param [String] quota_user
|
741
|
-
#
|
742
|
-
# characters.
|
743
|
-
# @param [String] user_ip
|
744
|
-
# Deprecated. Please use quotaUser instead.
|
681
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
682
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
745
683
|
# @param [Google::Apis::RequestOptions] options
|
746
684
|
# Request-specific options
|
747
685
|
#
|
@@ -754,8 +692,8 @@ module Google
|
|
754
692
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
755
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
756
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
757
|
-
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil,
|
758
|
-
command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options)
|
695
|
+
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
|
759
697
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::TestPermissionsRequest::Representation
|
760
698
|
command.request_object = test_permissions_request_object
|
761
699
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TestPermissionsResponse::Representation
|
@@ -764,7 +702,6 @@ module Google
|
|
764
702
|
command.params['resource'] = resource unless resource.nil?
|
765
703
|
command.query['fields'] = fields unless fields.nil?
|
766
704
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
767
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
768
705
|
execute_or_queue_command(command, &block)
|
769
706
|
end
|
770
707
|
|
@@ -793,10 +730,8 @@ module Google
|
|
793
730
|
# @param [String] fields
|
794
731
|
# Selector specifying which fields to include in a partial response.
|
795
732
|
# @param [String] quota_user
|
796
|
-
#
|
797
|
-
# characters.
|
798
|
-
# @param [String] user_ip
|
799
|
-
# Deprecated. Please use quotaUser instead.
|
733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
800
735
|
# @param [Google::Apis::RequestOptions] options
|
801
736
|
# Request-specific options
|
802
737
|
#
|
@@ -809,8 +744,8 @@ module Google
|
|
809
744
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
810
745
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
811
746
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
812
|
-
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
813
|
-
command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
|
747
|
+
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
748
|
+
command = make_simple_command(:put, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}', options)
|
814
749
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation
|
815
750
|
command.request_object = deployment_object
|
816
751
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -822,7 +757,6 @@ module Google
|
|
822
757
|
command.query['preview'] = preview unless preview.nil?
|
823
758
|
command.query['fields'] = fields unless fields.nil?
|
824
759
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
825
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
826
760
|
execute_or_queue_command(command, &block)
|
827
761
|
end
|
828
762
|
|
@@ -836,10 +770,8 @@ module Google
|
|
836
770
|
# @param [String] fields
|
837
771
|
# Selector specifying which fields to include in a partial response.
|
838
772
|
# @param [String] quota_user
|
839
|
-
#
|
840
|
-
# characters.
|
841
|
-
# @param [String] user_ip
|
842
|
-
# Deprecated. Please use quotaUser instead.
|
773
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
774
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
843
775
|
# @param [Google::Apis::RequestOptions] options
|
844
776
|
# Request-specific options
|
845
777
|
#
|
@@ -852,8 +784,8 @@ module Google
|
|
852
784
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
853
785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
854
786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
855
|
-
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil,
|
856
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
787
|
+
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
|
788
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
857
789
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Manifest::Representation
|
858
790
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Manifest
|
859
791
|
command.params['project'] = project unless project.nil?
|
@@ -861,7 +793,6 @@ module Google
|
|
861
793
|
command.params['manifest'] = manifest unless manifest.nil?
|
862
794
|
command.query['fields'] = fields unless fields.nil?
|
863
795
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
864
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
865
796
|
execute_or_queue_command(command, &block)
|
866
797
|
end
|
867
798
|
|
@@ -874,19 +805,18 @@ module Google
|
|
874
805
|
# A filter expression that filters resources listed in the response. The
|
875
806
|
# expression must specify the field name, a comparison operator, and the value
|
876
807
|
# that you want to use for filtering. The value must be a string, a number, or a
|
877
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
878
|
-
#
|
808
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
809
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
879
810
|
# instances named `example-instance` by specifying `name != example-instance`.
|
880
811
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
881
812
|
# automaticRestart = false` to include instances only if they are not scheduled
|
882
813
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
883
|
-
# on resource labels.
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
814
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
815
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
816
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
817
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
818
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
819
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
890
820
|
# @param [Fixnum] max_results
|
891
821
|
# The maximum number of results per page that should be returned. If the number
|
892
822
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -894,26 +824,20 @@ module Google
|
|
894
824
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
895
825
|
# @param [String] order_by
|
896
826
|
# Sorts list results by a certain order. By default, results are returned in
|
897
|
-
# alphanumerical order based on the resource name.
|
898
|
-
#
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
902
|
-
# returned first.
|
827
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
828
|
+
# descending order based on the creation timestamp using `orderBy="
|
829
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
830
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
831
|
+
# resources like operations so that the newest operation is returned first.
|
903
832
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
904
833
|
# @param [String] page_token
|
905
834
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
906
835
|
# by a previous list request to get the next page of results.
|
907
|
-
# @param [Boolean] return_partial_success
|
908
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
909
|
-
# failure. The default value is false and the logic is the same as today.
|
910
836
|
# @param [String] fields
|
911
837
|
# Selector specifying which fields to include in a partial response.
|
912
838
|
# @param [String] quota_user
|
913
|
-
#
|
914
|
-
# characters.
|
915
|
-
# @param [String] user_ip
|
916
|
-
# Deprecated. Please use quotaUser instead.
|
839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
917
841
|
# @param [Google::Apis::RequestOptions] options
|
918
842
|
# Request-specific options
|
919
843
|
#
|
@@ -926,8 +850,8 @@ module Google
|
|
926
850
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
927
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
928
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
929
|
-
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
930
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
|
853
|
+
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
854
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests', options)
|
931
855
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse::Representation
|
932
856
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse
|
933
857
|
command.params['project'] = project unless project.nil?
|
@@ -936,10 +860,8 @@ module Google
|
|
936
860
|
command.query['maxResults'] = max_results unless max_results.nil?
|
937
861
|
command.query['orderBy'] = order_by unless order_by.nil?
|
938
862
|
command.query['pageToken'] = page_token unless page_token.nil?
|
939
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
940
863
|
command.query['fields'] = fields unless fields.nil?
|
941
864
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
942
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
943
865
|
execute_or_queue_command(command, &block)
|
944
866
|
end
|
945
867
|
|
@@ -951,10 +873,8 @@ module Google
|
|
951
873
|
# @param [String] fields
|
952
874
|
# Selector specifying which fields to include in a partial response.
|
953
875
|
# @param [String] quota_user
|
954
|
-
#
|
955
|
-
# characters.
|
956
|
-
# @param [String] user_ip
|
957
|
-
# Deprecated. Please use quotaUser instead.
|
876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
958
878
|
# @param [Google::Apis::RequestOptions] options
|
959
879
|
# Request-specific options
|
960
880
|
#
|
@@ -967,15 +887,14 @@ module Google
|
|
967
887
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
968
888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
969
889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
970
|
-
def get_operation(project, operation, fields: nil, quota_user: nil,
|
971
|
-
command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
|
890
|
+
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
891
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/operations/{operation}', options)
|
972
892
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
973
893
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
974
894
|
command.params['project'] = project unless project.nil?
|
975
895
|
command.params['operation'] = operation unless operation.nil?
|
976
896
|
command.query['fields'] = fields unless fields.nil?
|
977
897
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
978
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
979
898
|
execute_or_queue_command(command, &block)
|
980
899
|
end
|
981
900
|
|
@@ -986,19 +905,18 @@ module Google
|
|
986
905
|
# A filter expression that filters resources listed in the response. The
|
987
906
|
# expression must specify the field name, a comparison operator, and the value
|
988
907
|
# that you want to use for filtering. The value must be a string, a number, or a
|
989
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
990
|
-
#
|
908
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
909
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
991
910
|
# instances named `example-instance` by specifying `name != example-instance`.
|
992
911
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
993
912
|
# automaticRestart = false` to include instances only if they are not scheduled
|
994
913
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
995
|
-
# on resource labels.
|
996
|
-
#
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
914
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
915
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
916
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
917
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
918
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
919
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1002
920
|
# @param [Fixnum] max_results
|
1003
921
|
# The maximum number of results per page that should be returned. If the number
|
1004
922
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1006,26 +924,20 @@ module Google
|
|
1006
924
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1007
925
|
# @param [String] order_by
|
1008
926
|
# Sorts list results by a certain order. By default, results are returned in
|
1009
|
-
# alphanumerical order based on the resource name.
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
1014
|
-
# returned first.
|
927
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
928
|
+
# descending order based on the creation timestamp using `orderBy="
|
929
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
930
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
931
|
+
# resources like operations so that the newest operation is returned first.
|
1015
932
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1016
933
|
# @param [String] page_token
|
1017
934
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1018
935
|
# by a previous list request to get the next page of results.
|
1019
|
-
# @param [Boolean] return_partial_success
|
1020
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1021
|
-
# failure. The default value is false and the logic is the same as today.
|
1022
936
|
# @param [String] fields
|
1023
937
|
# Selector specifying which fields to include in a partial response.
|
1024
938
|
# @param [String] quota_user
|
1025
|
-
#
|
1026
|
-
# characters.
|
1027
|
-
# @param [String] user_ip
|
1028
|
-
# Deprecated. Please use quotaUser instead.
|
939
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
940
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1029
941
|
# @param [Google::Apis::RequestOptions] options
|
1030
942
|
# Request-specific options
|
1031
943
|
#
|
@@ -1038,8 +950,8 @@ module Google
|
|
1038
950
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1039
951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1040
952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1041
|
-
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1042
|
-
command = make_simple_command(:get, '{project}/global/operations', options)
|
953
|
+
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
954
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/operations', options)
|
1043
955
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse::Representation
|
1044
956
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse
|
1045
957
|
command.params['project'] = project unless project.nil?
|
@@ -1047,10 +959,8 @@ module Google
|
|
1047
959
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1048
960
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1049
961
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1050
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1051
962
|
command.query['fields'] = fields unless fields.nil?
|
1052
963
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1053
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1054
964
|
execute_or_queue_command(command, &block)
|
1055
965
|
end
|
1056
966
|
|
@@ -1064,10 +974,8 @@ module Google
|
|
1064
974
|
# @param [String] fields
|
1065
975
|
# Selector specifying which fields to include in a partial response.
|
1066
976
|
# @param [String] quota_user
|
1067
|
-
#
|
1068
|
-
# characters.
|
1069
|
-
# @param [String] user_ip
|
1070
|
-
# Deprecated. Please use quotaUser instead.
|
977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1071
979
|
# @param [Google::Apis::RequestOptions] options
|
1072
980
|
# Request-specific options
|
1073
981
|
#
|
@@ -1080,8 +988,8 @@ module Google
|
|
1080
988
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1081
989
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1082
990
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1083
|
-
def get_resource(project, deployment, resource, fields: nil, quota_user: nil,
|
1084
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
|
991
|
+
def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
|
992
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
|
1085
993
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Resource::Representation
|
1086
994
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Resource
|
1087
995
|
command.params['project'] = project unless project.nil?
|
@@ -1089,7 +997,6 @@ module Google
|
|
1089
997
|
command.params['resource'] = resource unless resource.nil?
|
1090
998
|
command.query['fields'] = fields unless fields.nil?
|
1091
999
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1092
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1093
1000
|
execute_or_queue_command(command, &block)
|
1094
1001
|
end
|
1095
1002
|
|
@@ -1102,19 +1009,18 @@ module Google
|
|
1102
1009
|
# A filter expression that filters resources listed in the response. The
|
1103
1010
|
# expression must specify the field name, a comparison operator, and the value
|
1104
1011
|
# that you want to use for filtering. The value must be a string, a number, or a
|
1105
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
1106
|
-
#
|
1012
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1013
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1107
1014
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1108
1015
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1109
1016
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1110
1017
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
1111
|
-
# on resource labels.
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
1018
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1019
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1020
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1021
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1022
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1023
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1118
1024
|
# @param [Fixnum] max_results
|
1119
1025
|
# The maximum number of results per page that should be returned. If the number
|
1120
1026
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1122,26 +1028,20 @@ module Google
|
|
1122
1028
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1123
1029
|
# @param [String] order_by
|
1124
1030
|
# Sorts list results by a certain order. By default, results are returned in
|
1125
|
-
# alphanumerical order based on the resource name.
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
# returned first.
|
1031
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1032
|
+
# descending order based on the creation timestamp using `orderBy="
|
1033
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1034
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1035
|
+
# resources like operations so that the newest operation is returned first.
|
1131
1036
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1132
1037
|
# @param [String] page_token
|
1133
1038
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1134
1039
|
# by a previous list request to get the next page of results.
|
1135
|
-
# @param [Boolean] return_partial_success
|
1136
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1137
|
-
# failure. The default value is false and the logic is the same as today.
|
1138
1040
|
# @param [String] fields
|
1139
1041
|
# Selector specifying which fields to include in a partial response.
|
1140
1042
|
# @param [String] quota_user
|
1141
|
-
#
|
1142
|
-
# characters.
|
1143
|
-
# @param [String] user_ip
|
1144
|
-
# Deprecated. Please use quotaUser instead.
|
1043
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1044
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1145
1045
|
# @param [Google::Apis::RequestOptions] options
|
1146
1046
|
# Request-specific options
|
1147
1047
|
#
|
@@ -1154,8 +1054,8 @@ module Google
|
|
1154
1054
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1155
1055
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1156
1056
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1157
|
-
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1158
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
|
1057
|
+
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1058
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources', options)
|
1159
1059
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse::Representation
|
1160
1060
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse
|
1161
1061
|
command.params['project'] = project unless project.nil?
|
@@ -1164,10 +1064,8 @@ module Google
|
|
1164
1064
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1165
1065
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1166
1066
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1167
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1168
1067
|
command.query['fields'] = fields unless fields.nil?
|
1169
1068
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1170
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1171
1069
|
execute_or_queue_command(command, &block)
|
1172
1070
|
end
|
1173
1071
|
|
@@ -1179,10 +1077,8 @@ module Google
|
|
1179
1077
|
# @param [String] fields
|
1180
1078
|
# Selector specifying which fields to include in a partial response.
|
1181
1079
|
# @param [String] quota_user
|
1182
|
-
#
|
1183
|
-
# characters.
|
1184
|
-
# @param [String] user_ip
|
1185
|
-
# Deprecated. Please use quotaUser instead.
|
1080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1186
1082
|
# @param [Google::Apis::RequestOptions] options
|
1187
1083
|
# Request-specific options
|
1188
1084
|
#
|
@@ -1195,15 +1091,14 @@ module Google
|
|
1195
1091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1196
1092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1197
1093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1198
|
-
def delete_type_provider(project, type_provider, fields: nil, quota_user: nil,
|
1199
|
-
command = make_simple_command(:delete, '{project}/global/typeProviders/{typeProvider}', options)
|
1094
|
+
def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
1095
|
+
command = make_simple_command(:delete, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1200
1096
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
1201
1097
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
1202
1098
|
command.params['project'] = project unless project.nil?
|
1203
1099
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1204
1100
|
command.query['fields'] = fields unless fields.nil?
|
1205
1101
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1206
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1207
1102
|
execute_or_queue_command(command, &block)
|
1208
1103
|
end
|
1209
1104
|
|
@@ -1215,10 +1110,8 @@ module Google
|
|
1215
1110
|
# @param [String] fields
|
1216
1111
|
# Selector specifying which fields to include in a partial response.
|
1217
1112
|
# @param [String] quota_user
|
1218
|
-
#
|
1219
|
-
# characters.
|
1220
|
-
# @param [String] user_ip
|
1221
|
-
# Deprecated. Please use quotaUser instead.
|
1113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1222
1115
|
# @param [Google::Apis::RequestOptions] options
|
1223
1116
|
# Request-specific options
|
1224
1117
|
#
|
@@ -1231,15 +1124,14 @@ module Google
|
|
1231
1124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1232
1125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1233
1126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1234
|
-
def get_type_provider(project, type_provider, fields: nil, quota_user: nil,
|
1235
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}', options)
|
1127
|
+
def get_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
1128
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1236
1129
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation
|
1237
1130
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvider
|
1238
1131
|
command.params['project'] = project unless project.nil?
|
1239
1132
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1240
1133
|
command.query['fields'] = fields unless fields.nil?
|
1241
1134
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1242
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1243
1135
|
execute_or_queue_command(command, &block)
|
1244
1136
|
end
|
1245
1137
|
|
@@ -1253,10 +1145,8 @@ module Google
|
|
1253
1145
|
# @param [String] fields
|
1254
1146
|
# Selector specifying which fields to include in a partial response.
|
1255
1147
|
# @param [String] quota_user
|
1256
|
-
#
|
1257
|
-
# characters.
|
1258
|
-
# @param [String] user_ip
|
1259
|
-
# Deprecated. Please use quotaUser instead.
|
1148
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1149
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1260
1150
|
# @param [Google::Apis::RequestOptions] options
|
1261
1151
|
# Request-specific options
|
1262
1152
|
#
|
@@ -1269,8 +1159,8 @@ module Google
|
|
1269
1159
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1270
1160
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1271
1161
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
|
-
def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil,
|
1273
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types/{type}', options)
|
1162
|
+
def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, options: nil, &block)
|
1163
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types/{type}', options)
|
1274
1164
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeInfo::Representation
|
1275
1165
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeInfo
|
1276
1166
|
command.params['project'] = project unless project.nil?
|
@@ -1278,7 +1168,6 @@ module Google
|
|
1278
1168
|
command.params['type'] = type unless type.nil?
|
1279
1169
|
command.query['fields'] = fields unless fields.nil?
|
1280
1170
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1281
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1282
1171
|
execute_or_queue_command(command, &block)
|
1283
1172
|
end
|
1284
1173
|
|
@@ -1289,10 +1178,8 @@ module Google
|
|
1289
1178
|
# @param [String] fields
|
1290
1179
|
# Selector specifying which fields to include in a partial response.
|
1291
1180
|
# @param [String] quota_user
|
1292
|
-
#
|
1293
|
-
# characters.
|
1294
|
-
# @param [String] user_ip
|
1295
|
-
# Deprecated. Please use quotaUser instead.
|
1181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1296
1183
|
# @param [Google::Apis::RequestOptions] options
|
1297
1184
|
# Request-specific options
|
1298
1185
|
#
|
@@ -1305,8 +1192,8 @@ module Google
|
|
1305
1192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1306
1193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1307
1194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1308
|
-
def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil,
|
1309
|
-
command = make_simple_command(:post, '{project}/global/typeProviders', options)
|
1195
|
+
def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1196
|
+
command = make_simple_command(:post, 'deploymentmanager/alpha/projects/{project}/global/typeProviders', options)
|
1310
1197
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation
|
1311
1198
|
command.request_object = type_provider_object
|
1312
1199
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -1314,7 +1201,6 @@ module Google
|
|
1314
1201
|
command.params['project'] = project unless project.nil?
|
1315
1202
|
command.query['fields'] = fields unless fields.nil?
|
1316
1203
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1317
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1318
1204
|
execute_or_queue_command(command, &block)
|
1319
1205
|
end
|
1320
1206
|
|
@@ -1325,19 +1211,18 @@ module Google
|
|
1325
1211
|
# A filter expression that filters resources listed in the response. The
|
1326
1212
|
# expression must specify the field name, a comparison operator, and the value
|
1327
1213
|
# that you want to use for filtering. The value must be a string, a number, or a
|
1328
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
1329
|
-
#
|
1214
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1215
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1330
1216
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1331
1217
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1332
1218
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1333
1219
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
1334
|
-
# on resource labels.
|
1335
|
-
#
|
1336
|
-
#
|
1337
|
-
#
|
1338
|
-
#
|
1339
|
-
#
|
1340
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
1220
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1221
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1222
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1223
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1224
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1225
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1341
1226
|
# @param [Fixnum] max_results
|
1342
1227
|
# The maximum number of results per page that should be returned. If the number
|
1343
1228
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1345,26 +1230,20 @@ module Google
|
|
1345
1230
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1346
1231
|
# @param [String] order_by
|
1347
1232
|
# Sorts list results by a certain order. By default, results are returned in
|
1348
|
-
# alphanumerical order based on the resource name.
|
1349
|
-
#
|
1350
|
-
#
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
# returned first.
|
1233
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1234
|
+
# descending order based on the creation timestamp using `orderBy="
|
1235
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1236
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1237
|
+
# resources like operations so that the newest operation is returned first.
|
1354
1238
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1355
1239
|
# @param [String] page_token
|
1356
1240
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1357
1241
|
# by a previous list request to get the next page of results.
|
1358
|
-
# @param [Boolean] return_partial_success
|
1359
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1360
|
-
# failure. The default value is false and the logic is the same as today.
|
1361
1242
|
# @param [String] fields
|
1362
1243
|
# Selector specifying which fields to include in a partial response.
|
1363
1244
|
# @param [String] quota_user
|
1364
|
-
#
|
1365
|
-
# characters.
|
1366
|
-
# @param [String] user_ip
|
1367
|
-
# Deprecated. Please use quotaUser instead.
|
1245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1368
1247
|
# @param [Google::Apis::RequestOptions] options
|
1369
1248
|
# Request-specific options
|
1370
1249
|
#
|
@@ -1377,8 +1256,8 @@ module Google
|
|
1377
1256
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1378
1257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1379
1258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1380
|
-
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1381
|
-
command = make_simple_command(:get, '{project}/global/typeProviders', options)
|
1259
|
+
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1260
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/typeProviders', options)
|
1382
1261
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse::Representation
|
1383
1262
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse
|
1384
1263
|
command.params['project'] = project unless project.nil?
|
@@ -1386,10 +1265,8 @@ module Google
|
|
1386
1265
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1387
1266
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1388
1267
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1389
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1390
1268
|
command.query['fields'] = fields unless fields.nil?
|
1391
1269
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1392
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1393
1270
|
execute_or_queue_command(command, &block)
|
1394
1271
|
end
|
1395
1272
|
|
@@ -1402,19 +1279,18 @@ module Google
|
|
1402
1279
|
# A filter expression that filters resources listed in the response. The
|
1403
1280
|
# expression must specify the field name, a comparison operator, and the value
|
1404
1281
|
# that you want to use for filtering. The value must be a string, a number, or a
|
1405
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
1406
|
-
#
|
1282
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1283
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1407
1284
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1408
1285
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1409
1286
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1410
1287
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
1411
|
-
# on resource labels.
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1417
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
1288
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1289
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1290
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1291
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1292
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1293
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1418
1294
|
# @param [Fixnum] max_results
|
1419
1295
|
# The maximum number of results per page that should be returned. If the number
|
1420
1296
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1422,26 +1298,20 @@ module Google
|
|
1422
1298
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1423
1299
|
# @param [String] order_by
|
1424
1300
|
# Sorts list results by a certain order. By default, results are returned in
|
1425
|
-
# alphanumerical order based on the resource name.
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
#
|
1429
|
-
#
|
1430
|
-
# returned first.
|
1301
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1302
|
+
# descending order based on the creation timestamp using `orderBy="
|
1303
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1304
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1305
|
+
# resources like operations so that the newest operation is returned first.
|
1431
1306
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1432
1307
|
# @param [String] page_token
|
1433
1308
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1434
1309
|
# by a previous list request to get the next page of results.
|
1435
|
-
# @param [Boolean] return_partial_success
|
1436
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1437
|
-
# failure. The default value is false and the logic is the same as today.
|
1438
1310
|
# @param [String] fields
|
1439
1311
|
# Selector specifying which fields to include in a partial response.
|
1440
1312
|
# @param [String] quota_user
|
1441
|
-
#
|
1442
|
-
# characters.
|
1443
|
-
# @param [String] user_ip
|
1444
|
-
# Deprecated. Please use quotaUser instead.
|
1313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1445
1315
|
# @param [Google::Apis::RequestOptions] options
|
1446
1316
|
# Request-specific options
|
1447
1317
|
#
|
@@ -1454,8 +1324,8 @@ module Google
|
|
1454
1324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1455
1325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1456
1326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1457
|
-
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1458
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
|
1327
|
+
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types', options)
|
1459
1329
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse::Representation
|
1460
1330
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse
|
1461
1331
|
command.params['project'] = project unless project.nil?
|
@@ -1464,10 +1334,8 @@ module Google
|
|
1464
1334
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1465
1335
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1466
1336
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1467
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1468
1337
|
command.query['fields'] = fields unless fields.nil?
|
1469
1338
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1470
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1471
1339
|
execute_or_queue_command(command, &block)
|
1472
1340
|
end
|
1473
1341
|
|
@@ -1480,10 +1348,8 @@ module Google
|
|
1480
1348
|
# @param [String] fields
|
1481
1349
|
# Selector specifying which fields to include in a partial response.
|
1482
1350
|
# @param [String] quota_user
|
1483
|
-
#
|
1484
|
-
# characters.
|
1485
|
-
# @param [String] user_ip
|
1486
|
-
# Deprecated. Please use quotaUser instead.
|
1351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1487
1353
|
# @param [Google::Apis::RequestOptions] options
|
1488
1354
|
# Request-specific options
|
1489
1355
|
#
|
@@ -1496,8 +1362,8 @@ module Google
|
|
1496
1362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1497
1363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1498
1364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1499
|
-
def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil,
|
1500
|
-
command = make_simple_command(:patch, '{project}/global/typeProviders/{typeProvider}', options)
|
1365
|
+
def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1366
|
+
command = make_simple_command(:patch, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1501
1367
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation
|
1502
1368
|
command.request_object = type_provider_object
|
1503
1369
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -1506,7 +1372,6 @@ module Google
|
|
1506
1372
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1507
1373
|
command.query['fields'] = fields unless fields.nil?
|
1508
1374
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1509
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1510
1375
|
execute_or_queue_command(command, &block)
|
1511
1376
|
end
|
1512
1377
|
|
@@ -1519,10 +1384,8 @@ module Google
|
|
1519
1384
|
# @param [String] fields
|
1520
1385
|
# Selector specifying which fields to include in a partial response.
|
1521
1386
|
# @param [String] quota_user
|
1522
|
-
#
|
1523
|
-
# characters.
|
1524
|
-
# @param [String] user_ip
|
1525
|
-
# Deprecated. Please use quotaUser instead.
|
1387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1526
1389
|
# @param [Google::Apis::RequestOptions] options
|
1527
1390
|
# Request-specific options
|
1528
1391
|
#
|
@@ -1535,8 +1398,8 @@ module Google
|
|
1535
1398
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1536
1399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1537
1400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1538
|
-
def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil,
|
1539
|
-
command = make_simple_command(:put, '{project}/global/typeProviders/{typeProvider}', options)
|
1401
|
+
def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1402
|
+
command = make_simple_command(:put, 'deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1540
1403
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation
|
1541
1404
|
command.request_object = type_provider_object
|
1542
1405
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
@@ -1545,7 +1408,6 @@ module Google
|
|
1545
1408
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1546
1409
|
command.query['fields'] = fields unless fields.nil?
|
1547
1410
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1548
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1549
1411
|
execute_or_queue_command(command, &block)
|
1550
1412
|
end
|
1551
1413
|
|
@@ -1557,10 +1419,8 @@ module Google
|
|
1557
1419
|
# @param [String] fields
|
1558
1420
|
# Selector specifying which fields to include in a partial response.
|
1559
1421
|
# @param [String] quota_user
|
1560
|
-
#
|
1561
|
-
# characters.
|
1562
|
-
# @param [String] user_ip
|
1563
|
-
# Deprecated. Please use quotaUser instead.
|
1422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1564
1424
|
# @param [Google::Apis::RequestOptions] options
|
1565
1425
|
# Request-specific options
|
1566
1426
|
#
|
@@ -1573,15 +1433,14 @@ module Google
|
|
1573
1433
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1574
1434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1575
1435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1576
|
-
def get_type(project, type, fields: nil, quota_user: nil,
|
1577
|
-
command = make_simple_command(:get, '{project}/global/types/{type}', options)
|
1436
|
+
def get_type(project, type, fields: nil, quota_user: nil, options: nil, &block)
|
1437
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/types/{type}', options)
|
1578
1438
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
|
1579
1439
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Type
|
1580
1440
|
command.params['project'] = project unless project.nil?
|
1581
1441
|
command.params['type'] = type unless type.nil?
|
1582
1442
|
command.query['fields'] = fields unless fields.nil?
|
1583
1443
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1584
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1585
1444
|
execute_or_queue_command(command, &block)
|
1586
1445
|
end
|
1587
1446
|
|
@@ -1592,19 +1451,18 @@ module Google
|
|
1592
1451
|
# A filter expression that filters resources listed in the response. The
|
1593
1452
|
# expression must specify the field name, a comparison operator, and the value
|
1594
1453
|
# that you want to use for filtering. The value must be a string, a number, or a
|
1595
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
1596
|
-
#
|
1454
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1455
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1597
1456
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1598
1457
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1599
1458
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1600
1459
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
1601
|
-
# on resource labels.
|
1602
|
-
#
|
1603
|
-
#
|
1604
|
-
#
|
1605
|
-
#
|
1606
|
-
#
|
1607
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
1460
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1461
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1462
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1463
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1464
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1465
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1608
1466
|
# @param [Fixnum] max_results
|
1609
1467
|
# The maximum number of results per page that should be returned. If the number
|
1610
1468
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1612,26 +1470,20 @@ module Google
|
|
1612
1470
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1613
1471
|
# @param [String] order_by
|
1614
1472
|
# Sorts list results by a certain order. By default, results are returned in
|
1615
|
-
# alphanumerical order based on the resource name.
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
#
|
1619
|
-
#
|
1620
|
-
# returned first.
|
1473
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1474
|
+
# descending order based on the creation timestamp using `orderBy="
|
1475
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1476
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1477
|
+
# resources like operations so that the newest operation is returned first.
|
1621
1478
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1622
1479
|
# @param [String] page_token
|
1623
1480
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1624
1481
|
# by a previous list request to get the next page of results.
|
1625
|
-
# @param [Boolean] return_partial_success
|
1626
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
1627
|
-
# failure. The default value is false and the logic is the same as today.
|
1628
1482
|
# @param [String] fields
|
1629
1483
|
# Selector specifying which fields to include in a partial response.
|
1630
1484
|
# @param [String] quota_user
|
1631
|
-
#
|
1632
|
-
# characters.
|
1633
|
-
# @param [String] user_ip
|
1634
|
-
# Deprecated. Please use quotaUser instead.
|
1485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1635
1487
|
# @param [Google::Apis::RequestOptions] options
|
1636
1488
|
# Request-specific options
|
1637
1489
|
#
|
@@ -1644,8 +1496,8 @@ module Google
|
|
1644
1496
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1645
1497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1646
1498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1647
|
-
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1648
|
-
command = make_simple_command(:get, '{project}/global/types', options)
|
1499
|
+
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1500
|
+
command = make_simple_command(:get, 'deploymentmanager/alpha/projects/{project}/global/types', options)
|
1649
1501
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypesListResponse::Representation
|
1650
1502
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypesListResponse
|
1651
1503
|
command.params['project'] = project unless project.nil?
|
@@ -1653,10 +1505,8 @@ module Google
|
|
1653
1505
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1654
1506
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1655
1507
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1656
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1657
1508
|
command.query['fields'] = fields unless fields.nil?
|
1658
1509
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1659
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1660
1510
|
execute_or_queue_command(command, &block)
|
1661
1511
|
end
|
1662
1512
|
|
@@ -1665,7 +1515,6 @@ module Google
|
|
1665
1515
|
def apply_command_defaults(command)
|
1666
1516
|
command.query['key'] = key unless key.nil?
|
1667
1517
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1668
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1669
1518
|
end
|
1670
1519
|
end
|
1671
1520
|
end
|