google-api-client 0.30.8 → 0.30.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -0
- data/README.md +1 -1
- data/api_names.yaml +16 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
- data/generated/google/apis/admin_directory_v1/service.rb +11 -10
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +6 -0
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +137 -5
- data/generated/google/apis/bigquery_v2/representations.rb +64 -0
- data/generated/google/apis/bigquery_v2/service.rb +5 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
- data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
- data/generated/google/apis/cloudkms_v1/service.rb +28 -16
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
- data/generated/google/apis/compute_v1/service.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +10 -5
- data/generated/google/apis/content_v2/service.rb +3 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +618 -6
- data/generated/google/apis/content_v2_1/representations.rb +271 -0
- data/generated/google/apis/content_v2_1/service.rb +357 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -8
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +121 -57
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +94 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +6 -6
- data/generated/google/apis/drive_v3/service.rb +6 -6
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +419 -0
- data/generated/google/apis/fcm_v1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +12 -1
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +12 -1
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +1 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
- data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +31 -1
- data/generated/google/apis/iam_v1/representations.rb +14 -0
- data/generated/google/apis/iam_v1/service.rb +45 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +2 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +63 -9
- data/generated/google/apis/ml_v1/representations.rb +16 -1
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -2
- data/generated/google/apis/monitoring_v3/representations.rb +4 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +7 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +12 -11
- data/generated/google/apis/pubsub_v1/service.rb +3 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +25 -0
- data/generated/google/apis/run_v1/representations.rb +15 -0
- data/generated/google/apis/run_v1/service.rb +39 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
- data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1/service.rb +19 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
- data/generated/google/apis/serviceusage_v1/service.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +53 -10
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +50 -54
- data/generated/google/apis/spanner_v1/service.rb +8 -15
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
- data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
- data/generated/google/apis/speech_v2beta/classes.rb +355 -0
- data/generated/google/apis/speech_v2beta/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta/service.rb +138 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1/representations.rb +2 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
- data/generated/google/apis/translate_v3beta1/service.rb +82 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +579 -0
- data/generated/google/apis/vision_v1/representations.rb +172 -0
- data/generated/google/apis/vision_v1/service.rb +404 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
- data/generated/google/apis/websecurityscanner_v1.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +322 -0
- data/generated/google/apis/youtube_v3/representations.rb +139 -0
- data/generated/google/apis/youtube_v3/service.rb +85 -0
- data/lib/google/api_client/client_secrets.rb +1 -2
- data/lib/google/apis/core/api_command.rb +12 -0
- data/lib/google/apis/core/batch.rb +2 -0
- data/lib/google/apis/core/http_command.rb +8 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -6
- data/generated/google/apis/run_v1beta1/classes.rb +0 -98
- data/generated/google/apis/run_v1beta1/representations.rb +0 -58
- data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -499,6 +499,9 @@ module Google
|
|
499
499
|
# only jobs created after or at this timestamp are returned
|
500
500
|
# @param [String] page_token
|
501
501
|
# Page token, returned by a previous call, to request the next page of results
|
502
|
+
# @param [String] parent_job_id
|
503
|
+
# If set, retrieves only jobs whose parent is this job. Otherwise, retrieves
|
504
|
+
# only jobs which have no parent
|
502
505
|
# @param [String] projection
|
503
506
|
# Restrict information returned to a set of selected fields
|
504
507
|
# @param [Array<String>, String] state_filter
|
@@ -522,7 +525,7 @@ module Google
|
|
522
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
523
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
524
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
525
|
-
def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
528
|
+
def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, parent_job_id: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
526
529
|
command = make_simple_command(:get, 'projects/{projectId}/jobs', options)
|
527
530
|
command.response_representation = Google::Apis::BigqueryV2::JobList::Representation
|
528
531
|
command.response_class = Google::Apis::BigqueryV2::JobList
|
@@ -532,6 +535,7 @@ module Google
|
|
532
535
|
command.query['maxResults'] = max_results unless max_results.nil?
|
533
536
|
command.query['minCreationTime'] = min_creation_time unless min_creation_time.nil?
|
534
537
|
command.query['pageToken'] = page_token unless page_token.nil?
|
538
|
+
command.query['parentJobId'] = parent_job_id unless parent_job_id.nil?
|
535
539
|
command.query['projection'] = projection unless projection.nil?
|
536
540
|
command.query['stateFilter'] = state_filter unless state_filter.nil?
|
537
541
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,11 +26,14 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190811'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
33
33
|
|
34
|
+
# View your data in Google BigQuery
|
35
|
+
AUTH_BIGQUERY_READONLY = 'https://www.googleapis.com/auth/bigquery.readonly'
|
36
|
+
|
34
37
|
# View and manage your data across Google Cloud Platform services
|
35
38
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
39
|
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/bigqueryreservation_v1/service.rb'
|
16
|
+
require 'google/apis/bigqueryreservation_v1/classes.rb'
|
17
|
+
require 'google/apis/bigqueryreservation_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# BigQuery Reservation API
|
22
|
+
#
|
23
|
+
# A service to modify your BigQuery flat-rate reservations.
|
24
|
+
#
|
25
|
+
# @see https://cloud.google.com/bigquery/
|
26
|
+
module BigqueryreservationV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20190816'
|
29
|
+
|
30
|
+
# View and manage your data in Google BigQuery
|
31
|
+
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
32
|
+
|
33
|
+
# View and manage your data across Google Cloud Platform services
|
34
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,216 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module BigqueryreservationV1
|
24
|
+
|
25
|
+
# The metadata for operation returned from
|
26
|
+
# ReservationService.CreateSlotPool.
|
27
|
+
class CreateSlotPoolMetadata
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# Resource name of the slot pool that is being created. E.g.,
|
31
|
+
# projects/myproject/locations/us-central1/reservations/foo/slotPools/123
|
32
|
+
# Corresponds to the JSON property `slotPool`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :slot_pool
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@slot_pool = args[:slot_pool] if args.key?(:slot_pool)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
47
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
48
|
+
# or the response type of an API method. For instance:
|
49
|
+
# service Foo `
|
50
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
51
|
+
# `
|
52
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
53
|
+
class Empty
|
54
|
+
include Google::Apis::Core::Hashable
|
55
|
+
|
56
|
+
def initialize(**args)
|
57
|
+
update!(**args)
|
58
|
+
end
|
59
|
+
|
60
|
+
# Update properties of this object
|
61
|
+
def update!(**args)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# The response message for Operations.ListOperations.
|
66
|
+
class ListOperationsResponse
|
67
|
+
include Google::Apis::Core::Hashable
|
68
|
+
|
69
|
+
# The standard List next-page token.
|
70
|
+
# Corresponds to the JSON property `nextPageToken`
|
71
|
+
# @return [String]
|
72
|
+
attr_accessor :next_page_token
|
73
|
+
|
74
|
+
# A list of operations that matches the specified filter in the request.
|
75
|
+
# Corresponds to the JSON property `operations`
|
76
|
+
# @return [Array<Google::Apis::BigqueryreservationV1::Operation>]
|
77
|
+
attr_accessor :operations
|
78
|
+
|
79
|
+
def initialize(**args)
|
80
|
+
update!(**args)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Update properties of this object
|
84
|
+
def update!(**args)
|
85
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
86
|
+
@operations = args[:operations] if args.key?(:operations)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# BigQuery-specific metadata about a location. This will be set on
|
91
|
+
# google.cloud.location.Location.metadata in Cloud Location API
|
92
|
+
# responses.
|
93
|
+
class LocationMetadata
|
94
|
+
include Google::Apis::Core::Hashable
|
95
|
+
|
96
|
+
# The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
|
97
|
+
# This is for any API consumers that need the legacy “US” and “EU” locations.
|
98
|
+
# Corresponds to the JSON property `legacyLocationId`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :legacy_location_id
|
101
|
+
|
102
|
+
def initialize(**args)
|
103
|
+
update!(**args)
|
104
|
+
end
|
105
|
+
|
106
|
+
# Update properties of this object
|
107
|
+
def update!(**args)
|
108
|
+
@legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# This resource represents a long-running operation that is the result of a
|
113
|
+
# network API call.
|
114
|
+
class Operation
|
115
|
+
include Google::Apis::Core::Hashable
|
116
|
+
|
117
|
+
# If the value is `false`, it means the operation is still in progress.
|
118
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
119
|
+
# available.
|
120
|
+
# Corresponds to the JSON property `done`
|
121
|
+
# @return [Boolean]
|
122
|
+
attr_accessor :done
|
123
|
+
alias_method :done?, :done
|
124
|
+
|
125
|
+
# The `Status` type defines a logical error model that is suitable for
|
126
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
127
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
128
|
+
# three pieces of data: error code, error message, and error details.
|
129
|
+
# You can find out more about this error model and how to work with it in the
|
130
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
131
|
+
# Corresponds to the JSON property `error`
|
132
|
+
# @return [Google::Apis::BigqueryreservationV1::Status]
|
133
|
+
attr_accessor :error
|
134
|
+
|
135
|
+
# Service-specific metadata associated with the operation. It typically
|
136
|
+
# contains progress information and common metadata such as create time.
|
137
|
+
# Some services might not provide such metadata. Any method that returns a
|
138
|
+
# long-running operation should document the metadata type, if any.
|
139
|
+
# Corresponds to the JSON property `metadata`
|
140
|
+
# @return [Hash<String,Object>]
|
141
|
+
attr_accessor :metadata
|
142
|
+
|
143
|
+
# The server-assigned name, which is only unique within the same service that
|
144
|
+
# originally returns it. If you use the default HTTP mapping, the
|
145
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
146
|
+
# Corresponds to the JSON property `name`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :name
|
149
|
+
|
150
|
+
# The normal response of the operation in case of success. If the original
|
151
|
+
# method returns no data on success, such as `Delete`, the response is
|
152
|
+
# `google.protobuf.Empty`. If the original method is standard
|
153
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
154
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
155
|
+
# is the original method name. For example, if the original method name
|
156
|
+
# is `TakeSnapshot()`, the inferred response type is
|
157
|
+
# `TakeSnapshotResponse`.
|
158
|
+
# Corresponds to the JSON property `response`
|
159
|
+
# @return [Hash<String,Object>]
|
160
|
+
attr_accessor :response
|
161
|
+
|
162
|
+
def initialize(**args)
|
163
|
+
update!(**args)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Update properties of this object
|
167
|
+
def update!(**args)
|
168
|
+
@done = args[:done] if args.key?(:done)
|
169
|
+
@error = args[:error] if args.key?(:error)
|
170
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
171
|
+
@name = args[:name] if args.key?(:name)
|
172
|
+
@response = args[:response] if args.key?(:response)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# The `Status` type defines a logical error model that is suitable for
|
177
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
178
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
179
|
+
# three pieces of data: error code, error message, and error details.
|
180
|
+
# You can find out more about this error model and how to work with it in the
|
181
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
182
|
+
class Status
|
183
|
+
include Google::Apis::Core::Hashable
|
184
|
+
|
185
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
186
|
+
# Corresponds to the JSON property `code`
|
187
|
+
# @return [Fixnum]
|
188
|
+
attr_accessor :code
|
189
|
+
|
190
|
+
# A list of messages that carry the error details. There is a common set of
|
191
|
+
# message types for APIs to use.
|
192
|
+
# Corresponds to the JSON property `details`
|
193
|
+
# @return [Array<Hash<String,Object>>]
|
194
|
+
attr_accessor :details
|
195
|
+
|
196
|
+
# A developer-facing error message, which should be in English. Any
|
197
|
+
# user-facing error message should be localized and sent in the
|
198
|
+
# google.rpc.Status.details field, or localized by the client.
|
199
|
+
# Corresponds to the JSON property `message`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :message
|
202
|
+
|
203
|
+
def initialize(**args)
|
204
|
+
update!(**args)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Update properties of this object
|
208
|
+
def update!(**args)
|
209
|
+
@code = args[:code] if args.key?(:code)
|
210
|
+
@details = args[:details] if args.key?(:details)
|
211
|
+
@message = args[:message] if args.key?(:message)
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module BigqueryreservationV1
|
24
|
+
|
25
|
+
class CreateSlotPoolMetadata
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Empty
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ListOperationsResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class LocationMetadata
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Operation
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Status
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CreateSlotPoolMetadata
|
62
|
+
# @private
|
63
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
64
|
+
property :slot_pool, as: 'slotPool'
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class Empty
|
69
|
+
# @private
|
70
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class ListOperationsResponse
|
75
|
+
# @private
|
76
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
77
|
+
property :next_page_token, as: 'nextPageToken'
|
78
|
+
collection :operations, as: 'operations', class: Google::Apis::BigqueryreservationV1::Operation, decorator: Google::Apis::BigqueryreservationV1::Operation::Representation
|
79
|
+
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
class LocationMetadata
|
84
|
+
# @private
|
85
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
86
|
+
property :legacy_location_id, as: 'legacyLocationId'
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class Operation
|
91
|
+
# @private
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
93
|
+
property :done, as: 'done'
|
94
|
+
property :error, as: 'error', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
|
95
|
+
|
96
|
+
hash :metadata, as: 'metadata'
|
97
|
+
property :name, as: 'name'
|
98
|
+
hash :response, as: 'response'
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
class Status
|
103
|
+
# @private
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
105
|
+
property :code, as: 'code'
|
106
|
+
collection :details, as: 'details'
|
107
|
+
property :message, as: 'message'
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module BigqueryreservationV1
|
23
|
+
# BigQuery Reservation API
|
24
|
+
#
|
25
|
+
# A service to modify your BigQuery flat-rate reservations.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/bigqueryreservation_v1'
|
29
|
+
#
|
30
|
+
# Bigqueryreservation = Google::Apis::BigqueryreservationV1 # Alias the module
|
31
|
+
# service = Bigqueryreservation::BigQueryReservationService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/bigquery/
|
34
|
+
class BigQueryReservationService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://bigqueryreservation.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Deletes a long-running operation. This method indicates that the client is
|
51
|
+
# no longer interested in the operation result. It does not cancel the
|
52
|
+
# operation. If the server doesn't support this method, it returns
|
53
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
54
|
+
# @param [String] name
|
55
|
+
# The name of the operation resource to be deleted.
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::BigqueryreservationV1::Empty]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
|
76
|
+
command.response_class = Google::Apis::BigqueryreservationV1::Empty
|
77
|
+
command.params['name'] = name unless name.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
execute_or_queue_command(command, &block)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Lists operations that match the specified filter in the request. If the
|
84
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
85
|
+
# NOTE: the `name` binding allows API services to override the binding
|
86
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
87
|
+
# override the binding, API services can add a binding such as
|
88
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
89
|
+
# For backwards compatibility, the default name includes the operations
|
90
|
+
# collection id, however overriding users must ensure the name binding
|
91
|
+
# is the parent resource, without the operations collection id.
|
92
|
+
# @param [String] name
|
93
|
+
# The name of the operation's parent resource.
|
94
|
+
# @param [String] filter
|
95
|
+
# The standard list filter.
|
96
|
+
# @param [Fixnum] page_size
|
97
|
+
# The standard list page size.
|
98
|
+
# @param [String] page_token
|
99
|
+
# The standard list page token.
|
100
|
+
# @param [String] fields
|
101
|
+
# Selector specifying which fields to include in a partial response.
|
102
|
+
# @param [String] quota_user
|
103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::BigqueryreservationV1::ListOperationsResponse] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::BigqueryreservationV1::ListOperationsResponse]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
119
|
+
command.response_representation = Google::Apis::BigqueryreservationV1::ListOperationsResponse::Representation
|
120
|
+
command.response_class = Google::Apis::BigqueryreservationV1::ListOperationsResponse
|
121
|
+
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['filter'] = filter unless filter.nil?
|
123
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
124
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
125
|
+
command.query['fields'] = fields unless fields.nil?
|
126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
127
|
+
execute_or_queue_command(command, &block)
|
128
|
+
end
|
129
|
+
|
130
|
+
protected
|
131
|
+
|
132
|
+
def apply_command_defaults(command)
|
133
|
+
command.query['key'] = key unless key.nil?
|
134
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|