google-api-client 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +114 -0
- data/CODE_OF_CONDUCT.md +43 -0
- data/MIGRATING.md +1 -5
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/service.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -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_v1/classes.rb +34 -1
- data/generated/google/apis/appengine_v1/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
- data/generated/google/apis/chat_v1.rb +2 -2
- data/generated/google/apis/chat_v1/classes.rb +76 -0
- data/generated/google/apis/chat_v1/representations.rb +25 -0
- data/generated/google/apis/chat_v1/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -331
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +49 -18
- data/generated/google/apis/compute_alpha/representations.rb +6 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1114 -103
- data/generated/google/apis/compute_beta/representations.rb +431 -0
- data/generated/google/apis/compute_beta/service.rb +605 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -1
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +348 -2
- data/generated/google/apis/container_v1beta1/representations.rb +121 -0
- data/generated/google/apis/container_v1beta1/service.rb +114 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +147 -0
- data/generated/google/apis/content_v2/representations.rb +65 -0
- data/generated/google/apis/content_v2/service.rb +81 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +164 -1
- data/generated/google/apis/dataproc_v1/representations.rb +70 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +70 -26
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/dlp_v2/service.rb +78 -17
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
- data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +0 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
- data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
- data/generated/google/apis/indexing_v3.rb +32 -0
- data/generated/google/apis/indexing_v3/classes.rb +115 -0
- data/generated/google/apis/indexing_v3/representations.rb +72 -0
- data/generated/google/apis/indexing_v3/service.rb +122 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +73 -72
- data/generated/google/apis/jobs_v2/representations.rb +0 -1
- data/generated/google/apis/jobs_v2/service.rb +8 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +42 -0
- data/generated/google/apis/logging_v2/representations.rb +17 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +4 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +91 -7
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +12 -2
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +57 -4
- data/generated/google/apis/pubsub_v1/representations.rb +19 -0
- data/generated/google/apis/pubsub_v1/service.rb +40 -2
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/script_v1.rb +4 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
- data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
- data/generated/google/apis/serviceusage_v1/service.rb +423 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
- data/generated/google/apis/serviceuser_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +4 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -10
- data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
- data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
- data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
- data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -10705,6 +10705,539 @@ module Google
|
|
10705
10705
|
execute_or_queue_command(command, &block)
|
10706
10706
|
end
|
10707
10707
|
|
10708
|
+
# Retrieves the list of network endpoint groups and sorts them by zone.
|
10709
|
+
# @param [String] project
|
10710
|
+
# Project ID for this request.
|
10711
|
+
# @param [String] filter
|
10712
|
+
# A filter expression that filters resources listed in the response. The
|
10713
|
+
# expression must specify the field name, a comparison operator, and the value
|
10714
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
10715
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
10716
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
10717
|
+
# instances named example-instance by specifying name != example-instance.
|
10718
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
10719
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
10720
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
10721
|
+
# on resource labels.
|
10722
|
+
# To filter on multiple expressions, provide each separate expression within
|
10723
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
10724
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
10725
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
10726
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
10727
|
+
# automaticRestart = true).
|
10728
|
+
# @param [Fixnum] max_results
|
10729
|
+
# The maximum number of results per page that should be returned. If the number
|
10730
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
10731
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
10732
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
10733
|
+
# @param [String] order_by
|
10734
|
+
# Sorts list results by a certain order. By default, results are returned in
|
10735
|
+
# alphanumerical order based on the resource name.
|
10736
|
+
# You can also sort results in descending order based on the creation timestamp
|
10737
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
10738
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
10739
|
+
# Use this to sort resources like operations so that the newest operation is
|
10740
|
+
# returned first.
|
10741
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
10742
|
+
# @param [String] page_token
|
10743
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
10744
|
+
# a previous list request to get the next page of results.
|
10745
|
+
# @param [String] fields
|
10746
|
+
# Selector specifying which fields to include in a partial response.
|
10747
|
+
# @param [String] quota_user
|
10748
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10749
|
+
# characters.
|
10750
|
+
# @param [String] user_ip
|
10751
|
+
# Deprecated. Please use quotaUser instead.
|
10752
|
+
# @param [Google::Apis::RequestOptions] options
|
10753
|
+
# Request-specific options
|
10754
|
+
#
|
10755
|
+
# @yield [result, err] Result & error if block supplied
|
10756
|
+
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList] parsed result object
|
10757
|
+
# @yieldparam err [StandardError] error object if request failed
|
10758
|
+
#
|
10759
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList]
|
10760
|
+
#
|
10761
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10762
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10763
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10764
|
+
def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10765
|
+
command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options)
|
10766
|
+
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation
|
10767
|
+
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList
|
10768
|
+
command.params['project'] = project unless project.nil?
|
10769
|
+
command.query['filter'] = filter unless filter.nil?
|
10770
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
10771
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
10772
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10773
|
+
command.query['fields'] = fields unless fields.nil?
|
10774
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10775
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10776
|
+
execute_or_queue_command(command, &block)
|
10777
|
+
end
|
10778
|
+
|
10779
|
+
# Attach a list of network endpoints to the specified network endpoint group.
|
10780
|
+
# @param [String] project
|
10781
|
+
# Project ID for this request.
|
10782
|
+
# @param [String] zone
|
10783
|
+
# The name of the zone where the network endpoint group is located. It should
|
10784
|
+
# comply with RFC1035.
|
10785
|
+
# @param [String] network_endpoint_group
|
10786
|
+
# The name of the network endpoint group where you are attaching network
|
10787
|
+
# endpoints to. It should comply with RFC1035.
|
10788
|
+
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest] network_endpoint_groups_attach_endpoints_request_object
|
10789
|
+
# @param [String] request_id
|
10790
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10791
|
+
# that if you must retry your request, the server will know to ignore the
|
10792
|
+
# request if it has already been completed.
|
10793
|
+
# For example, consider a situation where you make an initial request and the
|
10794
|
+
# request times out. If you make the request again with the same request ID, the
|
10795
|
+
# server can check if original operation with the same request ID was received,
|
10796
|
+
# and if so, will ignore the second request. This prevents clients from
|
10797
|
+
# accidentally creating duplicate commitments.
|
10798
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10799
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10800
|
+
# @param [String] fields
|
10801
|
+
# Selector specifying which fields to include in a partial response.
|
10802
|
+
# @param [String] quota_user
|
10803
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10804
|
+
# characters.
|
10805
|
+
# @param [String] user_ip
|
10806
|
+
# Deprecated. Please use quotaUser instead.
|
10807
|
+
# @param [Google::Apis::RequestOptions] options
|
10808
|
+
# Request-specific options
|
10809
|
+
#
|
10810
|
+
# @yield [result, err] Result & error if block supplied
|
10811
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
10812
|
+
# @yieldparam err [StandardError] error object if request failed
|
10813
|
+
#
|
10814
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
10815
|
+
#
|
10816
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10817
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10818
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10819
|
+
def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10820
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
10821
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest::Representation
|
10822
|
+
command.request_object = network_endpoint_groups_attach_endpoints_request_object
|
10823
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
10824
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
10825
|
+
command.params['project'] = project unless project.nil?
|
10826
|
+
command.params['zone'] = zone unless zone.nil?
|
10827
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
10828
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10829
|
+
command.query['fields'] = fields unless fields.nil?
|
10830
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10831
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10832
|
+
execute_or_queue_command(command, &block)
|
10833
|
+
end
|
10834
|
+
|
10835
|
+
# Deletes the specified network endpoint group. The network endpoints in the NEG
|
10836
|
+
# and the VM instances they belong to are not terminated when the NEG is deleted.
|
10837
|
+
# Note that the NEG cannot be deleted if there are backend services referencing
|
10838
|
+
# it.
|
10839
|
+
# @param [String] project
|
10840
|
+
# Project ID for this request.
|
10841
|
+
# @param [String] zone
|
10842
|
+
# The name of the zone where the network endpoint group is located. It should
|
10843
|
+
# comply with RFC1035.
|
10844
|
+
# @param [String] network_endpoint_group
|
10845
|
+
# The name of the network endpoint group to delete. It should comply with
|
10846
|
+
# RFC1035.
|
10847
|
+
# @param [String] request_id
|
10848
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10849
|
+
# that if you must retry your request, the server will know to ignore the
|
10850
|
+
# request if it has already been completed.
|
10851
|
+
# For example, consider a situation where you make an initial request and the
|
10852
|
+
# request times out. If you make the request again with the same request ID, the
|
10853
|
+
# server can check if original operation with the same request ID was received,
|
10854
|
+
# and if so, will ignore the second request. This prevents clients from
|
10855
|
+
# accidentally creating duplicate commitments.
|
10856
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10857
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10858
|
+
# @param [String] fields
|
10859
|
+
# Selector specifying which fields to include in a partial response.
|
10860
|
+
# @param [String] quota_user
|
10861
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10862
|
+
# characters.
|
10863
|
+
# @param [String] user_ip
|
10864
|
+
# Deprecated. Please use quotaUser instead.
|
10865
|
+
# @param [Google::Apis::RequestOptions] options
|
10866
|
+
# Request-specific options
|
10867
|
+
#
|
10868
|
+
# @yield [result, err] Result & error if block supplied
|
10869
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
10870
|
+
# @yieldparam err [StandardError] error object if request failed
|
10871
|
+
#
|
10872
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
10873
|
+
#
|
10874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10877
|
+
def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10878
|
+
command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
10879
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
10880
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
10881
|
+
command.params['project'] = project unless project.nil?
|
10882
|
+
command.params['zone'] = zone unless zone.nil?
|
10883
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
10884
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10885
|
+
command.query['fields'] = fields unless fields.nil?
|
10886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10887
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10888
|
+
execute_or_queue_command(command, &block)
|
10889
|
+
end
|
10890
|
+
|
10891
|
+
# Detach a list of network endpoints from the specified network endpoint group.
|
10892
|
+
# @param [String] project
|
10893
|
+
# Project ID for this request.
|
10894
|
+
# @param [String] zone
|
10895
|
+
# The name of the zone where the network endpoint group is located. It should
|
10896
|
+
# comply with RFC1035.
|
10897
|
+
# @param [String] network_endpoint_group
|
10898
|
+
# The name of the network endpoint group where you are removing network
|
10899
|
+
# endpoints. It should comply with RFC1035.
|
10900
|
+
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest] network_endpoint_groups_detach_endpoints_request_object
|
10901
|
+
# @param [String] request_id
|
10902
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10903
|
+
# that if you must retry your request, the server will know to ignore the
|
10904
|
+
# request if it has already been completed.
|
10905
|
+
# For example, consider a situation where you make an initial request and the
|
10906
|
+
# request times out. If you make the request again with the same request ID, the
|
10907
|
+
# server can check if original operation with the same request ID was received,
|
10908
|
+
# and if so, will ignore the second request. This prevents clients from
|
10909
|
+
# accidentally creating duplicate commitments.
|
10910
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
10911
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
10912
|
+
# @param [String] fields
|
10913
|
+
# Selector specifying which fields to include in a partial response.
|
10914
|
+
# @param [String] quota_user
|
10915
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10916
|
+
# characters.
|
10917
|
+
# @param [String] user_ip
|
10918
|
+
# Deprecated. Please use quotaUser instead.
|
10919
|
+
# @param [Google::Apis::RequestOptions] options
|
10920
|
+
# Request-specific options
|
10921
|
+
#
|
10922
|
+
# @yield [result, err] Result & error if block supplied
|
10923
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
10924
|
+
# @yieldparam err [StandardError] error object if request failed
|
10925
|
+
#
|
10926
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
10927
|
+
#
|
10928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10931
|
+
def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10932
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
10933
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest::Representation
|
10934
|
+
command.request_object = network_endpoint_groups_detach_endpoints_request_object
|
10935
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
10936
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
10937
|
+
command.params['project'] = project unless project.nil?
|
10938
|
+
command.params['zone'] = zone unless zone.nil?
|
10939
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
10940
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
10941
|
+
command.query['fields'] = fields unless fields.nil?
|
10942
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10943
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10944
|
+
execute_or_queue_command(command, &block)
|
10945
|
+
end
|
10946
|
+
|
10947
|
+
# Returns the specified network endpoint group. Gets a list of available network
|
10948
|
+
# endpoint groups by making a list() request.
|
10949
|
+
# @param [String] project
|
10950
|
+
# Project ID for this request.
|
10951
|
+
# @param [String] zone
|
10952
|
+
# The name of the zone where the network endpoint group is located. It should
|
10953
|
+
# comply with RFC1035.
|
10954
|
+
# @param [String] network_endpoint_group
|
10955
|
+
# The name of the network endpoint group. It should comply with RFC1035.
|
10956
|
+
# @param [String] fields
|
10957
|
+
# Selector specifying which fields to include in a partial response.
|
10958
|
+
# @param [String] quota_user
|
10959
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10960
|
+
# characters.
|
10961
|
+
# @param [String] user_ip
|
10962
|
+
# Deprecated. Please use quotaUser instead.
|
10963
|
+
# @param [Google::Apis::RequestOptions] options
|
10964
|
+
# Request-specific options
|
10965
|
+
#
|
10966
|
+
# @yield [result, err] Result & error if block supplied
|
10967
|
+
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroup] parsed result object
|
10968
|
+
# @yieldparam err [StandardError] error object if request failed
|
10969
|
+
#
|
10970
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroup]
|
10971
|
+
#
|
10972
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10973
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10974
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10975
|
+
def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10976
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options)
|
10977
|
+
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
|
10978
|
+
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup
|
10979
|
+
command.params['project'] = project unless project.nil?
|
10980
|
+
command.params['zone'] = zone unless zone.nil?
|
10981
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
10982
|
+
command.query['fields'] = fields unless fields.nil?
|
10983
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10984
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10985
|
+
execute_or_queue_command(command, &block)
|
10986
|
+
end
|
10987
|
+
|
10988
|
+
# Creates a network endpoint group in the specified project using the parameters
|
10989
|
+
# that are included in the request.
|
10990
|
+
# @param [String] project
|
10991
|
+
# Project ID for this request.
|
10992
|
+
# @param [String] zone
|
10993
|
+
# The name of the zone where you want to create the network endpoint group. It
|
10994
|
+
# should comply with RFC1035.
|
10995
|
+
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroup] network_endpoint_group_object
|
10996
|
+
# @param [String] request_id
|
10997
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
10998
|
+
# that if you must retry your request, the server will know to ignore the
|
10999
|
+
# request if it has already been completed.
|
11000
|
+
# For example, consider a situation where you make an initial request and the
|
11001
|
+
# request times out. If you make the request again with the same request ID, the
|
11002
|
+
# server can check if original operation with the same request ID was received,
|
11003
|
+
# and if so, will ignore the second request. This prevents clients from
|
11004
|
+
# accidentally creating duplicate commitments.
|
11005
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
11006
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
11007
|
+
# @param [String] fields
|
11008
|
+
# Selector specifying which fields to include in a partial response.
|
11009
|
+
# @param [String] quota_user
|
11010
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11011
|
+
# characters.
|
11012
|
+
# @param [String] user_ip
|
11013
|
+
# Deprecated. Please use quotaUser instead.
|
11014
|
+
# @param [Google::Apis::RequestOptions] options
|
11015
|
+
# Request-specific options
|
11016
|
+
#
|
11017
|
+
# @yield [result, err] Result & error if block supplied
|
11018
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
11019
|
+
# @yieldparam err [StandardError] error object if request failed
|
11020
|
+
#
|
11021
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
11022
|
+
#
|
11023
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11024
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11025
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11026
|
+
def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11027
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options)
|
11028
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
|
11029
|
+
command.request_object = network_endpoint_group_object
|
11030
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
11031
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
11032
|
+
command.params['project'] = project unless project.nil?
|
11033
|
+
command.params['zone'] = zone unless zone.nil?
|
11034
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
11035
|
+
command.query['fields'] = fields unless fields.nil?
|
11036
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11037
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11038
|
+
execute_or_queue_command(command, &block)
|
11039
|
+
end
|
11040
|
+
|
11041
|
+
# Retrieves the list of network endpoint groups that are located in the
|
11042
|
+
# specified project and zone.
|
11043
|
+
# @param [String] project
|
11044
|
+
# Project ID for this request.
|
11045
|
+
# @param [String] zone
|
11046
|
+
# The name of the zone where the network endpoint group is located. It should
|
11047
|
+
# comply with RFC1035.
|
11048
|
+
# @param [String] filter
|
11049
|
+
# A filter expression that filters resources listed in the response. The
|
11050
|
+
# expression must specify the field name, a comparison operator, and the value
|
11051
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
11052
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
11053
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
11054
|
+
# instances named example-instance by specifying name != example-instance.
|
11055
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
11056
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
11057
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
11058
|
+
# on resource labels.
|
11059
|
+
# To filter on multiple expressions, provide each separate expression within
|
11060
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
11061
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
11062
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
11063
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
11064
|
+
# automaticRestart = true).
|
11065
|
+
# @param [Fixnum] max_results
|
11066
|
+
# The maximum number of results per page that should be returned. If the number
|
11067
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
11068
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
11069
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
11070
|
+
# @param [String] order_by
|
11071
|
+
# Sorts list results by a certain order. By default, results are returned in
|
11072
|
+
# alphanumerical order based on the resource name.
|
11073
|
+
# You can also sort results in descending order based on the creation timestamp
|
11074
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
11075
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
11076
|
+
# Use this to sort resources like operations so that the newest operation is
|
11077
|
+
# returned first.
|
11078
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
11079
|
+
# @param [String] page_token
|
11080
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
11081
|
+
# a previous list request to get the next page of results.
|
11082
|
+
# @param [String] fields
|
11083
|
+
# Selector specifying which fields to include in a partial response.
|
11084
|
+
# @param [String] quota_user
|
11085
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11086
|
+
# characters.
|
11087
|
+
# @param [String] user_ip
|
11088
|
+
# Deprecated. Please use quotaUser instead.
|
11089
|
+
# @param [Google::Apis::RequestOptions] options
|
11090
|
+
# Request-specific options
|
11091
|
+
#
|
11092
|
+
# @yield [result, err] Result & error if block supplied
|
11093
|
+
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupList] parsed result object
|
11094
|
+
# @yieldparam err [StandardError] error object if request failed
|
11095
|
+
#
|
11096
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
|
11097
|
+
#
|
11098
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11099
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11100
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11101
|
+
def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11102
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options)
|
11103
|
+
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
|
11104
|
+
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
|
11105
|
+
command.params['project'] = project unless project.nil?
|
11106
|
+
command.params['zone'] = zone unless zone.nil?
|
11107
|
+
command.query['filter'] = filter unless filter.nil?
|
11108
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
11109
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
11110
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
11111
|
+
command.query['fields'] = fields unless fields.nil?
|
11112
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11113
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11114
|
+
execute_or_queue_command(command, &block)
|
11115
|
+
end
|
11116
|
+
|
11117
|
+
# Lists the network endpoints in the specified network endpoint group.
|
11118
|
+
# @param [String] project
|
11119
|
+
# Project ID for this request.
|
11120
|
+
# @param [String] zone
|
11121
|
+
# The name of the zone where the network endpoint group is located. It should
|
11122
|
+
# comply with RFC1035.
|
11123
|
+
# @param [String] network_endpoint_group
|
11124
|
+
# The name of the network endpoint group from which you want to generate a list
|
11125
|
+
# of included network endpoints. It should comply with RFC1035.
|
11126
|
+
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest] network_endpoint_groups_list_endpoints_request_object
|
11127
|
+
# @param [String] filter
|
11128
|
+
# A filter expression that filters resources listed in the response. The
|
11129
|
+
# expression must specify the field name, a comparison operator, and the value
|
11130
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
11131
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
11132
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
11133
|
+
# instances named example-instance by specifying name != example-instance.
|
11134
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
11135
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
11136
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
11137
|
+
# on resource labels.
|
11138
|
+
# To filter on multiple expressions, provide each separate expression within
|
11139
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
11140
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
11141
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
11142
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
11143
|
+
# automaticRestart = true).
|
11144
|
+
# @param [Fixnum] max_results
|
11145
|
+
# The maximum number of results per page that should be returned. If the number
|
11146
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
11147
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
11148
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
11149
|
+
# @param [String] order_by
|
11150
|
+
# Sorts list results by a certain order. By default, results are returned in
|
11151
|
+
# alphanumerical order based on the resource name.
|
11152
|
+
# You can also sort results in descending order based on the creation timestamp
|
11153
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
11154
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
11155
|
+
# Use this to sort resources like operations so that the newest operation is
|
11156
|
+
# returned first.
|
11157
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
11158
|
+
# @param [String] page_token
|
11159
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
11160
|
+
# a previous list request to get the next page of results.
|
11161
|
+
# @param [String] fields
|
11162
|
+
# Selector specifying which fields to include in a partial response.
|
11163
|
+
# @param [String] quota_user
|
11164
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11165
|
+
# characters.
|
11166
|
+
# @param [String] user_ip
|
11167
|
+
# Deprecated. Please use quotaUser instead.
|
11168
|
+
# @param [Google::Apis::RequestOptions] options
|
11169
|
+
# Request-specific options
|
11170
|
+
#
|
11171
|
+
# @yield [result, err] Result & error if block supplied
|
11172
|
+
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
|
11173
|
+
# @yieldparam err [StandardError] error object if request failed
|
11174
|
+
#
|
11175
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
|
11176
|
+
#
|
11177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11180
|
+
def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11181
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
11182
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation
|
11183
|
+
command.request_object = network_endpoint_groups_list_endpoints_request_object
|
11184
|
+
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
11185
|
+
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
|
11186
|
+
command.params['project'] = project unless project.nil?
|
11187
|
+
command.params['zone'] = zone unless zone.nil?
|
11188
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
11189
|
+
command.query['filter'] = filter unless filter.nil?
|
11190
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
11191
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
11192
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
11193
|
+
command.query['fields'] = fields unless fields.nil?
|
11194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11195
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11196
|
+
execute_or_queue_command(command, &block)
|
11197
|
+
end
|
11198
|
+
|
11199
|
+
# Returns permissions that a caller has on the specified resource.
|
11200
|
+
# @param [String] project
|
11201
|
+
# Project ID for this request.
|
11202
|
+
# @param [String] zone
|
11203
|
+
# The name of the zone for this request.
|
11204
|
+
# @param [String] resource
|
11205
|
+
# Name of the resource for this request.
|
11206
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
11207
|
+
# @param [String] fields
|
11208
|
+
# Selector specifying which fields to include in a partial response.
|
11209
|
+
# @param [String] quota_user
|
11210
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
11211
|
+
# characters.
|
11212
|
+
# @param [String] user_ip
|
11213
|
+
# Deprecated. Please use quotaUser instead.
|
11214
|
+
# @param [Google::Apis::RequestOptions] options
|
11215
|
+
# Request-specific options
|
11216
|
+
#
|
11217
|
+
# @yield [result, err] Result & error if block supplied
|
11218
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
11219
|
+
# @yieldparam err [StandardError] error object if request failed
|
11220
|
+
#
|
11221
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
11222
|
+
#
|
11223
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11224
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11225
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11226
|
+
def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11227
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options)
|
11228
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
11229
|
+
command.request_object = test_permissions_request_object
|
11230
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
11231
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
11232
|
+
command.params['project'] = project unless project.nil?
|
11233
|
+
command.params['zone'] = zone unless zone.nil?
|
11234
|
+
command.params['resource'] = resource unless resource.nil?
|
11235
|
+
command.query['fields'] = fields unless fields.nil?
|
11236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11237
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
11238
|
+
execute_or_queue_command(command, &block)
|
11239
|
+
end
|
11240
|
+
|
10708
11241
|
# Adds a peering to the specified network.
|
10709
11242
|
# @param [String] project
|
10710
11243
|
# Project ID for this request.
|
@@ -16925,6 +17458,78 @@ module Google
|
|
16925
17458
|
execute_or_queue_command(command, &block)
|
16926
17459
|
end
|
16927
17460
|
|
17461
|
+
# Gets the current list of preconfigured Web Application Firewall (WAF)
|
17462
|
+
# expressions.
|
17463
|
+
# @param [String] project
|
17464
|
+
# Project ID for this request.
|
17465
|
+
# @param [String] filter
|
17466
|
+
# A filter expression that filters resources listed in the response. The
|
17467
|
+
# expression must specify the field name, a comparison operator, and the value
|
17468
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
17469
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
17470
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
17471
|
+
# instances named example-instance by specifying name != example-instance.
|
17472
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
17473
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
17474
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
17475
|
+
# on resource labels.
|
17476
|
+
# To filter on multiple expressions, provide each separate expression within
|
17477
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
17478
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
17479
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
17480
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
17481
|
+
# automaticRestart = true).
|
17482
|
+
# @param [Fixnum] max_results
|
17483
|
+
# The maximum number of results per page that should be returned. If the number
|
17484
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
17485
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
17486
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
17487
|
+
# @param [String] order_by
|
17488
|
+
# Sorts list results by a certain order. By default, results are returned in
|
17489
|
+
# alphanumerical order based on the resource name.
|
17490
|
+
# You can also sort results in descending order based on the creation timestamp
|
17491
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
17492
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
17493
|
+
# Use this to sort resources like operations so that the newest operation is
|
17494
|
+
# returned first.
|
17495
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
17496
|
+
# @param [String] page_token
|
17497
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
17498
|
+
# a previous list request to get the next page of results.
|
17499
|
+
# @param [String] fields
|
17500
|
+
# Selector specifying which fields to include in a partial response.
|
17501
|
+
# @param [String] quota_user
|
17502
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
17503
|
+
# characters.
|
17504
|
+
# @param [String] user_ip
|
17505
|
+
# Deprecated. Please use quotaUser instead.
|
17506
|
+
# @param [Google::Apis::RequestOptions] options
|
17507
|
+
# Request-specific options
|
17508
|
+
#
|
17509
|
+
# @yield [result, err] Result & error if block supplied
|
17510
|
+
# @yieldparam result [Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse] parsed result object
|
17511
|
+
# @yieldparam err [StandardError] error object if request failed
|
17512
|
+
#
|
17513
|
+
# @return [Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse]
|
17514
|
+
#
|
17515
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17516
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17517
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17518
|
+
def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17519
|
+
command = make_simple_command(:get, '{project}/global/securityPolicies/listPreconfiguredExpressionSets', options)
|
17520
|
+
command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation
|
17521
|
+
command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse
|
17522
|
+
command.params['project'] = project unless project.nil?
|
17523
|
+
command.query['filter'] = filter unless filter.nil?
|
17524
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
17525
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
17526
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17527
|
+
command.query['fields'] = fields unless fields.nil?
|
17528
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17529
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
17530
|
+
execute_or_queue_command(command, &block)
|
17531
|
+
end
|
17532
|
+
|
16928
17533
|
# Patches the specified policy with the data included in the request.
|
16929
17534
|
# @param [String] project
|
16930
17535
|
# Project ID for this request.
|