google-api-client 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
|
@@ -48,9 +48,2091 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
+
# List authorized domains.
|
|
52
|
+
# @param [String] parent
|
|
53
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
|
54
|
+
# @param [Fixnum] page_size
|
|
55
|
+
# Maximum results to return per page.
|
|
56
|
+
# @param [String] page_token
|
|
57
|
+
# Continuation token for fetching the next page of results.
|
|
58
|
+
# @param [String] fields
|
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
|
60
|
+
# @param [String] quota_user
|
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
|
64
|
+
# Request-specific options
|
|
65
|
+
#
|
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
|
67
|
+
# @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
|
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
69
|
+
#
|
|
70
|
+
# @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
|
|
71
|
+
#
|
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
+
def list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
76
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/authorizeddomains', options)
|
|
77
|
+
command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
|
|
78
|
+
command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
|
|
79
|
+
command.params['parent'] = parent unless parent.nil?
|
|
80
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
81
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
|
+
execute_or_queue_command(command, &block)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Creates a new auto domain mapping.
|
|
88
|
+
# @param [String] parent
|
|
89
|
+
# The project ID or project number in which this auto domain mapping should
|
|
90
|
+
# be created.
|
|
91
|
+
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
|
|
92
|
+
# @param [String] fields
|
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
|
94
|
+
# @param [String] quota_user
|
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
|
98
|
+
# Request-specific options
|
|
99
|
+
#
|
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
|
101
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
103
|
+
#
|
|
104
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
105
|
+
#
|
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
+
def create_namespace_autodomainmapping(parent, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
110
|
+
command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/autodomainmappings', options)
|
|
111
|
+
command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
112
|
+
command.request_object = auto_domain_mapping_object
|
|
113
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
114
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
115
|
+
command.params['parent'] = parent unless parent.nil?
|
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
118
|
+
execute_or_queue_command(command, &block)
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Delete an auto domain mapping.
|
|
122
|
+
# @param [String] name
|
|
123
|
+
# The name of the auto domain mapping being deleted. If needed, replace
|
|
124
|
+
# `namespace_id` with the project ID.
|
|
125
|
+
# @param [String] api_version
|
|
126
|
+
# Cloud Run currently ignores this parameter.
|
|
127
|
+
# @param [String] kind
|
|
128
|
+
# Cloud Run currently ignores this parameter.
|
|
129
|
+
# @param [String] propagation_policy
|
|
130
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
131
|
+
# this setting, and deletes in the background. Please see
|
|
132
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
133
|
+
# more information.
|
|
134
|
+
# @param [String] fields
|
|
135
|
+
# Selector specifying which fields to include in a partial response.
|
|
136
|
+
# @param [String] quota_user
|
|
137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
139
|
+
# @param [Google::Apis::RequestOptions] options
|
|
140
|
+
# Request-specific options
|
|
141
|
+
#
|
|
142
|
+
# @yield [result, err] Result & error if block supplied
|
|
143
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
144
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
145
|
+
#
|
|
146
|
+
# @return [Google::Apis::RunV1::Status]
|
|
147
|
+
#
|
|
148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
151
|
+
def delete_namespace_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
152
|
+
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
153
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
154
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
155
|
+
command.params['name'] = name unless name.nil?
|
|
156
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
157
|
+
command.query['kind'] = kind unless kind.nil?
|
|
158
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
159
|
+
command.query['fields'] = fields unless fields.nil?
|
|
160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
161
|
+
execute_or_queue_command(command, &block)
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Get information about an auto domain mapping.
|
|
165
|
+
# @param [String] name
|
|
166
|
+
# The name of the auto domain mapping being retrieved. If needed, replace
|
|
167
|
+
# `namespace_id` with the project ID.
|
|
168
|
+
# @param [String] fields
|
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
|
170
|
+
# @param [String] quota_user
|
|
171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
173
|
+
# @param [Google::Apis::RequestOptions] options
|
|
174
|
+
# Request-specific options
|
|
175
|
+
#
|
|
176
|
+
# @yield [result, err] Result & error if block supplied
|
|
177
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
178
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
179
|
+
#
|
|
180
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
181
|
+
#
|
|
182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
185
|
+
def get_namespace_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
186
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
187
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
188
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
189
|
+
command.params['name'] = name unless name.nil?
|
|
190
|
+
command.query['fields'] = fields unless fields.nil?
|
|
191
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
192
|
+
execute_or_queue_command(command, &block)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# List auto domain mappings.
|
|
196
|
+
# @param [String] parent
|
|
197
|
+
# The project ID or project number from which the auto domain mappings should
|
|
198
|
+
# be listed.
|
|
199
|
+
# @param [String] continue
|
|
200
|
+
# Optional encoded string to continue paging.
|
|
201
|
+
# @param [String] field_selector
|
|
202
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
203
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
204
|
+
# Not currently used by Cloud Run.
|
|
205
|
+
# @param [Boolean] include_uninitialized
|
|
206
|
+
# Not currently used by Cloud Run.
|
|
207
|
+
# @param [String] label_selector
|
|
208
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
209
|
+
# =, !=, exists, in, and notIn.
|
|
210
|
+
# @param [Fixnum] limit
|
|
211
|
+
# The maximum number of records that should be returned.
|
|
212
|
+
# @param [String] resource_version
|
|
213
|
+
# The baseline resource version from which the list or watch operation should
|
|
214
|
+
# start. Not currently used by Cloud Run.
|
|
215
|
+
# @param [Boolean] watch
|
|
216
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
217
|
+
# Not currently used by Cloud Run.
|
|
218
|
+
# @param [String] fields
|
|
219
|
+
# Selector specifying which fields to include in a partial response.
|
|
220
|
+
# @param [String] quota_user
|
|
221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
223
|
+
# @param [Google::Apis::RequestOptions] options
|
|
224
|
+
# Request-specific options
|
|
225
|
+
#
|
|
226
|
+
# @yield [result, err] Result & error if block supplied
|
|
227
|
+
# @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
|
|
228
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
229
|
+
#
|
|
230
|
+
# @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
|
|
231
|
+
#
|
|
232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
235
|
+
def list_namespace_autodomainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
236
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/autodomainmappings', options)
|
|
237
|
+
command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
|
|
238
|
+
command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
|
|
239
|
+
command.params['parent'] = parent unless parent.nil?
|
|
240
|
+
command.query['continue'] = continue unless continue.nil?
|
|
241
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
242
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
243
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
244
|
+
command.query['limit'] = limit unless limit.nil?
|
|
245
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
246
|
+
command.query['watch'] = watch unless watch.nil?
|
|
247
|
+
command.query['fields'] = fields unless fields.nil?
|
|
248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
249
|
+
execute_or_queue_command(command, &block)
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Replace an auto domain mapping.
|
|
253
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
254
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
255
|
+
# match the requested 'spec'.
|
|
256
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
257
|
+
# optimistic concurrency control.
|
|
258
|
+
# @param [String] name
|
|
259
|
+
# The name of the auto domain mapping being retrieved. If needed, replace
|
|
260
|
+
# `namespace_id` with the project ID.
|
|
261
|
+
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
|
|
262
|
+
# @param [String] fields
|
|
263
|
+
# Selector specifying which fields to include in a partial response.
|
|
264
|
+
# @param [String] quota_user
|
|
265
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
266
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
267
|
+
# @param [Google::Apis::RequestOptions] options
|
|
268
|
+
# Request-specific options
|
|
269
|
+
#
|
|
270
|
+
# @yield [result, err] Result & error if block supplied
|
|
271
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
272
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
273
|
+
#
|
|
274
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
275
|
+
#
|
|
276
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
277
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
278
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
279
|
+
def replace_namespace_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
280
|
+
command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
281
|
+
command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
282
|
+
command.request_object = auto_domain_mapping_object
|
|
283
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
284
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
285
|
+
command.params['name'] = name unless name.nil?
|
|
286
|
+
command.query['fields'] = fields unless fields.nil?
|
|
287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
288
|
+
execute_or_queue_command(command, &block)
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# Create a configuration.
|
|
292
|
+
# @param [String] parent
|
|
293
|
+
# The project ID or project number in which this configuration should be
|
|
294
|
+
# created.
|
|
295
|
+
# @param [Google::Apis::RunV1::Configuration] configuration_object
|
|
296
|
+
# @param [String] fields
|
|
297
|
+
# Selector specifying which fields to include in a partial response.
|
|
298
|
+
# @param [String] quota_user
|
|
299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
301
|
+
# @param [Google::Apis::RequestOptions] options
|
|
302
|
+
# Request-specific options
|
|
303
|
+
#
|
|
304
|
+
# @yield [result, err] Result & error if block supplied
|
|
305
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
306
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
307
|
+
#
|
|
308
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
309
|
+
#
|
|
310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
313
|
+
def create_namespace_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
314
|
+
command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
|
|
315
|
+
command.request_representation = Google::Apis::RunV1::Configuration::Representation
|
|
316
|
+
command.request_object = configuration_object
|
|
317
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
318
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
319
|
+
command.params['parent'] = parent unless parent.nil?
|
|
320
|
+
command.query['fields'] = fields unless fields.nil?
|
|
321
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
322
|
+
execute_or_queue_command(command, &block)
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
# delete a configuration.
|
|
326
|
+
# This will cause the configuration to delete all child revisions. Prior to
|
|
327
|
+
# calling this, any route referencing the configuration (or revision
|
|
328
|
+
# from the configuration) must be deleted.
|
|
329
|
+
# @param [String] name
|
|
330
|
+
# The name of the configuration being deleted. If needed, replace
|
|
331
|
+
# `namespace_id` with the project ID.
|
|
332
|
+
# @param [String] api_version
|
|
333
|
+
# Cloud Run currently ignores this parameter.
|
|
334
|
+
# @param [String] kind
|
|
335
|
+
# Cloud Run currently ignores this parameter.
|
|
336
|
+
# @param [String] propagation_policy
|
|
337
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
338
|
+
# this setting, and deletes in the background. Please see
|
|
339
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
340
|
+
# more information.
|
|
341
|
+
# @param [String] fields
|
|
342
|
+
# Selector specifying which fields to include in a partial response.
|
|
343
|
+
# @param [String] quota_user
|
|
344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
346
|
+
# @param [Google::Apis::RequestOptions] options
|
|
347
|
+
# Request-specific options
|
|
348
|
+
#
|
|
349
|
+
# @yield [result, err] Result & error if block supplied
|
|
350
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
351
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
352
|
+
#
|
|
353
|
+
# @return [Google::Apis::RunV1::Status]
|
|
354
|
+
#
|
|
355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
358
|
+
def delete_namespace_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
359
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
360
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
361
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
362
|
+
command.params['name'] = name unless name.nil?
|
|
363
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
364
|
+
command.query['kind'] = kind unless kind.nil?
|
|
365
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
366
|
+
command.query['fields'] = fields unless fields.nil?
|
|
367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
368
|
+
execute_or_queue_command(command, &block)
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# Get information about a configuration.
|
|
372
|
+
# @param [String] name
|
|
373
|
+
# The name of the configuration being retrieved. If needed, replace
|
|
374
|
+
# `namespace_id` with the project ID.
|
|
375
|
+
# @param [String] fields
|
|
376
|
+
# Selector specifying which fields to include in a partial response.
|
|
377
|
+
# @param [String] quota_user
|
|
378
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
379
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
380
|
+
# @param [Google::Apis::RequestOptions] options
|
|
381
|
+
# Request-specific options
|
|
382
|
+
#
|
|
383
|
+
# @yield [result, err] Result & error if block supplied
|
|
384
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
385
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
386
|
+
#
|
|
387
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
388
|
+
#
|
|
389
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
390
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
391
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
392
|
+
def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
393
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
394
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
395
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
396
|
+
command.params['name'] = name unless name.nil?
|
|
397
|
+
command.query['fields'] = fields unless fields.nil?
|
|
398
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
399
|
+
execute_or_queue_command(command, &block)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# List configurations.
|
|
403
|
+
# @param [String] parent
|
|
404
|
+
# The project ID or project number from which the configurations should be
|
|
405
|
+
# listed.
|
|
406
|
+
# @param [String] continue
|
|
407
|
+
# Optional encoded string to continue paging.
|
|
408
|
+
# @param [String] field_selector
|
|
409
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
410
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
411
|
+
# Not currently used by Cloud Run.
|
|
412
|
+
# @param [Boolean] include_uninitialized
|
|
413
|
+
# Not currently used by Cloud Run.
|
|
414
|
+
# @param [String] label_selector
|
|
415
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
416
|
+
# =, !=, exists, in, and notIn.
|
|
417
|
+
# @param [Fixnum] limit
|
|
418
|
+
# The maximum number of records that should be returned.
|
|
419
|
+
# @param [String] resource_version
|
|
420
|
+
# The baseline resource version from which the list or watch operation should
|
|
421
|
+
# start. Not currently used by Cloud Run.
|
|
422
|
+
# @param [Boolean] watch
|
|
423
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
424
|
+
# Not currently used by Cloud Run.
|
|
425
|
+
# @param [String] fields
|
|
426
|
+
# Selector specifying which fields to include in a partial response.
|
|
427
|
+
# @param [String] quota_user
|
|
428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
430
|
+
# @param [Google::Apis::RequestOptions] options
|
|
431
|
+
# Request-specific options
|
|
432
|
+
#
|
|
433
|
+
# @yield [result, err] Result & error if block supplied
|
|
434
|
+
# @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
|
|
435
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
436
|
+
#
|
|
437
|
+
# @return [Google::Apis::RunV1::ListConfigurationsResponse]
|
|
438
|
+
#
|
|
439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
442
|
+
def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
443
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/configurations', options)
|
|
444
|
+
command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation
|
|
445
|
+
command.response_class = Google::Apis::RunV1::ListConfigurationsResponse
|
|
446
|
+
command.params['parent'] = parent unless parent.nil?
|
|
447
|
+
command.query['continue'] = continue unless continue.nil?
|
|
448
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
449
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
450
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
451
|
+
command.query['limit'] = limit unless limit.nil?
|
|
452
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
453
|
+
command.query['watch'] = watch unless watch.nil?
|
|
454
|
+
command.query['fields'] = fields unless fields.nil?
|
|
455
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
456
|
+
execute_or_queue_command(command, &block)
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Replace a configuration.
|
|
460
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
461
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
462
|
+
# match the requested 'spec'.
|
|
463
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
464
|
+
# optimistic concurrency control.
|
|
465
|
+
# @param [String] name
|
|
466
|
+
# The name of the configuration being retrieved. If needed, replace
|
|
467
|
+
# `namespace_id` with the project ID.
|
|
468
|
+
# @param [Google::Apis::RunV1::Configuration] configuration_object
|
|
469
|
+
# @param [String] fields
|
|
470
|
+
# Selector specifying which fields to include in a partial response.
|
|
471
|
+
# @param [String] quota_user
|
|
472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
474
|
+
# @param [Google::Apis::RequestOptions] options
|
|
475
|
+
# Request-specific options
|
|
476
|
+
#
|
|
477
|
+
# @yield [result, err] Result & error if block supplied
|
|
478
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
479
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
480
|
+
#
|
|
481
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
482
|
+
#
|
|
483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
486
|
+
def replace_namespace_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
487
|
+
command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
488
|
+
command.request_representation = Google::Apis::RunV1::Configuration::Representation
|
|
489
|
+
command.request_object = configuration_object
|
|
490
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
491
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
492
|
+
command.params['name'] = name unless name.nil?
|
|
493
|
+
command.query['fields'] = fields unless fields.nil?
|
|
494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
495
|
+
execute_or_queue_command(command, &block)
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
# Create a new domain mapping.
|
|
499
|
+
# @param [String] parent
|
|
500
|
+
# The project ID or project number in which this domain mapping should be
|
|
501
|
+
# created.
|
|
502
|
+
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
|
503
|
+
# @param [String] fields
|
|
504
|
+
# Selector specifying which fields to include in a partial response.
|
|
505
|
+
# @param [String] quota_user
|
|
506
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
507
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
508
|
+
# @param [Google::Apis::RequestOptions] options
|
|
509
|
+
# Request-specific options
|
|
510
|
+
#
|
|
511
|
+
# @yield [result, err] Result & error if block supplied
|
|
512
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
513
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
514
|
+
#
|
|
515
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
516
|
+
#
|
|
517
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
518
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
519
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
520
|
+
def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
521
|
+
command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
|
|
522
|
+
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
523
|
+
command.request_object = domain_mapping_object
|
|
524
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
525
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
526
|
+
command.params['parent'] = parent unless parent.nil?
|
|
527
|
+
command.query['fields'] = fields unless fields.nil?
|
|
528
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
529
|
+
execute_or_queue_command(command, &block)
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# Delete a domain mapping.
|
|
533
|
+
# @param [String] name
|
|
534
|
+
# The name of the domain mapping being deleted. If needed, replace
|
|
535
|
+
# `namespace_id` with the project ID.
|
|
536
|
+
# @param [String] api_version
|
|
537
|
+
# Cloud Run currently ignores this parameter.
|
|
538
|
+
# @param [String] kind
|
|
539
|
+
# Cloud Run currently ignores this parameter.
|
|
540
|
+
# @param [String] propagation_policy
|
|
541
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
542
|
+
# this setting, and deletes in the background. Please see
|
|
543
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
544
|
+
# more information.
|
|
545
|
+
# @param [String] fields
|
|
546
|
+
# Selector specifying which fields to include in a partial response.
|
|
547
|
+
# @param [String] quota_user
|
|
548
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
549
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
550
|
+
# @param [Google::Apis::RequestOptions] options
|
|
551
|
+
# Request-specific options
|
|
552
|
+
#
|
|
553
|
+
# @yield [result, err] Result & error if block supplied
|
|
554
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
555
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
556
|
+
#
|
|
557
|
+
# @return [Google::Apis::RunV1::Status]
|
|
558
|
+
#
|
|
559
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
560
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
561
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
562
|
+
def delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
563
|
+
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
564
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
565
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
566
|
+
command.params['name'] = name unless name.nil?
|
|
567
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
568
|
+
command.query['kind'] = kind unless kind.nil?
|
|
569
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
570
|
+
command.query['fields'] = fields unless fields.nil?
|
|
571
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
572
|
+
execute_or_queue_command(command, &block)
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# Get information about a domain mapping.
|
|
576
|
+
# @param [String] name
|
|
577
|
+
# The name of the domain mapping being retrieved. If needed, replace
|
|
578
|
+
# `namespace_id` with the project ID.
|
|
579
|
+
# @param [String] fields
|
|
580
|
+
# Selector specifying which fields to include in a partial response.
|
|
581
|
+
# @param [String] quota_user
|
|
582
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
583
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
584
|
+
# @param [Google::Apis::RequestOptions] options
|
|
585
|
+
# Request-specific options
|
|
586
|
+
#
|
|
587
|
+
# @yield [result, err] Result & error if block supplied
|
|
588
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
589
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
590
|
+
#
|
|
591
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
592
|
+
#
|
|
593
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
594
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
595
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
596
|
+
def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
597
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
598
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
599
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
600
|
+
command.params['name'] = name unless name.nil?
|
|
601
|
+
command.query['fields'] = fields unless fields.nil?
|
|
602
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
603
|
+
execute_or_queue_command(command, &block)
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
# List domain mappings.
|
|
607
|
+
# @param [String] parent
|
|
608
|
+
# The project ID or project number from which the domain mappings should be
|
|
609
|
+
# listed.
|
|
610
|
+
# @param [String] continue
|
|
611
|
+
# Optional encoded string to continue paging.
|
|
612
|
+
# @param [String] field_selector
|
|
613
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
614
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
615
|
+
# Not currently used by Cloud Run.
|
|
616
|
+
# @param [Boolean] include_uninitialized
|
|
617
|
+
# Not currently used by Cloud Run.
|
|
618
|
+
# @param [String] label_selector
|
|
619
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
620
|
+
# =, !=, exists, in, and notIn.
|
|
621
|
+
# @param [Fixnum] limit
|
|
622
|
+
# The maximum number of records that should be returned.
|
|
623
|
+
# @param [String] resource_version
|
|
624
|
+
# The baseline resource version from which the list or watch operation should
|
|
625
|
+
# start. Not currently used by Cloud Run.
|
|
626
|
+
# @param [Boolean] watch
|
|
627
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
628
|
+
# Not currently used by Cloud Run.
|
|
629
|
+
# @param [String] fields
|
|
630
|
+
# Selector specifying which fields to include in a partial response.
|
|
631
|
+
# @param [String] quota_user
|
|
632
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
633
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
634
|
+
# @param [Google::Apis::RequestOptions] options
|
|
635
|
+
# Request-specific options
|
|
636
|
+
#
|
|
637
|
+
# @yield [result, err] Result & error if block supplied
|
|
638
|
+
# @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
|
|
639
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
640
|
+
#
|
|
641
|
+
# @return [Google::Apis::RunV1::ListDomainMappingsResponse]
|
|
642
|
+
#
|
|
643
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
644
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
645
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
646
|
+
def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
647
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
|
|
648
|
+
command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation
|
|
649
|
+
command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse
|
|
650
|
+
command.params['parent'] = parent unless parent.nil?
|
|
651
|
+
command.query['continue'] = continue unless continue.nil?
|
|
652
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
653
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
654
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
655
|
+
command.query['limit'] = limit unless limit.nil?
|
|
656
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
657
|
+
command.query['watch'] = watch unless watch.nil?
|
|
658
|
+
command.query['fields'] = fields unless fields.nil?
|
|
659
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
660
|
+
execute_or_queue_command(command, &block)
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# Replace a domain mapping.
|
|
664
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
665
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
666
|
+
# match the requested 'spec'.
|
|
667
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
668
|
+
# optimistic concurrency control.
|
|
669
|
+
# @param [String] name
|
|
670
|
+
# The name of the domain mapping being retrieved. If needed, replace
|
|
671
|
+
# `namespace_id` with the project ID.
|
|
672
|
+
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
|
673
|
+
# @param [String] fields
|
|
674
|
+
# Selector specifying which fields to include in a partial response.
|
|
675
|
+
# @param [String] quota_user
|
|
676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
678
|
+
# @param [Google::Apis::RequestOptions] options
|
|
679
|
+
# Request-specific options
|
|
680
|
+
#
|
|
681
|
+
# @yield [result, err] Result & error if block supplied
|
|
682
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
683
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
684
|
+
#
|
|
685
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
686
|
+
#
|
|
687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
690
|
+
def replace_namespace_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
691
|
+
command = make_simple_command(:put, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
|
692
|
+
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
693
|
+
command.request_object = domain_mapping_object
|
|
694
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
695
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
696
|
+
command.params['name'] = name unless name.nil?
|
|
697
|
+
command.query['fields'] = fields unless fields.nil?
|
|
698
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
699
|
+
execute_or_queue_command(command, &block)
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# Delete a revision.
|
|
703
|
+
# @param [String] name
|
|
704
|
+
# The name of the revision being deleted. If needed, replace
|
|
705
|
+
# `namespace_id` with the project ID.
|
|
706
|
+
# @param [String] api_version
|
|
707
|
+
# Cloud Run currently ignores this parameter.
|
|
708
|
+
# @param [String] kind
|
|
709
|
+
# Cloud Run currently ignores this parameter.
|
|
710
|
+
# @param [String] propagation_policy
|
|
711
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
712
|
+
# this setting, and deletes in the background. Please see
|
|
713
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
714
|
+
# more information.
|
|
715
|
+
# @param [String] fields
|
|
716
|
+
# Selector specifying which fields to include in a partial response.
|
|
717
|
+
# @param [String] quota_user
|
|
718
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
719
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
720
|
+
# @param [Google::Apis::RequestOptions] options
|
|
721
|
+
# Request-specific options
|
|
722
|
+
#
|
|
723
|
+
# @yield [result, err] Result & error if block supplied
|
|
724
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
725
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
726
|
+
#
|
|
727
|
+
# @return [Google::Apis::RunV1::Status]
|
|
728
|
+
#
|
|
729
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
730
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
731
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
732
|
+
def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
733
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
734
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
735
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
736
|
+
command.params['name'] = name unless name.nil?
|
|
737
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
738
|
+
command.query['kind'] = kind unless kind.nil?
|
|
739
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
740
|
+
command.query['fields'] = fields unless fields.nil?
|
|
741
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
742
|
+
execute_or_queue_command(command, &block)
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# Get information about a revision.
|
|
746
|
+
# @param [String] name
|
|
747
|
+
# The name of the revision being retrieved. If needed, replace
|
|
748
|
+
# `namespace_id` with the project ID.
|
|
749
|
+
# @param [String] fields
|
|
750
|
+
# Selector specifying which fields to include in a partial response.
|
|
751
|
+
# @param [String] quota_user
|
|
752
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
753
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
754
|
+
# @param [Google::Apis::RequestOptions] options
|
|
755
|
+
# Request-specific options
|
|
756
|
+
#
|
|
757
|
+
# @yield [result, err] Result & error if block supplied
|
|
758
|
+
# @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
|
|
759
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
760
|
+
#
|
|
761
|
+
# @return [Google::Apis::RunV1::Revision]
|
|
762
|
+
#
|
|
763
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
764
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
765
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
766
|
+
def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
767
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
768
|
+
command.response_representation = Google::Apis::RunV1::Revision::Representation
|
|
769
|
+
command.response_class = Google::Apis::RunV1::Revision
|
|
770
|
+
command.params['name'] = name unless name.nil?
|
|
771
|
+
command.query['fields'] = fields unless fields.nil?
|
|
772
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
773
|
+
execute_or_queue_command(command, &block)
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# List revisions.
|
|
777
|
+
# @param [String] parent
|
|
778
|
+
# The project ID or project number from which the revisions should be listed.
|
|
779
|
+
# @param [String] continue
|
|
780
|
+
# Optional encoded string to continue paging.
|
|
781
|
+
# @param [String] field_selector
|
|
782
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
783
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
784
|
+
# Not currently used by Cloud Run.
|
|
785
|
+
# @param [Boolean] include_uninitialized
|
|
786
|
+
# Not currently used by Cloud Run.
|
|
787
|
+
# @param [String] label_selector
|
|
788
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
789
|
+
# =, !=, exists, in, and notIn.
|
|
790
|
+
# @param [Fixnum] limit
|
|
791
|
+
# The maximum number of records that should be returned.
|
|
792
|
+
# @param [String] resource_version
|
|
793
|
+
# The baseline resource version from which the list or watch operation should
|
|
794
|
+
# start. Not currently used by Cloud Run.
|
|
795
|
+
# @param [Boolean] watch
|
|
796
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
797
|
+
# Not currently used by Cloud Run.
|
|
798
|
+
# @param [String] fields
|
|
799
|
+
# Selector specifying which fields to include in a partial response.
|
|
800
|
+
# @param [String] quota_user
|
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
803
|
+
# @param [Google::Apis::RequestOptions] options
|
|
804
|
+
# Request-specific options
|
|
805
|
+
#
|
|
806
|
+
# @yield [result, err] Result & error if block supplied
|
|
807
|
+
# @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
|
|
808
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
809
|
+
#
|
|
810
|
+
# @return [Google::Apis::RunV1::ListRevisionsResponse]
|
|
811
|
+
#
|
|
812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
815
|
+
def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
816
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/revisions', options)
|
|
817
|
+
command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation
|
|
818
|
+
command.response_class = Google::Apis::RunV1::ListRevisionsResponse
|
|
819
|
+
command.params['parent'] = parent unless parent.nil?
|
|
820
|
+
command.query['continue'] = continue unless continue.nil?
|
|
821
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
822
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
823
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
824
|
+
command.query['limit'] = limit unless limit.nil?
|
|
825
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
826
|
+
command.query['watch'] = watch unless watch.nil?
|
|
827
|
+
command.query['fields'] = fields unless fields.nil?
|
|
828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
829
|
+
execute_or_queue_command(command, &block)
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# Create a route.
|
|
833
|
+
# @param [String] parent
|
|
834
|
+
# The project ID or project number in which this route should be created.
|
|
835
|
+
# @param [Google::Apis::RunV1::Route] route_object
|
|
836
|
+
# @param [String] fields
|
|
837
|
+
# Selector specifying which fields to include in a partial response.
|
|
838
|
+
# @param [String] quota_user
|
|
839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
841
|
+
# @param [Google::Apis::RequestOptions] options
|
|
842
|
+
# Request-specific options
|
|
843
|
+
#
|
|
844
|
+
# @yield [result, err] Result & error if block supplied
|
|
845
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
846
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
847
|
+
#
|
|
848
|
+
# @return [Google::Apis::RunV1::Route]
|
|
849
|
+
#
|
|
850
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
851
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
852
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
853
|
+
def create_namespace_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
854
|
+
command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
|
|
855
|
+
command.request_representation = Google::Apis::RunV1::Route::Representation
|
|
856
|
+
command.request_object = route_object
|
|
857
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
858
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
859
|
+
command.params['parent'] = parent unless parent.nil?
|
|
860
|
+
command.query['fields'] = fields unless fields.nil?
|
|
861
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
862
|
+
execute_or_queue_command(command, &block)
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
# Delete a route.
|
|
866
|
+
# This will cause the route to stop serving traffic.
|
|
867
|
+
# @param [String] name
|
|
868
|
+
# The name of the route being deleted. If needed, replace
|
|
869
|
+
# `namespace_id` with the project ID.
|
|
870
|
+
# @param [String] api_version
|
|
871
|
+
# Cloud Run currently ignores this parameter.
|
|
872
|
+
# @param [String] kind
|
|
873
|
+
# Cloud Run currently ignores this parameter.
|
|
874
|
+
# @param [String] propagation_policy
|
|
875
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
876
|
+
# this setting, and deletes in the background. Please see
|
|
877
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
878
|
+
# more information.
|
|
879
|
+
# @param [String] fields
|
|
880
|
+
# Selector specifying which fields to include in a partial response.
|
|
881
|
+
# @param [String] quota_user
|
|
882
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
883
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
884
|
+
# @param [Google::Apis::RequestOptions] options
|
|
885
|
+
# Request-specific options
|
|
886
|
+
#
|
|
887
|
+
# @yield [result, err] Result & error if block supplied
|
|
888
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
889
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
890
|
+
#
|
|
891
|
+
# @return [Google::Apis::RunV1::Status]
|
|
892
|
+
#
|
|
893
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
894
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
895
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
896
|
+
def delete_namespace_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
897
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
898
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
899
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
900
|
+
command.params['name'] = name unless name.nil?
|
|
901
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
902
|
+
command.query['kind'] = kind unless kind.nil?
|
|
903
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
904
|
+
command.query['fields'] = fields unless fields.nil?
|
|
905
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
906
|
+
execute_or_queue_command(command, &block)
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
# Get information about a route.
|
|
910
|
+
# @param [String] name
|
|
911
|
+
# The name of the route being retrieved. If needed, replace
|
|
912
|
+
# `namespace_id` with the project ID.
|
|
913
|
+
# @param [String] fields
|
|
914
|
+
# Selector specifying which fields to include in a partial response.
|
|
915
|
+
# @param [String] quota_user
|
|
916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
918
|
+
# @param [Google::Apis::RequestOptions] options
|
|
919
|
+
# Request-specific options
|
|
920
|
+
#
|
|
921
|
+
# @yield [result, err] Result & error if block supplied
|
|
922
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
923
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
924
|
+
#
|
|
925
|
+
# @return [Google::Apis::RunV1::Route]
|
|
926
|
+
#
|
|
927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
930
|
+
def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
931
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
932
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
933
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
934
|
+
command.params['name'] = name unless name.nil?
|
|
935
|
+
command.query['fields'] = fields unless fields.nil?
|
|
936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
937
|
+
execute_or_queue_command(command, &block)
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# List routes.
|
|
941
|
+
# @param [String] parent
|
|
942
|
+
# The project ID or project number from which the routes should be listed.
|
|
943
|
+
# @param [String] continue
|
|
944
|
+
# Optional encoded string to continue paging.
|
|
945
|
+
# @param [String] field_selector
|
|
946
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
947
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
948
|
+
# Not currently used by Cloud Run.
|
|
949
|
+
# @param [Boolean] include_uninitialized
|
|
950
|
+
# Not currently used by Cloud Run.
|
|
951
|
+
# @param [String] label_selector
|
|
952
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
953
|
+
# =, !=, exists, in, and notIn.
|
|
954
|
+
# @param [Fixnum] limit
|
|
955
|
+
# The maximum number of records that should be returned.
|
|
956
|
+
# @param [String] resource_version
|
|
957
|
+
# The baseline resource version from which the list or watch operation should
|
|
958
|
+
# start. Not currently used by Cloud Run.
|
|
959
|
+
# @param [Boolean] watch
|
|
960
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
961
|
+
# Not currently used by Cloud Run.
|
|
962
|
+
# @param [String] fields
|
|
963
|
+
# Selector specifying which fields to include in a partial response.
|
|
964
|
+
# @param [String] quota_user
|
|
965
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
966
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
967
|
+
# @param [Google::Apis::RequestOptions] options
|
|
968
|
+
# Request-specific options
|
|
969
|
+
#
|
|
970
|
+
# @yield [result, err] Result & error if block supplied
|
|
971
|
+
# @yieldparam result [Google::Apis::RunV1::ListRoutesResponse] parsed result object
|
|
972
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
973
|
+
#
|
|
974
|
+
# @return [Google::Apis::RunV1::ListRoutesResponse]
|
|
975
|
+
#
|
|
976
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
977
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
978
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
979
|
+
def list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
980
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/routes', options)
|
|
981
|
+
command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation
|
|
982
|
+
command.response_class = Google::Apis::RunV1::ListRoutesResponse
|
|
983
|
+
command.params['parent'] = parent unless parent.nil?
|
|
984
|
+
command.query['continue'] = continue unless continue.nil?
|
|
985
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
986
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
987
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
988
|
+
command.query['limit'] = limit unless limit.nil?
|
|
989
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
990
|
+
command.query['watch'] = watch unless watch.nil?
|
|
991
|
+
command.query['fields'] = fields unless fields.nil?
|
|
992
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
993
|
+
execute_or_queue_command(command, &block)
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
# Replace a route.
|
|
997
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
998
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
999
|
+
# match the requested 'spec'.
|
|
1000
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1001
|
+
# optimistic concurrency control.
|
|
1002
|
+
# @param [String] name
|
|
1003
|
+
# The name of the route being replaced. If needed, replace
|
|
1004
|
+
# `namespace_id` with the project ID.
|
|
1005
|
+
# @param [Google::Apis::RunV1::Route] route_object
|
|
1006
|
+
# @param [String] fields
|
|
1007
|
+
# Selector specifying which fields to include in a partial response.
|
|
1008
|
+
# @param [String] quota_user
|
|
1009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1011
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1012
|
+
# Request-specific options
|
|
1013
|
+
#
|
|
1014
|
+
# @yield [result, err] Result & error if block supplied
|
|
1015
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
1016
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1017
|
+
#
|
|
1018
|
+
# @return [Google::Apis::RunV1::Route]
|
|
1019
|
+
#
|
|
1020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1023
|
+
def replace_namespace_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1024
|
+
command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
1025
|
+
command.request_representation = Google::Apis::RunV1::Route::Representation
|
|
1026
|
+
command.request_object = route_object
|
|
1027
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
1028
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
1029
|
+
command.params['name'] = name unless name.nil?
|
|
1030
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1031
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1032
|
+
execute_or_queue_command(command, &block)
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# Create a service.
|
|
1036
|
+
# @param [String] parent
|
|
1037
|
+
# The project ID or project number in which this service should be created.
|
|
1038
|
+
# @param [Google::Apis::RunV1::Service] service_object
|
|
1039
|
+
# @param [String] fields
|
|
1040
|
+
# Selector specifying which fields to include in a partial response.
|
|
1041
|
+
# @param [String] quota_user
|
|
1042
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1043
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1044
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1045
|
+
# Request-specific options
|
|
1046
|
+
#
|
|
1047
|
+
# @yield [result, err] Result & error if block supplied
|
|
1048
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
1049
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1050
|
+
#
|
|
1051
|
+
# @return [Google::Apis::RunV1::Service]
|
|
1052
|
+
#
|
|
1053
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1054
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1055
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1056
|
+
def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1057
|
+
command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/services', options)
|
|
1058
|
+
command.request_representation = Google::Apis::RunV1::Service::Representation
|
|
1059
|
+
command.request_object = service_object
|
|
1060
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
1061
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
1062
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1063
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1064
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1065
|
+
execute_or_queue_command(command, &block)
|
|
1066
|
+
end
|
|
1067
|
+
|
|
1068
|
+
# Delete a service.
|
|
1069
|
+
# This will cause the Service to stop serving traffic and will delete the
|
|
1070
|
+
# child entities like Routes, Configurations and Revisions.
|
|
1071
|
+
# @param [String] name
|
|
1072
|
+
# The name of the service being deleted. If needed, replace
|
|
1073
|
+
# `namespace_id` with the project ID.
|
|
1074
|
+
# @param [String] api_version
|
|
1075
|
+
# Cloud Run currently ignores this parameter.
|
|
1076
|
+
# @param [String] kind
|
|
1077
|
+
# Cloud Run currently ignores this parameter.
|
|
1078
|
+
# @param [String] propagation_policy
|
|
1079
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1080
|
+
# this setting, and deletes in the background. Please see
|
|
1081
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1082
|
+
# more information.
|
|
1083
|
+
# @param [String] fields
|
|
1084
|
+
# Selector specifying which fields to include in a partial response.
|
|
1085
|
+
# @param [String] quota_user
|
|
1086
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1087
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1088
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1089
|
+
# Request-specific options
|
|
1090
|
+
#
|
|
1091
|
+
# @yield [result, err] Result & error if block supplied
|
|
1092
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
1093
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1094
|
+
#
|
|
1095
|
+
# @return [Google::Apis::RunV1::Status]
|
|
1096
|
+
#
|
|
1097
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1098
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1099
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1100
|
+
def delete_namespace_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1101
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
1102
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
1103
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
1104
|
+
command.params['name'] = name unless name.nil?
|
|
1105
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1106
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1107
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1108
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1109
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1110
|
+
execute_or_queue_command(command, &block)
|
|
1111
|
+
end
|
|
1112
|
+
|
|
1113
|
+
# Get information about a service.
|
|
1114
|
+
# @param [String] name
|
|
1115
|
+
# The name of the service being retrieved. If needed, replace
|
|
1116
|
+
# `namespace_id` with the project ID.
|
|
1117
|
+
# @param [String] fields
|
|
1118
|
+
# Selector specifying which fields to include in a partial response.
|
|
1119
|
+
# @param [String] quota_user
|
|
1120
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1121
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1122
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1123
|
+
# Request-specific options
|
|
1124
|
+
#
|
|
1125
|
+
# @yield [result, err] Result & error if block supplied
|
|
1126
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
1127
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1128
|
+
#
|
|
1129
|
+
# @return [Google::Apis::RunV1::Service]
|
|
1130
|
+
#
|
|
1131
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1132
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1133
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1134
|
+
def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1135
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
1136
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
1137
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
1138
|
+
command.params['name'] = name unless name.nil?
|
|
1139
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1141
|
+
execute_or_queue_command(command, &block)
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
# List services.
|
|
1145
|
+
# @param [String] parent
|
|
1146
|
+
# The project ID or project number from which the services should be listed.
|
|
1147
|
+
# @param [String] continue
|
|
1148
|
+
# Optional encoded string to continue paging.
|
|
1149
|
+
# @param [String] field_selector
|
|
1150
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
1151
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
1152
|
+
# Not currently used by Cloud Run.
|
|
1153
|
+
# @param [Boolean] include_uninitialized
|
|
1154
|
+
# Not currently used by Cloud Run.
|
|
1155
|
+
# @param [String] label_selector
|
|
1156
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
1157
|
+
# =, !=, exists, in, and notIn.
|
|
1158
|
+
# @param [Fixnum] limit
|
|
1159
|
+
# The maximum number of records that should be returned.
|
|
1160
|
+
# @param [String] resource_version
|
|
1161
|
+
# The baseline resource version from which the list or watch operation should
|
|
1162
|
+
# start. Not currently used by Cloud Run.
|
|
1163
|
+
# @param [Boolean] watch
|
|
1164
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
1165
|
+
# Not currently used by Cloud Run.
|
|
1166
|
+
# @param [String] fields
|
|
1167
|
+
# Selector specifying which fields to include in a partial response.
|
|
1168
|
+
# @param [String] quota_user
|
|
1169
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1170
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1171
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1172
|
+
# Request-specific options
|
|
1173
|
+
#
|
|
1174
|
+
# @yield [result, err] Result & error if block supplied
|
|
1175
|
+
# @yieldparam result [Google::Apis::RunV1::ListServicesResponse] parsed result object
|
|
1176
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1177
|
+
#
|
|
1178
|
+
# @return [Google::Apis::RunV1::ListServicesResponse]
|
|
1179
|
+
#
|
|
1180
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1181
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1182
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1183
|
+
def list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1184
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1/{+parent}/services', options)
|
|
1185
|
+
command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation
|
|
1186
|
+
command.response_class = Google::Apis::RunV1::ListServicesResponse
|
|
1187
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1188
|
+
command.query['continue'] = continue unless continue.nil?
|
|
1189
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
1190
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
1191
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
1192
|
+
command.query['limit'] = limit unless limit.nil?
|
|
1193
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
1194
|
+
command.query['watch'] = watch unless watch.nil?
|
|
1195
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1197
|
+
execute_or_queue_command(command, &block)
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
# Replace a service.
|
|
1201
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
1202
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
1203
|
+
# match the requested 'spec'.
|
|
1204
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1205
|
+
# optimistic concurrency control.
|
|
1206
|
+
# @param [String] name
|
|
1207
|
+
# The name of the service being replaced. If needed, replace
|
|
1208
|
+
# `namespace_id` with the project ID.
|
|
1209
|
+
# @param [Google::Apis::RunV1::Service] service_object
|
|
1210
|
+
# @param [String] fields
|
|
1211
|
+
# Selector specifying which fields to include in a partial response.
|
|
1212
|
+
# @param [String] quota_user
|
|
1213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1215
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1216
|
+
# Request-specific options
|
|
1217
|
+
#
|
|
1218
|
+
# @yield [result, err] Result & error if block supplied
|
|
1219
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
1220
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1221
|
+
#
|
|
1222
|
+
# @return [Google::Apis::RunV1::Service]
|
|
1223
|
+
#
|
|
1224
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1225
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1226
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1227
|
+
def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1228
|
+
command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
|
|
1229
|
+
command.request_representation = Google::Apis::RunV1::Service::Representation
|
|
1230
|
+
command.request_object = service_object
|
|
1231
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
1232
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
1233
|
+
command.params['name'] = name unless name.nil?
|
|
1234
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1236
|
+
execute_or_queue_command(command, &block)
|
|
1237
|
+
end
|
|
1238
|
+
|
|
51
1239
|
# Gets information about a location.
|
|
52
1240
|
# @param [String] name
|
|
53
|
-
# Resource name for the location.
|
|
1241
|
+
# Resource name for the location.
|
|
1242
|
+
# @param [String] fields
|
|
1243
|
+
# Selector specifying which fields to include in a partial response.
|
|
1244
|
+
# @param [String] quota_user
|
|
1245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1247
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1248
|
+
# Request-specific options
|
|
1249
|
+
#
|
|
1250
|
+
# @yield [result, err] Result & error if block supplied
|
|
1251
|
+
# @yieldparam result [Google::Apis::RunV1::Location] parsed result object
|
|
1252
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1253
|
+
#
|
|
1254
|
+
# @return [Google::Apis::RunV1::Location]
|
|
1255
|
+
#
|
|
1256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1259
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1260
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1261
|
+
command.response_representation = Google::Apis::RunV1::Location::Representation
|
|
1262
|
+
command.response_class = Google::Apis::RunV1::Location
|
|
1263
|
+
command.params['name'] = name unless name.nil?
|
|
1264
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1265
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1266
|
+
execute_or_queue_command(command, &block)
|
|
1267
|
+
end
|
|
1268
|
+
|
|
1269
|
+
# Lists information about the supported locations for this service.
|
|
1270
|
+
# @param [String] name
|
|
1271
|
+
# The resource that owns the locations collection, if applicable.
|
|
1272
|
+
# @param [String] filter
|
|
1273
|
+
# The standard list filter.
|
|
1274
|
+
# @param [Fixnum] page_size
|
|
1275
|
+
# The standard list page size.
|
|
1276
|
+
# @param [String] page_token
|
|
1277
|
+
# The standard list page token.
|
|
1278
|
+
# @param [String] fields
|
|
1279
|
+
# Selector specifying which fields to include in a partial response.
|
|
1280
|
+
# @param [String] quota_user
|
|
1281
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1282
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1283
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1284
|
+
# Request-specific options
|
|
1285
|
+
#
|
|
1286
|
+
# @yield [result, err] Result & error if block supplied
|
|
1287
|
+
# @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
|
|
1288
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1289
|
+
#
|
|
1290
|
+
# @return [Google::Apis::RunV1::ListLocationsResponse]
|
|
1291
|
+
#
|
|
1292
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1293
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1294
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1295
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1296
|
+
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
1297
|
+
command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation
|
|
1298
|
+
command.response_class = Google::Apis::RunV1::ListLocationsResponse
|
|
1299
|
+
command.params['name'] = name unless name.nil?
|
|
1300
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1301
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1302
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1303
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1304
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1305
|
+
execute_or_queue_command(command, &block)
|
|
1306
|
+
end
|
|
1307
|
+
|
|
1308
|
+
# List authorized domains.
|
|
1309
|
+
# @param [String] parent
|
|
1310
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
|
1311
|
+
# @param [Fixnum] page_size
|
|
1312
|
+
# Maximum results to return per page.
|
|
1313
|
+
# @param [String] page_token
|
|
1314
|
+
# Continuation token for fetching the next page of results.
|
|
1315
|
+
# @param [String] fields
|
|
1316
|
+
# Selector specifying which fields to include in a partial response.
|
|
1317
|
+
# @param [String] quota_user
|
|
1318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1320
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1321
|
+
# Request-specific options
|
|
1322
|
+
#
|
|
1323
|
+
# @yield [result, err] Result & error if block supplied
|
|
1324
|
+
# @yieldparam result [Google::Apis::RunV1::ListAuthorizedDomainsResponse] parsed result object
|
|
1325
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1326
|
+
#
|
|
1327
|
+
# @return [Google::Apis::RunV1::ListAuthorizedDomainsResponse]
|
|
1328
|
+
#
|
|
1329
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1330
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1331
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1332
|
+
def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1333
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizeddomains', options)
|
|
1334
|
+
command.response_representation = Google::Apis::RunV1::ListAuthorizedDomainsResponse::Representation
|
|
1335
|
+
command.response_class = Google::Apis::RunV1::ListAuthorizedDomainsResponse
|
|
1336
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1337
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1338
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1339
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1341
|
+
execute_or_queue_command(command, &block)
|
|
1342
|
+
end
|
|
1343
|
+
|
|
1344
|
+
# Creates a new auto domain mapping.
|
|
1345
|
+
# @param [String] parent
|
|
1346
|
+
# The project ID or project number in which this auto domain mapping should
|
|
1347
|
+
# be created.
|
|
1348
|
+
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
|
|
1349
|
+
# @param [String] fields
|
|
1350
|
+
# Selector specifying which fields to include in a partial response.
|
|
1351
|
+
# @param [String] quota_user
|
|
1352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1354
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1355
|
+
# Request-specific options
|
|
1356
|
+
#
|
|
1357
|
+
# @yield [result, err] Result & error if block supplied
|
|
1358
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
1359
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1360
|
+
#
|
|
1361
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
1362
|
+
#
|
|
1363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1366
|
+
def create_project_location_autodomainmapping(parent, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1367
|
+
command = make_simple_command(:post, 'v1/{+parent}/autodomainmappings', options)
|
|
1368
|
+
command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
1369
|
+
command.request_object = auto_domain_mapping_object
|
|
1370
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
1371
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
1372
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1373
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1375
|
+
execute_or_queue_command(command, &block)
|
|
1376
|
+
end
|
|
1377
|
+
|
|
1378
|
+
# Delete an auto domain mapping.
|
|
1379
|
+
# @param [String] name
|
|
1380
|
+
# The name of the auto domain mapping being deleted. If needed, replace
|
|
1381
|
+
# `namespace_id` with the project ID.
|
|
1382
|
+
# @param [String] api_version
|
|
1383
|
+
# Cloud Run currently ignores this parameter.
|
|
1384
|
+
# @param [String] kind
|
|
1385
|
+
# Cloud Run currently ignores this parameter.
|
|
1386
|
+
# @param [String] propagation_policy
|
|
1387
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1388
|
+
# this setting, and deletes in the background. Please see
|
|
1389
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1390
|
+
# more information.
|
|
1391
|
+
# @param [String] fields
|
|
1392
|
+
# Selector specifying which fields to include in a partial response.
|
|
1393
|
+
# @param [String] quota_user
|
|
1394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1396
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1397
|
+
# Request-specific options
|
|
1398
|
+
#
|
|
1399
|
+
# @yield [result, err] Result & error if block supplied
|
|
1400
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
1401
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1402
|
+
#
|
|
1403
|
+
# @return [Google::Apis::RunV1::Status]
|
|
1404
|
+
#
|
|
1405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1408
|
+
def delete_project_location_autodomainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1409
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1410
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
1411
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
1412
|
+
command.params['name'] = name unless name.nil?
|
|
1413
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1414
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1415
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1416
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1417
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1418
|
+
execute_or_queue_command(command, &block)
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1421
|
+
# Get information about an auto domain mapping.
|
|
1422
|
+
# @param [String] name
|
|
1423
|
+
# The name of the auto domain mapping being retrieved. If needed, replace
|
|
1424
|
+
# `namespace_id` with the project ID.
|
|
1425
|
+
# @param [String] fields
|
|
1426
|
+
# Selector specifying which fields to include in a partial response.
|
|
1427
|
+
# @param [String] quota_user
|
|
1428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1430
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1431
|
+
# Request-specific options
|
|
1432
|
+
#
|
|
1433
|
+
# @yield [result, err] Result & error if block supplied
|
|
1434
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
1435
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1436
|
+
#
|
|
1437
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
1438
|
+
#
|
|
1439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1442
|
+
def get_project_location_autodomainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1443
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1444
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
1445
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
1446
|
+
command.params['name'] = name unless name.nil?
|
|
1447
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1449
|
+
execute_or_queue_command(command, &block)
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
# List auto domain mappings.
|
|
1453
|
+
# @param [String] parent
|
|
1454
|
+
# The project ID or project number from which the auto domain mappings should
|
|
1455
|
+
# be listed.
|
|
1456
|
+
# @param [String] continue
|
|
1457
|
+
# Optional encoded string to continue paging.
|
|
1458
|
+
# @param [String] field_selector
|
|
1459
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
1460
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
1461
|
+
# Not currently used by Cloud Run.
|
|
1462
|
+
# @param [Boolean] include_uninitialized
|
|
1463
|
+
# Not currently used by Cloud Run.
|
|
1464
|
+
# @param [String] label_selector
|
|
1465
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
1466
|
+
# =, !=, exists, in, and notIn.
|
|
1467
|
+
# @param [Fixnum] limit
|
|
1468
|
+
# The maximum number of records that should be returned.
|
|
1469
|
+
# @param [String] resource_version
|
|
1470
|
+
# The baseline resource version from which the list or watch operation should
|
|
1471
|
+
# start. Not currently used by Cloud Run.
|
|
1472
|
+
# @param [Boolean] watch
|
|
1473
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
1474
|
+
# Not currently used by Cloud Run.
|
|
1475
|
+
# @param [String] fields
|
|
1476
|
+
# Selector specifying which fields to include in a partial response.
|
|
1477
|
+
# @param [String] quota_user
|
|
1478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1480
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1481
|
+
# Request-specific options
|
|
1482
|
+
#
|
|
1483
|
+
# @yield [result, err] Result & error if block supplied
|
|
1484
|
+
# @yieldparam result [Google::Apis::RunV1::ListAutoDomainMappingsResponse] parsed result object
|
|
1485
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1486
|
+
#
|
|
1487
|
+
# @return [Google::Apis::RunV1::ListAutoDomainMappingsResponse]
|
|
1488
|
+
#
|
|
1489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1492
|
+
def list_project_location_autodomainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1493
|
+
command = make_simple_command(:get, 'v1/{+parent}/autodomainmappings', options)
|
|
1494
|
+
command.response_representation = Google::Apis::RunV1::ListAutoDomainMappingsResponse::Representation
|
|
1495
|
+
command.response_class = Google::Apis::RunV1::ListAutoDomainMappingsResponse
|
|
1496
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1497
|
+
command.query['continue'] = continue unless continue.nil?
|
|
1498
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
1499
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
1500
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
1501
|
+
command.query['limit'] = limit unless limit.nil?
|
|
1502
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
1503
|
+
command.query['watch'] = watch unless watch.nil?
|
|
1504
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1506
|
+
execute_or_queue_command(command, &block)
|
|
1507
|
+
end
|
|
1508
|
+
|
|
1509
|
+
# Replace an auto domain mapping.
|
|
1510
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
1511
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
1512
|
+
# match the requested 'spec'.
|
|
1513
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1514
|
+
# optimistic concurrency control.
|
|
1515
|
+
# @param [String] name
|
|
1516
|
+
# The name of the auto domain mapping being retrieved. If needed, replace
|
|
1517
|
+
# `namespace_id` with the project ID.
|
|
1518
|
+
# @param [Google::Apis::RunV1::AutoDomainMapping] auto_domain_mapping_object
|
|
1519
|
+
# @param [String] fields
|
|
1520
|
+
# Selector specifying which fields to include in a partial response.
|
|
1521
|
+
# @param [String] quota_user
|
|
1522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1524
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1525
|
+
# Request-specific options
|
|
1526
|
+
#
|
|
1527
|
+
# @yield [result, err] Result & error if block supplied
|
|
1528
|
+
# @yieldparam result [Google::Apis::RunV1::AutoDomainMapping] parsed result object
|
|
1529
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1530
|
+
#
|
|
1531
|
+
# @return [Google::Apis::RunV1::AutoDomainMapping]
|
|
1532
|
+
#
|
|
1533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1536
|
+
def replace_project_location_autodomainmapping_auto_domain_mapping(name, auto_domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1537
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
1538
|
+
command.request_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
1539
|
+
command.request_object = auto_domain_mapping_object
|
|
1540
|
+
command.response_representation = Google::Apis::RunV1::AutoDomainMapping::Representation
|
|
1541
|
+
command.response_class = Google::Apis::RunV1::AutoDomainMapping
|
|
1542
|
+
command.params['name'] = name unless name.nil?
|
|
1543
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1545
|
+
execute_or_queue_command(command, &block)
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
# Create a configuration.
|
|
1549
|
+
# @param [String] parent
|
|
1550
|
+
# The project ID or project number in which this configuration should be
|
|
1551
|
+
# created.
|
|
1552
|
+
# @param [Google::Apis::RunV1::Configuration] configuration_object
|
|
1553
|
+
# @param [String] fields
|
|
1554
|
+
# Selector specifying which fields to include in a partial response.
|
|
1555
|
+
# @param [String] quota_user
|
|
1556
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1557
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1558
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1559
|
+
# Request-specific options
|
|
1560
|
+
#
|
|
1561
|
+
# @yield [result, err] Result & error if block supplied
|
|
1562
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
1563
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1564
|
+
#
|
|
1565
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
1566
|
+
#
|
|
1567
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1568
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1569
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1570
|
+
def create_project_location_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1571
|
+
command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
|
|
1572
|
+
command.request_representation = Google::Apis::RunV1::Configuration::Representation
|
|
1573
|
+
command.request_object = configuration_object
|
|
1574
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
1575
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
1576
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1577
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1579
|
+
execute_or_queue_command(command, &block)
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
# delete a configuration.
|
|
1583
|
+
# This will cause the configuration to delete all child revisions. Prior to
|
|
1584
|
+
# calling this, any route referencing the configuration (or revision
|
|
1585
|
+
# from the configuration) must be deleted.
|
|
1586
|
+
# @param [String] name
|
|
1587
|
+
# The name of the configuration being deleted. If needed, replace
|
|
1588
|
+
# `namespace_id` with the project ID.
|
|
1589
|
+
# @param [String] api_version
|
|
1590
|
+
# Cloud Run currently ignores this parameter.
|
|
1591
|
+
# @param [String] kind
|
|
1592
|
+
# Cloud Run currently ignores this parameter.
|
|
1593
|
+
# @param [String] propagation_policy
|
|
1594
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1595
|
+
# this setting, and deletes in the background. Please see
|
|
1596
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1597
|
+
# more information.
|
|
1598
|
+
# @param [String] fields
|
|
1599
|
+
# Selector specifying which fields to include in a partial response.
|
|
1600
|
+
# @param [String] quota_user
|
|
1601
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1602
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1603
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1604
|
+
# Request-specific options
|
|
1605
|
+
#
|
|
1606
|
+
# @yield [result, err] Result & error if block supplied
|
|
1607
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
1608
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1609
|
+
#
|
|
1610
|
+
# @return [Google::Apis::RunV1::Status]
|
|
1611
|
+
#
|
|
1612
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1613
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1614
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1615
|
+
def delete_project_location_configuration(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1616
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1617
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
1618
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
1619
|
+
command.params['name'] = name unless name.nil?
|
|
1620
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1621
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1622
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1623
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1624
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1625
|
+
execute_or_queue_command(command, &block)
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1628
|
+
# Get information about a configuration.
|
|
1629
|
+
# @param [String] name
|
|
1630
|
+
# The name of the configuration being retrieved. If needed, replace
|
|
1631
|
+
# `namespace_id` with the project ID.
|
|
1632
|
+
# @param [String] fields
|
|
1633
|
+
# Selector specifying which fields to include in a partial response.
|
|
1634
|
+
# @param [String] quota_user
|
|
1635
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1636
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1637
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1638
|
+
# Request-specific options
|
|
1639
|
+
#
|
|
1640
|
+
# @yield [result, err] Result & error if block supplied
|
|
1641
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
1642
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1643
|
+
#
|
|
1644
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
1645
|
+
#
|
|
1646
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1647
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1648
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1649
|
+
def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1650
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1651
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
1652
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
1653
|
+
command.params['name'] = name unless name.nil?
|
|
1654
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1655
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1656
|
+
execute_or_queue_command(command, &block)
|
|
1657
|
+
end
|
|
1658
|
+
|
|
1659
|
+
# List configurations.
|
|
1660
|
+
# @param [String] parent
|
|
1661
|
+
# The project ID or project number from which the configurations should be
|
|
1662
|
+
# listed.
|
|
1663
|
+
# @param [String] continue
|
|
1664
|
+
# Optional encoded string to continue paging.
|
|
1665
|
+
# @param [String] field_selector
|
|
1666
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
1667
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
1668
|
+
# Not currently used by Cloud Run.
|
|
1669
|
+
# @param [Boolean] include_uninitialized
|
|
1670
|
+
# Not currently used by Cloud Run.
|
|
1671
|
+
# @param [String] label_selector
|
|
1672
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
1673
|
+
# =, !=, exists, in, and notIn.
|
|
1674
|
+
# @param [Fixnum] limit
|
|
1675
|
+
# The maximum number of records that should be returned.
|
|
1676
|
+
# @param [String] resource_version
|
|
1677
|
+
# The baseline resource version from which the list or watch operation should
|
|
1678
|
+
# start. Not currently used by Cloud Run.
|
|
1679
|
+
# @param [Boolean] watch
|
|
1680
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
1681
|
+
# Not currently used by Cloud Run.
|
|
1682
|
+
# @param [String] fields
|
|
1683
|
+
# Selector specifying which fields to include in a partial response.
|
|
1684
|
+
# @param [String] quota_user
|
|
1685
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1686
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1687
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1688
|
+
# Request-specific options
|
|
1689
|
+
#
|
|
1690
|
+
# @yield [result, err] Result & error if block supplied
|
|
1691
|
+
# @yieldparam result [Google::Apis::RunV1::ListConfigurationsResponse] parsed result object
|
|
1692
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1693
|
+
#
|
|
1694
|
+
# @return [Google::Apis::RunV1::ListConfigurationsResponse]
|
|
1695
|
+
#
|
|
1696
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1697
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1698
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1699
|
+
def list_project_location_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1700
|
+
command = make_simple_command(:get, 'v1/{+parent}/configurations', options)
|
|
1701
|
+
command.response_representation = Google::Apis::RunV1::ListConfigurationsResponse::Representation
|
|
1702
|
+
command.response_class = Google::Apis::RunV1::ListConfigurationsResponse
|
|
1703
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1704
|
+
command.query['continue'] = continue unless continue.nil?
|
|
1705
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
1706
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
1707
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
1708
|
+
command.query['limit'] = limit unless limit.nil?
|
|
1709
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
1710
|
+
command.query['watch'] = watch unless watch.nil?
|
|
1711
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1713
|
+
execute_or_queue_command(command, &block)
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1716
|
+
# Replace a configuration.
|
|
1717
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
1718
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
1719
|
+
# match the requested 'spec'.
|
|
1720
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1721
|
+
# optimistic concurrency control.
|
|
1722
|
+
# @param [String] name
|
|
1723
|
+
# The name of the configuration being retrieved. If needed, replace
|
|
1724
|
+
# `namespace_id` with the project ID.
|
|
1725
|
+
# @param [Google::Apis::RunV1::Configuration] configuration_object
|
|
1726
|
+
# @param [String] fields
|
|
1727
|
+
# Selector specifying which fields to include in a partial response.
|
|
1728
|
+
# @param [String] quota_user
|
|
1729
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1730
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1731
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1732
|
+
# Request-specific options
|
|
1733
|
+
#
|
|
1734
|
+
# @yield [result, err] Result & error if block supplied
|
|
1735
|
+
# @yieldparam result [Google::Apis::RunV1::Configuration] parsed result object
|
|
1736
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1737
|
+
#
|
|
1738
|
+
# @return [Google::Apis::RunV1::Configuration]
|
|
1739
|
+
#
|
|
1740
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1741
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1742
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1743
|
+
def replace_project_location_configuration_configuration(name, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1744
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
1745
|
+
command.request_representation = Google::Apis::RunV1::Configuration::Representation
|
|
1746
|
+
command.request_object = configuration_object
|
|
1747
|
+
command.response_representation = Google::Apis::RunV1::Configuration::Representation
|
|
1748
|
+
command.response_class = Google::Apis::RunV1::Configuration
|
|
1749
|
+
command.params['name'] = name unless name.nil?
|
|
1750
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1751
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1752
|
+
execute_or_queue_command(command, &block)
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
# Create a new domain mapping.
|
|
1756
|
+
# @param [String] parent
|
|
1757
|
+
# The project ID or project number in which this domain mapping should be
|
|
1758
|
+
# created.
|
|
1759
|
+
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
|
1760
|
+
# @param [String] fields
|
|
1761
|
+
# Selector specifying which fields to include in a partial response.
|
|
1762
|
+
# @param [String] quota_user
|
|
1763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1765
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1766
|
+
# Request-specific options
|
|
1767
|
+
#
|
|
1768
|
+
# @yield [result, err] Result & error if block supplied
|
|
1769
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
1770
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1771
|
+
#
|
|
1772
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
1773
|
+
#
|
|
1774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1777
|
+
def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1778
|
+
command = make_simple_command(:post, 'v1/{+parent}/domainmappings', options)
|
|
1779
|
+
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
1780
|
+
command.request_object = domain_mapping_object
|
|
1781
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
1782
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
1783
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1784
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1785
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1786
|
+
execute_or_queue_command(command, &block)
|
|
1787
|
+
end
|
|
1788
|
+
|
|
1789
|
+
# Delete a domain mapping.
|
|
1790
|
+
# @param [String] name
|
|
1791
|
+
# The name of the domain mapping being deleted. If needed, replace
|
|
1792
|
+
# `namespace_id` with the project ID.
|
|
1793
|
+
# @param [String] api_version
|
|
1794
|
+
# Cloud Run currently ignores this parameter.
|
|
1795
|
+
# @param [String] kind
|
|
1796
|
+
# Cloud Run currently ignores this parameter.
|
|
1797
|
+
# @param [String] propagation_policy
|
|
1798
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1799
|
+
# this setting, and deletes in the background. Please see
|
|
1800
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1801
|
+
# more information.
|
|
1802
|
+
# @param [String] fields
|
|
1803
|
+
# Selector specifying which fields to include in a partial response.
|
|
1804
|
+
# @param [String] quota_user
|
|
1805
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1806
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1807
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1808
|
+
# Request-specific options
|
|
1809
|
+
#
|
|
1810
|
+
# @yield [result, err] Result & error if block supplied
|
|
1811
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
1812
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1813
|
+
#
|
|
1814
|
+
# @return [Google::Apis::RunV1::Status]
|
|
1815
|
+
#
|
|
1816
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1817
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1818
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1819
|
+
def delete_project_location_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1820
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1821
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
1822
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
1823
|
+
command.params['name'] = name unless name.nil?
|
|
1824
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1825
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1826
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1827
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1829
|
+
execute_or_queue_command(command, &block)
|
|
1830
|
+
end
|
|
1831
|
+
|
|
1832
|
+
# Get information about a domain mapping.
|
|
1833
|
+
# @param [String] name
|
|
1834
|
+
# The name of the domain mapping being retrieved. If needed, replace
|
|
1835
|
+
# `namespace_id` with the project ID.
|
|
1836
|
+
# @param [String] fields
|
|
1837
|
+
# Selector specifying which fields to include in a partial response.
|
|
1838
|
+
# @param [String] quota_user
|
|
1839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1841
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1842
|
+
# Request-specific options
|
|
1843
|
+
#
|
|
1844
|
+
# @yield [result, err] Result & error if block supplied
|
|
1845
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
1846
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1847
|
+
#
|
|
1848
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
1849
|
+
#
|
|
1850
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1851
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1852
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1853
|
+
def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1854
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1855
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
1856
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
1857
|
+
command.params['name'] = name unless name.nil?
|
|
1858
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1860
|
+
execute_or_queue_command(command, &block)
|
|
1861
|
+
end
|
|
1862
|
+
|
|
1863
|
+
# List domain mappings.
|
|
1864
|
+
# @param [String] parent
|
|
1865
|
+
# The project ID or project number from which the domain mappings should be
|
|
1866
|
+
# listed.
|
|
1867
|
+
# @param [String] continue
|
|
1868
|
+
# Optional encoded string to continue paging.
|
|
1869
|
+
# @param [String] field_selector
|
|
1870
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
1871
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
1872
|
+
# Not currently used by Cloud Run.
|
|
1873
|
+
# @param [Boolean] include_uninitialized
|
|
1874
|
+
# Not currently used by Cloud Run.
|
|
1875
|
+
# @param [String] label_selector
|
|
1876
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
1877
|
+
# =, !=, exists, in, and notIn.
|
|
1878
|
+
# @param [Fixnum] limit
|
|
1879
|
+
# The maximum number of records that should be returned.
|
|
1880
|
+
# @param [String] resource_version
|
|
1881
|
+
# The baseline resource version from which the list or watch operation should
|
|
1882
|
+
# start. Not currently used by Cloud Run.
|
|
1883
|
+
# @param [Boolean] watch
|
|
1884
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
1885
|
+
# Not currently used by Cloud Run.
|
|
1886
|
+
# @param [String] fields
|
|
1887
|
+
# Selector specifying which fields to include in a partial response.
|
|
1888
|
+
# @param [String] quota_user
|
|
1889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1891
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1892
|
+
# Request-specific options
|
|
1893
|
+
#
|
|
1894
|
+
# @yield [result, err] Result & error if block supplied
|
|
1895
|
+
# @yieldparam result [Google::Apis::RunV1::ListDomainMappingsResponse] parsed result object
|
|
1896
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1897
|
+
#
|
|
1898
|
+
# @return [Google::Apis::RunV1::ListDomainMappingsResponse]
|
|
1899
|
+
#
|
|
1900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1903
|
+
def list_project_location_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1904
|
+
command = make_simple_command(:get, 'v1/{+parent}/domainmappings', options)
|
|
1905
|
+
command.response_representation = Google::Apis::RunV1::ListDomainMappingsResponse::Representation
|
|
1906
|
+
command.response_class = Google::Apis::RunV1::ListDomainMappingsResponse
|
|
1907
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1908
|
+
command.query['continue'] = continue unless continue.nil?
|
|
1909
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
1910
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
1911
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
1912
|
+
command.query['limit'] = limit unless limit.nil?
|
|
1913
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
1914
|
+
command.query['watch'] = watch unless watch.nil?
|
|
1915
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1917
|
+
execute_or_queue_command(command, &block)
|
|
1918
|
+
end
|
|
1919
|
+
|
|
1920
|
+
# Replace a domain mapping.
|
|
1921
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
1922
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
1923
|
+
# match the requested 'spec'.
|
|
1924
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1925
|
+
# optimistic concurrency control.
|
|
1926
|
+
# @param [String] name
|
|
1927
|
+
# The name of the domain mapping being retrieved. If needed, replace
|
|
1928
|
+
# `namespace_id` with the project ID.
|
|
1929
|
+
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
|
1930
|
+
# @param [String] fields
|
|
1931
|
+
# Selector specifying which fields to include in a partial response.
|
|
1932
|
+
# @param [String] quota_user
|
|
1933
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1934
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1935
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1936
|
+
# Request-specific options
|
|
1937
|
+
#
|
|
1938
|
+
# @yield [result, err] Result & error if block supplied
|
|
1939
|
+
# @yieldparam result [Google::Apis::RunV1::DomainMapping] parsed result object
|
|
1940
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1941
|
+
#
|
|
1942
|
+
# @return [Google::Apis::RunV1::DomainMapping]
|
|
1943
|
+
#
|
|
1944
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1945
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1946
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1947
|
+
def replace_project_location_domainmapping_domain_mapping(name, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1948
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
1949
|
+
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
1950
|
+
command.request_object = domain_mapping_object
|
|
1951
|
+
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
|
1952
|
+
command.response_class = Google::Apis::RunV1::DomainMapping
|
|
1953
|
+
command.params['name'] = name unless name.nil?
|
|
1954
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1955
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1956
|
+
execute_or_queue_command(command, &block)
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1959
|
+
# Delete a revision.
|
|
1960
|
+
# @param [String] name
|
|
1961
|
+
# The name of the revision being deleted. If needed, replace
|
|
1962
|
+
# `namespace_id` with the project ID.
|
|
1963
|
+
# @param [String] api_version
|
|
1964
|
+
# Cloud Run currently ignores this parameter.
|
|
1965
|
+
# @param [String] kind
|
|
1966
|
+
# Cloud Run currently ignores this parameter.
|
|
1967
|
+
# @param [String] propagation_policy
|
|
1968
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1969
|
+
# this setting, and deletes in the background. Please see
|
|
1970
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1971
|
+
# more information.
|
|
1972
|
+
# @param [String] fields
|
|
1973
|
+
# Selector specifying which fields to include in a partial response.
|
|
1974
|
+
# @param [String] quota_user
|
|
1975
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1976
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1977
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1978
|
+
# Request-specific options
|
|
1979
|
+
#
|
|
1980
|
+
# @yield [result, err] Result & error if block supplied
|
|
1981
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
1982
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1983
|
+
#
|
|
1984
|
+
# @return [Google::Apis::RunV1::Status]
|
|
1985
|
+
#
|
|
1986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1989
|
+
def delete_project_location_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1990
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1991
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
1992
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
1993
|
+
command.params['name'] = name unless name.nil?
|
|
1994
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1995
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1996
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1997
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1998
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1999
|
+
execute_or_queue_command(command, &block)
|
|
2000
|
+
end
|
|
2001
|
+
|
|
2002
|
+
# Get information about a revision.
|
|
2003
|
+
# @param [String] name
|
|
2004
|
+
# The name of the revision being retrieved. If needed, replace
|
|
2005
|
+
# `namespace_id` with the project ID.
|
|
2006
|
+
# @param [String] fields
|
|
2007
|
+
# Selector specifying which fields to include in a partial response.
|
|
2008
|
+
# @param [String] quota_user
|
|
2009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2011
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2012
|
+
# Request-specific options
|
|
2013
|
+
#
|
|
2014
|
+
# @yield [result, err] Result & error if block supplied
|
|
2015
|
+
# @yieldparam result [Google::Apis::RunV1::Revision] parsed result object
|
|
2016
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2017
|
+
#
|
|
2018
|
+
# @return [Google::Apis::RunV1::Revision]
|
|
2019
|
+
#
|
|
2020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2023
|
+
def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2024
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2025
|
+
command.response_representation = Google::Apis::RunV1::Revision::Representation
|
|
2026
|
+
command.response_class = Google::Apis::RunV1::Revision
|
|
2027
|
+
command.params['name'] = name unless name.nil?
|
|
2028
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2030
|
+
execute_or_queue_command(command, &block)
|
|
2031
|
+
end
|
|
2032
|
+
|
|
2033
|
+
# List revisions.
|
|
2034
|
+
# @param [String] parent
|
|
2035
|
+
# The project ID or project number from which the revisions should be listed.
|
|
2036
|
+
# @param [String] continue
|
|
2037
|
+
# Optional encoded string to continue paging.
|
|
2038
|
+
# @param [String] field_selector
|
|
2039
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
2040
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
2041
|
+
# Not currently used by Cloud Run.
|
|
2042
|
+
# @param [Boolean] include_uninitialized
|
|
2043
|
+
# Not currently used by Cloud Run.
|
|
2044
|
+
# @param [String] label_selector
|
|
2045
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
2046
|
+
# =, !=, exists, in, and notIn.
|
|
2047
|
+
# @param [Fixnum] limit
|
|
2048
|
+
# The maximum number of records that should be returned.
|
|
2049
|
+
# @param [String] resource_version
|
|
2050
|
+
# The baseline resource version from which the list or watch operation should
|
|
2051
|
+
# start. Not currently used by Cloud Run.
|
|
2052
|
+
# @param [Boolean] watch
|
|
2053
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
2054
|
+
# Not currently used by Cloud Run.
|
|
2055
|
+
# @param [String] fields
|
|
2056
|
+
# Selector specifying which fields to include in a partial response.
|
|
2057
|
+
# @param [String] quota_user
|
|
2058
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2059
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2060
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2061
|
+
# Request-specific options
|
|
2062
|
+
#
|
|
2063
|
+
# @yield [result, err] Result & error if block supplied
|
|
2064
|
+
# @yieldparam result [Google::Apis::RunV1::ListRevisionsResponse] parsed result object
|
|
2065
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2066
|
+
#
|
|
2067
|
+
# @return [Google::Apis::RunV1::ListRevisionsResponse]
|
|
2068
|
+
#
|
|
2069
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2070
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2071
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2072
|
+
def list_project_location_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2073
|
+
command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
|
|
2074
|
+
command.response_representation = Google::Apis::RunV1::ListRevisionsResponse::Representation
|
|
2075
|
+
command.response_class = Google::Apis::RunV1::ListRevisionsResponse
|
|
2076
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2077
|
+
command.query['continue'] = continue unless continue.nil?
|
|
2078
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
2079
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
2080
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
2081
|
+
command.query['limit'] = limit unless limit.nil?
|
|
2082
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
2083
|
+
command.query['watch'] = watch unless watch.nil?
|
|
2084
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2086
|
+
execute_or_queue_command(command, &block)
|
|
2087
|
+
end
|
|
2088
|
+
|
|
2089
|
+
# Create a route.
|
|
2090
|
+
# @param [String] parent
|
|
2091
|
+
# The project ID or project number in which this route should be created.
|
|
2092
|
+
# @param [Google::Apis::RunV1::Route] route_object
|
|
2093
|
+
# @param [String] fields
|
|
2094
|
+
# Selector specifying which fields to include in a partial response.
|
|
2095
|
+
# @param [String] quota_user
|
|
2096
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2097
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2098
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2099
|
+
# Request-specific options
|
|
2100
|
+
#
|
|
2101
|
+
# @yield [result, err] Result & error if block supplied
|
|
2102
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
2103
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2104
|
+
#
|
|
2105
|
+
# @return [Google::Apis::RunV1::Route]
|
|
2106
|
+
#
|
|
2107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2110
|
+
def create_project_location_route(parent, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2111
|
+
command = make_simple_command(:post, 'v1/{+parent}/routes', options)
|
|
2112
|
+
command.request_representation = Google::Apis::RunV1::Route::Representation
|
|
2113
|
+
command.request_object = route_object
|
|
2114
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
2115
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
2116
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2117
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2119
|
+
execute_or_queue_command(command, &block)
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
# Delete a route.
|
|
2123
|
+
# This will cause the route to stop serving traffic.
|
|
2124
|
+
# @param [String] name
|
|
2125
|
+
# The name of the route being deleted. If needed, replace
|
|
2126
|
+
# `namespace_id` with the project ID.
|
|
2127
|
+
# @param [String] api_version
|
|
2128
|
+
# Cloud Run currently ignores this parameter.
|
|
2129
|
+
# @param [String] kind
|
|
2130
|
+
# Cloud Run currently ignores this parameter.
|
|
2131
|
+
# @param [String] propagation_policy
|
|
2132
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
2133
|
+
# this setting, and deletes in the background. Please see
|
|
2134
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
2135
|
+
# more information.
|
|
54
2136
|
# @param [String] fields
|
|
55
2137
|
# Selector specifying which fields to include in a partial response.
|
|
56
2138
|
# @param [String] quota_user
|
|
@@ -60,33 +2142,124 @@ module Google
|
|
|
60
2142
|
# Request-specific options
|
|
61
2143
|
#
|
|
62
2144
|
# @yield [result, err] Result & error if block supplied
|
|
63
|
-
# @yieldparam result [Google::Apis::RunV1::
|
|
2145
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
64
2146
|
# @yieldparam err [StandardError] error object if request failed
|
|
65
2147
|
#
|
|
66
|
-
# @return [Google::Apis::RunV1::
|
|
2148
|
+
# @return [Google::Apis::RunV1::Status]
|
|
67
2149
|
#
|
|
68
2150
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
69
2151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
70
2152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
71
|
-
def
|
|
2153
|
+
def delete_project_location_route(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2154
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2155
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
2156
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
2157
|
+
command.params['name'] = name unless name.nil?
|
|
2158
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
2159
|
+
command.query['kind'] = kind unless kind.nil?
|
|
2160
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
2161
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2162
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2163
|
+
execute_or_queue_command(command, &block)
|
|
2164
|
+
end
|
|
2165
|
+
|
|
2166
|
+
# Get information about a route.
|
|
2167
|
+
# @param [String] name
|
|
2168
|
+
# The name of the route being retrieved. If needed, replace
|
|
2169
|
+
# `namespace_id` with the project ID.
|
|
2170
|
+
# @param [String] fields
|
|
2171
|
+
# Selector specifying which fields to include in a partial response.
|
|
2172
|
+
# @param [String] quota_user
|
|
2173
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2174
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2175
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2176
|
+
# Request-specific options
|
|
2177
|
+
#
|
|
2178
|
+
# @yield [result, err] Result & error if block supplied
|
|
2179
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
2180
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2181
|
+
#
|
|
2182
|
+
# @return [Google::Apis::RunV1::Route]
|
|
2183
|
+
#
|
|
2184
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2185
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2186
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2187
|
+
def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
72
2188
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
73
|
-
command.response_representation = Google::Apis::RunV1::
|
|
74
|
-
command.response_class = Google::Apis::RunV1::
|
|
2189
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
2190
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
75
2191
|
command.params['name'] = name unless name.nil?
|
|
76
2192
|
command.query['fields'] = fields unless fields.nil?
|
|
77
2193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
78
2194
|
execute_or_queue_command(command, &block)
|
|
79
2195
|
end
|
|
80
2196
|
|
|
81
|
-
#
|
|
2197
|
+
# List routes.
|
|
2198
|
+
# @param [String] parent
|
|
2199
|
+
# The project ID or project number from which the routes should be listed.
|
|
2200
|
+
# @param [String] continue
|
|
2201
|
+
# Optional encoded string to continue paging.
|
|
2202
|
+
# @param [String] field_selector
|
|
2203
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
2204
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
2205
|
+
# Not currently used by Cloud Run.
|
|
2206
|
+
# @param [Boolean] include_uninitialized
|
|
2207
|
+
# Not currently used by Cloud Run.
|
|
2208
|
+
# @param [String] label_selector
|
|
2209
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
2210
|
+
# =, !=, exists, in, and notIn.
|
|
2211
|
+
# @param [Fixnum] limit
|
|
2212
|
+
# The maximum number of records that should be returned.
|
|
2213
|
+
# @param [String] resource_version
|
|
2214
|
+
# The baseline resource version from which the list or watch operation should
|
|
2215
|
+
# start. Not currently used by Cloud Run.
|
|
2216
|
+
# @param [Boolean] watch
|
|
2217
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
2218
|
+
# Not currently used by Cloud Run.
|
|
2219
|
+
# @param [String] fields
|
|
2220
|
+
# Selector specifying which fields to include in a partial response.
|
|
2221
|
+
# @param [String] quota_user
|
|
2222
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2223
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2224
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2225
|
+
# Request-specific options
|
|
2226
|
+
#
|
|
2227
|
+
# @yield [result, err] Result & error if block supplied
|
|
2228
|
+
# @yieldparam result [Google::Apis::RunV1::ListRoutesResponse] parsed result object
|
|
2229
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2230
|
+
#
|
|
2231
|
+
# @return [Google::Apis::RunV1::ListRoutesResponse]
|
|
2232
|
+
#
|
|
2233
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2234
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2235
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2236
|
+
def list_project_location_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2237
|
+
command = make_simple_command(:get, 'v1/{+parent}/routes', options)
|
|
2238
|
+
command.response_representation = Google::Apis::RunV1::ListRoutesResponse::Representation
|
|
2239
|
+
command.response_class = Google::Apis::RunV1::ListRoutesResponse
|
|
2240
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2241
|
+
command.query['continue'] = continue unless continue.nil?
|
|
2242
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
2243
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
2244
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
2245
|
+
command.query['limit'] = limit unless limit.nil?
|
|
2246
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
2247
|
+
command.query['watch'] = watch unless watch.nil?
|
|
2248
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2250
|
+
execute_or_queue_command(command, &block)
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
# Replace a route.
|
|
2254
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
2255
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
2256
|
+
# match the requested 'spec'.
|
|
2257
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
2258
|
+
# optimistic concurrency control.
|
|
82
2259
|
# @param [String] name
|
|
83
|
-
# The
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
# @param [Fixnum] page_size
|
|
87
|
-
# The standard list page size.
|
|
88
|
-
# @param [String] page_token
|
|
89
|
-
# The standard list page token.
|
|
2260
|
+
# The name of the route being replaced. If needed, replace
|
|
2261
|
+
# `namespace_id` with the project ID.
|
|
2262
|
+
# @param [Google::Apis::RunV1::Route] route_object
|
|
90
2263
|
# @param [String] fields
|
|
91
2264
|
# Selector specifying which fields to include in a partial response.
|
|
92
2265
|
# @param [String] quota_user
|
|
@@ -96,22 +2269,335 @@ module Google
|
|
|
96
2269
|
# Request-specific options
|
|
97
2270
|
#
|
|
98
2271
|
# @yield [result, err] Result & error if block supplied
|
|
99
|
-
# @yieldparam result [Google::Apis::RunV1::
|
|
2272
|
+
# @yieldparam result [Google::Apis::RunV1::Route] parsed result object
|
|
100
2273
|
# @yieldparam err [StandardError] error object if request failed
|
|
101
2274
|
#
|
|
102
|
-
# @return [Google::Apis::RunV1::
|
|
2275
|
+
# @return [Google::Apis::RunV1::Route]
|
|
103
2276
|
#
|
|
104
2277
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
105
2278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
106
2279
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
107
|
-
def
|
|
108
|
-
command = make_simple_command(:
|
|
109
|
-
command.
|
|
110
|
-
command.
|
|
2280
|
+
def replace_project_location_route_route(name, route_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2281
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
2282
|
+
command.request_representation = Google::Apis::RunV1::Route::Representation
|
|
2283
|
+
command.request_object = route_object
|
|
2284
|
+
command.response_representation = Google::Apis::RunV1::Route::Representation
|
|
2285
|
+
command.response_class = Google::Apis::RunV1::Route
|
|
111
2286
|
command.params['name'] = name unless name.nil?
|
|
112
|
-
command.query['
|
|
113
|
-
command.query['
|
|
114
|
-
command
|
|
2287
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2288
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2289
|
+
execute_or_queue_command(command, &block)
|
|
2290
|
+
end
|
|
2291
|
+
|
|
2292
|
+
# Create a service.
|
|
2293
|
+
# @param [String] parent
|
|
2294
|
+
# The project ID or project number in which this service should be created.
|
|
2295
|
+
# @param [Google::Apis::RunV1::Service] service_object
|
|
2296
|
+
# @param [String] fields
|
|
2297
|
+
# Selector specifying which fields to include in a partial response.
|
|
2298
|
+
# @param [String] quota_user
|
|
2299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2301
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2302
|
+
# Request-specific options
|
|
2303
|
+
#
|
|
2304
|
+
# @yield [result, err] Result & error if block supplied
|
|
2305
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
2306
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2307
|
+
#
|
|
2308
|
+
# @return [Google::Apis::RunV1::Service]
|
|
2309
|
+
#
|
|
2310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2313
|
+
def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2314
|
+
command = make_simple_command(:post, 'v1/{+parent}/services', options)
|
|
2315
|
+
command.request_representation = Google::Apis::RunV1::Service::Representation
|
|
2316
|
+
command.request_object = service_object
|
|
2317
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
2318
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
2319
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2320
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2321
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2322
|
+
execute_or_queue_command(command, &block)
|
|
2323
|
+
end
|
|
2324
|
+
|
|
2325
|
+
# Delete a service.
|
|
2326
|
+
# This will cause the Service to stop serving traffic and will delete the
|
|
2327
|
+
# child entities like Routes, Configurations and Revisions.
|
|
2328
|
+
# @param [String] name
|
|
2329
|
+
# The name of the service being deleted. If needed, replace
|
|
2330
|
+
# `namespace_id` with the project ID.
|
|
2331
|
+
# @param [String] api_version
|
|
2332
|
+
# Cloud Run currently ignores this parameter.
|
|
2333
|
+
# @param [String] kind
|
|
2334
|
+
# Cloud Run currently ignores this parameter.
|
|
2335
|
+
# @param [String] propagation_policy
|
|
2336
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
2337
|
+
# this setting, and deletes in the background. Please see
|
|
2338
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
2339
|
+
# more information.
|
|
2340
|
+
# @param [String] fields
|
|
2341
|
+
# Selector specifying which fields to include in a partial response.
|
|
2342
|
+
# @param [String] quota_user
|
|
2343
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2344
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2345
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2346
|
+
# Request-specific options
|
|
2347
|
+
#
|
|
2348
|
+
# @yield [result, err] Result & error if block supplied
|
|
2349
|
+
# @yieldparam result [Google::Apis::RunV1::Status] parsed result object
|
|
2350
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2351
|
+
#
|
|
2352
|
+
# @return [Google::Apis::RunV1::Status]
|
|
2353
|
+
#
|
|
2354
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2355
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2356
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2357
|
+
def delete_project_location_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2358
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2359
|
+
command.response_representation = Google::Apis::RunV1::Status::Representation
|
|
2360
|
+
command.response_class = Google::Apis::RunV1::Status
|
|
2361
|
+
command.params['name'] = name unless name.nil?
|
|
2362
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
2363
|
+
command.query['kind'] = kind unless kind.nil?
|
|
2364
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
2365
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2367
|
+
execute_or_queue_command(command, &block)
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2370
|
+
# Get information about a service.
|
|
2371
|
+
# @param [String] name
|
|
2372
|
+
# The name of the service being retrieved. If needed, replace
|
|
2373
|
+
# `namespace_id` with the project ID.
|
|
2374
|
+
# @param [String] fields
|
|
2375
|
+
# Selector specifying which fields to include in a partial response.
|
|
2376
|
+
# @param [String] quota_user
|
|
2377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2379
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2380
|
+
# Request-specific options
|
|
2381
|
+
#
|
|
2382
|
+
# @yield [result, err] Result & error if block supplied
|
|
2383
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
2384
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2385
|
+
#
|
|
2386
|
+
# @return [Google::Apis::RunV1::Service]
|
|
2387
|
+
#
|
|
2388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2391
|
+
def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2392
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2393
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
2394
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
2395
|
+
command.params['name'] = name unless name.nil?
|
|
2396
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2397
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2398
|
+
execute_or_queue_command(command, &block)
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2401
|
+
# Get the IAM Access Control policy currently in effect for the given
|
|
2402
|
+
# Cloud Run service. This result does not include any inherited policies.
|
|
2403
|
+
# @param [String] resource
|
|
2404
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
2405
|
+
# See the operation documentation for the appropriate value for this field.
|
|
2406
|
+
# @param [Fixnum] options_requested_policy_version
|
|
2407
|
+
# Optional. The policy format version to be returned.
|
|
2408
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
2409
|
+
# rejected.
|
|
2410
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
|
2411
|
+
# Policies without any conditional bindings may specify any valid value or
|
|
2412
|
+
# leave the field unset.
|
|
2413
|
+
# @param [String] fields
|
|
2414
|
+
# Selector specifying which fields to include in a partial response.
|
|
2415
|
+
# @param [String] quota_user
|
|
2416
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2417
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2418
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2419
|
+
# Request-specific options
|
|
2420
|
+
#
|
|
2421
|
+
# @yield [result, err] Result & error if block supplied
|
|
2422
|
+
# @yieldparam result [Google::Apis::RunV1::Policy] parsed result object
|
|
2423
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2424
|
+
#
|
|
2425
|
+
# @return [Google::Apis::RunV1::Policy]
|
|
2426
|
+
#
|
|
2427
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2428
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2429
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2430
|
+
def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2431
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
2432
|
+
command.response_representation = Google::Apis::RunV1::Policy::Representation
|
|
2433
|
+
command.response_class = Google::Apis::RunV1::Policy
|
|
2434
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2435
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
2436
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2437
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2438
|
+
execute_or_queue_command(command, &block)
|
|
2439
|
+
end
|
|
2440
|
+
|
|
2441
|
+
# List services.
|
|
2442
|
+
# @param [String] parent
|
|
2443
|
+
# The project ID or project number from which the services should be listed.
|
|
2444
|
+
# @param [String] continue
|
|
2445
|
+
# Optional encoded string to continue paging.
|
|
2446
|
+
# @param [String] field_selector
|
|
2447
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
2448
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
2449
|
+
# Not currently used by Cloud Run.
|
|
2450
|
+
# @param [Boolean] include_uninitialized
|
|
2451
|
+
# Not currently used by Cloud Run.
|
|
2452
|
+
# @param [String] label_selector
|
|
2453
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
2454
|
+
# =, !=, exists, in, and notIn.
|
|
2455
|
+
# @param [Fixnum] limit
|
|
2456
|
+
# The maximum number of records that should be returned.
|
|
2457
|
+
# @param [String] resource_version
|
|
2458
|
+
# The baseline resource version from which the list or watch operation should
|
|
2459
|
+
# start. Not currently used by Cloud Run.
|
|
2460
|
+
# @param [Boolean] watch
|
|
2461
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
2462
|
+
# Not currently used by Cloud Run.
|
|
2463
|
+
# @param [String] fields
|
|
2464
|
+
# Selector specifying which fields to include in a partial response.
|
|
2465
|
+
# @param [String] quota_user
|
|
2466
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2467
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2468
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2469
|
+
# Request-specific options
|
|
2470
|
+
#
|
|
2471
|
+
# @yield [result, err] Result & error if block supplied
|
|
2472
|
+
# @yieldparam result [Google::Apis::RunV1::ListServicesResponse] parsed result object
|
|
2473
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2474
|
+
#
|
|
2475
|
+
# @return [Google::Apis::RunV1::ListServicesResponse]
|
|
2476
|
+
#
|
|
2477
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2478
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2479
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2480
|
+
def list_project_location_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2481
|
+
command = make_simple_command(:get, 'v1/{+parent}/services', options)
|
|
2482
|
+
command.response_representation = Google::Apis::RunV1::ListServicesResponse::Representation
|
|
2483
|
+
command.response_class = Google::Apis::RunV1::ListServicesResponse
|
|
2484
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2485
|
+
command.query['continue'] = continue unless continue.nil?
|
|
2486
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
2487
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
2488
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
2489
|
+
command.query['limit'] = limit unless limit.nil?
|
|
2490
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
2491
|
+
command.query['watch'] = watch unless watch.nil?
|
|
2492
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2493
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2494
|
+
execute_or_queue_command(command, &block)
|
|
2495
|
+
end
|
|
2496
|
+
|
|
2497
|
+
# Replace a service.
|
|
2498
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
2499
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
2500
|
+
# match the requested 'spec'.
|
|
2501
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
2502
|
+
# optimistic concurrency control.
|
|
2503
|
+
# @param [String] name
|
|
2504
|
+
# The name of the service being replaced. If needed, replace
|
|
2505
|
+
# `namespace_id` with the project ID.
|
|
2506
|
+
# @param [Google::Apis::RunV1::Service] service_object
|
|
2507
|
+
# @param [String] fields
|
|
2508
|
+
# Selector specifying which fields to include in a partial response.
|
|
2509
|
+
# @param [String] quota_user
|
|
2510
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2511
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2512
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2513
|
+
# Request-specific options
|
|
2514
|
+
#
|
|
2515
|
+
# @yield [result, err] Result & error if block supplied
|
|
2516
|
+
# @yieldparam result [Google::Apis::RunV1::Service] parsed result object
|
|
2517
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2518
|
+
#
|
|
2519
|
+
# @return [Google::Apis::RunV1::Service]
|
|
2520
|
+
#
|
|
2521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2524
|
+
def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2525
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
2526
|
+
command.request_representation = Google::Apis::RunV1::Service::Representation
|
|
2527
|
+
command.request_object = service_object
|
|
2528
|
+
command.response_representation = Google::Apis::RunV1::Service::Representation
|
|
2529
|
+
command.response_class = Google::Apis::RunV1::Service
|
|
2530
|
+
command.params['name'] = name unless name.nil?
|
|
2531
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2532
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2533
|
+
execute_or_queue_command(command, &block)
|
|
2534
|
+
end
|
|
2535
|
+
|
|
2536
|
+
# Sets the IAM Access control policy for the specified Service. Overwrites
|
|
2537
|
+
# any existing policy.
|
|
2538
|
+
# @param [String] resource
|
|
2539
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
2540
|
+
# See the operation documentation for the appropriate value for this field.
|
|
2541
|
+
# @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
2542
|
+
# @param [String] fields
|
|
2543
|
+
# Selector specifying which fields to include in a partial response.
|
|
2544
|
+
# @param [String] quota_user
|
|
2545
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2546
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2547
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2548
|
+
# Request-specific options
|
|
2549
|
+
#
|
|
2550
|
+
# @yield [result, err] Result & error if block supplied
|
|
2551
|
+
# @yieldparam result [Google::Apis::RunV1::Policy] parsed result object
|
|
2552
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2553
|
+
#
|
|
2554
|
+
# @return [Google::Apis::RunV1::Policy]
|
|
2555
|
+
#
|
|
2556
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2557
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2558
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2559
|
+
def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2560
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
2561
|
+
command.request_representation = Google::Apis::RunV1::SetIamPolicyRequest::Representation
|
|
2562
|
+
command.request_object = set_iam_policy_request_object
|
|
2563
|
+
command.response_representation = Google::Apis::RunV1::Policy::Representation
|
|
2564
|
+
command.response_class = Google::Apis::RunV1::Policy
|
|
2565
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2566
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2567
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2568
|
+
execute_or_queue_command(command, &block)
|
|
2569
|
+
end
|
|
2570
|
+
|
|
2571
|
+
# Returns permissions that a caller has on the specified Project.
|
|
2572
|
+
# There are no permissions required for making this API call.
|
|
2573
|
+
# @param [String] resource
|
|
2574
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
2575
|
+
# See the operation documentation for the appropriate value for this field.
|
|
2576
|
+
# @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
2577
|
+
# @param [String] fields
|
|
2578
|
+
# Selector specifying which fields to include in a partial response.
|
|
2579
|
+
# @param [String] quota_user
|
|
2580
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2581
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2582
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2583
|
+
# Request-specific options
|
|
2584
|
+
#
|
|
2585
|
+
# @yield [result, err] Result & error if block supplied
|
|
2586
|
+
# @yieldparam result [Google::Apis::RunV1::TestIamPermissionsResponse] parsed result object
|
|
2587
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2588
|
+
#
|
|
2589
|
+
# @return [Google::Apis::RunV1::TestIamPermissionsResponse]
|
|
2590
|
+
#
|
|
2591
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2592
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2593
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2594
|
+
def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2595
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
2596
|
+
command.request_representation = Google::Apis::RunV1::TestIamPermissionsRequest::Representation
|
|
2597
|
+
command.request_object = test_iam_permissions_request_object
|
|
2598
|
+
command.response_representation = Google::Apis::RunV1::TestIamPermissionsResponse::Representation
|
|
2599
|
+
command.response_class = Google::Apis::RunV1::TestIamPermissionsResponse
|
|
2600
|
+
command.params['resource'] = resource unless resource.nil?
|
|
115
2601
|
command.query['fields'] = fields unless fields.nil?
|
|
116
2602
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
117
2603
|
execute_or_queue_command(command, &block)
|