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
@@ -1,693 +0,0 @@
|
|
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 JobsV2
|
23
|
-
# Cloud Talent Solution API
|
24
|
-
#
|
25
|
-
# Cloud Talent Solution provides the capability to create, read, update, and
|
26
|
-
# delete job postings, as well as search jobs based on keywords and filters.
|
27
|
-
#
|
28
|
-
# @example
|
29
|
-
# require 'google/apis/jobs_v2'
|
30
|
-
#
|
31
|
-
# Jobs = Google::Apis::JobsV2 # Alias the module
|
32
|
-
# service = Jobs::CloudTalentSolutionService.new
|
33
|
-
#
|
34
|
-
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
35
|
-
class CloudTalentSolutionService < Google::Apis::Core::BaseService
|
36
|
-
# @return [String]
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
-
attr_accessor :key
|
40
|
-
|
41
|
-
# @return [String]
|
42
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
-
attr_accessor :quota_user
|
45
|
-
|
46
|
-
def initialize
|
47
|
-
super('https://jobs.googleapis.com/', '')
|
48
|
-
@batch_path = 'batch'
|
49
|
-
end
|
50
|
-
|
51
|
-
# Creates a new company entity.
|
52
|
-
# @param [Google::Apis::JobsV2::Company] company_object
|
53
|
-
# @param [String] fields
|
54
|
-
# Selector specifying which fields to include in a partial response.
|
55
|
-
# @param [String] quota_user
|
56
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
58
|
-
# @param [Google::Apis::RequestOptions] options
|
59
|
-
# Request-specific options
|
60
|
-
#
|
61
|
-
# @yield [result, err] Result & error if block supplied
|
62
|
-
# @yieldparam result [Google::Apis::JobsV2::Company] parsed result object
|
63
|
-
# @yieldparam err [StandardError] error object if request failed
|
64
|
-
#
|
65
|
-
# @return [Google::Apis::JobsV2::Company]
|
66
|
-
#
|
67
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def create_company(company_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
-
command = make_simple_command(:post, 'v2/companies', options)
|
72
|
-
command.request_representation = Google::Apis::JobsV2::Company::Representation
|
73
|
-
command.request_object = company_object
|
74
|
-
command.response_representation = Google::Apis::JobsV2::Company::Representation
|
75
|
-
command.response_class = Google::Apis::JobsV2::Company
|
76
|
-
command.query['fields'] = fields unless fields.nil?
|
77
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
|
-
execute_or_queue_command(command, &block)
|
79
|
-
end
|
80
|
-
|
81
|
-
# Deletes the specified company.
|
82
|
-
# @param [String] name
|
83
|
-
# Required. The resource name of the company to be deleted, such as, "companies/
|
84
|
-
# 0000aaaa-1111-bbbb-2222-cccc3333dddd".
|
85
|
-
# @param [String] fields
|
86
|
-
# Selector specifying which fields to include in a partial response.
|
87
|
-
# @param [String] quota_user
|
88
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
89
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
90
|
-
# @param [Google::Apis::RequestOptions] options
|
91
|
-
# Request-specific options
|
92
|
-
#
|
93
|
-
# @yield [result, err] Result & error if block supplied
|
94
|
-
# @yieldparam result [Google::Apis::JobsV2::Empty] parsed result object
|
95
|
-
# @yieldparam err [StandardError] error object if request failed
|
96
|
-
#
|
97
|
-
# @return [Google::Apis::JobsV2::Empty]
|
98
|
-
#
|
99
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
100
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
101
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
102
|
-
def delete_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
103
|
-
command = make_simple_command(:delete, 'v2/{+name}', options)
|
104
|
-
command.response_representation = Google::Apis::JobsV2::Empty::Representation
|
105
|
-
command.response_class = Google::Apis::JobsV2::Empty
|
106
|
-
command.params['name'] = name unless name.nil?
|
107
|
-
command.query['fields'] = fields unless fields.nil?
|
108
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
109
|
-
execute_or_queue_command(command, &block)
|
110
|
-
end
|
111
|
-
|
112
|
-
# Retrieves the specified company.
|
113
|
-
# @param [String] name
|
114
|
-
# Required. Resource name of the company to retrieve, such as "companies/
|
115
|
-
# 0000aaaa-1111-bbbb-2222-cccc3333dddd".
|
116
|
-
# @param [String] fields
|
117
|
-
# Selector specifying which fields to include in a partial response.
|
118
|
-
# @param [String] quota_user
|
119
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
120
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
121
|
-
# @param [Google::Apis::RequestOptions] options
|
122
|
-
# Request-specific options
|
123
|
-
#
|
124
|
-
# @yield [result, err] Result & error if block supplied
|
125
|
-
# @yieldparam result [Google::Apis::JobsV2::Company] parsed result object
|
126
|
-
# @yieldparam err [StandardError] error object if request failed
|
127
|
-
#
|
128
|
-
# @return [Google::Apis::JobsV2::Company]
|
129
|
-
#
|
130
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
131
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
132
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
133
|
-
def get_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
134
|
-
command = make_simple_command(:get, 'v2/{+name}', options)
|
135
|
-
command.response_representation = Google::Apis::JobsV2::Company::Representation
|
136
|
-
command.response_class = Google::Apis::JobsV2::Company
|
137
|
-
command.params['name'] = name unless name.nil?
|
138
|
-
command.query['fields'] = fields unless fields.nil?
|
139
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
140
|
-
execute_or_queue_command(command, &block)
|
141
|
-
end
|
142
|
-
|
143
|
-
# Lists all companies associated with a Cloud Talent Solution account.
|
144
|
-
# @param [Boolean] must_have_open_jobs
|
145
|
-
# Optional. Set to true if the companies request must have open jobs. Defaults
|
146
|
-
# to false. If true, at most page_size of companies are fetched, among which
|
147
|
-
# only those with open jobs are returned.
|
148
|
-
# @param [Fixnum] page_size
|
149
|
-
# Optional. The maximum number of companies to be returned, at most 100. Default
|
150
|
-
# is 100 if a non-positive number is provided.
|
151
|
-
# @param [String] page_token
|
152
|
-
# Optional. The starting indicator from which to return results.
|
153
|
-
# @param [String] fields
|
154
|
-
# Selector specifying which fields to include in a partial response.
|
155
|
-
# @param [String] quota_user
|
156
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
157
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
158
|
-
# @param [Google::Apis::RequestOptions] options
|
159
|
-
# Request-specific options
|
160
|
-
#
|
161
|
-
# @yield [result, err] Result & error if block supplied
|
162
|
-
# @yieldparam result [Google::Apis::JobsV2::ListCompaniesResponse] parsed result object
|
163
|
-
# @yieldparam err [StandardError] error object if request failed
|
164
|
-
#
|
165
|
-
# @return [Google::Apis::JobsV2::ListCompaniesResponse]
|
166
|
-
#
|
167
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
168
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
169
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
170
|
-
def list_companies(must_have_open_jobs: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
171
|
-
command = make_simple_command(:get, 'v2/companies', options)
|
172
|
-
command.response_representation = Google::Apis::JobsV2::ListCompaniesResponse::Representation
|
173
|
-
command.response_class = Google::Apis::JobsV2::ListCompaniesResponse
|
174
|
-
command.query['mustHaveOpenJobs'] = must_have_open_jobs unless must_have_open_jobs.nil?
|
175
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
176
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
177
|
-
command.query['fields'] = fields unless fields.nil?
|
178
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
|
-
execute_or_queue_command(command, &block)
|
180
|
-
end
|
181
|
-
|
182
|
-
# Updates the specified company. Company names can't be updated. To update a
|
183
|
-
# company name, delete the company and all jobs associated with it, and only
|
184
|
-
# then re-create them.
|
185
|
-
# @param [String] name
|
186
|
-
# Required during company update. The resource name for a company. This is
|
187
|
-
# generated by the service when a company is created, for example, "companies/
|
188
|
-
# 0000aaaa-1111-bbbb-2222-cccc3333dddd".
|
189
|
-
# @param [Google::Apis::JobsV2::Company] company_object
|
190
|
-
# @param [String] update_company_fields
|
191
|
-
# Optional but strongly recommended to be provided for the best service
|
192
|
-
# experience. If update_company_fields is provided, only the specified fields in
|
193
|
-
# company are updated. Otherwise all the fields are updated. A field mask to
|
194
|
-
# specify the company fields to update. Valid values are: * displayName *
|
195
|
-
# website * imageUrl * companySize * distributorBillingCompanyId *
|
196
|
-
# companyInfoSources * careerPageLink * hiringAgency * hqLocation * eeoText *
|
197
|
-
# keywordSearchableCustomAttributes * title (deprecated) *
|
198
|
-
# keywordSearchableCustomFields (deprecated)
|
199
|
-
# @param [String] fields
|
200
|
-
# Selector specifying which fields to include in a partial response.
|
201
|
-
# @param [String] quota_user
|
202
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
203
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
204
|
-
# @param [Google::Apis::RequestOptions] options
|
205
|
-
# Request-specific options
|
206
|
-
#
|
207
|
-
# @yield [result, err] Result & error if block supplied
|
208
|
-
# @yieldparam result [Google::Apis::JobsV2::Company] parsed result object
|
209
|
-
# @yieldparam err [StandardError] error object if request failed
|
210
|
-
#
|
211
|
-
# @return [Google::Apis::JobsV2::Company]
|
212
|
-
#
|
213
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
214
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
215
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
216
|
-
def patch_company(name, company_object = nil, update_company_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
|
217
|
-
command = make_simple_command(:patch, 'v2/{+name}', options)
|
218
|
-
command.request_representation = Google::Apis::JobsV2::Company::Representation
|
219
|
-
command.request_object = company_object
|
220
|
-
command.response_representation = Google::Apis::JobsV2::Company::Representation
|
221
|
-
command.response_class = Google::Apis::JobsV2::Company
|
222
|
-
command.params['name'] = name unless name.nil?
|
223
|
-
command.query['updateCompanyFields'] = update_company_fields unless update_company_fields.nil?
|
224
|
-
command.query['fields'] = fields unless fields.nil?
|
225
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
226
|
-
execute_or_queue_command(command, &block)
|
227
|
-
end
|
228
|
-
|
229
|
-
# Deprecated. Use ListJobs instead. Lists all jobs associated with a company.
|
230
|
-
# @param [String] company_name
|
231
|
-
# Required. The resource name of the company that owns the jobs to be listed,
|
232
|
-
# such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
|
233
|
-
# @param [Boolean] ids_only
|
234
|
-
# Optional. If set to `true`, only job ID, job requisition ID and language code
|
235
|
-
# will be returned. A typical use is to synchronize job repositories. Defaults
|
236
|
-
# to false.
|
237
|
-
# @param [Boolean] include_jobs_count
|
238
|
-
# Deprecated. Please DO NOT use this field except for small companies. Suggest
|
239
|
-
# counting jobs page by page instead. Optional. Set to true if the total number
|
240
|
-
# of open jobs is to be returned. Defaults to false.
|
241
|
-
# @param [String] job_requisition_id
|
242
|
-
# Optional. The requisition ID, also known as posting ID, assigned by the
|
243
|
-
# company to the job. The maximum number of allowable characters is 225.
|
244
|
-
# @param [Fixnum] page_size
|
245
|
-
# Optional. The maximum number of jobs to be returned per page of results. If
|
246
|
-
# ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the
|
247
|
-
# maximum allowed page size is 100. Default is 100 if empty or a number < 1 is
|
248
|
-
# specified.
|
249
|
-
# @param [String] page_token
|
250
|
-
# Optional. The starting point of a query result.
|
251
|
-
# @param [String] fields
|
252
|
-
# Selector specifying which fields to include in a partial response.
|
253
|
-
# @param [String] quota_user
|
254
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
255
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
256
|
-
# @param [Google::Apis::RequestOptions] options
|
257
|
-
# Request-specific options
|
258
|
-
#
|
259
|
-
# @yield [result, err] Result & error if block supplied
|
260
|
-
# @yieldparam result [Google::Apis::JobsV2::ListCompanyJobsResponse] parsed result object
|
261
|
-
# @yieldparam err [StandardError] error object if request failed
|
262
|
-
#
|
263
|
-
# @return [Google::Apis::JobsV2::ListCompanyJobsResponse]
|
264
|
-
#
|
265
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
266
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
267
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
268
|
-
def list_company_jobs(company_name, ids_only: nil, include_jobs_count: nil, job_requisition_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
269
|
-
command = make_simple_command(:get, 'v2/{+companyName}/jobs', options)
|
270
|
-
command.response_representation = Google::Apis::JobsV2::ListCompanyJobsResponse::Representation
|
271
|
-
command.response_class = Google::Apis::JobsV2::ListCompanyJobsResponse
|
272
|
-
command.params['companyName'] = company_name unless company_name.nil?
|
273
|
-
command.query['idsOnly'] = ids_only unless ids_only.nil?
|
274
|
-
command.query['includeJobsCount'] = include_jobs_count unless include_jobs_count.nil?
|
275
|
-
command.query['jobRequisitionId'] = job_requisition_id unless job_requisition_id.nil?
|
276
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
277
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
278
|
-
command.query['fields'] = fields unless fields.nil?
|
279
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
-
execute_or_queue_command(command, &block)
|
281
|
-
end
|
282
|
-
|
283
|
-
# Deletes a list of Job postings by filter.
|
284
|
-
# @param [Google::Apis::JobsV2::BatchDeleteJobsRequest] batch_delete_jobs_request_object
|
285
|
-
# @param [String] fields
|
286
|
-
# Selector specifying which fields to include in a partial response.
|
287
|
-
# @param [String] quota_user
|
288
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
289
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
290
|
-
# @param [Google::Apis::RequestOptions] options
|
291
|
-
# Request-specific options
|
292
|
-
#
|
293
|
-
# @yield [result, err] Result & error if block supplied
|
294
|
-
# @yieldparam result [Google::Apis::JobsV2::Empty] parsed result object
|
295
|
-
# @yieldparam err [StandardError] error object if request failed
|
296
|
-
#
|
297
|
-
# @return [Google::Apis::JobsV2::Empty]
|
298
|
-
#
|
299
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
300
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
301
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
302
|
-
def batch_delete_jobs(batch_delete_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
303
|
-
command = make_simple_command(:post, 'v2/jobs:batchDelete', options)
|
304
|
-
command.request_representation = Google::Apis::JobsV2::BatchDeleteJobsRequest::Representation
|
305
|
-
command.request_object = batch_delete_jobs_request_object
|
306
|
-
command.response_representation = Google::Apis::JobsV2::Empty::Representation
|
307
|
-
command.response_class = Google::Apis::JobsV2::Empty
|
308
|
-
command.query['fields'] = fields unless fields.nil?
|
309
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
310
|
-
execute_or_queue_command(command, &block)
|
311
|
-
end
|
312
|
-
|
313
|
-
# Creates a new job. Typically, the job becomes searchable within 10 seconds,
|
314
|
-
# but it may take up to 5 minutes.
|
315
|
-
# @param [Google::Apis::JobsV2::CreateJobRequest] create_job_request_object
|
316
|
-
# @param [String] fields
|
317
|
-
# Selector specifying which fields to include in a partial response.
|
318
|
-
# @param [String] quota_user
|
319
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
320
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
321
|
-
# @param [Google::Apis::RequestOptions] options
|
322
|
-
# Request-specific options
|
323
|
-
#
|
324
|
-
# @yield [result, err] Result & error if block supplied
|
325
|
-
# @yieldparam result [Google::Apis::JobsV2::Job] parsed result object
|
326
|
-
# @yieldparam err [StandardError] error object if request failed
|
327
|
-
#
|
328
|
-
# @return [Google::Apis::JobsV2::Job]
|
329
|
-
#
|
330
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
331
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
332
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
333
|
-
def create_job(create_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
334
|
-
command = make_simple_command(:post, 'v2/jobs', options)
|
335
|
-
command.request_representation = Google::Apis::JobsV2::CreateJobRequest::Representation
|
336
|
-
command.request_object = create_job_request_object
|
337
|
-
command.response_representation = Google::Apis::JobsV2::Job::Representation
|
338
|
-
command.response_class = Google::Apis::JobsV2::Job
|
339
|
-
command.query['fields'] = fields unless fields.nil?
|
340
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
341
|
-
execute_or_queue_command(command, &block)
|
342
|
-
end
|
343
|
-
|
344
|
-
# Deletes the specified job. Typically, the job becomes unsearchable within 10
|
345
|
-
# seconds, but it may take up to 5 minutes.
|
346
|
-
# @param [String] name
|
347
|
-
# Required. The resource name of the job to be deleted, such as "jobs/11111111".
|
348
|
-
# @param [Boolean] disable_fast_process
|
349
|
-
# Deprecated. This field is not working anymore. Optional. If set to true, this
|
350
|
-
# call waits for all processing steps to complete before the job is cleaned up.
|
351
|
-
# Otherwise, the call returns while some steps are still taking place
|
352
|
-
# asynchronously, hence faster.
|
353
|
-
# @param [String] fields
|
354
|
-
# Selector specifying which fields to include in a partial response.
|
355
|
-
# @param [String] quota_user
|
356
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
357
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
358
|
-
# @param [Google::Apis::RequestOptions] options
|
359
|
-
# Request-specific options
|
360
|
-
#
|
361
|
-
# @yield [result, err] Result & error if block supplied
|
362
|
-
# @yieldparam result [Google::Apis::JobsV2::Empty] parsed result object
|
363
|
-
# @yieldparam err [StandardError] error object if request failed
|
364
|
-
#
|
365
|
-
# @return [Google::Apis::JobsV2::Empty]
|
366
|
-
#
|
367
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
368
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
369
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
370
|
-
def delete_job(name, disable_fast_process: nil, fields: nil, quota_user: nil, options: nil, &block)
|
371
|
-
command = make_simple_command(:delete, 'v2/{+name}', options)
|
372
|
-
command.response_representation = Google::Apis::JobsV2::Empty::Representation
|
373
|
-
command.response_class = Google::Apis::JobsV2::Empty
|
374
|
-
command.params['name'] = name unless name.nil?
|
375
|
-
command.query['disableFastProcess'] = disable_fast_process unless disable_fast_process.nil?
|
376
|
-
command.query['fields'] = fields unless fields.nil?
|
377
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
378
|
-
execute_or_queue_command(command, &block)
|
379
|
-
end
|
380
|
-
|
381
|
-
# Deprecated. Use BatchDeleteJobs instead. Deletes the specified job by filter.
|
382
|
-
# You can specify whether to synchronously wait for validation, indexing, and
|
383
|
-
# general processing to be completed before the response is returned.
|
384
|
-
# @param [Google::Apis::JobsV2::DeleteJobsByFilterRequest] delete_jobs_by_filter_request_object
|
385
|
-
# @param [String] fields
|
386
|
-
# Selector specifying which fields to include in a partial response.
|
387
|
-
# @param [String] quota_user
|
388
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
389
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
390
|
-
# @param [Google::Apis::RequestOptions] options
|
391
|
-
# Request-specific options
|
392
|
-
#
|
393
|
-
# @yield [result, err] Result & error if block supplied
|
394
|
-
# @yieldparam result [Google::Apis::JobsV2::Empty] parsed result object
|
395
|
-
# @yieldparam err [StandardError] error object if request failed
|
396
|
-
#
|
397
|
-
# @return [Google::Apis::JobsV2::Empty]
|
398
|
-
#
|
399
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
400
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
401
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
402
|
-
def delete_job_by_filter(delete_jobs_by_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
403
|
-
command = make_simple_command(:post, 'v2/jobs:deleteByFilter', options)
|
404
|
-
command.request_representation = Google::Apis::JobsV2::DeleteJobsByFilterRequest::Representation
|
405
|
-
command.request_object = delete_jobs_by_filter_request_object
|
406
|
-
command.response_representation = Google::Apis::JobsV2::Empty::Representation
|
407
|
-
command.response_class = Google::Apis::JobsV2::Empty
|
408
|
-
command.query['fields'] = fields unless fields.nil?
|
409
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
410
|
-
execute_or_queue_command(command, &block)
|
411
|
-
end
|
412
|
-
|
413
|
-
# Retrieves the specified job, whose status is OPEN or recently EXPIRED within
|
414
|
-
# the last 90 days.
|
415
|
-
# @param [String] name
|
416
|
-
# Required. The resource name of the job to retrieve, such as "jobs/11111111".
|
417
|
-
# @param [String] fields
|
418
|
-
# Selector specifying which fields to include in a partial response.
|
419
|
-
# @param [String] quota_user
|
420
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
421
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
|
-
# @param [Google::Apis::RequestOptions] options
|
423
|
-
# Request-specific options
|
424
|
-
#
|
425
|
-
# @yield [result, err] Result & error if block supplied
|
426
|
-
# @yieldparam result [Google::Apis::JobsV2::Job] parsed result object
|
427
|
-
# @yieldparam err [StandardError] error object if request failed
|
428
|
-
#
|
429
|
-
# @return [Google::Apis::JobsV2::Job]
|
430
|
-
#
|
431
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def get_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
-
command = make_simple_command(:get, 'v2/{+name}', options)
|
436
|
-
command.response_representation = Google::Apis::JobsV2::Job::Representation
|
437
|
-
command.response_class = Google::Apis::JobsV2::Job
|
438
|
-
command.params['name'] = name unless name.nil?
|
439
|
-
command.query['fields'] = fields unless fields.nil?
|
440
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
441
|
-
execute_or_queue_command(command, &block)
|
442
|
-
end
|
443
|
-
|
444
|
-
# Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single
|
445
|
-
# call with both search and histogram. Retrieves a histogram for the given
|
446
|
-
# GetHistogramRequest. This call provides a structured count of jobs that match
|
447
|
-
# against the search query, grouped by specified facets. This call constrains
|
448
|
-
# the visibility of jobs present in the database, and only counts jobs the
|
449
|
-
# caller has permission to search against. For example, use this call to
|
450
|
-
# generate the number of jobs in the U.S. by state.
|
451
|
-
# @param [Google::Apis::JobsV2::GetHistogramRequest] get_histogram_request_object
|
452
|
-
# @param [String] fields
|
453
|
-
# Selector specifying which fields to include in a partial response.
|
454
|
-
# @param [String] quota_user
|
455
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
456
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
457
|
-
# @param [Google::Apis::RequestOptions] options
|
458
|
-
# Request-specific options
|
459
|
-
#
|
460
|
-
# @yield [result, err] Result & error if block supplied
|
461
|
-
# @yieldparam result [Google::Apis::JobsV2::GetHistogramResponse] parsed result object
|
462
|
-
# @yieldparam err [StandardError] error object if request failed
|
463
|
-
#
|
464
|
-
# @return [Google::Apis::JobsV2::GetHistogramResponse]
|
465
|
-
#
|
466
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
467
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
468
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
469
|
-
def histogram_job(get_histogram_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
470
|
-
command = make_simple_command(:post, 'v2/jobs:histogram', options)
|
471
|
-
command.request_representation = Google::Apis::JobsV2::GetHistogramRequest::Representation
|
472
|
-
command.request_object = get_histogram_request_object
|
473
|
-
command.response_representation = Google::Apis::JobsV2::GetHistogramResponse::Representation
|
474
|
-
command.response_class = Google::Apis::JobsV2::GetHistogramResponse
|
475
|
-
command.query['fields'] = fields unless fields.nil?
|
476
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
477
|
-
execute_or_queue_command(command, &block)
|
478
|
-
end
|
479
|
-
|
480
|
-
# Lists jobs by filter.
|
481
|
-
# @param [String] filter
|
482
|
-
# Required. The filter string specifies the jobs to be enumerated. Supported
|
483
|
-
# operator: =, AND The fields eligible for filtering are: * `companyName` (
|
484
|
-
# Required) * `requisitionId` (Optional) Sample Query: * companyName = "
|
485
|
-
# companies/123" * companyName = "companies/123" AND requisitionId = "req-1"
|
486
|
-
# @param [Boolean] ids_only
|
487
|
-
# Optional. If set to `true`, only Job.name, Job.requisition_id and Job.
|
488
|
-
# language_code will be returned. A typical use case is to synchronize job
|
489
|
-
# repositories. Defaults to false.
|
490
|
-
# @param [Fixnum] page_size
|
491
|
-
# Optional. The maximum number of jobs to be returned per page of results. If
|
492
|
-
# ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the
|
493
|
-
# maximum allowed page size is 100. Default is 100 if empty or a number < 1 is
|
494
|
-
# specified.
|
495
|
-
# @param [String] page_token
|
496
|
-
# Optional. The starting point of a query result.
|
497
|
-
# @param [String] fields
|
498
|
-
# Selector specifying which fields to include in a partial response.
|
499
|
-
# @param [String] quota_user
|
500
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
501
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
502
|
-
# @param [Google::Apis::RequestOptions] options
|
503
|
-
# Request-specific options
|
504
|
-
#
|
505
|
-
# @yield [result, err] Result & error if block supplied
|
506
|
-
# @yieldparam result [Google::Apis::JobsV2::ListJobsResponse] parsed result object
|
507
|
-
# @yieldparam err [StandardError] error object if request failed
|
508
|
-
#
|
509
|
-
# @return [Google::Apis::JobsV2::ListJobsResponse]
|
510
|
-
#
|
511
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
512
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
|
-
def list_jobs(filter: nil, ids_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
515
|
-
command = make_simple_command(:get, 'v2/jobs', options)
|
516
|
-
command.response_representation = Google::Apis::JobsV2::ListJobsResponse::Representation
|
517
|
-
command.response_class = Google::Apis::JobsV2::ListJobsResponse
|
518
|
-
command.query['filter'] = filter unless filter.nil?
|
519
|
-
command.query['idsOnly'] = ids_only unless ids_only.nil?
|
520
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
521
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
522
|
-
command.query['fields'] = fields unless fields.nil?
|
523
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
524
|
-
execute_or_queue_command(command, &block)
|
525
|
-
end
|
526
|
-
|
527
|
-
# Updates specified job. Typically, updated contents become visible in search
|
528
|
-
# results within 10 seconds, but it may take up to 5 minutes.
|
529
|
-
# @param [String] name
|
530
|
-
# Required during job update. Resource name assigned to a job by the API, for
|
531
|
-
# example, "/jobs/foo". Use of this field in job queries and API calls is
|
532
|
-
# preferred over the use of requisition_id since this value is unique.
|
533
|
-
# @param [Google::Apis::JobsV2::UpdateJobRequest] update_job_request_object
|
534
|
-
# @param [String] fields
|
535
|
-
# Selector specifying which fields to include in a partial response.
|
536
|
-
# @param [String] quota_user
|
537
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
538
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
539
|
-
# @param [Google::Apis::RequestOptions] options
|
540
|
-
# Request-specific options
|
541
|
-
#
|
542
|
-
# @yield [result, err] Result & error if block supplied
|
543
|
-
# @yieldparam result [Google::Apis::JobsV2::Job] parsed result object
|
544
|
-
# @yieldparam err [StandardError] error object if request failed
|
545
|
-
#
|
546
|
-
# @return [Google::Apis::JobsV2::Job]
|
547
|
-
#
|
548
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
549
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
550
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
551
|
-
def patch_job(name, update_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
552
|
-
command = make_simple_command(:patch, 'v2/{+name}', options)
|
553
|
-
command.request_representation = Google::Apis::JobsV2::UpdateJobRequest::Representation
|
554
|
-
command.request_object = update_job_request_object
|
555
|
-
command.response_representation = Google::Apis::JobsV2::Job::Representation
|
556
|
-
command.response_class = Google::Apis::JobsV2::Job
|
557
|
-
command.params['name'] = name unless name.nil?
|
558
|
-
command.query['fields'] = fields unless fields.nil?
|
559
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
560
|
-
execute_or_queue_command(command, &block)
|
561
|
-
end
|
562
|
-
|
563
|
-
# Searches for jobs using the provided SearchJobsRequest. This call constrains
|
564
|
-
# the visibility of jobs present in the database, and only returns jobs that the
|
565
|
-
# caller has permission to search against.
|
566
|
-
# @param [Google::Apis::JobsV2::SearchJobsRequest] search_jobs_request_object
|
567
|
-
# @param [String] fields
|
568
|
-
# Selector specifying which fields to include in a partial response.
|
569
|
-
# @param [String] quota_user
|
570
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
571
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
572
|
-
# @param [Google::Apis::RequestOptions] options
|
573
|
-
# Request-specific options
|
574
|
-
#
|
575
|
-
# @yield [result, err] Result & error if block supplied
|
576
|
-
# @yieldparam result [Google::Apis::JobsV2::SearchJobsResponse] parsed result object
|
577
|
-
# @yieldparam err [StandardError] error object if request failed
|
578
|
-
#
|
579
|
-
# @return [Google::Apis::JobsV2::SearchJobsResponse]
|
580
|
-
#
|
581
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
582
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
583
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
584
|
-
def search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
585
|
-
command = make_simple_command(:post, 'v2/jobs:search', options)
|
586
|
-
command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation
|
587
|
-
command.request_object = search_jobs_request_object
|
588
|
-
command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation
|
589
|
-
command.response_class = Google::Apis::JobsV2::SearchJobsResponse
|
590
|
-
command.query['fields'] = fields unless fields.nil?
|
591
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
592
|
-
execute_or_queue_command(command, &block)
|
593
|
-
end
|
594
|
-
|
595
|
-
# Searches for jobs using the provided SearchJobsRequest. This API call is
|
596
|
-
# intended for the use case of targeting passive job seekers (for example, job
|
597
|
-
# seekers who have signed up to receive email alerts about potential job
|
598
|
-
# opportunities), and has different algorithmic adjustments that are targeted to
|
599
|
-
# passive job seekers. This call constrains the visibility of jobs present in
|
600
|
-
# the database, and only returns jobs the caller has permission to search
|
601
|
-
# against.
|
602
|
-
# @param [Google::Apis::JobsV2::SearchJobsRequest] search_jobs_request_object
|
603
|
-
# @param [String] fields
|
604
|
-
# Selector specifying which fields to include in a partial response.
|
605
|
-
# @param [String] quota_user
|
606
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
607
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
608
|
-
# @param [Google::Apis::RequestOptions] options
|
609
|
-
# Request-specific options
|
610
|
-
#
|
611
|
-
# @yield [result, err] Result & error if block supplied
|
612
|
-
# @yieldparam result [Google::Apis::JobsV2::SearchJobsResponse] parsed result object
|
613
|
-
# @yieldparam err [StandardError] error object if request failed
|
614
|
-
#
|
615
|
-
# @return [Google::Apis::JobsV2::SearchJobsResponse]
|
616
|
-
#
|
617
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
618
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
|
-
def search_job_for_alert(search_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
621
|
-
command = make_simple_command(:post, 'v2/jobs:searchForAlert', options)
|
622
|
-
command.request_representation = Google::Apis::JobsV2::SearchJobsRequest::Representation
|
623
|
-
command.request_object = search_jobs_request_object
|
624
|
-
command.response_representation = Google::Apis::JobsV2::SearchJobsResponse::Representation
|
625
|
-
command.response_class = Google::Apis::JobsV2::SearchJobsResponse
|
626
|
-
command.query['fields'] = fields unless fields.nil?
|
627
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
628
|
-
execute_or_queue_command(command, &block)
|
629
|
-
end
|
630
|
-
|
631
|
-
# Completes the specified prefix with job keyword suggestions. Intended for use
|
632
|
-
# by a job search auto-complete search box.
|
633
|
-
# @param [String] company_name
|
634
|
-
# Optional. If provided, restricts completion to the specified company.
|
635
|
-
# @param [String] language_code
|
636
|
-
# Required. The language of the query. This is the BCP-47 language code, such as
|
637
|
-
# "en-US" or "sr-Latn". For more information, see [Tags for Identifying
|
638
|
-
# Languages](https://tools.ietf.org/html/bcp47). For CompletionType.JOB_TITLE
|
639
|
-
# type, only open jobs with same language_code are returned. For CompletionType.
|
640
|
-
# COMPANY_NAME type, only companies having open jobs with same language_code are
|
641
|
-
# returned. For CompletionType.COMBINED type, only open jobs with same
|
642
|
-
# language_code or companies having open jobs with same language_code are
|
643
|
-
# returned.
|
644
|
-
# @param [Fixnum] page_size
|
645
|
-
# Required. Completion result count. The maximum allowed page size is 10.
|
646
|
-
# @param [String] query
|
647
|
-
# Required. The query used to generate suggestions.
|
648
|
-
# @param [String] scope
|
649
|
-
# Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
|
650
|
-
# @param [String] type
|
651
|
-
# Optional. The completion topic. The default is CompletionType.COMBINED.
|
652
|
-
# @param [String] fields
|
653
|
-
# Selector specifying which fields to include in a partial response.
|
654
|
-
# @param [String] quota_user
|
655
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
656
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
657
|
-
# @param [Google::Apis::RequestOptions] options
|
658
|
-
# Request-specific options
|
659
|
-
#
|
660
|
-
# @yield [result, err] Result & error if block supplied
|
661
|
-
# @yieldparam result [Google::Apis::JobsV2::CompleteQueryResponse] parsed result object
|
662
|
-
# @yieldparam err [StandardError] error object if request failed
|
663
|
-
#
|
664
|
-
# @return [Google::Apis::JobsV2::CompleteQueryResponse]
|
665
|
-
#
|
666
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
667
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
668
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
669
|
-
def complete(company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
670
|
-
command = make_simple_command(:get, 'v2:complete', options)
|
671
|
-
command.response_representation = Google::Apis::JobsV2::CompleteQueryResponse::Representation
|
672
|
-
command.response_class = Google::Apis::JobsV2::CompleteQueryResponse
|
673
|
-
command.query['companyName'] = company_name unless company_name.nil?
|
674
|
-
command.query['languageCode'] = language_code unless language_code.nil?
|
675
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
676
|
-
command.query['query'] = query unless query.nil?
|
677
|
-
command.query['scope'] = scope unless scope.nil?
|
678
|
-
command.query['type'] = type unless type.nil?
|
679
|
-
command.query['fields'] = fields unless fields.nil?
|
680
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
681
|
-
execute_or_queue_command(command, &block)
|
682
|
-
end
|
683
|
-
|
684
|
-
protected
|
685
|
-
|
686
|
-
def apply_command_defaults(command)
|
687
|
-
command.query['key'] = key unless key.nil?
|
688
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
|
-
end
|
690
|
-
end
|
691
|
-
end
|
692
|
-
end
|
693
|
-
end
|