google-api-client 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
- data/.kokoro/build.bat +8 -0
- data/.kokoro/build.sh +36 -0
- data/.kokoro/common.cfg +22 -0
- data/.kokoro/continuous/common.cfg +20 -0
- data/.kokoro/continuous/linux.cfg +15 -0
- data/.kokoro/continuous/osx.cfg +3 -0
- data/.kokoro/continuous/windows.cfg +3 -0
- data/.kokoro/osx.sh +35 -0
- data/.kokoro/presubmit/common.cfg +19 -0
- data/.kokoro/presubmit/linux.cfg +14 -0
- data/.kokoro/presubmit/osx.cfg +3 -0
- data/.kokoro/presubmit/windows.cfg +3 -0
- data/.kokoro/trampoline.sh +24 -0
- data/.kokoro/windows.sh +32 -0
- data/CHANGELOG.md +83 -0
- data/Gemfile +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +87 -29
- data/generated/google/apis/bigquery_v2/representations.rb +21 -0
- data/generated/google/apis/bigquery_v2/service.rb +7 -9
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/classes.rb +14 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
- data/generated/google/apis/cloudiot_v1/service.rb +172 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +107 -0
- data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
- data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +9 -0
- data/generated/google/apis/composer_v1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +938 -117
- data/generated/google/apis/compute_alpha/representations.rb +310 -2
- data/generated/google/apis/compute_alpha/service.rb +1203 -245
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1175 -219
- data/generated/google/apis/compute_beta/representations.rb +375 -2
- data/generated/google/apis/compute_beta/service.rb +907 -139
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1485 -143
- data/generated/google/apis/compute_v1/representations.rb +503 -0
- data/generated/google/apis/compute_v1/service.rb +1375 -85
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +99 -6
- data/generated/google/apis/container_v1/representations.rb +39 -0
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +3 -3
- data/generated/google/apis/container_v1beta1/classes.rb +162 -9
- data/generated/google/apis/container_v1beta1/representations.rb +80 -0
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +40 -32
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2/service.rb +3 -3
- data/generated/google/apis/content_v2_1.rb +35 -0
- data/generated/google/apis/content_v2_1/classes.rb +9104 -0
- data/generated/google/apis/content_v2_1/representations.rb +3967 -0
- data/generated/google/apis/content_v2_1/service.rb +3463 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -1
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
- data/generated/google/apis/dialogflow_v2/service.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
- data/generated/google/apis/dns_v1beta2/service.rb +246 -0
- data/generated/google/apis/drive_v2.rb +3 -3
- data/generated/google/apis/drive_v3.rb +3 -3
- data/generated/google/apis/driveactivity_v2.rb +37 -0
- data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
- data/generated/google/apis/driveactivity_v2/service.rb +89 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +2225 -520
- data/generated/google/apis/firestore_v1/representations.rb +800 -33
- data/generated/google/apis/firestore_v1/service.rb +526 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -2
- data/generated/google/apis/fitness_v1/service.rb +7 -3
- data/generated/google/apis/games_management_v1management.rb +1 -4
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/iap_v1.rb +34 -0
- data/generated/google/apis/iap_v1/classes.rb +308 -0
- data/generated/google/apis/iap_v1/representations.rb +126 -0
- data/generated/google/apis/iap_v1/service.rb +725 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +8 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +6 -6
- data/generated/google/apis/jobs_v3/service.rb +8 -8
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
- data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -7
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +0 -365
- data/generated/google/apis/pagespeedonline_v5.rb +32 -0
- data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -12
- data/generated/google/apis/pubsub_v1/representations.rb +15 -0
- data/generated/google/apis/pubsub_v1/service.rb +26 -18
- data/generated/google/apis/redis_v1.rb +2 -3
- data/generated/google/apis/redis_v1/service.rb +1 -2
- data/generated/google/apis/redis_v1beta1.rb +2 -3
- data/generated/google/apis/redis_v1beta1/service.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/script_v1.rb +24 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +187 -2
- data/generated/google/apis/slides_v1/representations.rb +67 -0
- data/generated/google/apis/slides_v1/service.rb +4 -3
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +58 -10
- data/generated/google/apis/speech_v1/representations.rb +29 -1
- data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
- data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
- data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +54 -0
- data/generated/google/apis/storage_v1/representations.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -19
- data/generated/google/apis/testing_v1/representations.rb +20 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +78 -7
- data/generated/google/apis/vault_v1/representations.rb +34 -1
- data/generated/google/apis/vault_v1/service.rb +141 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +33 -0
- data/generated/google/apis/vision_v1/representations.rb +16 -0
- data/generated/google/apis/vision_v1/service.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +1 -1
- data/lib/google/api_client/auth/installed_app.rb +17 -2
- data/lib/google/api_client/client_secrets.rb +1 -1
- data/lib/google/apis/core/download.rb +2 -2
- data/lib/google/apis/errors.rb +9 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +46 -17
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
- data/generated/google/apis/dfareporting_v3_0.rb +0 -40
- data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
- data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
- data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -529,7 +529,7 @@ module Google
|
|
529
529
|
# @param [String] region
|
530
530
|
# The region for this request.
|
531
531
|
# @param [String] resource
|
532
|
-
# Name of the resource for this request.
|
532
|
+
# Name or id of the resource for this request.
|
533
533
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
534
534
|
# @param [String] request_id
|
535
535
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -583,7 +583,7 @@ module Google
|
|
583
583
|
# @param [String] region
|
584
584
|
# The name of the region for this request.
|
585
585
|
# @param [String] resource
|
586
|
-
# Name of the resource for this request.
|
586
|
+
# Name or id of the resource for this request.
|
587
587
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
588
588
|
# @param [String] fields
|
589
589
|
# Selector specifying which fields to include in a partial response.
|
@@ -619,6 +619,418 @@ module Google
|
|
619
619
|
execute_or_queue_command(command, &block)
|
620
620
|
end
|
621
621
|
|
622
|
+
# Retrieves an aggregated list of allocations.
|
623
|
+
# @param [String] project
|
624
|
+
# Project ID for this request.
|
625
|
+
# @param [String] filter
|
626
|
+
# A filter expression that filters resources listed in the response. The
|
627
|
+
# expression must specify the field name, a comparison operator, and the value
|
628
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
629
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
630
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
631
|
+
# instances named example-instance by specifying name != example-instance.
|
632
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
633
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
634
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
635
|
+
# on resource labels.
|
636
|
+
# To filter on multiple expressions, provide each separate expression within
|
637
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
638
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
639
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
640
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
641
|
+
# automaticRestart = true).
|
642
|
+
# @param [Fixnum] max_results
|
643
|
+
# The maximum number of results per page that should be returned. If the number
|
644
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
645
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
646
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
647
|
+
# @param [String] order_by
|
648
|
+
# Sorts list results by a certain order. By default, results are returned in
|
649
|
+
# alphanumerical order based on the resource name.
|
650
|
+
# You can also sort results in descending order based on the creation timestamp
|
651
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
652
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
653
|
+
# Use this to sort resources like operations so that the newest operation is
|
654
|
+
# returned first.
|
655
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
656
|
+
# @param [String] page_token
|
657
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
658
|
+
# a previous list request to get the next page of results.
|
659
|
+
# @param [String] fields
|
660
|
+
# Selector specifying which fields to include in a partial response.
|
661
|
+
# @param [String] quota_user
|
662
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
663
|
+
# characters.
|
664
|
+
# @param [String] user_ip
|
665
|
+
# Deprecated. Please use quotaUser instead.
|
666
|
+
# @param [Google::Apis::RequestOptions] options
|
667
|
+
# Request-specific options
|
668
|
+
#
|
669
|
+
# @yield [result, err] Result & error if block supplied
|
670
|
+
# @yieldparam result [Google::Apis::ComputeBeta::AllocationAggregatedList] parsed result object
|
671
|
+
# @yieldparam err [StandardError] error object if request failed
|
672
|
+
#
|
673
|
+
# @return [Google::Apis::ComputeBeta::AllocationAggregatedList]
|
674
|
+
#
|
675
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
676
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
677
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
678
|
+
def aggregated_allocation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
679
|
+
command = make_simple_command(:get, '{project}/aggregated/allocations', options)
|
680
|
+
command.response_representation = Google::Apis::ComputeBeta::AllocationAggregatedList::Representation
|
681
|
+
command.response_class = Google::Apis::ComputeBeta::AllocationAggregatedList
|
682
|
+
command.params['project'] = project unless project.nil?
|
683
|
+
command.query['filter'] = filter unless filter.nil?
|
684
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
685
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
686
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
687
|
+
command.query['fields'] = fields unless fields.nil?
|
688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
690
|
+
execute_or_queue_command(command, &block)
|
691
|
+
end
|
692
|
+
|
693
|
+
# Deletes the specified allocation.
|
694
|
+
# @param [String] project
|
695
|
+
# Project ID for this request.
|
696
|
+
# @param [String] zone
|
697
|
+
# Name of the zone for this request.
|
698
|
+
# @param [String] allocation
|
699
|
+
# Name of the allocation to delete.
|
700
|
+
# @param [String] request_id
|
701
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
702
|
+
# that if you must retry your request, the server will know to ignore the
|
703
|
+
# request if it has already been completed.
|
704
|
+
# For example, consider a situation where you make an initial request and the
|
705
|
+
# request times out. If you make the request again with the same request ID, the
|
706
|
+
# server can check if original operation with the same request ID was received,
|
707
|
+
# and if so, will ignore the second request. This prevents clients from
|
708
|
+
# accidentally creating duplicate commitments.
|
709
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
710
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
711
|
+
# @param [String] fields
|
712
|
+
# Selector specifying which fields to include in a partial response.
|
713
|
+
# @param [String] quota_user
|
714
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
715
|
+
# characters.
|
716
|
+
# @param [String] user_ip
|
717
|
+
# Deprecated. Please use quotaUser instead.
|
718
|
+
# @param [Google::Apis::RequestOptions] options
|
719
|
+
# Request-specific options
|
720
|
+
#
|
721
|
+
# @yield [result, err] Result & error if block supplied
|
722
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
723
|
+
# @yieldparam err [StandardError] error object if request failed
|
724
|
+
#
|
725
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
726
|
+
#
|
727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
730
|
+
def delete_allocation(project, zone, allocation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
731
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/allocations/{allocation}', options)
|
732
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
733
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
734
|
+
command.params['project'] = project unless project.nil?
|
735
|
+
command.params['zone'] = zone unless zone.nil?
|
736
|
+
command.params['allocation'] = allocation unless allocation.nil?
|
737
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
738
|
+
command.query['fields'] = fields unless fields.nil?
|
739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
740
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
741
|
+
execute_or_queue_command(command, &block)
|
742
|
+
end
|
743
|
+
|
744
|
+
# Retrieves all information of the specified allocation.
|
745
|
+
# @param [String] project
|
746
|
+
# Project ID for this request.
|
747
|
+
# @param [String] zone
|
748
|
+
# Name of the zone for this request.
|
749
|
+
# @param [String] allocation
|
750
|
+
# Name of the allocation to retrieve.
|
751
|
+
# @param [String] fields
|
752
|
+
# Selector specifying which fields to include in a partial response.
|
753
|
+
# @param [String] quota_user
|
754
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
755
|
+
# characters.
|
756
|
+
# @param [String] user_ip
|
757
|
+
# Deprecated. Please use quotaUser instead.
|
758
|
+
# @param [Google::Apis::RequestOptions] options
|
759
|
+
# Request-specific options
|
760
|
+
#
|
761
|
+
# @yield [result, err] Result & error if block supplied
|
762
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Allocation] parsed result object
|
763
|
+
# @yieldparam err [StandardError] error object if request failed
|
764
|
+
#
|
765
|
+
# @return [Google::Apis::ComputeBeta::Allocation]
|
766
|
+
#
|
767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
770
|
+
def get_allocation(project, zone, allocation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
771
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/allocations/{allocation}', options)
|
772
|
+
command.response_representation = Google::Apis::ComputeBeta::Allocation::Representation
|
773
|
+
command.response_class = Google::Apis::ComputeBeta::Allocation
|
774
|
+
command.params['project'] = project unless project.nil?
|
775
|
+
command.params['zone'] = zone unless zone.nil?
|
776
|
+
command.params['allocation'] = allocation unless allocation.nil?
|
777
|
+
command.query['fields'] = fields unless fields.nil?
|
778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
779
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
780
|
+
execute_or_queue_command(command, &block)
|
781
|
+
end
|
782
|
+
|
783
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
784
|
+
# or resource exists.
|
785
|
+
# @param [String] project
|
786
|
+
# Project ID for this request.
|
787
|
+
# @param [String] zone
|
788
|
+
# The name of the zone for this request.
|
789
|
+
# @param [String] resource
|
790
|
+
# Name or id of the resource for this request.
|
791
|
+
# @param [String] fields
|
792
|
+
# Selector specifying which fields to include in a partial response.
|
793
|
+
# @param [String] quota_user
|
794
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
795
|
+
# characters.
|
796
|
+
# @param [String] user_ip
|
797
|
+
# Deprecated. Please use quotaUser instead.
|
798
|
+
# @param [Google::Apis::RequestOptions] options
|
799
|
+
# Request-specific options
|
800
|
+
#
|
801
|
+
# @yield [result, err] Result & error if block supplied
|
802
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
803
|
+
# @yieldparam err [StandardError] error object if request failed
|
804
|
+
#
|
805
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
806
|
+
#
|
807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
810
|
+
def get_allocation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
811
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/allocations/{resource}/getIamPolicy', options)
|
812
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
813
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
814
|
+
command.params['project'] = project unless project.nil?
|
815
|
+
command.params['zone'] = zone unless zone.nil?
|
816
|
+
command.params['resource'] = resource unless resource.nil?
|
817
|
+
command.query['fields'] = fields unless fields.nil?
|
818
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
819
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
820
|
+
execute_or_queue_command(command, &block)
|
821
|
+
end
|
822
|
+
|
823
|
+
# Creates a new allocation.
|
824
|
+
# @param [String] project
|
825
|
+
# Project ID for this request.
|
826
|
+
# @param [String] zone
|
827
|
+
# Name of the zone for this request.
|
828
|
+
# @param [Google::Apis::ComputeBeta::Allocation] allocation_object
|
829
|
+
# @param [String] request_id
|
830
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
831
|
+
# that if you must retry your request, the server will know to ignore the
|
832
|
+
# request if it has already been completed.
|
833
|
+
# For example, consider a situation where you make an initial request and the
|
834
|
+
# request times out. If you make the request again with the same request ID, the
|
835
|
+
# server can check if original operation with the same request ID was received,
|
836
|
+
# and if so, will ignore the second request. This prevents clients from
|
837
|
+
# accidentally creating duplicate commitments.
|
838
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
839
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
840
|
+
# @param [String] fields
|
841
|
+
# Selector specifying which fields to include in a partial response.
|
842
|
+
# @param [String] quota_user
|
843
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
844
|
+
# characters.
|
845
|
+
# @param [String] user_ip
|
846
|
+
# Deprecated. Please use quotaUser instead.
|
847
|
+
# @param [Google::Apis::RequestOptions] options
|
848
|
+
# Request-specific options
|
849
|
+
#
|
850
|
+
# @yield [result, err] Result & error if block supplied
|
851
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
852
|
+
# @yieldparam err [StandardError] error object if request failed
|
853
|
+
#
|
854
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
855
|
+
#
|
856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
859
|
+
def insert_allocation(project, zone, allocation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
860
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/allocations', options)
|
861
|
+
command.request_representation = Google::Apis::ComputeBeta::Allocation::Representation
|
862
|
+
command.request_object = allocation_object
|
863
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
864
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
865
|
+
command.params['project'] = project unless project.nil?
|
866
|
+
command.params['zone'] = zone unless zone.nil?
|
867
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
868
|
+
command.query['fields'] = fields unless fields.nil?
|
869
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
870
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
871
|
+
execute_or_queue_command(command, &block)
|
872
|
+
end
|
873
|
+
|
874
|
+
# A list all the allocations that have been configured for the specified project
|
875
|
+
# in specified zone.
|
876
|
+
# @param [String] project
|
877
|
+
# Project ID for this request.
|
878
|
+
# @param [String] zone
|
879
|
+
# Name of the zone for this request.
|
880
|
+
# @param [String] filter
|
881
|
+
# A filter expression that filters resources listed in the response. The
|
882
|
+
# expression must specify the field name, a comparison operator, and the value
|
883
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
884
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
885
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
886
|
+
# instances named example-instance by specifying name != example-instance.
|
887
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
888
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
889
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
890
|
+
# on resource labels.
|
891
|
+
# To filter on multiple expressions, provide each separate expression within
|
892
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
893
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
894
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
895
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
896
|
+
# automaticRestart = true).
|
897
|
+
# @param [Fixnum] max_results
|
898
|
+
# The maximum number of results per page that should be returned. If the number
|
899
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
900
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
901
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
902
|
+
# @param [String] order_by
|
903
|
+
# Sorts list results by a certain order. By default, results are returned in
|
904
|
+
# alphanumerical order based on the resource name.
|
905
|
+
# You can also sort results in descending order based on the creation timestamp
|
906
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
907
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
908
|
+
# Use this to sort resources like operations so that the newest operation is
|
909
|
+
# returned first.
|
910
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
911
|
+
# @param [String] page_token
|
912
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
913
|
+
# a previous list request to get the next page of results.
|
914
|
+
# @param [String] fields
|
915
|
+
# Selector specifying which fields to include in a partial response.
|
916
|
+
# @param [String] quota_user
|
917
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
918
|
+
# characters.
|
919
|
+
# @param [String] user_ip
|
920
|
+
# Deprecated. Please use quotaUser instead.
|
921
|
+
# @param [Google::Apis::RequestOptions] options
|
922
|
+
# Request-specific options
|
923
|
+
#
|
924
|
+
# @yield [result, err] Result & error if block supplied
|
925
|
+
# @yieldparam result [Google::Apis::ComputeBeta::AllocationList] parsed result object
|
926
|
+
# @yieldparam err [StandardError] error object if request failed
|
927
|
+
#
|
928
|
+
# @return [Google::Apis::ComputeBeta::AllocationList]
|
929
|
+
#
|
930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
933
|
+
def list_allocations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
934
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/allocations', options)
|
935
|
+
command.response_representation = Google::Apis::ComputeBeta::AllocationList::Representation
|
936
|
+
command.response_class = Google::Apis::ComputeBeta::AllocationList
|
937
|
+
command.params['project'] = project unless project.nil?
|
938
|
+
command.params['zone'] = zone unless zone.nil?
|
939
|
+
command.query['filter'] = filter unless filter.nil?
|
940
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
941
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
942
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
943
|
+
command.query['fields'] = fields unless fields.nil?
|
944
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
945
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
946
|
+
execute_or_queue_command(command, &block)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Sets the access control policy on the specified resource. Replaces any
|
950
|
+
# existing policy.
|
951
|
+
# @param [String] project
|
952
|
+
# Project ID for this request.
|
953
|
+
# @param [String] zone
|
954
|
+
# The name of the zone for this request.
|
955
|
+
# @param [String] resource
|
956
|
+
# Name or id of the resource for this request.
|
957
|
+
# @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object
|
958
|
+
# @param [String] fields
|
959
|
+
# Selector specifying which fields to include in a partial response.
|
960
|
+
# @param [String] quota_user
|
961
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
962
|
+
# characters.
|
963
|
+
# @param [String] user_ip
|
964
|
+
# Deprecated. Please use quotaUser instead.
|
965
|
+
# @param [Google::Apis::RequestOptions] options
|
966
|
+
# Request-specific options
|
967
|
+
#
|
968
|
+
# @yield [result, err] Result & error if block supplied
|
969
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
970
|
+
# @yieldparam err [StandardError] error object if request failed
|
971
|
+
#
|
972
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
973
|
+
#
|
974
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
975
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
976
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
977
|
+
def set_allocation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
978
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/allocations/{resource}/setIamPolicy', options)
|
979
|
+
command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation
|
980
|
+
command.request_object = zone_set_policy_request_object
|
981
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
982
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
983
|
+
command.params['project'] = project unless project.nil?
|
984
|
+
command.params['zone'] = zone unless zone.nil?
|
985
|
+
command.params['resource'] = resource unless resource.nil?
|
986
|
+
command.query['fields'] = fields unless fields.nil?
|
987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
988
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
989
|
+
execute_or_queue_command(command, &block)
|
990
|
+
end
|
991
|
+
|
992
|
+
# Returns permissions that a caller has on the specified resource.
|
993
|
+
# @param [String] project
|
994
|
+
# Project ID for this request.
|
995
|
+
# @param [String] zone
|
996
|
+
# The name of the zone for this request.
|
997
|
+
# @param [String] resource
|
998
|
+
# Name or id of the resource for this request.
|
999
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
1000
|
+
# @param [String] fields
|
1001
|
+
# Selector specifying which fields to include in a partial response.
|
1002
|
+
# @param [String] quota_user
|
1003
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1004
|
+
# characters.
|
1005
|
+
# @param [String] user_ip
|
1006
|
+
# Deprecated. Please use quotaUser instead.
|
1007
|
+
# @param [Google::Apis::RequestOptions] options
|
1008
|
+
# Request-specific options
|
1009
|
+
#
|
1010
|
+
# @yield [result, err] Result & error if block supplied
|
1011
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
1012
|
+
# @yieldparam err [StandardError] error object if request failed
|
1013
|
+
#
|
1014
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
1015
|
+
#
|
1016
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1017
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1018
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1019
|
+
def test_allocation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1020
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/allocations/{resource}/testIamPermissions', options)
|
1021
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
1022
|
+
command.request_object = test_permissions_request_object
|
1023
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
1024
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
1025
|
+
command.params['project'] = project unless project.nil?
|
1026
|
+
command.params['zone'] = zone unless zone.nil?
|
1027
|
+
command.params['resource'] = resource unless resource.nil?
|
1028
|
+
command.query['fields'] = fields unless fields.nil?
|
1029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1030
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1031
|
+
execute_or_queue_command(command, &block)
|
1032
|
+
end
|
1033
|
+
|
622
1034
|
# Retrieves an aggregated list of autoscalers.
|
623
1035
|
# @param [String] project
|
624
1036
|
# Project ID for this request.
|
@@ -969,7 +1381,7 @@ module Google
|
|
969
1381
|
# @param [String] zone
|
970
1382
|
# The name of the zone for this request.
|
971
1383
|
# @param [String] resource
|
972
|
-
# Name of the resource for this request.
|
1384
|
+
# Name or id of the resource for this request.
|
973
1385
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
974
1386
|
# @param [String] fields
|
975
1387
|
# Selector specifying which fields to include in a partial response.
|
@@ -1701,7 +2113,7 @@ module Google
|
|
1701
2113
|
end
|
1702
2114
|
|
1703
2115
|
# Returns the specified BackendService resource. Gets a list of available
|
1704
|
-
# backend services
|
2116
|
+
# backend services.
|
1705
2117
|
# @param [String] project
|
1706
2118
|
# Project ID for this request.
|
1707
2119
|
# @param [String] backend_service
|
@@ -2009,7 +2421,7 @@ module Google
|
|
2009
2421
|
# @param [String] project
|
2010
2422
|
# Project ID for this request.
|
2011
2423
|
# @param [String] resource
|
2012
|
-
# Name of the resource for this request.
|
2424
|
+
# Name or id of the resource for this request.
|
2013
2425
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
2014
2426
|
# @param [String] fields
|
2015
2427
|
# Selector specifying which fields to include in a partial response.
|
@@ -2565,7 +2977,7 @@ module Google
|
|
2565
2977
|
# @param [String] zone
|
2566
2978
|
# The name of the zone for this request.
|
2567
2979
|
# @param [String] resource
|
2568
|
-
# Name of the resource for this request.
|
2980
|
+
# Name or id of the resource for this request.
|
2569
2981
|
# @param [String] fields
|
2570
2982
|
# Selector specifying which fields to include in a partial response.
|
2571
2983
|
# @param [String] quota_user
|
@@ -2845,7 +3257,7 @@ module Google
|
|
2845
3257
|
# @param [String] zone
|
2846
3258
|
# The name of the zone for this request.
|
2847
3259
|
# @param [String] resource
|
2848
|
-
# Name of the resource for this request.
|
3260
|
+
# Name or id of the resource for this request.
|
2849
3261
|
# @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object
|
2850
3262
|
# @param [String] fields
|
2851
3263
|
# Selector specifying which fields to include in a partial response.
|
@@ -2888,7 +3300,7 @@ module Google
|
|
2888
3300
|
# @param [String] zone
|
2889
3301
|
# The name of the zone for this request.
|
2890
3302
|
# @param [String] resource
|
2891
|
-
# Name of the resource for this request.
|
3303
|
+
# Name or id of the resource for this request.
|
2892
3304
|
# @param [Google::Apis::ComputeBeta::ZoneSetLabelsRequest] zone_set_labels_request_object
|
2893
3305
|
# @param [String] request_id
|
2894
3306
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -2942,7 +3354,7 @@ module Google
|
|
2942
3354
|
# @param [String] zone
|
2943
3355
|
# The name of the zone for this request.
|
2944
3356
|
# @param [String] resource
|
2945
|
-
# Name of the resource for this request.
|
3357
|
+
# Name or id of the resource for this request.
|
2946
3358
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
2947
3359
|
# @param [String] fields
|
2948
3360
|
# Selector specifying which fields to include in a partial response.
|
@@ -3239,7 +3651,7 @@ module Google
|
|
3239
3651
|
# @param [String] project
|
3240
3652
|
# Project ID for this request.
|
3241
3653
|
# @param [String] resource
|
3242
|
-
# Name of the resource for this request.
|
3654
|
+
# Name or id of the resource for this request.
|
3243
3655
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
3244
3656
|
# @param [String] fields
|
3245
3657
|
# Selector specifying which fields to include in a partial response.
|
@@ -3622,7 +4034,7 @@ module Google
|
|
3622
4034
|
# @param [String] region
|
3623
4035
|
# The region for this request.
|
3624
4036
|
# @param [String] resource
|
3625
|
-
# Name of the resource for this request.
|
4037
|
+
# Name or id of the resource for this request.
|
3626
4038
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
3627
4039
|
# @param [String] request_id
|
3628
4040
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -3731,7 +4143,7 @@ module Google
|
|
3731
4143
|
# @param [String] region
|
3732
4144
|
# The name of the region for this request.
|
3733
4145
|
# @param [String] resource
|
3734
|
-
# Name of the resource for this request.
|
4146
|
+
# Name or id of the resource for this request.
|
3735
4147
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
3736
4148
|
# @param [String] fields
|
3737
4149
|
# Selector specifying which fields to include in a partial response.
|
@@ -3977,7 +4389,7 @@ module Google
|
|
3977
4389
|
# @param [String] project
|
3978
4390
|
# Project ID for this request.
|
3979
4391
|
# @param [String] resource
|
3980
|
-
# Name of the resource for this request.
|
4392
|
+
# Name or id of the resource for this request.
|
3981
4393
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
3982
4394
|
# @param [String] fields
|
3983
4395
|
# Selector specifying which fields to include in a partial response.
|
@@ -4016,7 +4428,7 @@ module Google
|
|
4016
4428
|
# @param [String] project
|
4017
4429
|
# Project ID for this request.
|
4018
4430
|
# @param [String] resource
|
4019
|
-
# Name of the resource for this request.
|
4431
|
+
# Name or id of the resource for this request.
|
4020
4432
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
4021
4433
|
# @param [String] fields
|
4022
4434
|
# Selector specifying which fields to include in a partial response.
|
@@ -4262,7 +4674,7 @@ module Google
|
|
4262
4674
|
# @param [String] project
|
4263
4675
|
# Project ID for this request.
|
4264
4676
|
# @param [String] resource
|
4265
|
-
# Name of the resource for this request.
|
4677
|
+
# Name or id of the resource for this request.
|
4266
4678
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
4267
4679
|
# @param [String] fields
|
4268
4680
|
# Selector specifying which fields to include in a partial response.
|
@@ -4353,7 +4765,7 @@ module Google
|
|
4353
4765
|
# @param [String] project
|
4354
4766
|
# Project ID for this request.
|
4355
4767
|
# @param [String] resource
|
4356
|
-
# Name of the resource for this request.
|
4768
|
+
# Name or id of the resource for this request.
|
4357
4769
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
4358
4770
|
# @param [String] fields
|
4359
4771
|
# Selector specifying which fields to include in a partial response.
|
@@ -4863,7 +5275,7 @@ module Google
|
|
4863
5275
|
# @param [String] project
|
4864
5276
|
# Project ID for this request.
|
4865
5277
|
# @param [String] resource
|
4866
|
-
# Name of the resource for this request.
|
5278
|
+
# Name or id of the resource for this request.
|
4867
5279
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
4868
5280
|
# @param [String] fields
|
4869
5281
|
# Selector specifying which fields to include in a partial response.
|
@@ -5213,7 +5625,7 @@ module Google
|
|
5213
5625
|
# @param [String] project
|
5214
5626
|
# Project ID for this request.
|
5215
5627
|
# @param [String] resource
|
5216
|
-
# Name of the resource for this request.
|
5628
|
+
# Name or id of the resource for this request.
|
5217
5629
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
5218
5630
|
# @param [String] fields
|
5219
5631
|
# Selector specifying which fields to include in a partial response.
|
@@ -5563,7 +5975,7 @@ module Google
|
|
5563
5975
|
# @param [String] project
|
5564
5976
|
# Project ID for this request.
|
5565
5977
|
# @param [String] resource
|
5566
|
-
# Name of the resource for this request.
|
5978
|
+
# Name or id of the resource for this request.
|
5567
5979
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
5568
5980
|
# @param [String] fields
|
5569
5981
|
# Selector specifying which fields to include in a partial response.
|
@@ -5828,7 +6240,7 @@ module Google
|
|
5828
6240
|
# @param [String] project
|
5829
6241
|
# Project ID for this request.
|
5830
6242
|
# @param [String] resource
|
5831
|
-
# Name of the resource for this request.
|
6243
|
+
# Name or id of the resource for this request.
|
5832
6244
|
# @param [String] fields
|
5833
6245
|
# Selector specifying which fields to include in a partial response.
|
5834
6246
|
# @param [String] quota_user
|
@@ -5993,7 +6405,7 @@ module Google
|
|
5993
6405
|
# @param [String] project
|
5994
6406
|
# Project ID for this request.
|
5995
6407
|
# @param [String] resource
|
5996
|
-
# Name of the resource for this request.
|
6408
|
+
# Name or id of the resource for this request.
|
5997
6409
|
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
5998
6410
|
# @param [String] fields
|
5999
6411
|
# Selector specifying which fields to include in a partial response.
|
@@ -6033,7 +6445,7 @@ module Google
|
|
6033
6445
|
# @param [String] project
|
6034
6446
|
# Project ID for this request.
|
6035
6447
|
# @param [String] resource
|
6036
|
-
# Name of the resource for this request.
|
6448
|
+
# Name or id of the resource for this request.
|
6037
6449
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
6038
6450
|
# @param [String] fields
|
6039
6451
|
# Selector specifying which fields to include in a partial response.
|
@@ -6072,7 +6484,7 @@ module Google
|
|
6072
6484
|
# @param [String] project
|
6073
6485
|
# Project ID for this request.
|
6074
6486
|
# @param [String] resource
|
6075
|
-
# Name of the resource for this request.
|
6487
|
+
# Name or id of the resource for this request.
|
6076
6488
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
6077
6489
|
# @param [String] fields
|
6078
6490
|
# Selector specifying which fields to include in a partial response.
|
@@ -6107,14 +6519,14 @@ module Google
|
|
6107
6519
|
execute_or_queue_command(command, &block)
|
6108
6520
|
end
|
6109
6521
|
|
6110
|
-
#
|
6111
|
-
#
|
6112
|
-
#
|
6113
|
-
#
|
6114
|
-
#
|
6115
|
-
#
|
6116
|
-
#
|
6117
|
-
#
|
6522
|
+
# Flags the specified instances to be removed from the managed instance group.
|
6523
|
+
# Abandoning an instance does not delete the instance, but it does remove the
|
6524
|
+
# instance from any target pools that are applied by the managed instance group.
|
6525
|
+
# This method reduces the targetSize of the managed instance group by the number
|
6526
|
+
# of instances that you abandon. This operation is marked as DONE when the
|
6527
|
+
# action is scheduled even if the instances have not yet been removed from the
|
6528
|
+
# group. You must separately verify the status of the abandoning action with the
|
6529
|
+
# listmanagedinstances method.
|
6118
6530
|
# If the group is part of a backend service that has enabled connection draining,
|
6119
6531
|
# it can take up to 60 seconds after the connection draining duration has
|
6120
6532
|
# elapsed before the VM instance is removed or deleted.
|
@@ -6296,9 +6708,9 @@ module Google
|
|
6296
6708
|
execute_or_queue_command(command, &block)
|
6297
6709
|
end
|
6298
6710
|
|
6299
|
-
#
|
6300
|
-
#
|
6301
|
-
#
|
6711
|
+
# Flags the specified instances in the managed instance group for immediate
|
6712
|
+
# deletion. The instances are also removed from any target pools of which they
|
6713
|
+
# were a member. This method reduces the targetSize of the managed instance
|
6302
6714
|
# group by the number of instances that you delete. This operation is marked as
|
6303
6715
|
# DONE when the action is scheduled even if the instances are still being
|
6304
6716
|
# deleted. You must separately verify the status of the deleting action with the
|
@@ -6401,11 +6813,11 @@ module Google
|
|
6401
6813
|
end
|
6402
6814
|
|
6403
6815
|
# Creates a managed instance group using the information that you specify in the
|
6404
|
-
# request. After the group is created,
|
6405
|
-
#
|
6406
|
-
#
|
6407
|
-
#
|
6408
|
-
#
|
6816
|
+
# request. After the group is created, instances in the group are created using
|
6817
|
+
# the specified instance template. This operation is marked as DONE when the
|
6818
|
+
# group is created even if the instances in the group have not yet been created.
|
6819
|
+
# You must separately verify the status of the individual instances with the
|
6820
|
+
# listmanagedinstances method.
|
6409
6821
|
# A managed instance group can have up to 1000 VM instances per group. Please
|
6410
6822
|
# contact Cloud Support if you need an increase in this limit.
|
6411
6823
|
# @param [String] project
|
@@ -6673,12 +7085,12 @@ module Google
|
|
6673
7085
|
execute_or_queue_command(command, &block)
|
6674
7086
|
end
|
6675
7087
|
|
6676
|
-
#
|
6677
|
-
#
|
6678
|
-
#
|
6679
|
-
#
|
6680
|
-
#
|
6681
|
-
#
|
7088
|
+
# Flags the specified instances in the managed instance group to be immediately
|
7089
|
+
# recreated. The instances are deleted and recreated using the current instance
|
7090
|
+
# template for the managed instance group. This operation is marked as DONE when
|
7091
|
+
# the flag is set even if the instances have not yet been recreated. You must
|
7092
|
+
# separately verify the status of the recreating action with the
|
7093
|
+
# listmanagedinstances method.
|
6682
7094
|
# If the group is part of a backend service that has enabled connection draining,
|
6683
7095
|
# it can take up to 60 seconds after the connection draining duration has
|
6684
7096
|
# elapsed before the VM instance is removed or deleted.
|
@@ -6742,6 +7154,13 @@ module Google
|
|
6742
7154
|
# the resize actions are scheduled even if the group has not yet added or
|
6743
7155
|
# deleted any instances. You must separately verify the status of the creating
|
6744
7156
|
# or deleting actions with the listmanagedinstances method.
|
7157
|
+
# When resizing down, the instance group arbitrarily chooses the order in which
|
7158
|
+
# VMs are deleted. The group takes into account some VM attributes when making
|
7159
|
+
# the selection including:
|
7160
|
+
# + The status of the VM instance. + The health of the VM instance. + The
|
7161
|
+
# instance template version the VM is based on. + For regional managed instance
|
7162
|
+
# groups, the location of the VM instance.
|
7163
|
+
# This list is subject to change.
|
6745
7164
|
# If the group is part of a backend service that has enabled connection draining,
|
6746
7165
|
# it can take up to 60 seconds after the connection draining duration has
|
6747
7166
|
# elapsed before the VM instance is removed or deleted.
|
@@ -6865,7 +7284,8 @@ module Google
|
|
6865
7284
|
execute_or_queue_command(command, &block)
|
6866
7285
|
end
|
6867
7286
|
|
6868
|
-
# Modifies the autohealing policies.
|
7287
|
+
# Modifies the autohealing policies. [Deprecated] This method is deprecated.
|
7288
|
+
# Please use Patch instead.
|
6869
7289
|
# @param [String] project
|
6870
7290
|
# Project ID for this request.
|
6871
7291
|
# @param [String] zone
|
@@ -7040,7 +7460,7 @@ module Google
|
|
7040
7460
|
# @param [String] zone
|
7041
7461
|
# The name of the zone for this request.
|
7042
7462
|
# @param [String] resource
|
7043
|
-
# Name of the resource for this request.
|
7463
|
+
# Name or id of the resource for this request.
|
7044
7464
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
7045
7465
|
# @param [String] fields
|
7046
7466
|
# Selector specifying which fields to include in a partial response.
|
@@ -7680,7 +8100,7 @@ module Google
|
|
7680
8100
|
# @param [String] zone
|
7681
8101
|
# The name of the zone for this request.
|
7682
8102
|
# @param [String] resource
|
7683
|
-
# Name of the resource for this request.
|
8103
|
+
# Name or id of the resource for this request.
|
7684
8104
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
7685
8105
|
# @param [String] fields
|
7686
8106
|
# Selector specifying which fields to include in a partial response.
|
@@ -7808,7 +8228,7 @@ module Google
|
|
7808
8228
|
# @param [String] project
|
7809
8229
|
# Project ID for this request.
|
7810
8230
|
# @param [String] resource
|
7811
|
-
# Name of the resource for this request.
|
8231
|
+
# Name or id of the resource for this request.
|
7812
8232
|
# @param [String] fields
|
7813
8233
|
# Selector specifying which fields to include in a partial response.
|
7814
8234
|
# @param [String] quota_user
|
@@ -7968,7 +8388,7 @@ module Google
|
|
7968
8388
|
# @param [String] project
|
7969
8389
|
# Project ID for this request.
|
7970
8390
|
# @param [String] resource
|
7971
|
-
# Name of the resource for this request.
|
8391
|
+
# Name or id of the resource for this request.
|
7972
8392
|
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
7973
8393
|
# @param [String] fields
|
7974
8394
|
# Selector specifying which fields to include in a partial response.
|
@@ -8007,7 +8427,7 @@ module Google
|
|
8007
8427
|
# @param [String] project
|
8008
8428
|
# Project ID for this request.
|
8009
8429
|
# @param [String] resource
|
8010
|
-
# Name of the resource for this request.
|
8430
|
+
# Name or id of the resource for this request.
|
8011
8431
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
8012
8432
|
# @param [String] fields
|
8013
8433
|
# Selector specifying which fields to include in a partial response.
|
@@ -8347,9 +8767,10 @@ module Google
|
|
8347
8767
|
# @param [String] zone
|
8348
8768
|
# The name of the zone for this request.
|
8349
8769
|
# @param [String] instance
|
8350
|
-
# Instance name.
|
8770
|
+
# Instance name for this request.
|
8351
8771
|
# @param [String] device_name
|
8352
|
-
#
|
8772
|
+
# The device name of the disk to detach. Make a get() request on the instance to
|
8773
|
+
# view currently attached disks and device names.
|
8353
8774
|
# @param [String] request_id
|
8354
8775
|
# An optional request ID to identify requests. Specify a unique request ID so
|
8355
8776
|
# that if you must retry your request, the server will know to ignore the
|
@@ -8487,7 +8908,7 @@ module Google
|
|
8487
8908
|
# @param [String] zone
|
8488
8909
|
# The name of the zone for this request.
|
8489
8910
|
# @param [String] resource
|
8490
|
-
# Name of the resource for this request.
|
8911
|
+
# Name or id of the resource for this request.
|
8491
8912
|
# @param [String] fields
|
8492
8913
|
# Selector specifying which fields to include in a partial response.
|
8493
8914
|
# @param [String] quota_user
|
@@ -8743,7 +9164,7 @@ module Google
|
|
8743
9164
|
end
|
8744
9165
|
|
8745
9166
|
# Retrieves the list of referrers to instances contained within the specified
|
8746
|
-
# zone.
|
9167
|
+
# zone. For more information, read Viewing Referrers to VM Instances.
|
8747
9168
|
# @param [String] project
|
8748
9169
|
# Project ID for this request.
|
8749
9170
|
# @param [String] zone
|
@@ -8859,8 +9280,62 @@ module Google
|
|
8859
9280
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8860
9281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8861
9282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8862
|
-
def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
8863
|
-
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options)
|
9283
|
+
def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9284
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options)
|
9285
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
9286
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
9287
|
+
command.params['project'] = project unless project.nil?
|
9288
|
+
command.params['zone'] = zone unless zone.nil?
|
9289
|
+
command.params['instance'] = instance unless instance.nil?
|
9290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
9291
|
+
command.query['fields'] = fields unless fields.nil?
|
9292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
9294
|
+
execute_or_queue_command(command, &block)
|
9295
|
+
end
|
9296
|
+
|
9297
|
+
# Resumes an instance that was suspended using the instances().suspend method.
|
9298
|
+
# @param [String] project
|
9299
|
+
# Project ID for this request.
|
9300
|
+
# @param [String] zone
|
9301
|
+
# The name of the zone for this request.
|
9302
|
+
# @param [String] instance
|
9303
|
+
# Name of the instance resource to resume.
|
9304
|
+
# @param [Google::Apis::ComputeBeta::InstancesResumeRequest] instances_resume_request_object
|
9305
|
+
# @param [String] request_id
|
9306
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
9307
|
+
# that if you must retry your request, the server will know to ignore the
|
9308
|
+
# request if it has already been completed.
|
9309
|
+
# For example, consider a situation where you make an initial request and the
|
9310
|
+
# request times out. If you make the request again with the same request ID, the
|
9311
|
+
# server can check if original operation with the same request ID was received,
|
9312
|
+
# and if so, will ignore the second request. This prevents clients from
|
9313
|
+
# accidentally creating duplicate commitments.
|
9314
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
9315
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
9316
|
+
# @param [String] fields
|
9317
|
+
# Selector specifying which fields to include in a partial response.
|
9318
|
+
# @param [String] quota_user
|
9319
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
9320
|
+
# characters.
|
9321
|
+
# @param [String] user_ip
|
9322
|
+
# Deprecated. Please use quotaUser instead.
|
9323
|
+
# @param [Google::Apis::RequestOptions] options
|
9324
|
+
# Request-specific options
|
9325
|
+
#
|
9326
|
+
# @yield [result, err] Result & error if block supplied
|
9327
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
9328
|
+
# @yieldparam err [StandardError] error object if request failed
|
9329
|
+
#
|
9330
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
9331
|
+
#
|
9332
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9333
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9334
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9335
|
+
def resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
9336
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/resume', options)
|
9337
|
+
command.request_representation = Google::Apis::ComputeBeta::InstancesResumeRequest::Representation
|
9338
|
+
command.request_object = instances_resume_request_object
|
8864
9339
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
8865
9340
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
8866
9341
|
command.params['project'] = project unless project.nil?
|
@@ -8879,7 +9354,7 @@ module Google
|
|
8879
9354
|
# @param [String] zone
|
8880
9355
|
# The name of the zone for this request.
|
8881
9356
|
# @param [String] resource
|
8882
|
-
# Name of the resource for this request.
|
9357
|
+
# Name or id of the resource for this request.
|
8883
9358
|
# @param [Boolean] deletion_protection
|
8884
9359
|
# Whether the resource should be protected against deletion.
|
8885
9360
|
# @param [String] request_id
|
@@ -8933,11 +9408,12 @@ module Google
|
|
8933
9408
|
# @param [String] zone
|
8934
9409
|
# The name of the zone for this request.
|
8935
9410
|
# @param [String] instance
|
8936
|
-
# The instance name.
|
9411
|
+
# The instance name for this request.
|
8937
9412
|
# @param [Boolean] auto_delete
|
8938
9413
|
# Whether to auto-delete the disk when the instance is deleted.
|
8939
9414
|
# @param [String] device_name
|
8940
|
-
# The device name of the disk to modify.
|
9415
|
+
# The device name of the disk to modify. Make a get() request on the instance to
|
9416
|
+
# view currently attached disks and device names.
|
8941
9417
|
# @param [String] request_id
|
8942
9418
|
# An optional request ID to identify requests. Specify a unique request ID so
|
8943
9419
|
# that if you must retry your request, the server will know to ignore the
|
@@ -8991,7 +9467,7 @@ module Google
|
|
8991
9467
|
# @param [String] zone
|
8992
9468
|
# The name of the zone for this request.
|
8993
9469
|
# @param [String] resource
|
8994
|
-
# Name of the resource for this request.
|
9470
|
+
# Name or id of the resource for this request.
|
8995
9471
|
# @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object
|
8996
9472
|
# @param [String] fields
|
8997
9473
|
# Selector specifying which fields to include in a partial response.
|
@@ -9308,7 +9784,7 @@ module Google
|
|
9308
9784
|
# @param [String] zone
|
9309
9785
|
# The name of the zone for this request.
|
9310
9786
|
# @param [String] instance
|
9311
|
-
# Instance name.
|
9787
|
+
# Instance name for this request.
|
9312
9788
|
# @param [Google::Apis::ComputeBeta::Scheduling] scheduling_object
|
9313
9789
|
# @param [String] request_id
|
9314
9790
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -9467,7 +9943,8 @@ module Google
|
|
9467
9943
|
execute_or_queue_command(command, &block)
|
9468
9944
|
end
|
9469
9945
|
|
9470
|
-
# Sets tags for the specified instance to the data included in the
|
9946
|
+
# Sets network tags for the specified instance to the data included in the
|
9947
|
+
# request.
|
9471
9948
|
# @param [String] project
|
9472
9949
|
# Project ID for this request.
|
9473
9950
|
# @param [String] zone
|
@@ -9722,13 +10199,73 @@ module Google
|
|
9722
10199
|
execute_or_queue_command(command, &block)
|
9723
10200
|
end
|
9724
10201
|
|
10202
|
+
# This method suspends a running instance, saving its state to persistent
|
10203
|
+
# storage, and allows you to resume the instance at a later time. Suspended
|
10204
|
+
# instances incur reduced per-minute, virtual machine usage charges while they
|
10205
|
+
# are suspended. Any resources the virtual machine is using, such as persistent
|
10206
|
+
# disks and static IP addresses, will continue to be charged until they are
|
10207
|
+
# deleted.
|
10208
|
+
# @param [String] project
|
10209
|
+
# Project ID for this request.
|
10210
|
+
# @param [String] zone
|
10211
|
+
# The name of the zone for this request.
|
10212
|
+
# @param [String] instance
|
10213
|
+
# Name of the instance resource to suspend.
|
10214
|
+
# @param [Boolean] discard_local_ssd
|
10215
|
+
# If true, discard the contents of any attached localSSD partitions. Default
|
10216
|
+
# value is false (== preserve localSSD data).
|
10217
|
+
# @param [String] request_id
|
10218
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10219
|
+
# that if you must retry your request, the server will know to ignore the
|
10220
|
+
# request if it has already been completed.
|
10221
|
+
# For example, consider a situation where you make an initial request and the
|
10222
|
+
# request times out. If you make the request again with the same request ID, the
|
10223
|
+
# server can check if original operation with the same request ID was received,
|
10224
|
+
# and if so, will ignore the second request. This prevents clients from
|
10225
|
+
# accidentally creating duplicate commitments.
|
10226
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10227
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10228
|
+
# @param [String] fields
|
10229
|
+
# Selector specifying which fields to include in a partial response.
|
10230
|
+
# @param [String] quota_user
|
10231
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10232
|
+
# characters.
|
10233
|
+
# @param [String] user_ip
|
10234
|
+
# Deprecated. Please use quotaUser instead.
|
10235
|
+
# @param [Google::Apis::RequestOptions] options
|
10236
|
+
# Request-specific options
|
10237
|
+
#
|
10238
|
+
# @yield [result, err] Result & error if block supplied
|
10239
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
10240
|
+
# @yieldparam err [StandardError] error object if request failed
|
10241
|
+
#
|
10242
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
10243
|
+
#
|
10244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10247
|
+
def suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10248
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/suspend', options)
|
10249
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
10250
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
10251
|
+
command.params['project'] = project unless project.nil?
|
10252
|
+
command.params['zone'] = zone unless zone.nil?
|
10253
|
+
command.params['instance'] = instance unless instance.nil?
|
10254
|
+
command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil?
|
10255
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10256
|
+
command.query['fields'] = fields unless fields.nil?
|
10257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10258
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10259
|
+
execute_or_queue_command(command, &block)
|
10260
|
+
end
|
10261
|
+
|
9725
10262
|
# Returns permissions that a caller has on the specified resource.
|
9726
10263
|
# @param [String] project
|
9727
10264
|
# Project ID for this request.
|
9728
10265
|
# @param [String] zone
|
9729
10266
|
# The name of the zone for this request.
|
9730
10267
|
# @param [String] resource
|
9731
|
-
# Name of the resource for this request.
|
10268
|
+
# Name or id of the resource for this request.
|
9732
10269
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
9733
10270
|
# @param [String] fields
|
9734
10271
|
# Selector specifying which fields to include in a partial response.
|
@@ -9823,6 +10360,62 @@ module Google
|
|
9823
10360
|
execute_or_queue_command(command, &block)
|
9824
10361
|
end
|
9825
10362
|
|
10363
|
+
# Updates the Display config for a VM instance. You can only use this method on
|
10364
|
+
# a stopped VM instance. This method supports PATCH semantics and uses the JSON
|
10365
|
+
# merge patch format and processing rules.
|
10366
|
+
# @param [String] project
|
10367
|
+
# Project ID for this request.
|
10368
|
+
# @param [String] zone
|
10369
|
+
# The name of the zone for this request.
|
10370
|
+
# @param [String] instance
|
10371
|
+
# Name of the instance scoping this request.
|
10372
|
+
# @param [Google::Apis::ComputeBeta::DisplayDevice] display_device_object
|
10373
|
+
# @param [String] request_id
|
10374
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10375
|
+
# that if you must retry your request, the server will know to ignore the
|
10376
|
+
# request if it has already been completed.
|
10377
|
+
# For example, consider a situation where you make an initial request and the
|
10378
|
+
# request times out. If you make the request again with the same request ID, the
|
10379
|
+
# server can check if original operation with the same request ID was received,
|
10380
|
+
# and if so, will ignore the second request. This prevents clients from
|
10381
|
+
# accidentally creating duplicate commitments.
|
10382
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10383
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10384
|
+
# @param [String] fields
|
10385
|
+
# Selector specifying which fields to include in a partial response.
|
10386
|
+
# @param [String] quota_user
|
10387
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10388
|
+
# characters.
|
10389
|
+
# @param [String] user_ip
|
10390
|
+
# Deprecated. Please use quotaUser instead.
|
10391
|
+
# @param [Google::Apis::RequestOptions] options
|
10392
|
+
# Request-specific options
|
10393
|
+
#
|
10394
|
+
# @yield [result, err] Result & error if block supplied
|
10395
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
10396
|
+
# @yieldparam err [StandardError] error object if request failed
|
10397
|
+
#
|
10398
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
10399
|
+
#
|
10400
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10401
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10402
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10403
|
+
def update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10404
|
+
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options)
|
10405
|
+
command.request_representation = Google::Apis::ComputeBeta::DisplayDevice::Representation
|
10406
|
+
command.request_object = display_device_object
|
10407
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
10408
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
10409
|
+
command.params['project'] = project unless project.nil?
|
10410
|
+
command.params['zone'] = zone unless zone.nil?
|
10411
|
+
command.params['instance'] = instance unless instance.nil?
|
10412
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10413
|
+
command.query['fields'] = fields unless fields.nil?
|
10414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10415
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10416
|
+
execute_or_queue_command(command, &block)
|
10417
|
+
end
|
10418
|
+
|
9826
10419
|
# Updates an instance's network interface. This method follows PATCH semantics.
|
9827
10420
|
# @param [String] project
|
9828
10421
|
# Project ID for this request.
|
@@ -10287,7 +10880,7 @@ module Google
|
|
10287
10880
|
# @param [String] region
|
10288
10881
|
# The region for this request.
|
10289
10882
|
# @param [String] resource
|
10290
|
-
# Name of the resource for this request.
|
10883
|
+
# Name or id of the resource for this request.
|
10291
10884
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
10292
10885
|
# @param [String] request_id
|
10293
10886
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -10341,7 +10934,7 @@ module Google
|
|
10341
10934
|
# @param [String] region
|
10342
10935
|
# The name of the region for this request.
|
10343
10936
|
# @param [String] resource
|
10344
|
-
# Name of the resource for this request.
|
10937
|
+
# Name or id of the resource for this request.
|
10345
10938
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
10346
10939
|
# @param [String] fields
|
10347
10940
|
# Selector specifying which fields to include in a partial response.
|
@@ -10785,7 +11378,7 @@ module Google
|
|
10785
11378
|
# @param [String] project
|
10786
11379
|
# Project ID for this request.
|
10787
11380
|
# @param [String] resource
|
10788
|
-
# Name of the resource for this request.
|
11381
|
+
# Name or id of the resource for this request.
|
10789
11382
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
10790
11383
|
# @param [String] fields
|
10791
11384
|
# Selector specifying which fields to include in a partial response.
|
@@ -10824,7 +11417,7 @@ module Google
|
|
10824
11417
|
# @param [String] project
|
10825
11418
|
# Project ID for this request.
|
10826
11419
|
# @param [String] resource
|
10827
|
-
# Name of the resource for this request.
|
11420
|
+
# Name or id of the resource for this request.
|
10828
11421
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
10829
11422
|
# @param [String] fields
|
10830
11423
|
# Selector specifying which fields to include in a partial response.
|
@@ -11103,6 +11696,46 @@ module Google
|
|
11103
11696
|
execute_or_queue_command(command, &block)
|
11104
11697
|
end
|
11105
11698
|
|
11699
|
+
# Sets the access control policy on the specified resource. Replaces any
|
11700
|
+
# existing policy.
|
11701
|
+
# @param [String] project
|
11702
|
+
# Project ID for this request.
|
11703
|
+
# @param [String] resource
|
11704
|
+
# Name or id of the resource for this request.
|
11705
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
11706
|
+
# @param [String] fields
|
11707
|
+
# Selector specifying which fields to include in a partial response.
|
11708
|
+
# @param [String] quota_user
|
11709
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11710
|
+
# characters.
|
11711
|
+
# @param [String] user_ip
|
11712
|
+
# Deprecated. Please use quotaUser instead.
|
11713
|
+
# @param [Google::Apis::RequestOptions] options
|
11714
|
+
# Request-specific options
|
11715
|
+
#
|
11716
|
+
# @yield [result, err] Result & error if block supplied
|
11717
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
11718
|
+
# @yieldparam err [StandardError] error object if request failed
|
11719
|
+
#
|
11720
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
11721
|
+
#
|
11722
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11723
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11724
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11725
|
+
def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11726
|
+
command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options)
|
11727
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation
|
11728
|
+
command.request_object = global_set_policy_request_object
|
11729
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
11730
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
11731
|
+
command.params['project'] = project unless project.nil?
|
11732
|
+
command.params['resource'] = resource unless resource.nil?
|
11733
|
+
command.query['fields'] = fields unless fields.nil?
|
11734
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11735
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11736
|
+
execute_or_queue_command(command, &block)
|
11737
|
+
end
|
11738
|
+
|
11106
11739
|
# Retrieves an aggregated list of machine types.
|
11107
11740
|
# @param [String] project
|
11108
11741
|
# Project ID for this request.
|
@@ -11785,7 +12418,7 @@ module Google
|
|
11785
12418
|
# @param [String] zone
|
11786
12419
|
# The name of the zone for this request.
|
11787
12420
|
# @param [String] resource
|
11788
|
-
# Name of the resource for this request.
|
12421
|
+
# Name or id of the resource for this request.
|
11789
12422
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
11790
12423
|
# @param [String] fields
|
11791
12424
|
# Selector specifying which fields to include in a partial response.
|
@@ -12077,6 +12710,90 @@ module Google
|
|
12077
12710
|
execute_or_queue_command(command, &block)
|
12078
12711
|
end
|
12079
12712
|
|
12713
|
+
# Lists the peering routes exchanged over peering connection.
|
12714
|
+
# @param [String] project
|
12715
|
+
# Project ID for this request.
|
12716
|
+
# @param [String] network
|
12717
|
+
# Name of the network for this request.
|
12718
|
+
# @param [String] direction
|
12719
|
+
# The direction of the exchanged routes.
|
12720
|
+
# @param [String] filter
|
12721
|
+
# A filter expression that filters resources listed in the response. The
|
12722
|
+
# expression must specify the field name, a comparison operator, and the value
|
12723
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
12724
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
12725
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
12726
|
+
# instances named example-instance by specifying name != example-instance.
|
12727
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
12728
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
12729
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
12730
|
+
# on resource labels.
|
12731
|
+
# To filter on multiple expressions, provide each separate expression within
|
12732
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
12733
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
12734
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
12735
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
12736
|
+
# automaticRestart = true).
|
12737
|
+
# @param [Fixnum] max_results
|
12738
|
+
# The maximum number of results per page that should be returned. If the number
|
12739
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
12740
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
12741
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
12742
|
+
# @param [String] order_by
|
12743
|
+
# Sorts list results by a certain order. By default, results are returned in
|
12744
|
+
# alphanumerical order based on the resource name.
|
12745
|
+
# You can also sort results in descending order based on the creation timestamp
|
12746
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
12747
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
12748
|
+
# Use this to sort resources like operations so that the newest operation is
|
12749
|
+
# returned first.
|
12750
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
12751
|
+
# @param [String] page_token
|
12752
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
12753
|
+
# a previous list request to get the next page of results.
|
12754
|
+
# @param [String] peering_name
|
12755
|
+
# The response will show routes exchanged over the given peering connection.
|
12756
|
+
# @param [String] region
|
12757
|
+
# The region of the request. The response will include all subnet routes, static
|
12758
|
+
# routes and dynamic routes in the region.
|
12759
|
+
# @param [String] fields
|
12760
|
+
# Selector specifying which fields to include in a partial response.
|
12761
|
+
# @param [String] quota_user
|
12762
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
12763
|
+
# characters.
|
12764
|
+
# @param [String] user_ip
|
12765
|
+
# Deprecated. Please use quotaUser instead.
|
12766
|
+
# @param [Google::Apis::RequestOptions] options
|
12767
|
+
# Request-specific options
|
12768
|
+
#
|
12769
|
+
# @yield [result, err] Result & error if block supplied
|
12770
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ExchangedPeeringRoutesList] parsed result object
|
12771
|
+
# @yieldparam err [StandardError] error object if request failed
|
12772
|
+
#
|
12773
|
+
# @return [Google::Apis::ComputeBeta::ExchangedPeeringRoutesList]
|
12774
|
+
#
|
12775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12778
|
+
def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12779
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', options)
|
12780
|
+
command.response_representation = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Representation
|
12781
|
+
command.response_class = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList
|
12782
|
+
command.params['project'] = project unless project.nil?
|
12783
|
+
command.params['network'] = network unless network.nil?
|
12784
|
+
command.query['direction'] = direction unless direction.nil?
|
12785
|
+
command.query['filter'] = filter unless filter.nil?
|
12786
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
12787
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
12788
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
12789
|
+
command.query['peeringName'] = peering_name unless peering_name.nil?
|
12790
|
+
command.query['region'] = region unless region.nil?
|
12791
|
+
command.query['fields'] = fields unless fields.nil?
|
12792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
12793
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
12794
|
+
execute_or_queue_command(command, &block)
|
12795
|
+
end
|
12796
|
+
|
12080
12797
|
# Patches the specified network with the data included in the request. Only the
|
12081
12798
|
# following fields can be modified: routingConfig.routingMode.
|
12082
12799
|
# @param [String] project
|
@@ -12232,7 +12949,7 @@ module Google
|
|
12232
12949
|
# @param [String] project
|
12233
12950
|
# Project ID for this request.
|
12234
12951
|
# @param [String] resource
|
12235
|
-
# Name of the resource for this request.
|
12952
|
+
# Name or id of the resource for this request.
|
12236
12953
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
12237
12954
|
# @param [String] fields
|
12238
12955
|
# Selector specifying which fields to include in a partial response.
|
@@ -12267,13 +12984,66 @@ module Google
|
|
12267
12984
|
execute_or_queue_command(command, &block)
|
12268
12985
|
end
|
12269
12986
|
|
12987
|
+
# Updates the specified network peering with the data included in the request
|
12988
|
+
# Only the following fields can be modified: NetworkPeering.export_custom_routes,
|
12989
|
+
# and NetworkPeering.import_custom_routes
|
12990
|
+
# @param [String] project
|
12991
|
+
# Project ID for this request.
|
12992
|
+
# @param [String] network
|
12993
|
+
# Name of the network resource which the updated peering is belonging to.
|
12994
|
+
# @param [Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest] networks_update_peering_request_object
|
12995
|
+
# @param [String] request_id
|
12996
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
12997
|
+
# that if you must retry your request, the server will know to ignore the
|
12998
|
+
# request if it has already been completed.
|
12999
|
+
# For example, consider a situation where you make an initial request and the
|
13000
|
+
# request times out. If you make the request again with the same request ID, the
|
13001
|
+
# server can check if original operation with the same request ID was received,
|
13002
|
+
# and if so, will ignore the second request. This prevents clients from
|
13003
|
+
# accidentally creating duplicate commitments.
|
13004
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
13005
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
13006
|
+
# @param [String] fields
|
13007
|
+
# Selector specifying which fields to include in a partial response.
|
13008
|
+
# @param [String] quota_user
|
13009
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
13010
|
+
# characters.
|
13011
|
+
# @param [String] user_ip
|
13012
|
+
# Deprecated. Please use quotaUser instead.
|
13013
|
+
# @param [Google::Apis::RequestOptions] options
|
13014
|
+
# Request-specific options
|
13015
|
+
#
|
13016
|
+
# @yield [result, err] Result & error if block supplied
|
13017
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
13018
|
+
# @yieldparam err [StandardError] error object if request failed
|
13019
|
+
#
|
13020
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
13021
|
+
#
|
13022
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13023
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13024
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13025
|
+
def update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13026
|
+
command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options)
|
13027
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest::Representation
|
13028
|
+
command.request_object = networks_update_peering_request_object
|
13029
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
13030
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
13031
|
+
command.params['project'] = project unless project.nil?
|
13032
|
+
command.params['network'] = network unless network.nil?
|
13033
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
13034
|
+
command.query['fields'] = fields unless fields.nil?
|
13035
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13036
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
13037
|
+
execute_or_queue_command(command, &block)
|
13038
|
+
end
|
13039
|
+
|
12270
13040
|
# Adds specified number of nodes to the node group.
|
12271
13041
|
# @param [String] project
|
12272
13042
|
# Project ID for this request.
|
12273
13043
|
# @param [String] zone
|
12274
13044
|
# The name of the zone for this request.
|
12275
13045
|
# @param [String] node_group
|
12276
|
-
# Name of the NodeGroup resource
|
13046
|
+
# Name of the NodeGroup resource.
|
12277
13047
|
# @param [Google::Apis::ComputeBeta::NodeGroupsAddNodesRequest] node_groups_add_nodes_request_object
|
12278
13048
|
# @param [String] request_id
|
12279
13049
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -12546,7 +13316,7 @@ module Google
|
|
12546
13316
|
# @param [String] zone
|
12547
13317
|
# The name of the zone for this request.
|
12548
13318
|
# @param [String] resource
|
12549
|
-
# Name of the resource for this request.
|
13319
|
+
# Name or id of the resource for this request.
|
12550
13320
|
# @param [String] fields
|
12551
13321
|
# Selector specifying which fields to include in a partial response.
|
12552
13322
|
# @param [String] quota_user
|
@@ -12793,7 +13563,7 @@ module Google
|
|
12793
13563
|
# @param [String] zone
|
12794
13564
|
# The name of the zone for this request.
|
12795
13565
|
# @param [String] resource
|
12796
|
-
# Name of the resource for this request.
|
13566
|
+
# Name or id of the resource for this request.
|
12797
13567
|
# @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object
|
12798
13568
|
# @param [String] fields
|
12799
13569
|
# Selector specifying which fields to include in a partial response.
|
@@ -12889,7 +13659,7 @@ module Google
|
|
12889
13659
|
# @param [String] zone
|
12890
13660
|
# The name of the zone for this request.
|
12891
13661
|
# @param [String] resource
|
12892
|
-
# Name of the resource for this request.
|
13662
|
+
# Name or id of the resource for this request.
|
12893
13663
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
12894
13664
|
# @param [String] fields
|
12895
13665
|
# Selector specifying which fields to include in a partial response.
|
@@ -13094,7 +13864,7 @@ module Google
|
|
13094
13864
|
# @param [String] region
|
13095
13865
|
# The name of the region for this request.
|
13096
13866
|
# @param [String] resource
|
13097
|
-
# Name of the resource for this request.
|
13867
|
+
# Name or id of the resource for this request.
|
13098
13868
|
# @param [String] fields
|
13099
13869
|
# Selector specifying which fields to include in a partial response.
|
13100
13870
|
# @param [String] quota_user
|
@@ -13260,7 +14030,7 @@ module Google
|
|
13260
14030
|
# @param [String] region
|
13261
14031
|
# The name of the region for this request.
|
13262
14032
|
# @param [String] resource
|
13263
|
-
# Name of the resource for this request.
|
14033
|
+
# Name or id of the resource for this request.
|
13264
14034
|
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
13265
14035
|
# @param [String] fields
|
13266
14036
|
# Selector specifying which fields to include in a partial response.
|
@@ -13302,7 +14072,7 @@ module Google
|
|
13302
14072
|
# @param [String] region
|
13303
14073
|
# The name of the region for this request.
|
13304
14074
|
# @param [String] resource
|
13305
|
-
# Name of the resource for this request.
|
14075
|
+
# Name or id of the resource for this request.
|
13306
14076
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
13307
14077
|
# @param [String] fields
|
13308
14078
|
# Selector specifying which fields to include in a partial response.
|
@@ -14447,7 +15217,7 @@ module Google
|
|
14447
15217
|
# @param [String] region
|
14448
15218
|
# The name of the region for this request.
|
14449
15219
|
# @param [String] resource
|
14450
|
-
# Name of the resource for this request.
|
15220
|
+
# Name or id of the resource for this request.
|
14451
15221
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
14452
15222
|
# @param [String] fields
|
14453
15223
|
# Selector specifying which fields to include in a partial response.
|
@@ -14862,7 +15632,7 @@ module Google
|
|
14862
15632
|
# @param [String] region
|
14863
15633
|
# The name of the region for this request.
|
14864
15634
|
# @param [String] resource
|
14865
|
-
# Name of the resource for this request.
|
15635
|
+
# Name or id of the resource for this request.
|
14866
15636
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
14867
15637
|
# @param [String] fields
|
14868
15638
|
# Selector specifying which fields to include in a partial response.
|
@@ -15751,7 +16521,7 @@ module Google
|
|
15751
16521
|
# @param [String] region
|
15752
16522
|
# The region for this request.
|
15753
16523
|
# @param [String] resource
|
15754
|
-
# Name of the resource for this request.
|
16524
|
+
# Name or id of the resource for this request.
|
15755
16525
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
15756
16526
|
# @param [String] request_id
|
15757
16527
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -15805,7 +16575,7 @@ module Google
|
|
15805
16575
|
# @param [String] region
|
15806
16576
|
# The name of the region for this request.
|
15807
16577
|
# @param [String] resource
|
15808
|
-
# Name of the resource for this request.
|
16578
|
+
# Name or id of the resource for this request.
|
15809
16579
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
15810
16580
|
# @param [String] fields
|
15811
16581
|
# Selector specifying which fields to include in a partial response.
|
@@ -15841,7 +16611,7 @@ module Google
|
|
15841
16611
|
execute_or_queue_command(command, &block)
|
15842
16612
|
end
|
15843
16613
|
|
15844
|
-
#
|
16614
|
+
# Flags the specified instances to be immediately removed from the managed
|
15845
16615
|
# instance group. Abandoning an instance does not delete the instance, but it
|
15846
16616
|
# does remove the instance from any target pools that are applied by the managed
|
15847
16617
|
# instance group. This method reduces the targetSize of the managed instance
|
@@ -15958,13 +16728,13 @@ module Google
|
|
15958
16728
|
execute_or_queue_command(command, &block)
|
15959
16729
|
end
|
15960
16730
|
|
15961
|
-
#
|
15962
|
-
#
|
15963
|
-
#
|
15964
|
-
# group by the number of instances that you delete.
|
15965
|
-
#
|
15966
|
-
#
|
15967
|
-
# listmanagedinstances method.
|
16731
|
+
# Flags the specified instances in the managed instance group to be immediately
|
16732
|
+
# deleted. The instances are also removed from any target pools of which they
|
16733
|
+
# were a member. This method reduces the targetSize of the managed instance
|
16734
|
+
# group by the number of instances that you delete. The deleteInstances
|
16735
|
+
# operation is marked DONE if the deleteInstances request is successful. The
|
16736
|
+
# underlying actions take additional time. You must separately verify the status
|
16737
|
+
# of the deleting action with the listmanagedinstances method.
|
15968
16738
|
# If the group is part of a backend service that has enabled connection draining,
|
15969
16739
|
# it can take up to 60 seconds after the connection draining duration has
|
15970
16740
|
# elapsed before the VM instance is removed or deleted.
|
@@ -16062,11 +16832,11 @@ module Google
|
|
16062
16832
|
end
|
16063
16833
|
|
16064
16834
|
# Creates a managed instance group using the information that you specify in the
|
16065
|
-
# request. After the group is created,
|
16066
|
-
#
|
16067
|
-
#
|
16068
|
-
#
|
16069
|
-
#
|
16835
|
+
# request. After the group is created, instances in the group are created using
|
16836
|
+
# the specified instance template. This operation is marked as DONE when the
|
16837
|
+
# group is created even if the instances in the group have not yet been created.
|
16838
|
+
# You must separately verify the status of the individual instances with the
|
16839
|
+
# listmanagedinstances method.
|
16070
16840
|
# A regional managed instance group can contain up to 2000 instances.
|
16071
16841
|
# @param [String] project
|
16072
16842
|
# Project ID for this request.
|
@@ -16331,12 +17101,12 @@ module Google
|
|
16331
17101
|
execute_or_queue_command(command, &block)
|
16332
17102
|
end
|
16333
17103
|
|
16334
|
-
#
|
16335
|
-
#
|
16336
|
-
#
|
16337
|
-
#
|
16338
|
-
#
|
16339
|
-
#
|
17104
|
+
# Flags the specified instances in the managed instance group to be immediately
|
17105
|
+
# recreated. The instances are deleted and recreated using the current instance
|
17106
|
+
# template for the managed instance group. This operation is marked as DONE when
|
17107
|
+
# the flag is set even if the instances have not yet been recreated. You must
|
17108
|
+
# separately verify the status of the recreating action with the
|
17109
|
+
# listmanagedinstances method.
|
16340
17110
|
# If the group is part of a backend service that has enabled connection draining,
|
16341
17111
|
# it can take up to 60 seconds after the connection draining duration has
|
16342
17112
|
# elapsed before the VM instance is removed or deleted.
|
@@ -16394,13 +17164,12 @@ module Google
|
|
16394
17164
|
execute_or_queue_command(command, &block)
|
16395
17165
|
end
|
16396
17166
|
|
16397
|
-
# Changes the intended size
|
16398
|
-
# size, the group
|
16399
|
-
#
|
16400
|
-
#
|
16401
|
-
#
|
16402
|
-
#
|
16403
|
-
# deleting actions with the listmanagedinstances method.
|
17167
|
+
# Changes the intended size of the managed instance group. If you increase the
|
17168
|
+
# size, the group creates new instances using the current instance template. If
|
17169
|
+
# you decrease the size, the group deletes one or more instances.
|
17170
|
+
# The resize operation is marked DONE if the resize request is successful. The
|
17171
|
+
# underlying actions take additional time. You must separately verify the status
|
17172
|
+
# of the creating or deleting actions with the listmanagedinstances method.
|
16404
17173
|
# If the group is part of a backend service that has enabled connection draining,
|
16405
17174
|
# it can take up to 60 seconds after the connection draining duration has
|
16406
17175
|
# elapsed before the VM instance is removed or deleted.
|
@@ -16458,7 +17227,7 @@ module Google
|
|
16458
17227
|
end
|
16459
17228
|
|
16460
17229
|
# Modifies the autohealing policy for the instances in this managed instance
|
16461
|
-
# group.
|
17230
|
+
# group. [Deprecated] This method is deprecated. Please use Patch instead.
|
16462
17231
|
# @param [String] project
|
16463
17232
|
# Project ID for this request.
|
16464
17233
|
# @param [String] region
|
@@ -16628,7 +17397,7 @@ module Google
|
|
16628
17397
|
# @param [String] region
|
16629
17398
|
# The name of the region for this request.
|
16630
17399
|
# @param [String] resource
|
16631
|
-
# Name of the resource for this request.
|
17400
|
+
# Name or id of the resource for this request.
|
16632
17401
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
16633
17402
|
# @param [String] fields
|
16634
17403
|
# Selector specifying which fields to include in a partial response.
|
@@ -16978,7 +17747,7 @@ module Google
|
|
16978
17747
|
# @param [String] region
|
16979
17748
|
# The name of the region for this request.
|
16980
17749
|
# @param [String] resource
|
16981
|
-
# Name of the resource for this request.
|
17750
|
+
# Name or id of the resource for this request.
|
16982
17751
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
16983
17752
|
# @param [String] fields
|
16984
17753
|
# Selector specifying which fields to include in a partial response.
|
@@ -17565,7 +18334,7 @@ module Google
|
|
17565
18334
|
# @param [String] region
|
17566
18335
|
# The name of the region for this request.
|
17567
18336
|
# @param [String] resource
|
17568
|
-
# Name of the resource for this request.
|
18337
|
+
# Name or id of the resource for this request.
|
17569
18338
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
17570
18339
|
# @param [String] fields
|
17571
18340
|
# Selector specifying which fields to include in a partial response.
|
@@ -18111,7 +18880,7 @@ module Google
|
|
18111
18880
|
# @param [String] region
|
18112
18881
|
# The name of the region for this request.
|
18113
18882
|
# @param [String] resource
|
18114
|
-
# Name of the resource for this request.
|
18883
|
+
# Name or id of the resource for this request.
|
18115
18884
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
18116
18885
|
# @param [String] fields
|
18117
18886
|
# Selector specifying which fields to include in a partial response.
|
@@ -18410,7 +19179,7 @@ module Google
|
|
18410
19179
|
# @param [String] project
|
18411
19180
|
# Project ID for this request.
|
18412
19181
|
# @param [String] resource
|
18413
|
-
# Name of the resource for this request.
|
19182
|
+
# Name or id of the resource for this request.
|
18414
19183
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
18415
19184
|
# @param [String] fields
|
18416
19185
|
# Selector specifying which fields to include in a partial response.
|
@@ -18945,7 +19714,7 @@ module Google
|
|
18945
19714
|
# @param [String] project
|
18946
19715
|
# Project ID for this request.
|
18947
19716
|
# @param [String] resource
|
18948
|
-
# Name of the resource for this request.
|
19717
|
+
# Name or id of the resource for this request.
|
18949
19718
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
18950
19719
|
# @param [String] fields
|
18951
19720
|
# Selector specifying which fields to include in a partial response.
|
@@ -18984,7 +19753,7 @@ module Google
|
|
18984
19753
|
# @param [String] project
|
18985
19754
|
# Project ID for this request.
|
18986
19755
|
# @param [String] resource
|
18987
|
-
# Name of the resource for this request.
|
19756
|
+
# Name or id of the resource for this request.
|
18988
19757
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
18989
19758
|
# @param [String] fields
|
18990
19759
|
# Selector specifying which fields to include in a partial response.
|
@@ -19023,7 +19792,7 @@ module Google
|
|
19023
19792
|
# snapshot might not necessarily delete all the data on that snapshot. If any
|
19024
19793
|
# data on the snapshot that is marked for deletion is needed for subsequent
|
19025
19794
|
# snapshots, the data will be moved to the next corresponding snapshot.
|
19026
|
-
# For more information, see Deleting
|
19795
|
+
# For more information, see Deleting snapshots.
|
19027
19796
|
# @param [String] project
|
19028
19797
|
# Project ID for this request.
|
19029
19798
|
# @param [String] snapshot
|
@@ -19113,7 +19882,7 @@ module Google
|
|
19113
19882
|
# @param [String] project
|
19114
19883
|
# Project ID for this request.
|
19115
19884
|
# @param [String] resource
|
19116
|
-
# Name of the resource for this request.
|
19885
|
+
# Name or id of the resource for this request.
|
19117
19886
|
# @param [String] fields
|
19118
19887
|
# Selector specifying which fields to include in a partial response.
|
19119
19888
|
# @param [String] quota_user
|
@@ -19222,7 +19991,7 @@ module Google
|
|
19222
19991
|
# @param [String] project
|
19223
19992
|
# Project ID for this request.
|
19224
19993
|
# @param [String] resource
|
19225
|
-
# Name of the resource for this request.
|
19994
|
+
# Name or id of the resource for this request.
|
19226
19995
|
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
19227
19996
|
# @param [String] fields
|
19228
19997
|
# Selector specifying which fields to include in a partial response.
|
@@ -19262,7 +20031,7 @@ module Google
|
|
19262
20031
|
# @param [String] project
|
19263
20032
|
# Project ID for this request.
|
19264
20033
|
# @param [String] resource
|
19265
|
-
# Name of the resource for this request.
|
20034
|
+
# Name or id of the resource for this request.
|
19266
20035
|
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
19267
20036
|
# @param [String] fields
|
19268
20037
|
# Selector specifying which fields to include in a partial response.
|
@@ -19301,7 +20070,7 @@ module Google
|
|
19301
20070
|
# @param [String] project
|
19302
20071
|
# Project ID for this request.
|
19303
20072
|
# @param [String] resource
|
19304
|
-
# Name of the resource for this request.
|
20073
|
+
# Name or id of the resource for this request.
|
19305
20074
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
19306
20075
|
# @param [String] fields
|
19307
20076
|
# Selector specifying which fields to include in a partial response.
|
@@ -19546,7 +20315,7 @@ module Google
|
|
19546
20315
|
# @param [String] project
|
19547
20316
|
# Project ID for this request.
|
19548
20317
|
# @param [String] resource
|
19549
|
-
# Name of the resource for this request.
|
20318
|
+
# Name or id of the resource for this request.
|
19550
20319
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
19551
20320
|
# @param [String] fields
|
19552
20321
|
# Selector specifying which fields to include in a partial response.
|
@@ -19916,7 +20685,7 @@ module Google
|
|
19916
20685
|
# @param [String] project
|
19917
20686
|
# Project ID for this request.
|
19918
20687
|
# @param [String] resource
|
19919
|
-
# Name of the resource for this request.
|
20688
|
+
# Name or id of the resource for this request.
|
19920
20689
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
19921
20690
|
# @param [String] fields
|
19922
20691
|
# Selector specifying which fields to include in a partial response.
|
@@ -20174,7 +20943,7 @@ module Google
|
|
20174
20943
|
# @param [String] region
|
20175
20944
|
# The name of the region for this request.
|
20176
20945
|
# @param [String] resource
|
20177
|
-
# Name of the resource for this request.
|
20946
|
+
# Name or id of the resource for this request.
|
20178
20947
|
# @param [String] fields
|
20179
20948
|
# Selector specifying which fields to include in a partial response.
|
20180
20949
|
# @param [String] quota_user
|
@@ -20405,10 +21174,9 @@ module Google
|
|
20405
21174
|
end
|
20406
21175
|
|
20407
21176
|
# Patches the specified subnetwork with the data included in the request. Only
|
20408
|
-
#
|
20409
|
-
#
|
20410
|
-
#
|
20411
|
-
# being patched.
|
21177
|
+
# certain fields can up updated with a patch request as indicated in the field
|
21178
|
+
# descriptions. You must specify the current fingeprint of the subnetwork
|
21179
|
+
# resource being patched.
|
20412
21180
|
# @param [String] project
|
20413
21181
|
# Project ID for this request.
|
20414
21182
|
# @param [String] region
|
@@ -20469,7 +21237,7 @@ module Google
|
|
20469
21237
|
# @param [String] region
|
20470
21238
|
# The name of the region for this request.
|
20471
21239
|
# @param [String] resource
|
20472
|
-
# Name of the resource for this request.
|
21240
|
+
# Name or id of the resource for this request.
|
20473
21241
|
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
20474
21242
|
# @param [String] fields
|
20475
21243
|
# Selector specifying which fields to include in a partial response.
|
@@ -20566,7 +21334,7 @@ module Google
|
|
20566
21334
|
# @param [String] region
|
20567
21335
|
# The name of the region for this request.
|
20568
21336
|
# @param [String] resource
|
20569
|
-
# Name of the resource for this request.
|
21337
|
+
# Name or id of the resource for this request.
|
20570
21338
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
20571
21339
|
# @param [String] fields
|
20572
21340
|
# Selector specifying which fields to include in a partial response.
|
@@ -20863,7 +21631,7 @@ module Google
|
|
20863
21631
|
# @param [String] project
|
20864
21632
|
# Project ID for this request.
|
20865
21633
|
# @param [String] resource
|
20866
|
-
# Name of the resource for this request.
|
21634
|
+
# Name or id of the resource for this request.
|
20867
21635
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
20868
21636
|
# @param [String] fields
|
20869
21637
|
# Selector specifying which fields to include in a partial response.
|
@@ -21317,7 +22085,7 @@ module Google
|
|
21317
22085
|
# @param [String] project
|
21318
22086
|
# Project ID for this request.
|
21319
22087
|
# @param [String] resource
|
21320
|
-
# Name of the resource for this request.
|
22088
|
+
# Name or id of the resource for this request.
|
21321
22089
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
21322
22090
|
# @param [String] fields
|
21323
22091
|
# Selector specifying which fields to include in a partial response.
|
@@ -21647,7 +22415,7 @@ module Google
|
|
21647
22415
|
# @param [String] zone
|
21648
22416
|
# The name of the zone for this request.
|
21649
22417
|
# @param [String] resource
|
21650
|
-
# Name of the resource for this request.
|
22418
|
+
# Name or id of the resource for this request.
|
21651
22419
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
21652
22420
|
# @param [String] fields
|
21653
22421
|
# Selector specifying which fields to include in a partial response.
|
@@ -22293,7 +23061,7 @@ module Google
|
|
22293
23061
|
# @param [String] region
|
22294
23062
|
# The name of the region for this request.
|
22295
23063
|
# @param [String] resource
|
22296
|
-
# Name of the resource for this request.
|
23064
|
+
# Name or id of the resource for this request.
|
22297
23065
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
22298
23066
|
# @param [String] fields
|
22299
23067
|
# Selector specifying which fields to include in a partial response.
|
@@ -22747,7 +23515,7 @@ module Google
|
|
22747
23515
|
# @param [String] project
|
22748
23516
|
# Project ID for this request.
|
22749
23517
|
# @param [String] resource
|
22750
|
-
# Name of the resource for this request.
|
23518
|
+
# Name or id of the resource for this request.
|
22751
23519
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
22752
23520
|
# @param [String] fields
|
22753
23521
|
# Selector specifying which fields to include in a partial response.
|
@@ -23386,7 +24154,7 @@ module Google
|
|
23386
24154
|
# @param [String] region
|
23387
24155
|
# The region for this request.
|
23388
24156
|
# @param [String] resource
|
23389
|
-
# Name of the resource for this request.
|
24157
|
+
# Name or id of the resource for this request.
|
23390
24158
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
23391
24159
|
# @param [String] request_id
|
23392
24160
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -23440,7 +24208,7 @@ module Google
|
|
23440
24208
|
# @param [String] region
|
23441
24209
|
# The name of the region for this request.
|
23442
24210
|
# @param [String] resource
|
23443
|
-
# Name of the resource for this request.
|
24211
|
+
# Name or id of the resource for this request.
|
23444
24212
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
23445
24213
|
# @param [String] fields
|
23446
24214
|
# Selector specifying which fields to include in a partial response.
|
@@ -23790,7 +24558,7 @@ module Google
|
|
23790
24558
|
# @param [String] project
|
23791
24559
|
# Project ID for this request.
|
23792
24560
|
# @param [String] resource
|
23793
|
-
# Name of the resource for this request.
|
24561
|
+
# Name or id of the resource for this request.
|
23794
24562
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
23795
24563
|
# @param [String] fields
|
23796
24564
|
# Selector specifying which fields to include in a partial response.
|
@@ -24212,7 +24980,7 @@ module Google
|
|
24212
24980
|
# @param [String] region
|
24213
24981
|
# The region for this request.
|
24214
24982
|
# @param [String] resource
|
24215
|
-
# Name of the resource for this request.
|
24983
|
+
# Name or id of the resource for this request.
|
24216
24984
|
# @param [Google::Apis::ComputeBeta::RegionSetLabelsRequest] region_set_labels_request_object
|
24217
24985
|
# @param [String] request_id
|
24218
24986
|
# An optional request ID to identify requests. Specify a unique request ID so
|
@@ -24266,7 +25034,7 @@ module Google
|
|
24266
25034
|
# @param [String] region
|
24267
25035
|
# The name of the region for this request.
|
24268
25036
|
# @param [String] resource
|
24269
|
-
# Name of the resource for this request.
|
25037
|
+
# Name or id of the resource for this request.
|
24270
25038
|
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
24271
25039
|
# @param [String] fields
|
24272
25040
|
# Selector specifying which fields to include in a partial response.
|