google-api-client 0.46.2 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +79 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +736 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +378 -138
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +674 -56
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +78 -0
- data/generated/google/apis/bigquery_v2/representations.rb +34 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- 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 +2 -9
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +289 -31
- data/generated/google/apis/compute_v1/representations.rb +44 -0
- data/generated/google/apis/compute_v1/service.rb +695 -545
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +29 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +514 -1222
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
- data/generated/google/apis/content_v2_1/representations.rb +420 -0
- data/generated/google/apis/content_v2_1/service.rb +1127 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +95 -12
- data/generated/google/apis/dataproc_v1/representations.rb +23 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
- data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
- data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
- data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
- data/generated/google/apis/displayvideo_v1/service.rb +342 -38
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +35 -29
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v2/service.rb +26 -58
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -8
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +353 -0
- data/generated/google/apis/games_v1/representations.rb +145 -0
- data/generated/google/apis/games_v1/service.rb +67 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +24 -17
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +109 -11
- data/generated/google/apis/iam_v1/representations.rb +33 -1
- data/generated/google/apis/iam_v1/service.rb +63 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +34 -31
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +191 -14
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +272 -84
- data/generated/google/apis/ml_v1/representations.rb +43 -1
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +16 -9
- data/generated/google/apis/monitoring_v3/service.rb +55 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
- data/generated/google/apis/notebooks_v1/representations.rb +580 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +10 -6
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +3 -3
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +332 -7
- data/generated/google/apis/sheets_v4/representations.rb +102 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +10 -8
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +6 -6
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +53 -24
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -0,0 +1,1762 @@
|
|
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 DatalabelingV1beta1
|
23
|
+
# Data Labeling API
|
24
|
+
#
|
25
|
+
# Public API for Google Cloud AI Data Labeling Service.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/datalabeling_v1beta1'
|
29
|
+
#
|
30
|
+
# Datalabeling = Google::Apis::DatalabelingV1beta1 # Alias the module
|
31
|
+
# service = Datalabeling::DataLabelingService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/data-labeling/docs/
|
34
|
+
class DataLabelingService < 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://datalabeling.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Creates an annotation spec set by providing a set of labels.
|
51
|
+
# @param [String] parent
|
52
|
+
# Required. AnnotationSpecSet resource parent, format: projects/`project_id`
|
53
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest] google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object
|
54
|
+
# @param [String] fields
|
55
|
+
# Selector specifying which fields to include in a partial response.
|
56
|
+
# @param [String] quota_user
|
57
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
58
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
+
# @param [Google::Apis::RequestOptions] options
|
60
|
+
# Request-specific options
|
61
|
+
#
|
62
|
+
# @yield [result, err] Result & error if block supplied
|
63
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] parsed result object
|
64
|
+
# @yieldparam err [StandardError] error object if request failed
|
65
|
+
#
|
66
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet]
|
67
|
+
#
|
68
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
+
def create_project_annotation_spec_set(parent, google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/annotationSpecSets', options)
|
73
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest::Representation
|
74
|
+
command.request_object = google_cloud_datalabeling_v1beta1_create_annotation_spec_set_request_object
|
75
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation
|
76
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet
|
77
|
+
command.params['parent'] = parent unless parent.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
|
+
# Deletes an annotation spec set by resource name.
|
84
|
+
# @param [String] name
|
85
|
+
# Required. AnnotationSpec resource name, format: `projects/`project_id`/
|
86
|
+
# annotationSpecSets/`annotation_spec_set_id``.
|
87
|
+
# @param [String] fields
|
88
|
+
# Selector specifying which fields to include in a partial response.
|
89
|
+
# @param [String] quota_user
|
90
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
91
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
92
|
+
# @param [Google::Apis::RequestOptions] options
|
93
|
+
# Request-specific options
|
94
|
+
#
|
95
|
+
# @yield [result, err] Result & error if block supplied
|
96
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
97
|
+
# @yieldparam err [StandardError] error object if request failed
|
98
|
+
#
|
99
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
100
|
+
#
|
101
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
+
def delete_project_annotation_spec_set(name, fields: nil, quota_user: nil, options: nil, &block)
|
105
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
106
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
107
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
108
|
+
command.params['name'] = name unless name.nil?
|
109
|
+
command.query['fields'] = fields unless fields.nil?
|
110
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
|
+
execute_or_queue_command(command, &block)
|
112
|
+
end
|
113
|
+
|
114
|
+
# Gets an annotation spec set by resource name.
|
115
|
+
# @param [String] name
|
116
|
+
# Required. AnnotationSpecSet resource name, format: projects/`project_id`/
|
117
|
+
# annotationSpecSets/`annotation_spec_set_id`
|
118
|
+
# @param [String] fields
|
119
|
+
# Selector specifying which fields to include in a partial response.
|
120
|
+
# @param [String] quota_user
|
121
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
122
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
123
|
+
# @param [Google::Apis::RequestOptions] options
|
124
|
+
# Request-specific options
|
125
|
+
#
|
126
|
+
# @yield [result, err] Result & error if block supplied
|
127
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet] parsed result object
|
128
|
+
# @yieldparam err [StandardError] error object if request failed
|
129
|
+
#
|
130
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet]
|
131
|
+
#
|
132
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
133
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
134
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
135
|
+
def get_project_annotation_spec_set(name, fields: nil, quota_user: nil, options: nil, &block)
|
136
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
137
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet::Representation
|
138
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpecSet
|
139
|
+
command.params['name'] = name unless name.nil?
|
140
|
+
command.query['fields'] = fields unless fields.nil?
|
141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
142
|
+
execute_or_queue_command(command, &block)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Lists annotation spec sets for a project. Pagination is supported.
|
146
|
+
# @param [String] parent
|
147
|
+
# Required. Parent of AnnotationSpecSet resource, format: projects/`project_id`
|
148
|
+
# @param [String] filter
|
149
|
+
# Optional. Filter is not supported at this moment.
|
150
|
+
# @param [Fixnum] page_size
|
151
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
152
|
+
# Default value is 100.
|
153
|
+
# @param [String] page_token
|
154
|
+
# Optional. A token identifying a page of results for the server to return.
|
155
|
+
# Typically obtained by ListAnnotationSpecSetsResponse.next_page_token of the
|
156
|
+
# previous [DataLabelingService.ListAnnotationSpecSets] call. Return first page
|
157
|
+
# if empty.
|
158
|
+
# @param [String] fields
|
159
|
+
# Selector specifying which fields to include in a partial response.
|
160
|
+
# @param [String] quota_user
|
161
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
162
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
163
|
+
# @param [Google::Apis::RequestOptions] options
|
164
|
+
# Request-specific options
|
165
|
+
#
|
166
|
+
# @yield [result, err] Result & error if block supplied
|
167
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse] parsed result object
|
168
|
+
# @yieldparam err [StandardError] error object if request failed
|
169
|
+
#
|
170
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse]
|
171
|
+
#
|
172
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
173
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
174
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
175
|
+
def list_project_annotation_spec_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
176
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/annotationSpecSets', options)
|
177
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse::Representation
|
178
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse
|
179
|
+
command.params['parent'] = parent unless parent.nil?
|
180
|
+
command.query['filter'] = filter unless filter.nil?
|
181
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
182
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
183
|
+
command.query['fields'] = fields unless fields.nil?
|
184
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
185
|
+
execute_or_queue_command(command, &block)
|
186
|
+
end
|
187
|
+
|
188
|
+
# Creates dataset. If success return a Dataset resource.
|
189
|
+
# @param [String] parent
|
190
|
+
# Required. Dataset resource parent, format: projects/`project_id`
|
191
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest] google_cloud_datalabeling_v1beta1_create_dataset_request_object
|
192
|
+
# @param [String] fields
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
194
|
+
# @param [String] quota_user
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
198
|
+
# Request-specific options
|
199
|
+
#
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
201
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] parsed result object
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
203
|
+
#
|
204
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset]
|
205
|
+
#
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
209
|
+
def create_project_dataset(parent, google_cloud_datalabeling_v1beta1_create_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
210
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/datasets', options)
|
211
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateDatasetRequest::Representation
|
212
|
+
command.request_object = google_cloud_datalabeling_v1beta1_create_dataset_request_object
|
213
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation
|
214
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset
|
215
|
+
command.params['parent'] = parent unless parent.nil?
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
|
+
execute_or_queue_command(command, &block)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Deletes a dataset by resource name.
|
222
|
+
# @param [String] name
|
223
|
+
# Required. Dataset resource name, format: projects/`project_id`/datasets/`
|
224
|
+
# dataset_id`
|
225
|
+
# @param [String] fields
|
226
|
+
# Selector specifying which fields to include in a partial response.
|
227
|
+
# @param [String] quota_user
|
228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
230
|
+
# @param [Google::Apis::RequestOptions] options
|
231
|
+
# Request-specific options
|
232
|
+
#
|
233
|
+
# @yield [result, err] Result & error if block supplied
|
234
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
235
|
+
# @yieldparam err [StandardError] error object if request failed
|
236
|
+
#
|
237
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
238
|
+
#
|
239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
242
|
+
def delete_project_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
243
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
244
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
245
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
246
|
+
command.params['name'] = name unless name.nil?
|
247
|
+
command.query['fields'] = fields unless fields.nil?
|
248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
249
|
+
execute_or_queue_command(command, &block)
|
250
|
+
end
|
251
|
+
|
252
|
+
# Exports data and annotations from dataset.
|
253
|
+
# @param [String] name
|
254
|
+
# Required. Dataset resource name, format: projects/`project_id`/datasets/`
|
255
|
+
# dataset_id`
|
256
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataRequest] google_cloud_datalabeling_v1beta1_export_data_request_object
|
257
|
+
# @param [String] fields
|
258
|
+
# Selector specifying which fields to include in a partial response.
|
259
|
+
# @param [String] quota_user
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
262
|
+
# @param [Google::Apis::RequestOptions] options
|
263
|
+
# Request-specific options
|
264
|
+
#
|
265
|
+
# @yield [result, err] Result & error if block supplied
|
266
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
267
|
+
# @yieldparam err [StandardError] error object if request failed
|
268
|
+
#
|
269
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
270
|
+
#
|
271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
|
+
def export_project_dataset_data(name, google_cloud_datalabeling_v1beta1_export_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:exportData', options)
|
276
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataRequest::Representation
|
277
|
+
command.request_object = google_cloud_datalabeling_v1beta1_export_data_request_object
|
278
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
279
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
280
|
+
command.params['name'] = name unless name.nil?
|
281
|
+
command.query['fields'] = fields unless fields.nil?
|
282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
283
|
+
execute_or_queue_command(command, &block)
|
284
|
+
end
|
285
|
+
|
286
|
+
# Gets dataset by resource name.
|
287
|
+
# @param [String] name
|
288
|
+
# Required. Dataset resource name, format: projects/`project_id`/datasets/`
|
289
|
+
# dataset_id`
|
290
|
+
# @param [String] fields
|
291
|
+
# Selector specifying which fields to include in a partial response.
|
292
|
+
# @param [String] quota_user
|
293
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
294
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
295
|
+
# @param [Google::Apis::RequestOptions] options
|
296
|
+
# Request-specific options
|
297
|
+
#
|
298
|
+
# @yield [result, err] Result & error if block supplied
|
299
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset] parsed result object
|
300
|
+
# @yieldparam err [StandardError] error object if request failed
|
301
|
+
#
|
302
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset]
|
303
|
+
#
|
304
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
305
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
306
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
307
|
+
def get_project_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
308
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
309
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset::Representation
|
310
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Dataset
|
311
|
+
command.params['name'] = name unless name.nil?
|
312
|
+
command.query['fields'] = fields unless fields.nil?
|
313
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
314
|
+
execute_or_queue_command(command, &block)
|
315
|
+
end
|
316
|
+
|
317
|
+
# Imports data into dataset based on source locations defined in request. It can
|
318
|
+
# be called multiple times for the same dataset. Each dataset can only have one
|
319
|
+
# long running operation running on it. For example, no labeling task (also long
|
320
|
+
# running operation) can be started while importing is still ongoing. Vice versa.
|
321
|
+
# @param [String] name
|
322
|
+
# Required. Dataset resource name, format: projects/`project_id`/datasets/`
|
323
|
+
# dataset_id`
|
324
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImportDataRequest] google_cloud_datalabeling_v1beta1_import_data_request_object
|
325
|
+
# @param [String] fields
|
326
|
+
# Selector specifying which fields to include in a partial response.
|
327
|
+
# @param [String] quota_user
|
328
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
329
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
330
|
+
# @param [Google::Apis::RequestOptions] options
|
331
|
+
# Request-specific options
|
332
|
+
#
|
333
|
+
# @yield [result, err] Result & error if block supplied
|
334
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
335
|
+
# @yieldparam err [StandardError] error object if request failed
|
336
|
+
#
|
337
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
338
|
+
#
|
339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
342
|
+
def import_project_dataset_data(name, google_cloud_datalabeling_v1beta1_import_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
343
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:importData', options)
|
344
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImportDataRequest::Representation
|
345
|
+
command.request_object = google_cloud_datalabeling_v1beta1_import_data_request_object
|
346
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
347
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
348
|
+
command.params['name'] = name unless name.nil?
|
349
|
+
command.query['fields'] = fields unless fields.nil?
|
350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
351
|
+
execute_or_queue_command(command, &block)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Lists datasets under a project. Pagination is supported.
|
355
|
+
# @param [String] parent
|
356
|
+
# Required. Dataset resource parent, format: projects/`project_id`
|
357
|
+
# @param [String] filter
|
358
|
+
# Optional. Filter on dataset is not supported at this moment.
|
359
|
+
# @param [Fixnum] page_size
|
360
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
361
|
+
# Default value is 100.
|
362
|
+
# @param [String] page_token
|
363
|
+
# Optional. A token identifying a page of results for the server to return.
|
364
|
+
# Typically obtained by ListDatasetsResponse.next_page_token of the previous [
|
365
|
+
# DataLabelingService.ListDatasets] call. Returns the first page if empty.
|
366
|
+
# @param [String] fields
|
367
|
+
# Selector specifying which fields to include in a partial response.
|
368
|
+
# @param [String] quota_user
|
369
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
370
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
371
|
+
# @param [Google::Apis::RequestOptions] options
|
372
|
+
# Request-specific options
|
373
|
+
#
|
374
|
+
# @yield [result, err] Result & error if block supplied
|
375
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse] parsed result object
|
376
|
+
# @yieldparam err [StandardError] error object if request failed
|
377
|
+
#
|
378
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse]
|
379
|
+
#
|
380
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
381
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
382
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
383
|
+
def list_project_datasets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
384
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/datasets', options)
|
385
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse::Representation
|
386
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDatasetsResponse
|
387
|
+
command.params['parent'] = parent unless parent.nil?
|
388
|
+
command.query['filter'] = filter unless filter.nil?
|
389
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
390
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
391
|
+
command.query['fields'] = fields unless fields.nil?
|
392
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
393
|
+
execute_or_queue_command(command, &block)
|
394
|
+
end
|
395
|
+
|
396
|
+
# Deletes an annotated dataset by resource name.
|
397
|
+
# @param [String] name
|
398
|
+
# Required. Name of the annotated dataset to delete, format: projects/`
|
399
|
+
# project_id`/datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id`
|
400
|
+
# @param [String] fields
|
401
|
+
# Selector specifying which fields to include in a partial response.
|
402
|
+
# @param [String] quota_user
|
403
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
404
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
405
|
+
# @param [Google::Apis::RequestOptions] options
|
406
|
+
# Request-specific options
|
407
|
+
#
|
408
|
+
# @yield [result, err] Result & error if block supplied
|
409
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
410
|
+
# @yieldparam err [StandardError] error object if request failed
|
411
|
+
#
|
412
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
413
|
+
#
|
414
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
415
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
|
+
def delete_project_dataset_annotated_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
418
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
419
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
420
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
421
|
+
command.params['name'] = name unless name.nil?
|
422
|
+
command.query['fields'] = fields unless fields.nil?
|
423
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
424
|
+
execute_or_queue_command(command, &block)
|
425
|
+
end
|
426
|
+
|
427
|
+
# Gets an annotated dataset by resource name.
|
428
|
+
# @param [String] name
|
429
|
+
# Required. Name of the annotated dataset to get, format: projects/`project_id`/
|
430
|
+
# datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id`
|
431
|
+
# @param [String] fields
|
432
|
+
# Selector specifying which fields to include in a partial response.
|
433
|
+
# @param [String] quota_user
|
434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
436
|
+
# @param [Google::Apis::RequestOptions] options
|
437
|
+
# Request-specific options
|
438
|
+
#
|
439
|
+
# @yield [result, err] Result & error if block supplied
|
440
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset] parsed result object
|
441
|
+
# @yieldparam err [StandardError] error object if request failed
|
442
|
+
#
|
443
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset]
|
444
|
+
#
|
445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
448
|
+
def get_project_dataset_annotated_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
449
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
450
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset::Representation
|
451
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset
|
452
|
+
command.params['name'] = name unless name.nil?
|
453
|
+
command.query['fields'] = fields unless fields.nil?
|
454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
455
|
+
execute_or_queue_command(command, &block)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Lists annotated datasets for a dataset. Pagination is supported.
|
459
|
+
# @param [String] parent
|
460
|
+
# Required. Name of the dataset to list annotated datasets, format: projects/`
|
461
|
+
# project_id`/datasets/`dataset_id`
|
462
|
+
# @param [String] filter
|
463
|
+
# Optional. Filter is not supported at this moment.
|
464
|
+
# @param [Fixnum] page_size
|
465
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
466
|
+
# Default value is 100.
|
467
|
+
# @param [String] page_token
|
468
|
+
# Optional. A token identifying a page of results for the server to return.
|
469
|
+
# Typically obtained by ListAnnotatedDatasetsResponse.next_page_token of the
|
470
|
+
# previous [DataLabelingService.ListAnnotatedDatasets] call. Return first page
|
471
|
+
# if empty.
|
472
|
+
# @param [String] fields
|
473
|
+
# Selector specifying which fields to include in a partial response.
|
474
|
+
# @param [String] quota_user
|
475
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
476
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
477
|
+
# @param [Google::Apis::RequestOptions] options
|
478
|
+
# Request-specific options
|
479
|
+
#
|
480
|
+
# @yield [result, err] Result & error if block supplied
|
481
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse] parsed result object
|
482
|
+
# @yieldparam err [StandardError] error object if request failed
|
483
|
+
#
|
484
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse]
|
485
|
+
#
|
486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
|
+
def list_project_dataset_annotated_datasets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
490
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/annotatedDatasets', options)
|
491
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse::Representation
|
492
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse
|
493
|
+
command.params['parent'] = parent unless parent.nil?
|
494
|
+
command.query['filter'] = filter unless filter.nil?
|
495
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
496
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
497
|
+
command.query['fields'] = fields unless fields.nil?
|
498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
499
|
+
execute_or_queue_command(command, &block)
|
500
|
+
end
|
501
|
+
|
502
|
+
# Gets a data item in a dataset by resource name. This API can be called after
|
503
|
+
# data are imported into dataset.
|
504
|
+
# @param [String] name
|
505
|
+
# Required. The name of the data item to get, format: projects/`project_id`/
|
506
|
+
# datasets/`dataset_id`/dataItems/`data_item_id`
|
507
|
+
# @param [String] fields
|
508
|
+
# Selector specifying which fields to include in a partial response.
|
509
|
+
# @param [String] quota_user
|
510
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
511
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
512
|
+
# @param [Google::Apis::RequestOptions] options
|
513
|
+
# Request-specific options
|
514
|
+
#
|
515
|
+
# @yield [result, err] Result & error if block supplied
|
516
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] parsed result object
|
517
|
+
# @yieldparam err [StandardError] error object if request failed
|
518
|
+
#
|
519
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem]
|
520
|
+
#
|
521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
524
|
+
def get_project_dataset_annotated_dataset_data_item(name, fields: nil, quota_user: nil, options: nil, &block)
|
525
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
526
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem::Representation
|
527
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem
|
528
|
+
command.params['name'] = name unless name.nil?
|
529
|
+
command.query['fields'] = fields unless fields.nil?
|
530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
531
|
+
execute_or_queue_command(command, &block)
|
532
|
+
end
|
533
|
+
|
534
|
+
# Lists data items in a dataset. This API can be called after data are imported
|
535
|
+
# into dataset. Pagination is supported.
|
536
|
+
# @param [String] parent
|
537
|
+
# Required. Name of the dataset to list data items, format: projects/`project_id`
|
538
|
+
# /datasets/`dataset_id`
|
539
|
+
# @param [String] filter
|
540
|
+
# Optional. Filter is not supported at this moment.
|
541
|
+
# @param [Fixnum] page_size
|
542
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
543
|
+
# Default value is 100.
|
544
|
+
# @param [String] page_token
|
545
|
+
# Optional. A token identifying a page of results for the server to return.
|
546
|
+
# Typically obtained by ListDataItemsResponse.next_page_token of the previous [
|
547
|
+
# DataLabelingService.ListDataItems] call. Return first page if empty.
|
548
|
+
# @param [String] fields
|
549
|
+
# Selector specifying which fields to include in a partial response.
|
550
|
+
# @param [String] quota_user
|
551
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
552
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
553
|
+
# @param [Google::Apis::RequestOptions] options
|
554
|
+
# Request-specific options
|
555
|
+
#
|
556
|
+
# @yield [result, err] Result & error if block supplied
|
557
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] parsed result object
|
558
|
+
# @yieldparam err [StandardError] error object if request failed
|
559
|
+
#
|
560
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse]
|
561
|
+
#
|
562
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
563
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
564
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
565
|
+
def list_project_dataset_annotated_dataset_data_items(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
566
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/dataItems', options)
|
567
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse::Representation
|
568
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse
|
569
|
+
command.params['parent'] = parent unless parent.nil?
|
570
|
+
command.query['filter'] = filter unless filter.nil?
|
571
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
572
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
573
|
+
command.query['fields'] = fields unless fields.nil?
|
574
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
575
|
+
execute_or_queue_command(command, &block)
|
576
|
+
end
|
577
|
+
|
578
|
+
# Gets an example by resource name, including both data and annotation.
|
579
|
+
# @param [String] name
|
580
|
+
# Required. Name of example, format: projects/`project_id`/datasets/`dataset_id`/
|
581
|
+
# annotatedDatasets/ `annotated_dataset_id`/examples/`example_id`
|
582
|
+
# @param [String] filter
|
583
|
+
# Optional. An expression for filtering Examples. Filter by annotation_spec.
|
584
|
+
# display_name is supported. Format "annotation_spec.display_name = `
|
585
|
+
# display_name`"
|
586
|
+
# @param [String] fields
|
587
|
+
# Selector specifying which fields to include in a partial response.
|
588
|
+
# @param [String] quota_user
|
589
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
590
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
591
|
+
# @param [Google::Apis::RequestOptions] options
|
592
|
+
# Request-specific options
|
593
|
+
#
|
594
|
+
# @yield [result, err] Result & error if block supplied
|
595
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example] parsed result object
|
596
|
+
# @yieldparam err [StandardError] error object if request failed
|
597
|
+
#
|
598
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example]
|
599
|
+
#
|
600
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
601
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
602
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
603
|
+
def get_project_dataset_annotated_dataset_example(name, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
604
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
605
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example::Representation
|
606
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example
|
607
|
+
command.params['name'] = name unless name.nil?
|
608
|
+
command.query['filter'] = filter unless filter.nil?
|
609
|
+
command.query['fields'] = fields unless fields.nil?
|
610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
611
|
+
execute_or_queue_command(command, &block)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Lists examples in an annotated dataset. Pagination is supported.
|
615
|
+
# @param [String] parent
|
616
|
+
# Required. Example resource parent.
|
617
|
+
# @param [String] filter
|
618
|
+
# Optional. An expression for filtering Examples. For annotated datasets that
|
619
|
+
# have annotation spec set, filter by annotation_spec.display_name is supported.
|
620
|
+
# Format "annotation_spec.display_name = `display_name`"
|
621
|
+
# @param [Fixnum] page_size
|
622
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
623
|
+
# Default value is 100.
|
624
|
+
# @param [String] page_token
|
625
|
+
# Optional. A token identifying a page of results for the server to return.
|
626
|
+
# Typically obtained by ListExamplesResponse.next_page_token of the previous [
|
627
|
+
# DataLabelingService.ListExamples] call. Return first page if empty.
|
628
|
+
# @param [String] fields
|
629
|
+
# Selector specifying which fields to include in a partial response.
|
630
|
+
# @param [String] quota_user
|
631
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
632
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
633
|
+
# @param [Google::Apis::RequestOptions] options
|
634
|
+
# Request-specific options
|
635
|
+
#
|
636
|
+
# @yield [result, err] Result & error if block supplied
|
637
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse] parsed result object
|
638
|
+
# @yieldparam err [StandardError] error object if request failed
|
639
|
+
#
|
640
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse]
|
641
|
+
#
|
642
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
643
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
644
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
645
|
+
def list_project_dataset_annotated_dataset_examples(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
646
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/examples', options)
|
647
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse::Representation
|
648
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListExamplesResponse
|
649
|
+
command.params['parent'] = parent unless parent.nil?
|
650
|
+
command.query['filter'] = filter unless filter.nil?
|
651
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
652
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
653
|
+
command.query['fields'] = fields unless fields.nil?
|
654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
655
|
+
execute_or_queue_command(command, &block)
|
656
|
+
end
|
657
|
+
|
658
|
+
# Delete a FeedbackThread.
|
659
|
+
# @param [String] name
|
660
|
+
# Required. Name of the FeedbackThread that is going to be deleted. Format: '
|
661
|
+
# projects/`project_id`/datasets/`dataset_id`/annotatedDatasets/`
|
662
|
+
# annotated_dataset_id`/feedbackThreads/`feedback_thread_id`'.
|
663
|
+
# @param [String] fields
|
664
|
+
# Selector specifying which fields to include in a partial response.
|
665
|
+
# @param [String] quota_user
|
666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
668
|
+
# @param [Google::Apis::RequestOptions] options
|
669
|
+
# Request-specific options
|
670
|
+
#
|
671
|
+
# @yield [result, err] Result & error if block supplied
|
672
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
673
|
+
# @yieldparam err [StandardError] error object if request failed
|
674
|
+
#
|
675
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
676
|
+
#
|
677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
680
|
+
def delete_project_dataset_annotated_dataset_feedback_thread(name, fields: nil, quota_user: nil, options: nil, &block)
|
681
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
682
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
683
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
684
|
+
command.params['name'] = name unless name.nil?
|
685
|
+
command.query['fields'] = fields unless fields.nil?
|
686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
687
|
+
execute_or_queue_command(command, &block)
|
688
|
+
end
|
689
|
+
|
690
|
+
# Get a FeedbackThread object.
|
691
|
+
# @param [String] name
|
692
|
+
# Required. Name of the feedback. Format: 'projects/`project_id`/datasets/`
|
693
|
+
# dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/`
|
694
|
+
# feedback_thread_id`'.
|
695
|
+
# @param [String] fields
|
696
|
+
# Selector specifying which fields to include in a partial response.
|
697
|
+
# @param [String] quota_user
|
698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
700
|
+
# @param [Google::Apis::RequestOptions] options
|
701
|
+
# Request-specific options
|
702
|
+
#
|
703
|
+
# @yield [result, err] Result & error if block supplied
|
704
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread] parsed result object
|
705
|
+
# @yieldparam err [StandardError] error object if request failed
|
706
|
+
#
|
707
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread]
|
708
|
+
#
|
709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
712
|
+
def get_project_dataset_annotated_dataset_feedback_thread(name, fields: nil, quota_user: nil, options: nil, &block)
|
713
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
714
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread::Representation
|
715
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread
|
716
|
+
command.params['name'] = name unless name.nil?
|
717
|
+
command.query['fields'] = fields unless fields.nil?
|
718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
719
|
+
execute_or_queue_command(command, &block)
|
720
|
+
end
|
721
|
+
|
722
|
+
# List FeedbackThreads with pagination.
|
723
|
+
# @param [String] parent
|
724
|
+
# Required. FeedbackThread resource parent. Format: "projects/`project_id`/
|
725
|
+
# datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`"
|
726
|
+
# @param [Fixnum] page_size
|
727
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
728
|
+
# Default value is 100.
|
729
|
+
# @param [String] page_token
|
730
|
+
# Optional. A token identifying a page of results for the server to return.
|
731
|
+
# Typically obtained by ListFeedbackThreads.next_page_token of the previous [
|
732
|
+
# DataLabelingService.ListFeedbackThreads] call. Return first page if empty.
|
733
|
+
# @param [String] fields
|
734
|
+
# Selector specifying which fields to include in a partial response.
|
735
|
+
# @param [String] quota_user
|
736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
738
|
+
# @param [Google::Apis::RequestOptions] options
|
739
|
+
# Request-specific options
|
740
|
+
#
|
741
|
+
# @yield [result, err] Result & error if block supplied
|
742
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse] parsed result object
|
743
|
+
# @yieldparam err [StandardError] error object if request failed
|
744
|
+
#
|
745
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse]
|
746
|
+
#
|
747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
750
|
+
def list_project_dataset_annotated_dataset_feedback_threads(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
751
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/feedbackThreads', options)
|
752
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse::Representation
|
753
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse
|
754
|
+
command.params['parent'] = parent unless parent.nil?
|
755
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
756
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
757
|
+
command.query['fields'] = fields unless fields.nil?
|
758
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
759
|
+
execute_or_queue_command(command, &block)
|
760
|
+
end
|
761
|
+
|
762
|
+
# Create a FeedbackMessage object.
|
763
|
+
# @param [String] parent
|
764
|
+
# Required. FeedbackMessage resource parent, format: projects/`project_id`/
|
765
|
+
# datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/
|
766
|
+
# `feedback_thread_id`.
|
767
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage] google_cloud_datalabeling_v1beta1_feedback_message_object
|
768
|
+
# @param [String] fields
|
769
|
+
# Selector specifying which fields to include in a partial response.
|
770
|
+
# @param [String] quota_user
|
771
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
772
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
773
|
+
# @param [Google::Apis::RequestOptions] options
|
774
|
+
# Request-specific options
|
775
|
+
#
|
776
|
+
# @yield [result, err] Result & error if block supplied
|
777
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
778
|
+
# @yieldparam err [StandardError] error object if request failed
|
779
|
+
#
|
780
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
781
|
+
#
|
782
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
783
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
784
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
785
|
+
def create_project_dataset_annotated_dataset_feedback_thread_feedback_message(parent, google_cloud_datalabeling_v1beta1_feedback_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
786
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/feedbackMessages', options)
|
787
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage::Representation
|
788
|
+
command.request_object = google_cloud_datalabeling_v1beta1_feedback_message_object
|
789
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
790
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
791
|
+
command.params['parent'] = parent unless parent.nil?
|
792
|
+
command.query['fields'] = fields unless fields.nil?
|
793
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
794
|
+
execute_or_queue_command(command, &block)
|
795
|
+
end
|
796
|
+
|
797
|
+
# Delete a FeedbackMessage.
|
798
|
+
# @param [String] name
|
799
|
+
# Required. Name of the FeedbackMessage that is going to be deleted. Format: '
|
800
|
+
# projects/`project_id`/datasets/`dataset_id`/annotatedDatasets/`
|
801
|
+
# annotated_dataset_id`/feedbackThreads/`feedback_thread_id`/feedbackMessages/`
|
802
|
+
# feedback_message_id`'.
|
803
|
+
# @param [String] fields
|
804
|
+
# Selector specifying which fields to include in a partial response.
|
805
|
+
# @param [String] quota_user
|
806
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
807
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
808
|
+
# @param [Google::Apis::RequestOptions] options
|
809
|
+
# Request-specific options
|
810
|
+
#
|
811
|
+
# @yield [result, err] Result & error if block supplied
|
812
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
813
|
+
# @yieldparam err [StandardError] error object if request failed
|
814
|
+
#
|
815
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
816
|
+
#
|
817
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
818
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
819
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
820
|
+
def delete_project_dataset_annotated_dataset_feedback_thread_feedback_message(name, fields: nil, quota_user: nil, options: nil, &block)
|
821
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
822
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
823
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
824
|
+
command.params['name'] = name unless name.nil?
|
825
|
+
command.query['fields'] = fields unless fields.nil?
|
826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
827
|
+
execute_or_queue_command(command, &block)
|
828
|
+
end
|
829
|
+
|
830
|
+
# Get a FeedbackMessage object.
|
831
|
+
# @param [String] name
|
832
|
+
# Required. Name of the feedback. Format: 'projects/`project_id`/datasets/`
|
833
|
+
# dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/`
|
834
|
+
# feedback_thread_id`/feedbackMessages/`feedback_message_id`'.
|
835
|
+
# @param [String] fields
|
836
|
+
# Selector specifying which fields to include in a partial response.
|
837
|
+
# @param [String] quota_user
|
838
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
839
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
840
|
+
# @param [Google::Apis::RequestOptions] options
|
841
|
+
# Request-specific options
|
842
|
+
#
|
843
|
+
# @yield [result, err] Result & error if block supplied
|
844
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage] parsed result object
|
845
|
+
# @yieldparam err [StandardError] error object if request failed
|
846
|
+
#
|
847
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage]
|
848
|
+
#
|
849
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
850
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
851
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
852
|
+
def get_project_dataset_annotated_dataset_feedback_thread_feedback_message(name, fields: nil, quota_user: nil, options: nil, &block)
|
853
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
854
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage::Representation
|
855
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage
|
856
|
+
command.params['name'] = name unless name.nil?
|
857
|
+
command.query['fields'] = fields unless fields.nil?
|
858
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
859
|
+
execute_or_queue_command(command, &block)
|
860
|
+
end
|
861
|
+
|
862
|
+
# List FeedbackMessages with pagination.
|
863
|
+
# @param [String] parent
|
864
|
+
# Required. FeedbackMessage resource parent. Format: "projects/`project_id`/
|
865
|
+
# datasets/`dataset_id`/annotatedDatasets/`annotated_dataset_id`/feedbackThreads/
|
866
|
+
# `feedback_thread_id`"
|
867
|
+
# @param [Fixnum] page_size
|
868
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
869
|
+
# Default value is 100.
|
870
|
+
# @param [String] page_token
|
871
|
+
# Optional. A token identifying a page of results for the server to return.
|
872
|
+
# Typically obtained by ListFeedbackMessages.next_page_token of the previous [
|
873
|
+
# DataLabelingService.ListFeedbackMessages] call. Return first page if empty.
|
874
|
+
# @param [String] fields
|
875
|
+
# Selector specifying which fields to include in a partial response.
|
876
|
+
# @param [String] quota_user
|
877
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
878
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
879
|
+
# @param [Google::Apis::RequestOptions] options
|
880
|
+
# Request-specific options
|
881
|
+
#
|
882
|
+
# @yield [result, err] Result & error if block supplied
|
883
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse] parsed result object
|
884
|
+
# @yieldparam err [StandardError] error object if request failed
|
885
|
+
#
|
886
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse]
|
887
|
+
#
|
888
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
889
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
890
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
891
|
+
def list_project_dataset_annotated_dataset_feedback_thread_feedback_messages(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
892
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/feedbackMessages', options)
|
893
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse::Representation
|
894
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse
|
895
|
+
command.params['parent'] = parent unless parent.nil?
|
896
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
897
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
898
|
+
command.query['fields'] = fields unless fields.nil?
|
899
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
900
|
+
execute_or_queue_command(command, &block)
|
901
|
+
end
|
902
|
+
|
903
|
+
# Gets a data item in a dataset by resource name. This API can be called after
|
904
|
+
# data are imported into dataset.
|
905
|
+
# @param [String] name
|
906
|
+
# Required. The name of the data item to get, format: projects/`project_id`/
|
907
|
+
# datasets/`dataset_id`/dataItems/`data_item_id`
|
908
|
+
# @param [String] fields
|
909
|
+
# Selector specifying which fields to include in a partial response.
|
910
|
+
# @param [String] quota_user
|
911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
913
|
+
# @param [Google::Apis::RequestOptions] options
|
914
|
+
# Request-specific options
|
915
|
+
#
|
916
|
+
# @yield [result, err] Result & error if block supplied
|
917
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem] parsed result object
|
918
|
+
# @yieldparam err [StandardError] error object if request failed
|
919
|
+
#
|
920
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem]
|
921
|
+
#
|
922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
925
|
+
def get_project_dataset_data_item(name, fields: nil, quota_user: nil, options: nil, &block)
|
926
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
927
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem::Representation
|
928
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1DataItem
|
929
|
+
command.params['name'] = name unless name.nil?
|
930
|
+
command.query['fields'] = fields unless fields.nil?
|
931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
932
|
+
execute_or_queue_command(command, &block)
|
933
|
+
end
|
934
|
+
|
935
|
+
# Lists data items in a dataset. This API can be called after data are imported
|
936
|
+
# into dataset. Pagination is supported.
|
937
|
+
# @param [String] parent
|
938
|
+
# Required. Name of the dataset to list data items, format: projects/`project_id`
|
939
|
+
# /datasets/`dataset_id`
|
940
|
+
# @param [String] filter
|
941
|
+
# Optional. Filter is not supported at this moment.
|
942
|
+
# @param [Fixnum] page_size
|
943
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
944
|
+
# Default value is 100.
|
945
|
+
# @param [String] page_token
|
946
|
+
# Optional. A token identifying a page of results for the server to return.
|
947
|
+
# Typically obtained by ListDataItemsResponse.next_page_token of the previous [
|
948
|
+
# DataLabelingService.ListDataItems] call. Return first page if empty.
|
949
|
+
# @param [String] fields
|
950
|
+
# Selector specifying which fields to include in a partial response.
|
951
|
+
# @param [String] quota_user
|
952
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
953
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
954
|
+
# @param [Google::Apis::RequestOptions] options
|
955
|
+
# Request-specific options
|
956
|
+
#
|
957
|
+
# @yield [result, err] Result & error if block supplied
|
958
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse] parsed result object
|
959
|
+
# @yieldparam err [StandardError] error object if request failed
|
960
|
+
#
|
961
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse]
|
962
|
+
#
|
963
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
964
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
965
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
966
|
+
def list_project_dataset_data_items(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
967
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/dataItems', options)
|
968
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse::Representation
|
969
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListDataItemsResponse
|
970
|
+
command.params['parent'] = parent unless parent.nil?
|
971
|
+
command.query['filter'] = filter unless filter.nil?
|
972
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
973
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
974
|
+
command.query['fields'] = fields unless fields.nil?
|
975
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
976
|
+
execute_or_queue_command(command, &block)
|
977
|
+
end
|
978
|
+
|
979
|
+
# Gets an evaluation by resource name (to search, use projects.evaluations.
|
980
|
+
# search).
|
981
|
+
# @param [String] name
|
982
|
+
# Required. Name of the evaluation. Format: "projects/`project_id`/datasets/ `
|
983
|
+
# dataset_id`/evaluations/`evaluation_id`'
|
984
|
+
# @param [String] fields
|
985
|
+
# Selector specifying which fields to include in a partial response.
|
986
|
+
# @param [String] quota_user
|
987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
989
|
+
# @param [Google::Apis::RequestOptions] options
|
990
|
+
# Request-specific options
|
991
|
+
#
|
992
|
+
# @yield [result, err] Result & error if block supplied
|
993
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation] parsed result object
|
994
|
+
# @yieldparam err [StandardError] error object if request failed
|
995
|
+
#
|
996
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation]
|
997
|
+
#
|
998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1001
|
+
def get_project_dataset_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1002
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1003
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation::Representation
|
1004
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation
|
1005
|
+
command.params['name'] = name unless name.nil?
|
1006
|
+
command.query['fields'] = fields unless fields.nil?
|
1007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1008
|
+
execute_or_queue_command(command, &block)
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# Searches example comparisons from an evaluation. The return format is a list
|
1012
|
+
# of example comparisons that show ground truth and prediction(s) for a single
|
1013
|
+
# input. Search by providing an evaluation ID.
|
1014
|
+
# @param [String] parent
|
1015
|
+
# Required. Name of the Evaluation resource to search for example comparisons
|
1016
|
+
# from. Format: "projects/`project_id`/datasets/`dataset_id`/evaluations/ `
|
1017
|
+
# evaluation_id`"
|
1018
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest] google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object
|
1019
|
+
# @param [String] fields
|
1020
|
+
# Selector specifying which fields to include in a partial response.
|
1021
|
+
# @param [String] quota_user
|
1022
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1023
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1024
|
+
# @param [Google::Apis::RequestOptions] options
|
1025
|
+
# Request-specific options
|
1026
|
+
#
|
1027
|
+
# @yield [result, err] Result & error if block supplied
|
1028
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse] parsed result object
|
1029
|
+
# @yieldparam err [StandardError] error object if request failed
|
1030
|
+
#
|
1031
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse]
|
1032
|
+
#
|
1033
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1034
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1035
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1036
|
+
def search_project_dataset_evaluation_example_comparisons(parent, google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1037
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/exampleComparisons:search', options)
|
1038
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest::Representation
|
1039
|
+
command.request_object = google_cloud_datalabeling_v1beta1_search_example_comparisons_request_object
|
1040
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse::Representation
|
1041
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse
|
1042
|
+
command.params['parent'] = parent unless parent.nil?
|
1043
|
+
command.query['fields'] = fields unless fields.nil?
|
1044
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1045
|
+
execute_or_queue_command(command, &block)
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# Starts a labeling task for image. The type of image labeling task is
|
1049
|
+
# configured by feature in the request.
|
1050
|
+
# @param [String] parent
|
1051
|
+
# Required. Name of the dataset to request labeling task, format: projects/`
|
1052
|
+
# project_id`/datasets/`dataset_id`
|
1053
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest] google_cloud_datalabeling_v1beta1_label_image_request_object
|
1054
|
+
# @param [String] fields
|
1055
|
+
# Selector specifying which fields to include in a partial response.
|
1056
|
+
# @param [String] quota_user
|
1057
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1058
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1059
|
+
# @param [Google::Apis::RequestOptions] options
|
1060
|
+
# Request-specific options
|
1061
|
+
#
|
1062
|
+
# @yield [result, err] Result & error if block supplied
|
1063
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
1064
|
+
# @yieldparam err [StandardError] error object if request failed
|
1065
|
+
#
|
1066
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
1067
|
+
#
|
1068
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1069
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1070
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1071
|
+
def label_project_dataset_image(parent, google_cloud_datalabeling_v1beta1_label_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1072
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/image:label', options)
|
1073
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelImageRequest::Representation
|
1074
|
+
command.request_object = google_cloud_datalabeling_v1beta1_label_image_request_object
|
1075
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
1076
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
1077
|
+
command.params['parent'] = parent unless parent.nil?
|
1078
|
+
command.query['fields'] = fields unless fields.nil?
|
1079
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1080
|
+
execute_or_queue_command(command, &block)
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# Starts a labeling task for text. The type of text labeling task is configured
|
1084
|
+
# by feature in the request.
|
1085
|
+
# @param [String] parent
|
1086
|
+
# Required. Name of the data set to request labeling task, format: projects/`
|
1087
|
+
# project_id`/datasets/`dataset_id`
|
1088
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest] google_cloud_datalabeling_v1beta1_label_text_request_object
|
1089
|
+
# @param [String] fields
|
1090
|
+
# Selector specifying which fields to include in a partial response.
|
1091
|
+
# @param [String] quota_user
|
1092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1094
|
+
# @param [Google::Apis::RequestOptions] options
|
1095
|
+
# Request-specific options
|
1096
|
+
#
|
1097
|
+
# @yield [result, err] Result & error if block supplied
|
1098
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
1099
|
+
# @yieldparam err [StandardError] error object if request failed
|
1100
|
+
#
|
1101
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
1102
|
+
#
|
1103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1106
|
+
def label_project_dataset_text(parent, google_cloud_datalabeling_v1beta1_label_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1107
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/text:label', options)
|
1108
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelTextRequest::Representation
|
1109
|
+
command.request_object = google_cloud_datalabeling_v1beta1_label_text_request_object
|
1110
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
1111
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
1112
|
+
command.params['parent'] = parent unless parent.nil?
|
1113
|
+
command.query['fields'] = fields unless fields.nil?
|
1114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1115
|
+
execute_or_queue_command(command, &block)
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# Starts a labeling task for video. The type of video labeling task is
|
1119
|
+
# configured by feature in the request.
|
1120
|
+
# @param [String] parent
|
1121
|
+
# Required. Name of the dataset to request labeling task, format: projects/`
|
1122
|
+
# project_id`/datasets/`dataset_id`
|
1123
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoRequest] google_cloud_datalabeling_v1beta1_label_video_request_object
|
1124
|
+
# @param [String] fields
|
1125
|
+
# Selector specifying which fields to include in a partial response.
|
1126
|
+
# @param [String] quota_user
|
1127
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1128
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1129
|
+
# @param [Google::Apis::RequestOptions] options
|
1130
|
+
# Request-specific options
|
1131
|
+
#
|
1132
|
+
# @yield [result, err] Result & error if block supplied
|
1133
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
1134
|
+
# @yieldparam err [StandardError] error object if request failed
|
1135
|
+
#
|
1136
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
1137
|
+
#
|
1138
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1139
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1140
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1141
|
+
def label_project_dataset_video(parent, google_cloud_datalabeling_v1beta1_label_video_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1142
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/video:label', options)
|
1143
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelVideoRequest::Representation
|
1144
|
+
command.request_object = google_cloud_datalabeling_v1beta1_label_video_request_object
|
1145
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
1146
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
1147
|
+
command.params['parent'] = parent unless parent.nil?
|
1148
|
+
command.query['fields'] = fields unless fields.nil?
|
1149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1150
|
+
execute_or_queue_command(command, &block)
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Creates an evaluation job.
|
1154
|
+
# @param [String] parent
|
1155
|
+
# Required. Evaluation job resource parent. Format: "projects/`project_id`"
|
1156
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest] google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object
|
1157
|
+
# @param [String] fields
|
1158
|
+
# Selector specifying which fields to include in a partial response.
|
1159
|
+
# @param [String] quota_user
|
1160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1162
|
+
# @param [Google::Apis::RequestOptions] options
|
1163
|
+
# Request-specific options
|
1164
|
+
#
|
1165
|
+
# @yield [result, err] Result & error if block supplied
|
1166
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object
|
1167
|
+
# @yieldparam err [StandardError] error object if request failed
|
1168
|
+
#
|
1169
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob]
|
1170
|
+
#
|
1171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
|
+
def create_project_evaluation_job(parent, google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1175
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationJobs', options)
|
1176
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest::Representation
|
1177
|
+
command.request_object = google_cloud_datalabeling_v1beta1_create_evaluation_job_request_object
|
1178
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation
|
1179
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob
|
1180
|
+
command.params['parent'] = parent unless parent.nil?
|
1181
|
+
command.query['fields'] = fields unless fields.nil?
|
1182
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1183
|
+
execute_or_queue_command(command, &block)
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
# Stops and deletes an evaluation job.
|
1187
|
+
# @param [String] name
|
1188
|
+
# Required. Name of the evaluation job that is going to be deleted. Format: "
|
1189
|
+
# projects/`project_id`/evaluationJobs/`evaluation_job_id`"
|
1190
|
+
# @param [String] fields
|
1191
|
+
# Selector specifying which fields to include in a partial response.
|
1192
|
+
# @param [String] quota_user
|
1193
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1194
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1195
|
+
# @param [Google::Apis::RequestOptions] options
|
1196
|
+
# Request-specific options
|
1197
|
+
#
|
1198
|
+
# @yield [result, err] Result & error if block supplied
|
1199
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1200
|
+
# @yieldparam err [StandardError] error object if request failed
|
1201
|
+
#
|
1202
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1203
|
+
#
|
1204
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1205
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1206
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1207
|
+
def delete_project_evaluation_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
1208
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1209
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1210
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1211
|
+
command.params['name'] = name unless name.nil?
|
1212
|
+
command.query['fields'] = fields unless fields.nil?
|
1213
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1214
|
+
execute_or_queue_command(command, &block)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Gets an evaluation job by resource name.
|
1218
|
+
# @param [String] name
|
1219
|
+
# Required. Name of the evaluation job. Format: "projects/`project_id` /
|
1220
|
+
# evaluationJobs/`evaluation_job_id`"
|
1221
|
+
# @param [String] fields
|
1222
|
+
# Selector specifying which fields to include in a partial response.
|
1223
|
+
# @param [String] quota_user
|
1224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1226
|
+
# @param [Google::Apis::RequestOptions] options
|
1227
|
+
# Request-specific options
|
1228
|
+
#
|
1229
|
+
# @yield [result, err] Result & error if block supplied
|
1230
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object
|
1231
|
+
# @yieldparam err [StandardError] error object if request failed
|
1232
|
+
#
|
1233
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob]
|
1234
|
+
#
|
1235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1238
|
+
def get_project_evaluation_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
1239
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1240
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation
|
1241
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob
|
1242
|
+
command.params['name'] = name unless name.nil?
|
1243
|
+
command.query['fields'] = fields unless fields.nil?
|
1244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1245
|
+
execute_or_queue_command(command, &block)
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# Lists all evaluation jobs within a project with possible filters. Pagination
|
1249
|
+
# is supported.
|
1250
|
+
# @param [String] parent
|
1251
|
+
# Required. Evaluation job resource parent. Format: "projects/`project_id`"
|
1252
|
+
# @param [String] filter
|
1253
|
+
# Optional. You can filter the jobs to list by model_id (also known as
|
1254
|
+
# model_name, as described in EvaluationJob.modelVersion) or by evaluation job
|
1255
|
+
# state (as described in EvaluationJob.state). To filter by both criteria, use
|
1256
|
+
# the `AND` operator or the `OR` operator. For example, you can use the
|
1257
|
+
# following string for your filter: "evaluation_job.model_id = `model_name` AND
|
1258
|
+
# evaluation_job.state = `evaluation_job_state`"
|
1259
|
+
# @param [Fixnum] page_size
|
1260
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
1261
|
+
# Default value is 100.
|
1262
|
+
# @param [String] page_token
|
1263
|
+
# Optional. A token identifying a page of results for the server to return.
|
1264
|
+
# Typically obtained by the nextPageToken in the response to the previous
|
1265
|
+
# request. The request returns the first page if this is empty.
|
1266
|
+
# @param [String] fields
|
1267
|
+
# Selector specifying which fields to include in a partial response.
|
1268
|
+
# @param [String] quota_user
|
1269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1271
|
+
# @param [Google::Apis::RequestOptions] options
|
1272
|
+
# Request-specific options
|
1273
|
+
#
|
1274
|
+
# @yield [result, err] Result & error if block supplied
|
1275
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse] parsed result object
|
1276
|
+
# @yieldparam err [StandardError] error object if request failed
|
1277
|
+
#
|
1278
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse]
|
1279
|
+
#
|
1280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1283
|
+
def list_project_evaluation_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1284
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationJobs', options)
|
1285
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse::Representation
|
1286
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse
|
1287
|
+
command.params['parent'] = parent unless parent.nil?
|
1288
|
+
command.query['filter'] = filter unless filter.nil?
|
1289
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1290
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1291
|
+
command.query['fields'] = fields unless fields.nil?
|
1292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1293
|
+
execute_or_queue_command(command, &block)
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# Updates an evaluation job. You can only update certain fields of the job's
|
1297
|
+
# EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and `
|
1298
|
+
# exampleSamplePercentage`. If you want to change any other aspect of the
|
1299
|
+
# evaluation job, you must delete the job and create a new one.
|
1300
|
+
# @param [String] name
|
1301
|
+
# Output only. After you create a job, Data Labeling Service assigns a name to
|
1302
|
+
# the job with the following format: "projects/`project_id`/evaluationJobs/ `
|
1303
|
+
# evaluation_job_id`"
|
1304
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] google_cloud_datalabeling_v1beta1_evaluation_job_object
|
1305
|
+
# @param [String] update_mask
|
1306
|
+
# Optional. Mask for which fields to update. You can only provide the following
|
1307
|
+
# fields: * `evaluationJobConfig.humanAnnotationConfig.instruction` * `
|
1308
|
+
# evaluationJobConfig.exampleCount` * `evaluationJobConfig.
|
1309
|
+
# exampleSamplePercentage` You can provide more than one of these fields by
|
1310
|
+
# separating them with commas.
|
1311
|
+
# @param [String] fields
|
1312
|
+
# Selector specifying which fields to include in a partial response.
|
1313
|
+
# @param [String] quota_user
|
1314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1316
|
+
# @param [Google::Apis::RequestOptions] options
|
1317
|
+
# Request-specific options
|
1318
|
+
#
|
1319
|
+
# @yield [result, err] Result & error if block supplied
|
1320
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob] parsed result object
|
1321
|
+
# @yieldparam err [StandardError] error object if request failed
|
1322
|
+
#
|
1323
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob]
|
1324
|
+
#
|
1325
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1326
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1327
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1328
|
+
def patch_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_evaluation_job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1329
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1330
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation
|
1331
|
+
command.request_object = google_cloud_datalabeling_v1beta1_evaluation_job_object
|
1332
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob::Representation
|
1333
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJob
|
1334
|
+
command.params['name'] = name unless name.nil?
|
1335
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1336
|
+
command.query['fields'] = fields unless fields.nil?
|
1337
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1338
|
+
execute_or_queue_command(command, &block)
|
1339
|
+
end
|
1340
|
+
|
1341
|
+
# Pauses an evaluation job. Pausing an evaluation job that is already in a `
|
1342
|
+
# PAUSED` state is a no-op.
|
1343
|
+
# @param [String] name
|
1344
|
+
# Required. Name of the evaluation job that is going to be paused. Format: "
|
1345
|
+
# projects/`project_id`/evaluationJobs/`evaluation_job_id`"
|
1346
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest] google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object
|
1347
|
+
# @param [String] fields
|
1348
|
+
# Selector specifying which fields to include in a partial response.
|
1349
|
+
# @param [String] quota_user
|
1350
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1351
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1352
|
+
# @param [Google::Apis::RequestOptions] options
|
1353
|
+
# Request-specific options
|
1354
|
+
#
|
1355
|
+
# @yield [result, err] Result & error if block supplied
|
1356
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1357
|
+
# @yieldparam err [StandardError] error object if request failed
|
1358
|
+
#
|
1359
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1360
|
+
#
|
1361
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1362
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1363
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1364
|
+
def pause_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1365
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:pause', options)
|
1366
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest::Representation
|
1367
|
+
command.request_object = google_cloud_datalabeling_v1beta1_pause_evaluation_job_request_object
|
1368
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1369
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1370
|
+
command.params['name'] = name unless name.nil?
|
1371
|
+
command.query['fields'] = fields unless fields.nil?
|
1372
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1373
|
+
execute_or_queue_command(command, &block)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# Resumes a paused evaluation job. A deleted evaluation job can't be resumed.
|
1377
|
+
# Resuming a running or scheduled evaluation job is a no-op.
|
1378
|
+
# @param [String] name
|
1379
|
+
# Required. Name of the evaluation job that is going to be resumed. Format: "
|
1380
|
+
# projects/`project_id`/evaluationJobs/`evaluation_job_id`"
|
1381
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest] google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object
|
1382
|
+
# @param [String] fields
|
1383
|
+
# Selector specifying which fields to include in a partial response.
|
1384
|
+
# @param [String] quota_user
|
1385
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1386
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1387
|
+
# @param [Google::Apis::RequestOptions] options
|
1388
|
+
# Request-specific options
|
1389
|
+
#
|
1390
|
+
# @yield [result, err] Result & error if block supplied
|
1391
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1392
|
+
# @yieldparam err [StandardError] error object if request failed
|
1393
|
+
#
|
1394
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1395
|
+
#
|
1396
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1397
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1398
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1399
|
+
def resume_project_evaluation_job(name, google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1400
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:resume', options)
|
1401
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest::Representation
|
1402
|
+
command.request_object = google_cloud_datalabeling_v1beta1_resume_evaluation_job_request_object
|
1403
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1404
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1405
|
+
command.params['name'] = name unless name.nil?
|
1406
|
+
command.query['fields'] = fields unless fields.nil?
|
1407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1408
|
+
execute_or_queue_command(command, &block)
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
# Searches evaluations within a project.
|
1412
|
+
# @param [String] parent
|
1413
|
+
# Required. Evaluation search parent (project ID). Format: "projects/ `
|
1414
|
+
# project_id`"
|
1415
|
+
# @param [String] filter
|
1416
|
+
# Optional. To search evaluations, you can filter by the following: *
|
1417
|
+
# evaluation_job.evaluation_job_id (the last part of EvaluationJob.name) *
|
1418
|
+
# evaluation_job.model_id (the `model_name` portion of EvaluationJob.
|
1419
|
+
# modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum
|
1420
|
+
# threshold for the evaluationJobRunTime that created the evaluation) *
|
1421
|
+
# evaluation_job.evaluation_job_run_time_end (Maximum threshold for the
|
1422
|
+
# evaluationJobRunTime that created the evaluation) * evaluation_job.job_state (
|
1423
|
+
# EvaluationJob.state) * annotation_spec.display_name (the Evaluation contains a
|
1424
|
+
# metric for the annotation spec with this displayName) To filter by multiple
|
1425
|
+
# critiera, use the `AND` operator or the `OR` operator. The following examples
|
1426
|
+
# shows a string that filters by several critiera: "evaluation_job.
|
1427
|
+
# evaluation_job_id = `evaluation_job_id` AND evaluation_job.model_id = `
|
1428
|
+
# model_name` AND evaluation_job.evaluation_job_run_time_start = `timestamp_1`
|
1429
|
+
# AND evaluation_job.evaluation_job_run_time_end = `timestamp_2` AND
|
1430
|
+
# annotation_spec.display_name = `display_name`"
|
1431
|
+
# @param [Fixnum] page_size
|
1432
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
1433
|
+
# Default value is 100.
|
1434
|
+
# @param [String] page_token
|
1435
|
+
# Optional. A token identifying a page of results for the server to return.
|
1436
|
+
# Typically obtained by the nextPageToken of the response to a previous search
|
1437
|
+
# request. If you don't specify this field, the API call requests the first page
|
1438
|
+
# of the search.
|
1439
|
+
# @param [String] fields
|
1440
|
+
# Selector specifying which fields to include in a partial response.
|
1441
|
+
# @param [String] quota_user
|
1442
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1443
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1444
|
+
# @param [Google::Apis::RequestOptions] options
|
1445
|
+
# Request-specific options
|
1446
|
+
#
|
1447
|
+
# @yield [result, err] Result & error if block supplied
|
1448
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse] parsed result object
|
1449
|
+
# @yieldparam err [StandardError] error object if request failed
|
1450
|
+
#
|
1451
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse]
|
1452
|
+
#
|
1453
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1454
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1455
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1456
|
+
def search_project_evaluations(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1457
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/evaluations:search', options)
|
1458
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse::Representation
|
1459
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse
|
1460
|
+
command.params['parent'] = parent unless parent.nil?
|
1461
|
+
command.query['filter'] = filter unless filter.nil?
|
1462
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1463
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1464
|
+
command.query['fields'] = fields unless fields.nil?
|
1465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1466
|
+
execute_or_queue_command(command, &block)
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# Creates an instruction for how data should be labeled.
|
1470
|
+
# @param [String] parent
|
1471
|
+
# Required. Instruction resource parent, format: projects/`project_id`
|
1472
|
+
# @param [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest] google_cloud_datalabeling_v1beta1_create_instruction_request_object
|
1473
|
+
# @param [String] fields
|
1474
|
+
# Selector specifying which fields to include in a partial response.
|
1475
|
+
# @param [String] quota_user
|
1476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1478
|
+
# @param [Google::Apis::RequestOptions] options
|
1479
|
+
# Request-specific options
|
1480
|
+
#
|
1481
|
+
# @yield [result, err] Result & error if block supplied
|
1482
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
1483
|
+
# @yieldparam err [StandardError] error object if request failed
|
1484
|
+
#
|
1485
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
1486
|
+
#
|
1487
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1488
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1489
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1490
|
+
def create_project_instruction(parent, google_cloud_datalabeling_v1beta1_create_instruction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1491
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/instructions', options)
|
1492
|
+
command.request_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest::Representation
|
1493
|
+
command.request_object = google_cloud_datalabeling_v1beta1_create_instruction_request_object
|
1494
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
1495
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
1496
|
+
command.params['parent'] = parent unless parent.nil?
|
1497
|
+
command.query['fields'] = fields unless fields.nil?
|
1498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1499
|
+
execute_or_queue_command(command, &block)
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
# Deletes an instruction object by resource name.
|
1503
|
+
# @param [String] name
|
1504
|
+
# Required. Instruction resource name, format: projects/`project_id`/
|
1505
|
+
# instructions/`instruction_id`
|
1506
|
+
# @param [String] fields
|
1507
|
+
# Selector specifying which fields to include in a partial response.
|
1508
|
+
# @param [String] quota_user
|
1509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1511
|
+
# @param [Google::Apis::RequestOptions] options
|
1512
|
+
# Request-specific options
|
1513
|
+
#
|
1514
|
+
# @yield [result, err] Result & error if block supplied
|
1515
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1516
|
+
# @yieldparam err [StandardError] error object if request failed
|
1517
|
+
#
|
1518
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1519
|
+
#
|
1520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1523
|
+
def delete_project_instruction(name, fields: nil, quota_user: nil, options: nil, &block)
|
1524
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1525
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1526
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1527
|
+
command.params['name'] = name unless name.nil?
|
1528
|
+
command.query['fields'] = fields unless fields.nil?
|
1529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1530
|
+
execute_or_queue_command(command, &block)
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
# Gets an instruction by resource name.
|
1534
|
+
# @param [String] name
|
1535
|
+
# Required. Instruction resource name, format: projects/`project_id`/
|
1536
|
+
# instructions/`instruction_id`
|
1537
|
+
# @param [String] fields
|
1538
|
+
# Selector specifying which fields to include in a partial response.
|
1539
|
+
# @param [String] quota_user
|
1540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1542
|
+
# @param [Google::Apis::RequestOptions] options
|
1543
|
+
# Request-specific options
|
1544
|
+
#
|
1545
|
+
# @yield [result, err] Result & error if block supplied
|
1546
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction] parsed result object
|
1547
|
+
# @yieldparam err [StandardError] error object if request failed
|
1548
|
+
#
|
1549
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction]
|
1550
|
+
#
|
1551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1554
|
+
def get_project_instruction(name, fields: nil, quota_user: nil, options: nil, &block)
|
1555
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1556
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction::Representation
|
1557
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction
|
1558
|
+
command.params['name'] = name unless name.nil?
|
1559
|
+
command.query['fields'] = fields unless fields.nil?
|
1560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1561
|
+
execute_or_queue_command(command, &block)
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# Lists instructions for a project. Pagination is supported.
|
1565
|
+
# @param [String] parent
|
1566
|
+
# Required. Instruction resource parent, format: projects/`project_id`
|
1567
|
+
# @param [String] filter
|
1568
|
+
# Optional. Filter is not supported at this moment.
|
1569
|
+
# @param [Fixnum] page_size
|
1570
|
+
# Optional. Requested page size. Server may return fewer results than requested.
|
1571
|
+
# Default value is 100.
|
1572
|
+
# @param [String] page_token
|
1573
|
+
# Optional. A token identifying a page of results for the server to return.
|
1574
|
+
# Typically obtained by ListInstructionsResponse.next_page_token of the previous
|
1575
|
+
# [DataLabelingService.ListInstructions] call. Return first page if empty.
|
1576
|
+
# @param [String] fields
|
1577
|
+
# Selector specifying which fields to include in a partial response.
|
1578
|
+
# @param [String] quota_user
|
1579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1581
|
+
# @param [Google::Apis::RequestOptions] options
|
1582
|
+
# Request-specific options
|
1583
|
+
#
|
1584
|
+
# @yield [result, err] Result & error if block supplied
|
1585
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse] parsed result object
|
1586
|
+
# @yieldparam err [StandardError] error object if request failed
|
1587
|
+
#
|
1588
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse]
|
1589
|
+
#
|
1590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1593
|
+
def list_project_instructions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1594
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/instructions', options)
|
1595
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse::Representation
|
1596
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ListInstructionsResponse
|
1597
|
+
command.params['parent'] = parent unless parent.nil?
|
1598
|
+
command.query['filter'] = filter unless filter.nil?
|
1599
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1600
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1601
|
+
command.query['fields'] = fields unless fields.nil?
|
1602
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1603
|
+
execute_or_queue_command(command, &block)
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1607
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1608
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1609
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1610
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1611
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1612
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1613
|
+
# corresponding to `Code.CANCELLED`.
|
1614
|
+
# @param [String] name
|
1615
|
+
# The name of the operation resource to be cancelled.
|
1616
|
+
# @param [String] fields
|
1617
|
+
# Selector specifying which fields to include in a partial response.
|
1618
|
+
# @param [String] quota_user
|
1619
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1620
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1621
|
+
# @param [Google::Apis::RequestOptions] options
|
1622
|
+
# Request-specific options
|
1623
|
+
#
|
1624
|
+
# @yield [result, err] Result & error if block supplied
|
1625
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1626
|
+
# @yieldparam err [StandardError] error object if request failed
|
1627
|
+
#
|
1628
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1629
|
+
#
|
1630
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1631
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1632
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1633
|
+
def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1634
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:cancel', options)
|
1635
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1636
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1637
|
+
command.params['name'] = name unless name.nil?
|
1638
|
+
command.query['fields'] = fields unless fields.nil?
|
1639
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1640
|
+
execute_or_queue_command(command, &block)
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1644
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1645
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1646
|
+
# UNIMPLEMENTED`.
|
1647
|
+
# @param [String] name
|
1648
|
+
# The name of the operation resource to be deleted.
|
1649
|
+
# @param [String] fields
|
1650
|
+
# Selector specifying which fields to include in a partial response.
|
1651
|
+
# @param [String] quota_user
|
1652
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1653
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1654
|
+
# @param [Google::Apis::RequestOptions] options
|
1655
|
+
# Request-specific options
|
1656
|
+
#
|
1657
|
+
# @yield [result, err] Result & error if block supplied
|
1658
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty] parsed result object
|
1659
|
+
# @yieldparam err [StandardError] error object if request failed
|
1660
|
+
#
|
1661
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty]
|
1662
|
+
#
|
1663
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1664
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1665
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1666
|
+
def delete_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1667
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1668
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty::Representation
|
1669
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleProtobufEmpty
|
1670
|
+
command.params['name'] = name unless name.nil?
|
1671
|
+
command.query['fields'] = fields unless fields.nil?
|
1672
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1673
|
+
execute_or_queue_command(command, &block)
|
1674
|
+
end
|
1675
|
+
|
1676
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1677
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1678
|
+
# @param [String] name
|
1679
|
+
# The name of the operation resource.
|
1680
|
+
# @param [String] fields
|
1681
|
+
# Selector specifying which fields to include in a partial response.
|
1682
|
+
# @param [String] quota_user
|
1683
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1684
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1685
|
+
# @param [Google::Apis::RequestOptions] options
|
1686
|
+
# Request-specific options
|
1687
|
+
#
|
1688
|
+
# @yield [result, err] Result & error if block supplied
|
1689
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation] parsed result object
|
1690
|
+
# @yieldparam err [StandardError] error object if request failed
|
1691
|
+
#
|
1692
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation]
|
1693
|
+
#
|
1694
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1695
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1696
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1697
|
+
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1698
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1699
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation::Representation
|
1700
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningOperation
|
1701
|
+
command.params['name'] = name unless name.nil?
|
1702
|
+
command.query['fields'] = fields unless fields.nil?
|
1703
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1704
|
+
execute_or_queue_command(command, &block)
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
# Lists operations that match the specified filter in the request. If the server
|
1708
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
1709
|
+
# binding allows API services to override the binding to use different resource
|
1710
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
1711
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1712
|
+
# service configuration. For backwards compatibility, the default name includes
|
1713
|
+
# the operations collection id, however overriding users must ensure the name
|
1714
|
+
# binding is the parent resource, without the operations collection id.
|
1715
|
+
# @param [String] name
|
1716
|
+
# The name of the operation's parent resource.
|
1717
|
+
# @param [String] filter
|
1718
|
+
# The standard list filter.
|
1719
|
+
# @param [Fixnum] page_size
|
1720
|
+
# The standard list page size.
|
1721
|
+
# @param [String] page_token
|
1722
|
+
# The standard list page token.
|
1723
|
+
# @param [String] fields
|
1724
|
+
# Selector specifying which fields to include in a partial response.
|
1725
|
+
# @param [String] quota_user
|
1726
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1727
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1728
|
+
# @param [Google::Apis::RequestOptions] options
|
1729
|
+
# Request-specific options
|
1730
|
+
#
|
1731
|
+
# @yield [result, err] Result & error if block supplied
|
1732
|
+
# @yieldparam result [Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
1733
|
+
# @yieldparam err [StandardError] error object if request failed
|
1734
|
+
#
|
1735
|
+
# @return [Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse]
|
1736
|
+
#
|
1737
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1738
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1739
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1740
|
+
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1741
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
1742
|
+
command.response_representation = Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
1743
|
+
command.response_class = Google::Apis::DatalabelingV1beta1::GoogleLongrunningListOperationsResponse
|
1744
|
+
command.params['name'] = name unless name.nil?
|
1745
|
+
command.query['filter'] = filter unless filter.nil?
|
1746
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1747
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1748
|
+
command.query['fields'] = fields unless fields.nil?
|
1749
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1750
|
+
execute_or_queue_command(command, &block)
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
protected
|
1754
|
+
|
1755
|
+
def apply_command_defaults(command)
|
1756
|
+
command.query['key'] = key unless key.nil?
|
1757
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1758
|
+
end
|
1759
|
+
end
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
end
|