google-api-client 0.36.0 → 0.36.1
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 +69 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +174 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
- data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +68 -47
- data/generated/google/apis/compute_alpha/representations.rb +2 -1
- data/generated/google/apis/compute_alpha/service.rb +54 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +597 -40
- data/generated/google/apis/compute_beta/representations.rb +164 -0
- data/generated/google/apis/compute_beta/service.rb +343 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -39
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +46 -42
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +46 -42
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +16 -22
- data/generated/google/apis/datastore_v1/service.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
- data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
- data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +77 -0
- data/generated/google/apis/dlp_v2/representations.rb +42 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +59 -12
- data/generated/google/apis/file_v1/representations.rb +19 -2
- data/generated/google/apis/file_v1/service.rb +8 -4
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +59 -12
- data/generated/google/apis/file_v1beta1/representations.rb +19 -2
- data/generated/google/apis/file_v1beta1/service.rb +8 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +225 -40
- data/generated/google/apis/iap_v1/representations.rb +84 -0
- data/generated/google/apis/iap_v1/service.rb +292 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +29 -41
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -21
- data/generated/google/apis/ml_v1/service.rb +15 -18
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +75 -41
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +75 -41
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
- data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
- data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
|
@@ -1900,6 +1900,30 @@ module Google
|
|
|
1900
1900
|
include Google::Apis::Core::JsonObjectSupport
|
|
1901
1901
|
end
|
|
1902
1902
|
|
|
1903
|
+
class MachineImage
|
|
1904
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1905
|
+
|
|
1906
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1907
|
+
end
|
|
1908
|
+
|
|
1909
|
+
class MachineImageList
|
|
1910
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1911
|
+
|
|
1912
|
+
class Warning
|
|
1913
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1914
|
+
|
|
1915
|
+
class Datum
|
|
1916
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1917
|
+
|
|
1918
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1922
|
+
end
|
|
1923
|
+
|
|
1924
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1925
|
+
end
|
|
1926
|
+
|
|
1903
1927
|
class MachineType
|
|
1904
1928
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1905
1929
|
|
|
@@ -3310,6 +3334,12 @@ module Google
|
|
|
3310
3334
|
include Google::Apis::Core::JsonObjectSupport
|
|
3311
3335
|
end
|
|
3312
3336
|
|
|
3337
|
+
class SavedAttachedDisk
|
|
3338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3339
|
+
|
|
3340
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3341
|
+
end
|
|
3342
|
+
|
|
3313
3343
|
class Scheduling
|
|
3314
3344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3315
3345
|
|
|
@@ -3478,12 +3508,24 @@ module Google
|
|
|
3478
3508
|
include Google::Apis::Core::JsonObjectSupport
|
|
3479
3509
|
end
|
|
3480
3510
|
|
|
3511
|
+
class SourceDiskEncryptionKey
|
|
3512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3513
|
+
|
|
3514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3515
|
+
end
|
|
3516
|
+
|
|
3481
3517
|
class SourceInstanceParams
|
|
3482
3518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3483
3519
|
|
|
3484
3520
|
include Google::Apis::Core::JsonObjectSupport
|
|
3485
3521
|
end
|
|
3486
3522
|
|
|
3523
|
+
class SourceInstanceProperties
|
|
3524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3525
|
+
|
|
3526
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3527
|
+
end
|
|
3528
|
+
|
|
3487
3529
|
class SslCertificate
|
|
3488
3530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3489
3531
|
|
|
@@ -5617,6 +5659,7 @@ module Google
|
|
|
5617
5659
|
property :description, as: 'description'
|
|
5618
5660
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
5619
5661
|
|
|
5662
|
+
property :erase_windows_vss_signature, as: 'eraseWindowsVssSignature'
|
|
5620
5663
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
|
5621
5664
|
|
|
5622
5665
|
property :id, :numeric_string => true, as: 'id'
|
|
@@ -6858,6 +6901,7 @@ module Google
|
|
|
6858
6901
|
|
|
6859
6902
|
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeBeta::DisplayDevice, decorator: Google::Apis::ComputeBeta::DisplayDevice::Representation
|
|
6860
6903
|
|
|
6904
|
+
property :erase_windows_vss_signature, as: 'eraseWindowsVssSignature'
|
|
6861
6905
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
|
6862
6906
|
|
|
6863
6907
|
property :hostname, as: 'hostname'
|
|
@@ -6887,6 +6931,9 @@ module Google
|
|
|
6887
6931
|
|
|
6888
6932
|
property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation
|
|
6889
6933
|
|
|
6934
|
+
property :source_machine_image, as: 'sourceMachineImage'
|
|
6935
|
+
property :source_machine_image_encryption_key, as: 'sourceMachineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
6936
|
+
|
|
6890
6937
|
property :start_restricted, as: 'startRestricted'
|
|
6891
6938
|
property :status, as: 'status'
|
|
6892
6939
|
property :status_message, as: 'statusMessage'
|
|
@@ -8126,6 +8173,61 @@ module Google
|
|
|
8126
8173
|
end
|
|
8127
8174
|
end
|
|
8128
8175
|
|
|
8176
|
+
class MachineImage
|
|
8177
|
+
# @private
|
|
8178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8179
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
8180
|
+
property :description, as: 'description'
|
|
8181
|
+
property :guest_flush, as: 'guestFlush'
|
|
8182
|
+
property :id, :numeric_string => true, as: 'id'
|
|
8183
|
+
property :kind, as: 'kind'
|
|
8184
|
+
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
8185
|
+
|
|
8186
|
+
property :name, as: 'name'
|
|
8187
|
+
property :self_link, as: 'selfLink'
|
|
8188
|
+
collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeBeta::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeBeta::SourceDiskEncryptionKey::Representation
|
|
8189
|
+
|
|
8190
|
+
property :source_instance, as: 'sourceInstance'
|
|
8191
|
+
property :source_instance_properties, as: 'sourceInstanceProperties', class: Google::Apis::ComputeBeta::SourceInstanceProperties, decorator: Google::Apis::ComputeBeta::SourceInstanceProperties::Representation
|
|
8192
|
+
|
|
8193
|
+
property :status, as: 'status'
|
|
8194
|
+
collection :storage_locations, as: 'storageLocations'
|
|
8195
|
+
property :total_storage_bytes, :numeric_string => true, as: 'totalStorageBytes'
|
|
8196
|
+
end
|
|
8197
|
+
end
|
|
8198
|
+
|
|
8199
|
+
class MachineImageList
|
|
8200
|
+
# @private
|
|
8201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8202
|
+
property :id, as: 'id'
|
|
8203
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::MachineImage, decorator: Google::Apis::ComputeBeta::MachineImage::Representation
|
|
8204
|
+
|
|
8205
|
+
property :kind, as: 'kind'
|
|
8206
|
+
property :next_page_token, as: 'nextPageToken'
|
|
8207
|
+
property :self_link, as: 'selfLink'
|
|
8208
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::MachineImageList::Warning, decorator: Google::Apis::ComputeBeta::MachineImageList::Warning::Representation
|
|
8209
|
+
|
|
8210
|
+
end
|
|
8211
|
+
|
|
8212
|
+
class Warning
|
|
8213
|
+
# @private
|
|
8214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8215
|
+
property :code, as: 'code'
|
|
8216
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::MachineImageList::Warning::Datum, decorator: Google::Apis::ComputeBeta::MachineImageList::Warning::Datum::Representation
|
|
8217
|
+
|
|
8218
|
+
property :message, as: 'message'
|
|
8219
|
+
end
|
|
8220
|
+
|
|
8221
|
+
class Datum
|
|
8222
|
+
# @private
|
|
8223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8224
|
+
property :key, as: 'key'
|
|
8225
|
+
property :value, as: 'value'
|
|
8226
|
+
end
|
|
8227
|
+
end
|
|
8228
|
+
end
|
|
8229
|
+
end
|
|
8230
|
+
|
|
8129
8231
|
class MachineType
|
|
8130
8232
|
# @private
|
|
8131
8233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8561,6 +8663,7 @@ module Google
|
|
|
8561
8663
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeBeta::AliasIpRange, decorator: Google::Apis::ComputeBeta::AliasIpRange::Representation
|
|
8562
8664
|
|
|
8563
8665
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
8666
|
+
property :ipv6_address, as: 'ipv6Address'
|
|
8564
8667
|
property :kind, as: 'kind'
|
|
8565
8668
|
property :name, as: 'name'
|
|
8566
8669
|
property :network, as: 'network'
|
|
@@ -10628,6 +10731,29 @@ module Google
|
|
|
10628
10731
|
end
|
|
10629
10732
|
end
|
|
10630
10733
|
|
|
10734
|
+
class SavedAttachedDisk
|
|
10735
|
+
# @private
|
|
10736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10737
|
+
property :auto_delete, as: 'autoDelete'
|
|
10738
|
+
property :boot, as: 'boot'
|
|
10739
|
+
property :device_name, as: 'deviceName'
|
|
10740
|
+
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
10741
|
+
|
|
10742
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
10743
|
+
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
|
10744
|
+
|
|
10745
|
+
property :index, as: 'index'
|
|
10746
|
+
property :interface, as: 'interface'
|
|
10747
|
+
property :kind, as: 'kind'
|
|
10748
|
+
collection :licenses, as: 'licenses'
|
|
10749
|
+
property :mode, as: 'mode'
|
|
10750
|
+
property :source, as: 'source'
|
|
10751
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
|
10752
|
+
property :storage_bytes_status, as: 'storageBytesStatus'
|
|
10753
|
+
property :type, as: 'type'
|
|
10754
|
+
end
|
|
10755
|
+
end
|
|
10756
|
+
|
|
10631
10757
|
class Scheduling
|
|
10632
10758
|
# @private
|
|
10633
10759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10914,6 +11040,15 @@ module Google
|
|
|
10914
11040
|
end
|
|
10915
11041
|
end
|
|
10916
11042
|
|
|
11043
|
+
class SourceDiskEncryptionKey
|
|
11044
|
+
# @private
|
|
11045
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11046
|
+
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
|
11047
|
+
|
|
11048
|
+
property :source_disk, as: 'sourceDisk'
|
|
11049
|
+
end
|
|
11050
|
+
end
|
|
11051
|
+
|
|
10917
11052
|
class SourceInstanceParams
|
|
10918
11053
|
# @private
|
|
10919
11054
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10922,6 +11057,32 @@ module Google
|
|
|
10922
11057
|
end
|
|
10923
11058
|
end
|
|
10924
11059
|
|
|
11060
|
+
class SourceInstanceProperties
|
|
11061
|
+
# @private
|
|
11062
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11063
|
+
property :can_ip_forward, as: 'canIpForward'
|
|
11064
|
+
property :deletion_protection, as: 'deletionProtection'
|
|
11065
|
+
property :description, as: 'description'
|
|
11066
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::SavedAttachedDisk, decorator: Google::Apis::ComputeBeta::SavedAttachedDisk::Representation
|
|
11067
|
+
|
|
11068
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
|
11069
|
+
|
|
11070
|
+
hash :labels, as: 'labels'
|
|
11071
|
+
property :machine_type, as: 'machineType'
|
|
11072
|
+
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
|
11073
|
+
|
|
11074
|
+
property :min_cpu_platform, as: 'minCpuPlatform'
|
|
11075
|
+
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeBeta::NetworkInterface, decorator: Google::Apis::ComputeBeta::NetworkInterface::Representation
|
|
11076
|
+
|
|
11077
|
+
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::Scheduling, decorator: Google::Apis::ComputeBeta::Scheduling::Representation
|
|
11078
|
+
|
|
11079
|
+
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
|
|
11080
|
+
|
|
11081
|
+
property :tags, as: 'tags', class: Google::Apis::ComputeBeta::Tags, decorator: Google::Apis::ComputeBeta::Tags::Representation
|
|
11082
|
+
|
|
11083
|
+
end
|
|
11084
|
+
end
|
|
11085
|
+
|
|
10925
11086
|
class SslCertificate
|
|
10926
11087
|
# @private
|
|
10927
11088
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11147,12 +11308,15 @@ module Google
|
|
|
11147
11308
|
property :gateway_address, as: 'gatewayAddress'
|
|
11148
11309
|
property :id, :numeric_string => true, as: 'id'
|
|
11149
11310
|
property :ip_cidr_range, as: 'ipCidrRange'
|
|
11311
|
+
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
|
11150
11312
|
property :kind, as: 'kind'
|
|
11151
11313
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::SubnetworkLogConfig, decorator: Google::Apis::ComputeBeta::SubnetworkLogConfig::Representation
|
|
11152
11314
|
|
|
11153
11315
|
property :name, as: 'name'
|
|
11154
11316
|
property :network, as: 'network'
|
|
11155
11317
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
|
11318
|
+
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
|
11319
|
+
collection :private_ipv6_google_access_service_accounts, as: 'privateIpv6GoogleAccessServiceAccounts'
|
|
11156
11320
|
property :purpose, as: 'purpose'
|
|
11157
11321
|
property :region, as: 'region'
|
|
11158
11322
|
property :role, as: 'role'
|
|
@@ -9364,6 +9364,14 @@ module Google
|
|
|
9364
9364
|
# instanceTemplates/instanceTemplate
|
|
9365
9365
|
# - projects/project/global/instanceTemplates/instanceTemplate
|
|
9366
9366
|
# - global/instanceTemplates/instanceTemplate
|
|
9367
|
+
# @param [String] source_machine_image
|
|
9368
|
+
# Specifies instance machine to create the instance.
|
|
9369
|
+
# This field is optional. It can be a full or partial URL. For example, the
|
|
9370
|
+
# following are all valid URLs to an instance template:
|
|
9371
|
+
# - https://www.googleapis.com/compute/v1/projects/project/global/global/
|
|
9372
|
+
# machineImages/machineImage
|
|
9373
|
+
# - projects/project/global/global/machineImages/machineImage
|
|
9374
|
+
# - global/machineImages/machineImage
|
|
9367
9375
|
# @param [String] fields
|
|
9368
9376
|
# Selector specifying which fields to include in a partial response.
|
|
9369
9377
|
# @param [String] quota_user
|
|
@@ -9383,7 +9391,7 @@ module Google
|
|
|
9383
9391
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9384
9392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9385
9393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9386
|
-
def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9394
|
+
def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9387
9395
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances', options)
|
|
9388
9396
|
command.request_representation = Google::Apis::ComputeBeta::Instance::Representation
|
|
9389
9397
|
command.request_object = instance_object
|
|
@@ -9393,6 +9401,7 @@ module Google
|
|
|
9393
9401
|
command.params['zone'] = zone unless zone.nil?
|
|
9394
9402
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
9395
9403
|
command.query['sourceInstanceTemplate'] = source_instance_template unless source_instance_template.nil?
|
|
9404
|
+
command.query['sourceMachineImage'] = source_machine_image unless source_machine_image.nil?
|
|
9396
9405
|
command.query['fields'] = fields unless fields.nil?
|
|
9397
9406
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9398
9407
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -12232,6 +12241,339 @@ module Google
|
|
|
12232
12241
|
execute_or_queue_command(command, &block)
|
|
12233
12242
|
end
|
|
12234
12243
|
|
|
12244
|
+
# Deletes the specified machine image. Deleting a machine image is permanent and
|
|
12245
|
+
# cannot be undone. (== suppress_warning http-rest-shadowed ==)
|
|
12246
|
+
# @param [String] project
|
|
12247
|
+
# Project ID for this request.
|
|
12248
|
+
# @param [String] machine_image
|
|
12249
|
+
# The name of the machine image to delete.
|
|
12250
|
+
# @param [String] request_id
|
|
12251
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
12252
|
+
# that if you must retry your request, the server will know to ignore the
|
|
12253
|
+
# request if it has already been completed.
|
|
12254
|
+
# For example, consider a situation where you make an initial request and the
|
|
12255
|
+
# request times out. If you make the request again with the same request ID, the
|
|
12256
|
+
# server can check if original operation with the same request ID was received,
|
|
12257
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
12258
|
+
# accidentally creating duplicate commitments.
|
|
12259
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
12260
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
12261
|
+
# @param [String] fields
|
|
12262
|
+
# Selector specifying which fields to include in a partial response.
|
|
12263
|
+
# @param [String] quota_user
|
|
12264
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12265
|
+
# characters.
|
|
12266
|
+
# @param [String] user_ip
|
|
12267
|
+
# Deprecated. Please use quotaUser instead.
|
|
12268
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12269
|
+
# Request-specific options
|
|
12270
|
+
#
|
|
12271
|
+
# @yield [result, err] Result & error if block supplied
|
|
12272
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
12273
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12274
|
+
#
|
|
12275
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
12276
|
+
#
|
|
12277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12280
|
+
def delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12281
|
+
command = make_simple_command(:delete, '{project}/global/machineImages/{machineImage}', options)
|
|
12282
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
12283
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
12284
|
+
command.params['project'] = project unless project.nil?
|
|
12285
|
+
command.params['machineImage'] = machine_image unless machine_image.nil?
|
|
12286
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
12287
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12288
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12289
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12290
|
+
execute_or_queue_command(command, &block)
|
|
12291
|
+
end
|
|
12292
|
+
|
|
12293
|
+
# Returns the specified machine image. Gets a list of available machine images
|
|
12294
|
+
# by making a list() request. (== suppress_warning http-rest-shadowed ==)
|
|
12295
|
+
# @param [String] project
|
|
12296
|
+
# Project ID for this request.
|
|
12297
|
+
# @param [String] machine_image
|
|
12298
|
+
# The name of the machine image.
|
|
12299
|
+
# @param [String] fields
|
|
12300
|
+
# Selector specifying which fields to include in a partial response.
|
|
12301
|
+
# @param [String] quota_user
|
|
12302
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12303
|
+
# characters.
|
|
12304
|
+
# @param [String] user_ip
|
|
12305
|
+
# Deprecated. Please use quotaUser instead.
|
|
12306
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12307
|
+
# Request-specific options
|
|
12308
|
+
#
|
|
12309
|
+
# @yield [result, err] Result & error if block supplied
|
|
12310
|
+
# @yieldparam result [Google::Apis::ComputeBeta::MachineImage] parsed result object
|
|
12311
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12312
|
+
#
|
|
12313
|
+
# @return [Google::Apis::ComputeBeta::MachineImage]
|
|
12314
|
+
#
|
|
12315
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12316
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12317
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12318
|
+
def get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12319
|
+
command = make_simple_command(:get, '{project}/global/machineImages/{machineImage}', options)
|
|
12320
|
+
command.response_representation = Google::Apis::ComputeBeta::MachineImage::Representation
|
|
12321
|
+
command.response_class = Google::Apis::ComputeBeta::MachineImage
|
|
12322
|
+
command.params['project'] = project unless project.nil?
|
|
12323
|
+
command.params['machineImage'] = machine_image unless machine_image.nil?
|
|
12324
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12325
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12326
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12327
|
+
execute_or_queue_command(command, &block)
|
|
12328
|
+
end
|
|
12329
|
+
|
|
12330
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
|
12331
|
+
# or resource exists. (== suppress_warning http-rest-shadowed ==)
|
|
12332
|
+
# @param [String] project
|
|
12333
|
+
# Project ID for this request.
|
|
12334
|
+
# @param [String] resource
|
|
12335
|
+
# Name or id of the resource for this request.
|
|
12336
|
+
# @param [Fixnum] options_requested_policy_version
|
|
12337
|
+
# Requested IAM Policy version.
|
|
12338
|
+
# @param [String] fields
|
|
12339
|
+
# Selector specifying which fields to include in a partial response.
|
|
12340
|
+
# @param [String] quota_user
|
|
12341
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12342
|
+
# characters.
|
|
12343
|
+
# @param [String] user_ip
|
|
12344
|
+
# Deprecated. Please use quotaUser instead.
|
|
12345
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12346
|
+
# Request-specific options
|
|
12347
|
+
#
|
|
12348
|
+
# @yield [result, err] Result & error if block supplied
|
|
12349
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
12350
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12351
|
+
#
|
|
12352
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
|
12353
|
+
#
|
|
12354
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12355
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12356
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12357
|
+
def get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12358
|
+
command = make_simple_command(:get, '{project}/global/machineImages/{resource}/getIamPolicy', options)
|
|
12359
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
12360
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
12361
|
+
command.params['project'] = project unless project.nil?
|
|
12362
|
+
command.params['resource'] = resource unless resource.nil?
|
|
12363
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
12364
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12365
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12366
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12367
|
+
execute_or_queue_command(command, &block)
|
|
12368
|
+
end
|
|
12369
|
+
|
|
12370
|
+
# Creates a machine image in the specified project using the data that is
|
|
12371
|
+
# included in the request. If you are creating a new machine image to update an
|
|
12372
|
+
# existing instance, your new machine image should use the same network or, if
|
|
12373
|
+
# applicable, the same subnetwork as the original instance. (== suppress_warning
|
|
12374
|
+
# http-rest-shadowed ==)
|
|
12375
|
+
# @param [String] project
|
|
12376
|
+
# Project ID for this request.
|
|
12377
|
+
# @param [Google::Apis::ComputeBeta::MachineImage] machine_image_object
|
|
12378
|
+
# @param [String] request_id
|
|
12379
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
12380
|
+
# that if you must retry your request, the server will know to ignore the
|
|
12381
|
+
# request if it has already been completed.
|
|
12382
|
+
# For example, consider a situation where you make an initial request and the
|
|
12383
|
+
# request times out. If you make the request again with the same request ID, the
|
|
12384
|
+
# server can check if original operation with the same request ID was received,
|
|
12385
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
12386
|
+
# accidentally creating duplicate commitments.
|
|
12387
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
12388
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
12389
|
+
# @param [String] source_instance
|
|
12390
|
+
# Required. Source instance that is used to create the machine image from.
|
|
12391
|
+
# @param [String] fields
|
|
12392
|
+
# Selector specifying which fields to include in a partial response.
|
|
12393
|
+
# @param [String] quota_user
|
|
12394
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12395
|
+
# characters.
|
|
12396
|
+
# @param [String] user_ip
|
|
12397
|
+
# Deprecated. Please use quotaUser instead.
|
|
12398
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12399
|
+
# Request-specific options
|
|
12400
|
+
#
|
|
12401
|
+
# @yield [result, err] Result & error if block supplied
|
|
12402
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
12403
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12404
|
+
#
|
|
12405
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
12406
|
+
#
|
|
12407
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12408
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12409
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12410
|
+
def insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12411
|
+
command = make_simple_command(:post, '{project}/global/machineImages', options)
|
|
12412
|
+
command.request_representation = Google::Apis::ComputeBeta::MachineImage::Representation
|
|
12413
|
+
command.request_object = machine_image_object
|
|
12414
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
12415
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
12416
|
+
command.params['project'] = project unless project.nil?
|
|
12417
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
12418
|
+
command.query['sourceInstance'] = source_instance unless source_instance.nil?
|
|
12419
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12420
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12421
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12422
|
+
execute_or_queue_command(command, &block)
|
|
12423
|
+
end
|
|
12424
|
+
|
|
12425
|
+
# Retrieves a list of machine images that are contained within the specified
|
|
12426
|
+
# project. (== suppress_warning http-rest-shadowed ==)
|
|
12427
|
+
# @param [String] project
|
|
12428
|
+
# Project ID for this request.
|
|
12429
|
+
# @param [String] filter
|
|
12430
|
+
# A filter expression that filters resources listed in the response. The
|
|
12431
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
12432
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
12433
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
|
12434
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
12435
|
+
# instances named example-instance by specifying name != example-instance.
|
|
12436
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
|
12437
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
|
12438
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
12439
|
+
# on resource labels.
|
|
12440
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
12441
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
|
12442
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
|
12443
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
|
12444
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
12445
|
+
# automaticRestart = true).
|
|
12446
|
+
# @param [Fixnum] max_results
|
|
12447
|
+
# The maximum number of results per page that should be returned. If the number
|
|
12448
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
12449
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
12450
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
12451
|
+
# @param [String] order_by
|
|
12452
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
12453
|
+
# alphanumerical order based on the resource name.
|
|
12454
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
12455
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
12456
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
12457
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
12458
|
+
# returned first.
|
|
12459
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
12460
|
+
# @param [String] page_token
|
|
12461
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
12462
|
+
# a previous list request to get the next page of results.
|
|
12463
|
+
# @param [String] fields
|
|
12464
|
+
# Selector specifying which fields to include in a partial response.
|
|
12465
|
+
# @param [String] quota_user
|
|
12466
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12467
|
+
# characters.
|
|
12468
|
+
# @param [String] user_ip
|
|
12469
|
+
# Deprecated. Please use quotaUser instead.
|
|
12470
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12471
|
+
# Request-specific options
|
|
12472
|
+
#
|
|
12473
|
+
# @yield [result, err] Result & error if block supplied
|
|
12474
|
+
# @yieldparam result [Google::Apis::ComputeBeta::MachineImageList] parsed result object
|
|
12475
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12476
|
+
#
|
|
12477
|
+
# @return [Google::Apis::ComputeBeta::MachineImageList]
|
|
12478
|
+
#
|
|
12479
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12480
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12481
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12482
|
+
def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12483
|
+
command = make_simple_command(:get, '{project}/global/machineImages', options)
|
|
12484
|
+
command.response_representation = Google::Apis::ComputeBeta::MachineImageList::Representation
|
|
12485
|
+
command.response_class = Google::Apis::ComputeBeta::MachineImageList
|
|
12486
|
+
command.params['project'] = project unless project.nil?
|
|
12487
|
+
command.query['filter'] = filter unless filter.nil?
|
|
12488
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
12489
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
12490
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
12491
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12492
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12493
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12494
|
+
execute_or_queue_command(command, &block)
|
|
12495
|
+
end
|
|
12496
|
+
|
|
12497
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
12498
|
+
# existing policy. (== suppress_warning http-rest-shadowed ==)
|
|
12499
|
+
# @param [String] project
|
|
12500
|
+
# Project ID for this request.
|
|
12501
|
+
# @param [String] resource
|
|
12502
|
+
# Name or id of the resource for this request.
|
|
12503
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
|
12504
|
+
# @param [String] fields
|
|
12505
|
+
# Selector specifying which fields to include in a partial response.
|
|
12506
|
+
# @param [String] quota_user
|
|
12507
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12508
|
+
# characters.
|
|
12509
|
+
# @param [String] user_ip
|
|
12510
|
+
# Deprecated. Please use quotaUser instead.
|
|
12511
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12512
|
+
# Request-specific options
|
|
12513
|
+
#
|
|
12514
|
+
# @yield [result, err] Result & error if block supplied
|
|
12515
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
12516
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12517
|
+
#
|
|
12518
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
|
12519
|
+
#
|
|
12520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12523
|
+
def set_machine_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12524
|
+
command = make_simple_command(:post, '{project}/global/machineImages/{resource}/setIamPolicy', options)
|
|
12525
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation
|
|
12526
|
+
command.request_object = global_set_policy_request_object
|
|
12527
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
12528
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
12529
|
+
command.params['project'] = project unless project.nil?
|
|
12530
|
+
command.params['resource'] = resource unless resource.nil?
|
|
12531
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12532
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12533
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12534
|
+
execute_or_queue_command(command, &block)
|
|
12535
|
+
end
|
|
12536
|
+
|
|
12537
|
+
# Returns permissions that a caller has on the specified resource. (==
|
|
12538
|
+
# suppress_warning http-rest-shadowed ==)
|
|
12539
|
+
# @param [String] project
|
|
12540
|
+
# Project ID for this request.
|
|
12541
|
+
# @param [String] resource
|
|
12542
|
+
# Name or id of the resource for this request.
|
|
12543
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
12544
|
+
# @param [String] fields
|
|
12545
|
+
# Selector specifying which fields to include in a partial response.
|
|
12546
|
+
# @param [String] quota_user
|
|
12547
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12548
|
+
# characters.
|
|
12549
|
+
# @param [String] user_ip
|
|
12550
|
+
# Deprecated. Please use quotaUser instead.
|
|
12551
|
+
# @param [Google::Apis::RequestOptions] options
|
|
12552
|
+
# Request-specific options
|
|
12553
|
+
#
|
|
12554
|
+
# @yield [result, err] Result & error if block supplied
|
|
12555
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
12556
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
12557
|
+
#
|
|
12558
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
12559
|
+
#
|
|
12560
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12561
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12562
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12563
|
+
def test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12564
|
+
command = make_simple_command(:post, '{project}/global/machineImages/{resource}/testIamPermissions', options)
|
|
12565
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
12566
|
+
command.request_object = test_permissions_request_object
|
|
12567
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
12568
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
12569
|
+
command.params['project'] = project unless project.nil?
|
|
12570
|
+
command.params['resource'] = resource unless resource.nil?
|
|
12571
|
+
command.query['fields'] = fields unless fields.nil?
|
|
12572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12573
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12574
|
+
execute_or_queue_command(command, &block)
|
|
12575
|
+
end
|
|
12576
|
+
|
|
12235
12577
|
# Retrieves an aggregated list of machine types. (== suppress_warning http-rest-
|
|
12236
12578
|
# shadowed ==)
|
|
12237
12579
|
# @param [String] project
|