google-api-client 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +305 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +247 -27
- data/generated/google/apis/apigee_v1/representations.rb +90 -3
- data/generated/google/apis/apigee_v1/service.rb +63 -43
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +86 -18
- data/generated/google/apis/bigquery_v2/representations.rb +18 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
- data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +80 -8
- data/generated/google/apis/container_v1beta1/representations.rb +21 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- 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 +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/content_v2_1/service.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +47 -8
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +2 -2
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +31 -5
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +75 -1
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +183 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +43 -37
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +8 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +194 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +70 -16
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -0,0 +1,173 @@
|
|
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 WorkflowsV1beta
|
24
|
+
|
25
|
+
class Empty
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ListLocationsResponse
|
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 ListWorkflowsResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Location
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Operation
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class OperationMetadata
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Status
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Workflow
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Empty
|
80
|
+
# @private
|
81
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class ListLocationsResponse
|
86
|
+
# @private
|
87
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
88
|
+
collection :locations, as: 'locations', class: Google::Apis::WorkflowsV1beta::Location, decorator: Google::Apis::WorkflowsV1beta::Location::Representation
|
89
|
+
|
90
|
+
property :next_page_token, as: 'nextPageToken'
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class ListOperationsResponse
|
95
|
+
# @private
|
96
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
97
|
+
property :next_page_token, as: 'nextPageToken'
|
98
|
+
collection :operations, as: 'operations', class: Google::Apis::WorkflowsV1beta::Operation, decorator: Google::Apis::WorkflowsV1beta::Operation::Representation
|
99
|
+
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListWorkflowsResponse
|
104
|
+
# @private
|
105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
106
|
+
property :next_page_token, as: 'nextPageToken'
|
107
|
+
collection :unreachable, as: 'unreachable'
|
108
|
+
collection :workflows, as: 'workflows', class: Google::Apis::WorkflowsV1beta::Workflow, decorator: Google::Apis::WorkflowsV1beta::Workflow::Representation
|
109
|
+
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class Location
|
114
|
+
# @private
|
115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
116
|
+
property :display_name, as: 'displayName'
|
117
|
+
hash :labels, as: 'labels'
|
118
|
+
property :location_id, as: 'locationId'
|
119
|
+
hash :metadata, as: 'metadata'
|
120
|
+
property :name, as: 'name'
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
class Operation
|
125
|
+
# @private
|
126
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
127
|
+
property :done, as: 'done'
|
128
|
+
property :error, as: 'error', class: Google::Apis::WorkflowsV1beta::Status, decorator: Google::Apis::WorkflowsV1beta::Status::Representation
|
129
|
+
|
130
|
+
hash :metadata, as: 'metadata'
|
131
|
+
property :name, as: 'name'
|
132
|
+
hash :response, as: 'response'
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class OperationMetadata
|
137
|
+
# @private
|
138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
139
|
+
property :api_version, as: 'apiVersion'
|
140
|
+
property :create_time, as: 'createTime'
|
141
|
+
property :end_time, as: 'endTime'
|
142
|
+
property :target, as: 'target'
|
143
|
+
property :verb, as: 'verb'
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
class Status
|
148
|
+
# @private
|
149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
150
|
+
property :code, as: 'code'
|
151
|
+
collection :details, as: 'details'
|
152
|
+
property :message, as: 'message'
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
class Workflow
|
157
|
+
# @private
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
159
|
+
property :create_time, as: 'createTime'
|
160
|
+
property :description, as: 'description'
|
161
|
+
hash :labels, as: 'labels'
|
162
|
+
property :name, as: 'name'
|
163
|
+
property :revision_create_time, as: 'revisionCreateTime'
|
164
|
+
property :revision_id, as: 'revisionId'
|
165
|
+
property :service_account, as: 'serviceAccount'
|
166
|
+
property :source_contents, as: 'sourceContents'
|
167
|
+
property :state, as: 'state'
|
168
|
+
property :update_time, as: 'updateTime'
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
@@ -0,0 +1,437 @@
|
|
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 WorkflowsV1beta
|
23
|
+
# Workflows API
|
24
|
+
#
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/workflows_v1beta'
|
29
|
+
#
|
30
|
+
# Workflows = Google::Apis::WorkflowsV1beta # Alias the module
|
31
|
+
# service = Workflows::WorkflowsService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/workflows
|
34
|
+
class WorkflowsService < 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://workflows.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Gets information about a location.
|
51
|
+
# @param [String] name
|
52
|
+
# Resource name for the location.
|
53
|
+
# @param [String] fields
|
54
|
+
# Selector specifying which fields to include in a partial response.
|
55
|
+
# @param [String] quota_user
|
56
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
58
|
+
# @param [Google::Apis::RequestOptions] options
|
59
|
+
# Request-specific options
|
60
|
+
#
|
61
|
+
# @yield [result, err] Result & error if block supplied
|
62
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Location] parsed result object
|
63
|
+
# @yieldparam err [StandardError] error object if request failed
|
64
|
+
#
|
65
|
+
# @return [Google::Apis::WorkflowsV1beta::Location]
|
66
|
+
#
|
67
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
72
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Location::Representation
|
73
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Location
|
74
|
+
command.params['name'] = name unless name.nil?
|
75
|
+
command.query['fields'] = fields unless fields.nil?
|
76
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
|
+
execute_or_queue_command(command, &block)
|
78
|
+
end
|
79
|
+
|
80
|
+
# Lists information about the supported locations for this service.
|
81
|
+
# @param [String] name
|
82
|
+
# The resource that owns the locations collection, if applicable.
|
83
|
+
# @param [String] filter
|
84
|
+
# The standard list filter.
|
85
|
+
# @param [Fixnum] page_size
|
86
|
+
# The standard list page size.
|
87
|
+
# @param [String] page_token
|
88
|
+
# The standard list page token.
|
89
|
+
# @param [String] fields
|
90
|
+
# Selector specifying which fields to include in a partial response.
|
91
|
+
# @param [String] quota_user
|
92
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
93
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
94
|
+
# @param [Google::Apis::RequestOptions] options
|
95
|
+
# Request-specific options
|
96
|
+
#
|
97
|
+
# @yield [result, err] Result & error if block supplied
|
98
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::ListLocationsResponse] parsed result object
|
99
|
+
# @yieldparam err [StandardError] error object if request failed
|
100
|
+
#
|
101
|
+
# @return [Google::Apis::WorkflowsV1beta::ListLocationsResponse]
|
102
|
+
#
|
103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
+
command = make_simple_command(:get, 'v1beta/{+name}/locations', options)
|
108
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::ListLocationsResponse::Representation
|
109
|
+
command.response_class = Google::Apis::WorkflowsV1beta::ListLocationsResponse
|
110
|
+
command.params['name'] = name unless name.nil?
|
111
|
+
command.query['filter'] = filter unless filter.nil?
|
112
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
113
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
+
execute_or_queue_command(command, &block)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
120
|
+
# longer interested in the operation result. It does not cancel the operation.
|
121
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
122
|
+
# UNIMPLEMENTED`.
|
123
|
+
# @param [String] name
|
124
|
+
# The name of the operation resource to be deleted.
|
125
|
+
# @param [String] fields
|
126
|
+
# Selector specifying which fields to include in a partial response.
|
127
|
+
# @param [String] quota_user
|
128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
130
|
+
# @param [Google::Apis::RequestOptions] options
|
131
|
+
# Request-specific options
|
132
|
+
#
|
133
|
+
# @yield [result, err] Result & error if block supplied
|
134
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Empty] parsed result object
|
135
|
+
# @yieldparam err [StandardError] error object if request failed
|
136
|
+
#
|
137
|
+
# @return [Google::Apis::WorkflowsV1beta::Empty]
|
138
|
+
#
|
139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
142
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
143
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
144
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Empty::Representation
|
145
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Empty
|
146
|
+
command.params['name'] = name unless name.nil?
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
149
|
+
execute_or_queue_command(command, &block)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
153
|
+
# to poll the operation result at intervals as recommended by the API service.
|
154
|
+
# @param [String] name
|
155
|
+
# The name of the operation resource.
|
156
|
+
# @param [String] fields
|
157
|
+
# Selector specifying which fields to include in a partial response.
|
158
|
+
# @param [String] quota_user
|
159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
161
|
+
# @param [Google::Apis::RequestOptions] options
|
162
|
+
# Request-specific options
|
163
|
+
#
|
164
|
+
# @yield [result, err] Result & error if block supplied
|
165
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Operation] parsed result object
|
166
|
+
# @yieldparam err [StandardError] error object if request failed
|
167
|
+
#
|
168
|
+
# @return [Google::Apis::WorkflowsV1beta::Operation]
|
169
|
+
#
|
170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
173
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
174
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
175
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Operation::Representation
|
176
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Operation
|
177
|
+
command.params['name'] = name unless name.nil?
|
178
|
+
command.query['fields'] = fields unless fields.nil?
|
179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
180
|
+
execute_or_queue_command(command, &block)
|
181
|
+
end
|
182
|
+
|
183
|
+
# Lists operations that match the specified filter in the request. If the server
|
184
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
185
|
+
# binding allows API services to override the binding to use different resource
|
186
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
187
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
188
|
+
# service configuration. For backwards compatibility, the default name includes
|
189
|
+
# the operations collection id, however overriding users must ensure the name
|
190
|
+
# binding is the parent resource, without the operations collection id.
|
191
|
+
# @param [String] name
|
192
|
+
# The name of the operation's parent resource.
|
193
|
+
# @param [String] filter
|
194
|
+
# The standard list filter.
|
195
|
+
# @param [Fixnum] page_size
|
196
|
+
# The standard list page size.
|
197
|
+
# @param [String] page_token
|
198
|
+
# The standard list page token.
|
199
|
+
# @param [String] fields
|
200
|
+
# Selector specifying which fields to include in a partial response.
|
201
|
+
# @param [String] quota_user
|
202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
204
|
+
# @param [Google::Apis::RequestOptions] options
|
205
|
+
# Request-specific options
|
206
|
+
#
|
207
|
+
# @yield [result, err] Result & error if block supplied
|
208
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::ListOperationsResponse] parsed result object
|
209
|
+
# @yieldparam err [StandardError] error object if request failed
|
210
|
+
#
|
211
|
+
# @return [Google::Apis::WorkflowsV1beta::ListOperationsResponse]
|
212
|
+
#
|
213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
216
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
217
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
218
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::ListOperationsResponse::Representation
|
219
|
+
command.response_class = Google::Apis::WorkflowsV1beta::ListOperationsResponse
|
220
|
+
command.params['name'] = name unless name.nil?
|
221
|
+
command.query['filter'] = filter unless filter.nil?
|
222
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
223
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
224
|
+
command.query['fields'] = fields unless fields.nil?
|
225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
226
|
+
execute_or_queue_command(command, &block)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Creates a new workflow. If a workflow with the specified name already exists
|
230
|
+
# in the specified project and location, the long running operation will return
|
231
|
+
# ALREADY_EXISTS error.
|
232
|
+
# @param [String] parent
|
233
|
+
# Required. Project and location in which the workflow should be created. Format:
|
234
|
+
# projects/`project`/locations/`location`
|
235
|
+
# @param [Google::Apis::WorkflowsV1beta::Workflow] workflow_object
|
236
|
+
# @param [String] workflow_id
|
237
|
+
# Required. The ID of the workflow to be created. It has to fulfill the
|
238
|
+
# following requirements: * Must contain only letters, numbers, underscores and
|
239
|
+
# hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must
|
240
|
+
# end with a number or a letter. * Must be unique within the customer project
|
241
|
+
# and location.
|
242
|
+
# @param [String] fields
|
243
|
+
# Selector specifying which fields to include in a partial response.
|
244
|
+
# @param [String] quota_user
|
245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
247
|
+
# @param [Google::Apis::RequestOptions] options
|
248
|
+
# Request-specific options
|
249
|
+
#
|
250
|
+
# @yield [result, err] Result & error if block supplied
|
251
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Operation] parsed result object
|
252
|
+
# @yieldparam err [StandardError] error object if request failed
|
253
|
+
#
|
254
|
+
# @return [Google::Apis::WorkflowsV1beta::Operation]
|
255
|
+
#
|
256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
259
|
+
def create_project_location_workflow(parent, workflow_object = nil, workflow_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
260
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/workflows', options)
|
261
|
+
command.request_representation = Google::Apis::WorkflowsV1beta::Workflow::Representation
|
262
|
+
command.request_object = workflow_object
|
263
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Operation::Representation
|
264
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Operation
|
265
|
+
command.params['parent'] = parent unless parent.nil?
|
266
|
+
command.query['workflowId'] = workflow_id unless workflow_id.nil?
|
267
|
+
command.query['fields'] = fields unless fields.nil?
|
268
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
+
execute_or_queue_command(command, &block)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Deletes a workflow with the specified name. This method also cancels and
|
273
|
+
# deletes all running executions of the workflow.
|
274
|
+
# @param [String] name
|
275
|
+
# Required. Name of the workflow to be deleted. Format: projects/`project`/
|
276
|
+
# locations/`location`/workflows/`workflow`
|
277
|
+
# @param [String] fields
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
279
|
+
# @param [String] quota_user
|
280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
282
|
+
# @param [Google::Apis::RequestOptions] options
|
283
|
+
# Request-specific options
|
284
|
+
#
|
285
|
+
# @yield [result, err] Result & error if block supplied
|
286
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Operation] parsed result object
|
287
|
+
# @yieldparam err [StandardError] error object if request failed
|
288
|
+
#
|
289
|
+
# @return [Google::Apis::WorkflowsV1beta::Operation]
|
290
|
+
#
|
291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
294
|
+
def delete_project_location_workflow(name, fields: nil, quota_user: nil, options: nil, &block)
|
295
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
296
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Operation::Representation
|
297
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Operation
|
298
|
+
command.params['name'] = name unless name.nil?
|
299
|
+
command.query['fields'] = fields unless fields.nil?
|
300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
301
|
+
execute_or_queue_command(command, &block)
|
302
|
+
end
|
303
|
+
|
304
|
+
# Gets details of a single Workflow.
|
305
|
+
# @param [String] name
|
306
|
+
# Required. Name of the workflow which information should be retrieved. Format:
|
307
|
+
# projects/`project`/locations/`location`/workflows/`workflow`
|
308
|
+
# @param [String] fields
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
310
|
+
# @param [String] quota_user
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
314
|
+
# Request-specific options
|
315
|
+
#
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
317
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Workflow] parsed result object
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
319
|
+
#
|
320
|
+
# @return [Google::Apis::WorkflowsV1beta::Workflow]
|
321
|
+
#
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
+
def get_project_location_workflow(name, fields: nil, quota_user: nil, options: nil, &block)
|
326
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
327
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Workflow::Representation
|
328
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Workflow
|
329
|
+
command.params['name'] = name unless name.nil?
|
330
|
+
command.query['fields'] = fields unless fields.nil?
|
331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
332
|
+
execute_or_queue_command(command, &block)
|
333
|
+
end
|
334
|
+
|
335
|
+
# Lists Workflows in a given project and location. The default order is not
|
336
|
+
# specified.
|
337
|
+
# @param [String] parent
|
338
|
+
# Required. Project and location from which the workflows should be listed.
|
339
|
+
# Format: projects/`project`/locations/`location`
|
340
|
+
# @param [String] filter
|
341
|
+
# Filter to restrict results to specific workflows.
|
342
|
+
# @param [String] order_by
|
343
|
+
# Comma-separated list of fields that that specify the order of the results.
|
344
|
+
# Default sorting order for a field is ascending. To specify descending order
|
345
|
+
# for a field, append a " desc" suffix. If not specified, the results will be
|
346
|
+
# returned in an unspecified order.
|
347
|
+
# @param [Fixnum] page_size
|
348
|
+
# Maximum number of workflows to return per call. The service may return fewer
|
349
|
+
# than this value. If the value is not specified, a default value of 500 will be
|
350
|
+
# used. The maximum permitted value is 1000 and values greater than 1000 will be
|
351
|
+
# coerced down to 1000.
|
352
|
+
# @param [String] page_token
|
353
|
+
# A page token, received from a previous `ListWorkflows` call. Provide this to
|
354
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
355
|
+
# to `ListWorkflows` must match the call that provided the page token.
|
356
|
+
# @param [String] fields
|
357
|
+
# Selector specifying which fields to include in a partial response.
|
358
|
+
# @param [String] quota_user
|
359
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
360
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
361
|
+
# @param [Google::Apis::RequestOptions] options
|
362
|
+
# Request-specific options
|
363
|
+
#
|
364
|
+
# @yield [result, err] Result & error if block supplied
|
365
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::ListWorkflowsResponse] parsed result object
|
366
|
+
# @yieldparam err [StandardError] error object if request failed
|
367
|
+
#
|
368
|
+
# @return [Google::Apis::WorkflowsV1beta::ListWorkflowsResponse]
|
369
|
+
#
|
370
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
371
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
372
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
373
|
+
def list_project_location_workflows(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
374
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/workflows', options)
|
375
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::ListWorkflowsResponse::Representation
|
376
|
+
command.response_class = Google::Apis::WorkflowsV1beta::ListWorkflowsResponse
|
377
|
+
command.params['parent'] = parent unless parent.nil?
|
378
|
+
command.query['filter'] = filter unless filter.nil?
|
379
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
380
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
381
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
382
|
+
command.query['fields'] = fields unless fields.nil?
|
383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
384
|
+
execute_or_queue_command(command, &block)
|
385
|
+
end
|
386
|
+
|
387
|
+
# Updates an existing workflow. Running this method has no impact on already
|
388
|
+
# running executions of the workflow. A new revision of the workflow may be
|
389
|
+
# created as a result of a successful update operation. In that case, such
|
390
|
+
# revision will be used in new workflow executions.
|
391
|
+
# @param [String] name
|
392
|
+
# The resource name of the workflow. Format: projects/`project`/locations/`
|
393
|
+
# location`/workflows/`workflow`
|
394
|
+
# @param [Google::Apis::WorkflowsV1beta::Workflow] workflow_object
|
395
|
+
# @param [String] update_mask
|
396
|
+
# List of fields to be updated. If not present, the entire workflow will be
|
397
|
+
# updated.
|
398
|
+
# @param [String] fields
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
400
|
+
# @param [String] quota_user
|
401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
403
|
+
# @param [Google::Apis::RequestOptions] options
|
404
|
+
# Request-specific options
|
405
|
+
#
|
406
|
+
# @yield [result, err] Result & error if block supplied
|
407
|
+
# @yieldparam result [Google::Apis::WorkflowsV1beta::Operation] parsed result object
|
408
|
+
# @yieldparam err [StandardError] error object if request failed
|
409
|
+
#
|
410
|
+
# @return [Google::Apis::WorkflowsV1beta::Operation]
|
411
|
+
#
|
412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
415
|
+
def patch_project_location_workflow(name, workflow_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
416
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
417
|
+
command.request_representation = Google::Apis::WorkflowsV1beta::Workflow::Representation
|
418
|
+
command.request_object = workflow_object
|
419
|
+
command.response_representation = Google::Apis::WorkflowsV1beta::Operation::Representation
|
420
|
+
command.response_class = Google::Apis::WorkflowsV1beta::Operation
|
421
|
+
command.params['name'] = name unless name.nil?
|
422
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
423
|
+
command.query['fields'] = fields unless fields.nil?
|
424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
425
|
+
execute_or_queue_command(command, &block)
|
426
|
+
end
|
427
|
+
|
428
|
+
protected
|
429
|
+
|
430
|
+
def apply_command_defaults(command)
|
431
|
+
command.query['key'] = key unless key.nil?
|
432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
433
|
+
end
|
434
|
+
end
|
435
|
+
end
|
436
|
+
end
|
437
|
+
end
|