google-api-client 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
|
@@ -778,6 +778,12 @@ module Google
|
|
|
778
778
|
include Google::Apis::Core::JsonObjectSupport
|
|
779
779
|
end
|
|
780
780
|
|
|
781
|
+
class InstanceListReferrers
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
+
|
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
+
end
|
|
786
|
+
|
|
781
787
|
class MoveInstanceRequest
|
|
782
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
789
|
|
|
@@ -1114,6 +1120,12 @@ module Google
|
|
|
1114
1120
|
include Google::Apis::Core::JsonObjectSupport
|
|
1115
1121
|
end
|
|
1116
1122
|
|
|
1123
|
+
class Reference
|
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1125
|
+
|
|
1126
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1127
|
+
end
|
|
1128
|
+
|
|
1117
1129
|
class Region
|
|
1118
1130
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1119
1131
|
|
|
@@ -1897,6 +1909,7 @@ module Google
|
|
|
1897
1909
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
1898
1910
|
property :description, as: 'description'
|
|
1899
1911
|
property :id, :numeric_string => true, as: 'id'
|
|
1912
|
+
property :ip_version, as: 'ipVersion'
|
|
1900
1913
|
property :kind, as: 'kind'
|
|
1901
1914
|
property :name, as: 'name'
|
|
1902
1915
|
property :region, as: 'region'
|
|
@@ -2663,6 +2676,7 @@ module Google
|
|
|
2663
2676
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
2664
2677
|
property :description, as: 'description'
|
|
2665
2678
|
property :id, :numeric_string => true, as: 'id'
|
|
2679
|
+
property :ip_version, as: 'ipVersion'
|
|
2666
2680
|
property :kind, as: 'kind'
|
|
2667
2681
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
|
2668
2682
|
property :name, as: 'name'
|
|
@@ -2671,6 +2685,8 @@ module Google
|
|
|
2671
2685
|
collection :ports, as: 'ports'
|
|
2672
2686
|
property :region, as: 'region'
|
|
2673
2687
|
property :self_link, as: 'selfLink'
|
|
2688
|
+
property :service_label, as: 'serviceLabel'
|
|
2689
|
+
property :service_name, as: 'serviceName'
|
|
2674
2690
|
property :subnetwork, as: 'subnetwork'
|
|
2675
2691
|
property :target, as: 'target'
|
|
2676
2692
|
end
|
|
@@ -3128,6 +3144,7 @@ module Google
|
|
|
3128
3144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3129
3145
|
collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeBeta::ManagedInstance, decorator: Google::Apis::ComputeBeta::ManagedInstance::Representation
|
|
3130
3146
|
|
|
3147
|
+
property :next_page_token, as: 'nextPageToken'
|
|
3131
3148
|
end
|
|
3132
3149
|
end
|
|
3133
3150
|
|
|
@@ -3281,6 +3298,18 @@ module Google
|
|
|
3281
3298
|
end
|
|
3282
3299
|
end
|
|
3283
3300
|
|
|
3301
|
+
class InstanceListReferrers
|
|
3302
|
+
# @private
|
|
3303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3304
|
+
property :id, as: 'id'
|
|
3305
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::Reference, decorator: Google::Apis::ComputeBeta::Reference::Representation
|
|
3306
|
+
|
|
3307
|
+
property :kind, as: 'kind'
|
|
3308
|
+
property :next_page_token, as: 'nextPageToken'
|
|
3309
|
+
property :self_link, as: 'selfLink'
|
|
3310
|
+
end
|
|
3311
|
+
end
|
|
3312
|
+
|
|
3284
3313
|
class MoveInstanceRequest
|
|
3285
3314
|
# @private
|
|
3286
3315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3296,6 +3325,8 @@ module Google
|
|
|
3296
3325
|
property :description, as: 'description'
|
|
3297
3326
|
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation
|
|
3298
3327
|
|
|
3328
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
|
3329
|
+
|
|
3299
3330
|
hash :labels, as: 'labels'
|
|
3300
3331
|
property :machine_type, as: 'machineType'
|
|
3301
3332
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
|
@@ -3879,6 +3910,16 @@ module Google
|
|
|
3879
3910
|
end
|
|
3880
3911
|
end
|
|
3881
3912
|
|
|
3913
|
+
class Reference
|
|
3914
|
+
# @private
|
|
3915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3916
|
+
property :kind, as: 'kind'
|
|
3917
|
+
property :reference_type, as: 'referenceType'
|
|
3918
|
+
property :referrer, as: 'referrer'
|
|
3919
|
+
property :target, as: 'target'
|
|
3920
|
+
end
|
|
3921
|
+
end
|
|
3922
|
+
|
|
3882
3923
|
class Region
|
|
3883
3924
|
# @private
|
|
3884
3925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3952,6 +3993,7 @@ module Google
|
|
|
3952
3993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3953
3994
|
collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeBeta::ManagedInstance, decorator: Google::Apis::ComputeBeta::ManagedInstance::Representation
|
|
3954
3995
|
|
|
3996
|
+
property :next_page_token, as: 'nextPageToken'
|
|
3955
3997
|
end
|
|
3956
3998
|
end
|
|
3957
3999
|
|
|
@@ -865,9 +865,9 @@ module Google
|
|
|
865
865
|
# Project ID for this request.
|
|
866
866
|
# @param [String] zone
|
|
867
867
|
# Name of the zone for this request.
|
|
868
|
-
# @param [String] autoscaler
|
|
869
|
-
# Name of the autoscaler to update.
|
|
870
868
|
# @param [Google::Apis::ComputeBeta::Autoscaler] autoscaler_object
|
|
869
|
+
# @param [String] autoscaler
|
|
870
|
+
# Name of the autoscaler to patch.
|
|
871
871
|
# @param [String] fields
|
|
872
872
|
# Selector specifying which fields to include in a partial response.
|
|
873
873
|
# @param [String] quota_user
|
|
@@ -889,7 +889,7 @@ module Google
|
|
|
889
889
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
890
890
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
891
891
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
892
|
-
def patch_autoscaler(project, zone,
|
|
892
|
+
def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
893
893
|
command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options)
|
|
894
894
|
command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
|
|
895
895
|
command.request_object = autoscaler_object
|
|
@@ -1714,83 +1714,6 @@ module Google
|
|
|
1714
1714
|
execute_or_queue_command(command, &block)
|
|
1715
1715
|
end
|
|
1716
1716
|
|
|
1717
|
-
# Retrieves an aggregated list of commitments.
|
|
1718
|
-
# @param [String] project
|
|
1719
|
-
# Project ID for this request.
|
|
1720
|
-
# @param [String] filter
|
|
1721
|
-
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
1722
|
-
# expression`. Your `expression` must be in the format: field_name
|
|
1723
|
-
# comparison_string literal_string.
|
|
1724
|
-
# The field_name is the name of the field you want to compare. Only atomic field
|
|
1725
|
-
# types are supported (string, number, boolean). The comparison_string must be
|
|
1726
|
-
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
1727
|
-
# to filter to. The literal value must be valid for the type of field you are
|
|
1728
|
-
# filtering by (string, number, boolean). For string fields, the literal value
|
|
1729
|
-
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
1730
|
-
# must match the entire field.
|
|
1731
|
-
# For example, to filter for instances that do not have a name of example-
|
|
1732
|
-
# instance, you would use filter=name ne example-instance.
|
|
1733
|
-
# You can filter on nested fields. For example, you could filter on instances
|
|
1734
|
-
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
1735
|
-
# nested fields to take advantage of labels to organize and search for results
|
|
1736
|
-
# based on label values.
|
|
1737
|
-
# To filter on multiple expressions, provide each separate expression within
|
|
1738
|
-
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
1739
|
-
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
1740
|
-
# resources must match all expressions to pass the filters.
|
|
1741
|
-
# @param [Fixnum] max_results
|
|
1742
|
-
# The maximum number of results per page that should be returned. If the number
|
|
1743
|
-
# of available results is larger than maxResults, Compute Engine returns a
|
|
1744
|
-
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1745
|
-
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1746
|
-
# @param [String] order_by
|
|
1747
|
-
# Sorts list results by a certain order. By default, results are returned in
|
|
1748
|
-
# alphanumerical order based on the resource name.
|
|
1749
|
-
# You can also sort results in descending order based on the creation timestamp
|
|
1750
|
-
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
1751
|
-
# creationTimestamp field in reverse chronological order (newest result first).
|
|
1752
|
-
# Use this to sort resources like operations so that the newest operation is
|
|
1753
|
-
# returned first.
|
|
1754
|
-
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
1755
|
-
# @param [String] page_token
|
|
1756
|
-
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
1757
|
-
# a previous list request to get the next page of results.
|
|
1758
|
-
# @param [String] fields
|
|
1759
|
-
# Selector specifying which fields to include in a partial response.
|
|
1760
|
-
# @param [String] quota_user
|
|
1761
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1762
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1763
|
-
# Overrides userIp if both are provided.
|
|
1764
|
-
# @param [String] user_ip
|
|
1765
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
1766
|
-
# enforce per-user limits.
|
|
1767
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1768
|
-
# Request-specific options
|
|
1769
|
-
#
|
|
1770
|
-
# @yield [result, err] Result & error if block supplied
|
|
1771
|
-
# @yieldparam result [Google::Apis::ComputeBeta::CommitmentAggregatedList] parsed result object
|
|
1772
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1773
|
-
#
|
|
1774
|
-
# @return [Google::Apis::ComputeBeta::CommitmentAggregatedList]
|
|
1775
|
-
#
|
|
1776
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1777
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1778
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1779
|
-
def aggregated_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1780
|
-
command = make_simple_command(:get, '{project}/aggregated/commitments', options)
|
|
1781
|
-
command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation
|
|
1782
|
-
command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList
|
|
1783
|
-
command.params['project'] = project unless project.nil?
|
|
1784
|
-
command.query['filter'] = filter unless filter.nil?
|
|
1785
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
|
1786
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1787
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1788
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1789
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1790
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1791
|
-
execute_or_queue_command(command, &block)
|
|
1792
|
-
end
|
|
1793
|
-
|
|
1794
1717
|
# Retrieves an aggregated list of disk types.
|
|
1795
1718
|
# @param [String] project
|
|
1796
1719
|
# Project ID for this request.
|
|
@@ -2734,6 +2657,8 @@ module Google
|
|
|
2734
2657
|
end
|
|
2735
2658
|
|
|
2736
2659
|
# Updates the specified firewall rule with the data included in the request.
|
|
2660
|
+
# Using PUT method, can only update following fields of firewall rule: allowed,
|
|
2661
|
+
# description, sourceRanges, sourceTags, targetTags.
|
|
2737
2662
|
# @param [String] project
|
|
2738
2663
|
# Project ID for this request.
|
|
2739
2664
|
# @param [String] firewall
|
|
@@ -3379,7 +3304,7 @@ module Google
|
|
|
3379
3304
|
execute_or_queue_command(command, &block)
|
|
3380
3305
|
end
|
|
3381
3306
|
|
|
3382
|
-
# Deletes the specified
|
|
3307
|
+
# Deletes the specified GlobalForwardingRule resource.
|
|
3383
3308
|
# @param [String] project
|
|
3384
3309
|
# Project ID for this request.
|
|
3385
3310
|
# @param [String] forwarding_rule
|
|
@@ -3417,7 +3342,7 @@ module Google
|
|
|
3417
3342
|
execute_or_queue_command(command, &block)
|
|
3418
3343
|
end
|
|
3419
3344
|
|
|
3420
|
-
# Returns the specified
|
|
3345
|
+
# Returns the specified GlobalForwardingRule resource. Get a list of available
|
|
3421
3346
|
# forwarding rules by making a list() request.
|
|
3422
3347
|
# @param [String] project
|
|
3423
3348
|
# Project ID for this request.
|
|
@@ -3456,8 +3381,8 @@ module Google
|
|
|
3456
3381
|
execute_or_queue_command(command, &block)
|
|
3457
3382
|
end
|
|
3458
3383
|
|
|
3459
|
-
# Creates a
|
|
3460
|
-
#
|
|
3384
|
+
# Creates a GlobalForwardingRule resource in the specified project using the
|
|
3385
|
+
# data included in the request.
|
|
3461
3386
|
# @param [String] project
|
|
3462
3387
|
# Project ID for this request.
|
|
3463
3388
|
# @param [Google::Apis::ComputeBeta::ForwardingRule] forwarding_rule_object
|
|
@@ -3495,7 +3420,7 @@ module Google
|
|
|
3495
3420
|
execute_or_queue_command(command, &block)
|
|
3496
3421
|
end
|
|
3497
3422
|
|
|
3498
|
-
# Retrieves a list of
|
|
3423
|
+
# Retrieves a list of GlobalForwardingRule resources available to the specified
|
|
3499
3424
|
# project.
|
|
3500
3425
|
# @param [String] project
|
|
3501
3426
|
# Project ID for this request.
|
|
@@ -3573,8 +3498,8 @@ module Google
|
|
|
3573
3498
|
execute_or_queue_command(command, &block)
|
|
3574
3499
|
end
|
|
3575
3500
|
|
|
3576
|
-
# Changes target URL for
|
|
3577
|
-
# type as the old target.
|
|
3501
|
+
# Changes target URL for the GlobalForwardingRule resource. The new target
|
|
3502
|
+
# should be of the same type as the old target.
|
|
3578
3503
|
# @param [String] project
|
|
3579
3504
|
# Project ID for this request.
|
|
3580
3505
|
# @param [String] forwarding_rule
|
|
@@ -5210,6 +5135,7 @@ module Google
|
|
|
5210
5135
|
# DONE when the action is scheduled even if the instances have not yet been
|
|
5211
5136
|
# removed from the group. You must separately verify the status of the
|
|
5212
5137
|
# abandoning action with the listmanagedinstances method.
|
|
5138
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
5213
5139
|
# @param [String] project
|
|
5214
5140
|
# Project ID for this request.
|
|
5215
5141
|
# @param [String] zone
|
|
@@ -5380,6 +5306,7 @@ module Google
|
|
|
5380
5306
|
# DONE when the action is scheduled even if the instances are still being
|
|
5381
5307
|
# deleted. You must separately verify the status of the deleting action with the
|
|
5382
5308
|
# listmanagedinstances method.
|
|
5309
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
5383
5310
|
# @param [String] project
|
|
5384
5311
|
# Project ID for this request.
|
|
5385
5312
|
# @param [String] zone
|
|
@@ -5471,6 +5398,7 @@ module Google
|
|
|
5471
5398
|
# is marked as DONE when the group is created even if the instances in the group
|
|
5472
5399
|
# have not yet been created. You must separately verify the status of the
|
|
5473
5400
|
# individual instances with the listmanagedinstances method.
|
|
5401
|
+
# A managed instance group can have up to 1000 VM instances per group.
|
|
5474
5402
|
# @param [String] project
|
|
5475
5403
|
# Project ID for this request.
|
|
5476
5404
|
# @param [String] zone
|
|
@@ -5646,10 +5574,10 @@ module Google
|
|
|
5646
5574
|
end
|
|
5647
5575
|
|
|
5648
5576
|
# Updates a managed instance group using the information that you specify in the
|
|
5649
|
-
# request. This operation is marked as DONE when the group is
|
|
5650
|
-
# the instances in the group
|
|
5651
|
-
# verify the status of the individual instances with the
|
|
5652
|
-
# method. This method supports patch semantics.
|
|
5577
|
+
# request. This operation is marked as DONE when the group is patched even if
|
|
5578
|
+
# the instances in the group are still in the process of being patched. You must
|
|
5579
|
+
# separately verify the status of the individual instances with the
|
|
5580
|
+
# listManagedInstances method. This method supports patch semantics.
|
|
5653
5581
|
# @param [String] project
|
|
5654
5582
|
# Project ID for this request.
|
|
5655
5583
|
# @param [String] zone
|
|
@@ -5699,6 +5627,7 @@ module Google
|
|
|
5699
5627
|
# DONE when the action is scheduled even if the instances have not yet been
|
|
5700
5628
|
# recreated. You must separately verify the status of the recreating action with
|
|
5701
5629
|
# the listmanagedinstances method.
|
|
5630
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
5702
5631
|
# @param [String] project
|
|
5703
5632
|
# Project ID for this request.
|
|
5704
5633
|
# @param [String] zone
|
|
@@ -6031,7 +5960,7 @@ module Google
|
|
|
6031
5960
|
# Updates a managed instance group using the information that you specify in the
|
|
6032
5961
|
# request. This operation is marked as DONE when the group is updated even if
|
|
6033
5962
|
# the instances in the group have not yet been updated. You must separately
|
|
6034
|
-
# verify the status of the individual instances with the
|
|
5963
|
+
# verify the status of the individual instances with the listManagedInstances
|
|
6035
5964
|
# method.
|
|
6036
5965
|
# @param [String] project
|
|
6037
5966
|
# Project ID for this request.
|
|
@@ -7382,7 +7311,93 @@ module Google
|
|
|
7382
7311
|
execute_or_queue_command(command, &block)
|
|
7383
7312
|
end
|
|
7384
7313
|
|
|
7385
|
-
#
|
|
7314
|
+
# Retrieves the list of referrers to instances contained within the specified
|
|
7315
|
+
# zone.
|
|
7316
|
+
# @param [String] project
|
|
7317
|
+
# Project ID for this request.
|
|
7318
|
+
# @param [String] zone
|
|
7319
|
+
# The name of the zone for this request.
|
|
7320
|
+
# @param [String] instance
|
|
7321
|
+
# Name of the target instance scoping this request, or '-' if the request should
|
|
7322
|
+
# span over all instances in the container.
|
|
7323
|
+
# @param [String] filter
|
|
7324
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
7325
|
+
# expression`. Your `expression` must be in the format: field_name
|
|
7326
|
+
# comparison_string literal_string.
|
|
7327
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
|
7328
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
|
7329
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
7330
|
+
# to filter to. The literal value must be valid for the type of field you are
|
|
7331
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
|
7332
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
7333
|
+
# must match the entire field.
|
|
7334
|
+
# For example, to filter for instances that do not have a name of example-
|
|
7335
|
+
# instance, you would use filter=name ne example-instance.
|
|
7336
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
7337
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
7338
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
7339
|
+
# based on label values.
|
|
7340
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
7341
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
7342
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
7343
|
+
# resources must match all expressions to pass the filters.
|
|
7344
|
+
# @param [Fixnum] max_results
|
|
7345
|
+
# The maximum number of results per page that should be returned. If the number
|
|
7346
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
7347
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
7348
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
7349
|
+
# @param [String] order_by
|
|
7350
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
7351
|
+
# alphanumerical order based on the resource name.
|
|
7352
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
7353
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
7354
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
7355
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
7356
|
+
# returned first.
|
|
7357
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
7358
|
+
# @param [String] page_token
|
|
7359
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
7360
|
+
# a previous list request to get the next page of results.
|
|
7361
|
+
# @param [String] fields
|
|
7362
|
+
# Selector specifying which fields to include in a partial response.
|
|
7363
|
+
# @param [String] quota_user
|
|
7364
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7365
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7366
|
+
# Overrides userIp if both are provided.
|
|
7367
|
+
# @param [String] user_ip
|
|
7368
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
7369
|
+
# enforce per-user limits.
|
|
7370
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7371
|
+
# Request-specific options
|
|
7372
|
+
#
|
|
7373
|
+
# @yield [result, err] Result & error if block supplied
|
|
7374
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceListReferrers] parsed result object
|
|
7375
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7376
|
+
#
|
|
7377
|
+
# @return [Google::Apis::ComputeBeta::InstanceListReferrers]
|
|
7378
|
+
#
|
|
7379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7382
|
+
def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
7383
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options)
|
|
7384
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceListReferrers::Representation
|
|
7385
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceListReferrers
|
|
7386
|
+
command.params['project'] = project unless project.nil?
|
|
7387
|
+
command.params['zone'] = zone unless zone.nil?
|
|
7388
|
+
command.params['instance'] = instance unless instance.nil?
|
|
7389
|
+
command.query['filter'] = filter unless filter.nil?
|
|
7390
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
7391
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
7392
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
7393
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7395
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
7396
|
+
execute_or_queue_command(command, &block)
|
|
7397
|
+
end
|
|
7398
|
+
|
|
7399
|
+
# Performs a reset on the instance. For more information, see Resetting an
|
|
7400
|
+
# instance.
|
|
7386
7401
|
# @param [String] project
|
|
7387
7402
|
# Project ID for this request.
|
|
7388
7403
|
# @param [String] zone
|
|
@@ -9224,9 +9239,9 @@ module Google
|
|
|
9224
9239
|
# Project ID for this request.
|
|
9225
9240
|
# @param [String] region
|
|
9226
9241
|
# Name of the region scoping this request.
|
|
9227
|
-
# @param [String] autoscaler
|
|
9228
|
-
# Name of the autoscaler to update.
|
|
9229
9242
|
# @param [Google::Apis::ComputeBeta::Autoscaler] autoscaler_object
|
|
9243
|
+
# @param [String] autoscaler
|
|
9244
|
+
# Name of the autoscaler to patch.
|
|
9230
9245
|
# @param [String] fields
|
|
9231
9246
|
# Selector specifying which fields to include in a partial response.
|
|
9232
9247
|
# @param [String] quota_user
|
|
@@ -9248,7 +9263,7 @@ module Google
|
|
|
9248
9263
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9249
9264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9250
9265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9251
|
-
def patch_region_autoscaler(project, region,
|
|
9266
|
+
def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9252
9267
|
command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options)
|
|
9253
9268
|
command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation
|
|
9254
9269
|
command.request_object = autoscaler_object
|
|
@@ -9740,6 +9755,83 @@ module Google
|
|
|
9740
9755
|
execute_or_queue_command(command, &block)
|
|
9741
9756
|
end
|
|
9742
9757
|
|
|
9758
|
+
# Retrieves an aggregated list of commitments.
|
|
9759
|
+
# @param [String] project
|
|
9760
|
+
# Project ID for this request.
|
|
9761
|
+
# @param [String] filter
|
|
9762
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
9763
|
+
# expression`. Your `expression` must be in the format: field_name
|
|
9764
|
+
# comparison_string literal_string.
|
|
9765
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
|
9766
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
|
9767
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
9768
|
+
# to filter to. The literal value must be valid for the type of field you are
|
|
9769
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
|
9770
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
9771
|
+
# must match the entire field.
|
|
9772
|
+
# For example, to filter for instances that do not have a name of example-
|
|
9773
|
+
# instance, you would use filter=name ne example-instance.
|
|
9774
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
9775
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
9776
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
9777
|
+
# based on label values.
|
|
9778
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
9779
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
9780
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
9781
|
+
# resources must match all expressions to pass the filters.
|
|
9782
|
+
# @param [Fixnum] max_results
|
|
9783
|
+
# The maximum number of results per page that should be returned. If the number
|
|
9784
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
9785
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
9786
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
9787
|
+
# @param [String] order_by
|
|
9788
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
9789
|
+
# alphanumerical order based on the resource name.
|
|
9790
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
9791
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
9792
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
9793
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
9794
|
+
# returned first.
|
|
9795
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
9796
|
+
# @param [String] page_token
|
|
9797
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
9798
|
+
# a previous list request to get the next page of results.
|
|
9799
|
+
# @param [String] fields
|
|
9800
|
+
# Selector specifying which fields to include in a partial response.
|
|
9801
|
+
# @param [String] quota_user
|
|
9802
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9803
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9804
|
+
# Overrides userIp if both are provided.
|
|
9805
|
+
# @param [String] user_ip
|
|
9806
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9807
|
+
# enforce per-user limits.
|
|
9808
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9809
|
+
# Request-specific options
|
|
9810
|
+
#
|
|
9811
|
+
# @yield [result, err] Result & error if block supplied
|
|
9812
|
+
# @yieldparam result [Google::Apis::ComputeBeta::CommitmentAggregatedList] parsed result object
|
|
9813
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9814
|
+
#
|
|
9815
|
+
# @return [Google::Apis::ComputeBeta::CommitmentAggregatedList]
|
|
9816
|
+
#
|
|
9817
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9818
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9819
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9820
|
+
def aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9821
|
+
command = make_simple_command(:get, '{project}/aggregated/commitments', options)
|
|
9822
|
+
command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation
|
|
9823
|
+
command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList
|
|
9824
|
+
command.params['project'] = project unless project.nil?
|
|
9825
|
+
command.query['filter'] = filter unless filter.nil?
|
|
9826
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
9827
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
9828
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
9829
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9830
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9831
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9832
|
+
execute_or_queue_command(command, &block)
|
|
9833
|
+
end
|
|
9834
|
+
|
|
9743
9835
|
# Returns the specified commitment resource. Get a list of available commitments
|
|
9744
9836
|
# by making a list() request.
|
|
9745
9837
|
# @param [String] project
|
|
@@ -9912,6 +10004,7 @@ module Google
|
|
|
9912
10004
|
# DONE when the action is scheduled even if the instances have not yet been
|
|
9913
10005
|
# removed from the group. You must separately verify the status of the
|
|
9914
10006
|
# abandoning action with the listmanagedinstances method.
|
|
10007
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
9915
10008
|
# @param [String] project
|
|
9916
10009
|
# Project ID for this request.
|
|
9917
10010
|
# @param [String] region
|
|
@@ -10004,6 +10097,7 @@ module Google
|
|
|
10004
10097
|
# DONE when the action is scheduled even if the instances are still being
|
|
10005
10098
|
# deleted. You must separately verify the status of the deleting action with the
|
|
10006
10099
|
# listmanagedinstances method.
|
|
10100
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
10007
10101
|
# @param [String] project
|
|
10008
10102
|
# Project ID for this request.
|
|
10009
10103
|
# @param [String] region
|
|
@@ -10094,6 +10188,7 @@ module Google
|
|
|
10094
10188
|
# is marked as DONE when the group is created even if the instances in the group
|
|
10095
10189
|
# have not yet been created. You must separately verify the status of the
|
|
10096
10190
|
# individual instances with the listmanagedinstances method.
|
|
10191
|
+
# A regional managed instance group can contain up to 2000 instances.
|
|
10097
10192
|
# @param [String] project
|
|
10098
10193
|
# Project ID for this request.
|
|
10099
10194
|
# @param [String] region
|
|
@@ -10267,10 +10362,10 @@ module Google
|
|
|
10267
10362
|
end
|
|
10268
10363
|
|
|
10269
10364
|
# Updates a managed instance group using the information that you specify in the
|
|
10270
|
-
# request. This operation is marked as DONE when the group is
|
|
10271
|
-
# the instances in the group
|
|
10272
|
-
# verify the status of the individual instances with the
|
|
10273
|
-
# method. This method supports patch semantics.
|
|
10365
|
+
# request. This operation is marked as DONE when the group is patched even if
|
|
10366
|
+
# the instances in the group are still in the process of being patched. You must
|
|
10367
|
+
# separately verify the status of the individual instances with the
|
|
10368
|
+
# listmanagedinstances method. This method supports patch semantics.
|
|
10274
10369
|
# @param [String] project
|
|
10275
10370
|
# Project ID for this request.
|
|
10276
10371
|
# @param [String] region
|
|
@@ -10320,6 +10415,7 @@ module Google
|
|
|
10320
10415
|
# DONE when the action is scheduled even if the instances have not yet been
|
|
10321
10416
|
# recreated. You must separately verify the status of the recreating action with
|
|
10322
10417
|
# the listmanagedinstances method.
|
|
10418
|
+
# You can specify a maximum of 1000 instances with this method per request.
|
|
10323
10419
|
# @param [String] project
|
|
10324
10420
|
# Project ID for this request.
|
|
10325
10421
|
# @param [String] region
|