google-api-client 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +0 -14
- data/CHANGELOG.md +106 -0
- data/OVERVIEW.md +36 -27
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +325 -185
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +17 -13
- data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
- data/generated/google/apis/apigateway_v1/representations.rb +442 -0
- data/generated/google/apis/apigateway_v1/service.rb +1172 -0
- data/{lib/google/apis/generator/templates/classes.rb.tmpl → generated/google/apis/apigateway_v1.rb} +14 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +95 -22
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +256 -48
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
- data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
- data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
- data/generated/google/apis/artifactregistry_v1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +132 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +55 -16
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +31 -20
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -7
- data/generated/google/apis/content_v2_1/representations.rb +188 -0
- data/generated/google/apis/content_v2_1/service.rb +116 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1/service.rb +42 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +4339 -284
- data/generated/google/apis/dialogflow_v2/representations.rb +2090 -211
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4341 -286
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2097 -218
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +5147 -1554
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1966 -221
- data/generated/google/apis/dialogflow_v3beta1/service.rb +581 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +297 -10
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
- data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
- data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/service.rb +14 -14
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +4 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/{lib/google/apis/core/logging.rb → generated/google/apis/metastore_v1beta.rb} +15 -10
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +13 -0
- data/generated/google/apis/notebooks_v1/representations.rb +12 -0
- data/generated/google/apis/notebooks_v1/service.rb +34 -0
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +30 -30
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/servicedirectory_v1.rb} +15 -12
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +8 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +18 -143
- data/generated/google/apis/youtube_v3/representations.rb +0 -57
- data/generated/google/apis/youtube_v3/service.rb +0 -43
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -23
- metadata +39 -267
- data/.github/CONTRIBUTING.md +0 -31
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
- data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
- data/.github/workflows/autoapprove.yml +0 -49
- data/.github/workflows/release-please.yml +0 -79
- data/.gitignore +0 -23
- data/.kokoro/build.bat +0 -11
- data/.kokoro/build.sh +0 -4
- data/.kokoro/continuous/common.cfg +0 -25
- data/.kokoro/continuous/linux.cfg +0 -25
- data/.kokoro/continuous/osx.cfg +0 -8
- data/.kokoro/continuous/post.cfg +0 -30
- data/.kokoro/continuous/windows.cfg +0 -29
- data/.kokoro/osx.sh +0 -4
- data/.kokoro/presubmit/common.cfg +0 -24
- data/.kokoro/presubmit/linux.cfg +0 -24
- data/.kokoro/presubmit/osx.cfg +0 -8
- data/.kokoro/presubmit/windows.cfg +0 -29
- data/.kokoro/release.cfg +0 -94
- data/.kokoro/trampoline.bat +0 -10
- data/.kokoro/trampoline.sh +0 -4
- data/.repo-metadata.json +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -12
- data/.rubocop_todo.yml +0 -63
- data/CODE_OF_CONDUCT.md +0 -43
- data/Gemfile +0 -55
- data/MIGRATING.md +0 -215
- data/README.md +0 -402
- data/Rakefile +0 -131
- data/api_list_config.yaml +0 -9
- data/api_names.yaml +0 -1082
- data/bin/generate-api +0 -194
- data/docs/api-keys.md +0 -20
- data/docs/auth.md +0 -53
- data/docs/client-secrets.md +0 -69
- data/docs/getting-started.md +0 -340
- data/docs/installation.md +0 -0
- data/docs/logging.md +0 -34
- data/docs/media-upload.md +0 -25
- data/docs/oauth-installed.md +0 -191
- data/docs/oauth-server.md +0 -133
- data/docs/oauth-web.md +0 -280
- data/docs/oauth.md +0 -268
- data/docs/pagination.md +0 -29
- data/docs/performance.md +0 -25
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- data/google-api-client.gemspec +0 -36
- data/lib/google/api_client/auth/installed_app.rb +0 -143
- data/lib/google/api_client/auth/key_utils.rb +0 -94
- data/lib/google/api_client/auth/storage.rb +0 -104
- data/lib/google/api_client/auth/storages/file_store.rb +0 -57
- data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
- data/lib/google/api_client/client_secrets.rb +0 -176
- data/lib/google/apis/core/api_command.rb +0 -209
- data/lib/google/apis/core/base_service.rb +0 -447
- data/lib/google/apis/core/batch.rb +0 -236
- data/lib/google/apis/core/composite_io.rb +0 -97
- data/lib/google/apis/core/download.rb +0 -118
- data/lib/google/apis/core/hashable.rb +0 -44
- data/lib/google/apis/core/http_command.rb +0 -447
- data/lib/google/apis/core/json_representation.rb +0 -153
- data/lib/google/apis/core/multipart.rb +0 -135
- data/lib/google/apis/core/upload.rb +0 -273
- data/lib/google/apis/errors.rb +0 -89
- data/lib/google/apis/generator/annotator.rb +0 -339
- data/lib/google/apis/generator/helpers.rb +0 -76
- data/lib/google/apis/generator/model.rb +0 -187
- data/lib/google/apis/generator/template.rb +0 -124
- data/lib/google/apis/generator/templates/_class.tmpl +0 -43
- data/lib/google/apis/generator/templates/_method.tmpl +0 -92
- data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
- data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
- data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
- data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
- data/lib/google/apis/generator.rb +0 -71
- data/lib/google/apis/options.rb +0 -116
- data/lib/google/apis.rb +0 -58
- data/rakelib/devsite/devsite_builder.rb +0 -126
- data/rakelib/devsite/link_checker.rb +0 -64
- data/rakelib/devsite/repo_metadata.rb +0 -56
- data/rakelib/metrics.rake +0 -22
- data/rakelib/rubocop.rake +0 -10
- data/rakelib/spec.rake +0 -11
- data/rakelib/yard.rake +0 -11
- data/samples/cli/.env +0 -4
- data/samples/cli/Gemfile +0 -7
- data/samples/cli/README.md +0 -51
- data/samples/cli/google-api-samples +0 -32
- data/samples/cli/lib/base_cli.rb +0 -95
- data/samples/cli/lib/samples/adsense.rb +0 -99
- data/samples/cli/lib/samples/analytics.rb +0 -80
- data/samples/cli/lib/samples/androidpublisher.rb +0 -47
- data/samples/cli/lib/samples/bigquery.rb +0 -101
- data/samples/cli/lib/samples/calendar.rb +0 -83
- data/samples/cli/lib/samples/drive.rb +0 -82
- data/samples/cli/lib/samples/gmail.rb +0 -157
- data/samples/cli/lib/samples/pubsub.rb +0 -114
- data/samples/cli/lib/samples/sheets.rb +0 -61
- data/samples/cli/lib/samples/translate.rb +0 -44
- data/samples/cli/lib/samples/vision.rb +0 -69
- data/samples/cli/lib/samples/you_tube.rb +0 -47
- data/samples/web/Gemfile +0 -9
- data/samples/web/README.md +0 -44
- data/samples/web/app.rb +0 -120
- data/samples/web/views/calendar.erb +0 -34
- data/samples/web/views/drive.erb +0 -33
- data/samples/web/views/home.erb +0 -34
- data/samples/web/views/layout.erb +0 -40
- data/synth.py +0 -40
@@ -312,6 +312,15 @@ module Google
|
|
312
312
|
# @return [String]
|
313
313
|
attr_accessor :last_attempt_time
|
314
314
|
|
315
|
+
# Immutable. This field is used to manage the legacy App Engine Cron jobs using
|
316
|
+
# the Cloud Scheduler API. If the field is set to true, the job will be
|
317
|
+
# considered a legacy job. Note that App Engine Cron jobs have fewer features
|
318
|
+
# than Cloud Scheduler jobs, e.g., are only limited to App Engine targets.
|
319
|
+
# Corresponds to the JSON property `legacyAppEngineCron`
|
320
|
+
# @return [Boolean]
|
321
|
+
attr_accessor :legacy_app_engine_cron
|
322
|
+
alias_method :legacy_app_engine_cron?, :legacy_app_engine_cron
|
323
|
+
|
315
324
|
# Optionally caller-specified in CreateJob, after which it becomes output only.
|
316
325
|
# The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/
|
317
326
|
# JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
@@ -405,6 +414,7 @@ module Google
|
|
405
414
|
@description = args[:description] if args.key?(:description)
|
406
415
|
@http_target = args[:http_target] if args.key?(:http_target)
|
407
416
|
@last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time)
|
417
|
+
@legacy_app_engine_cron = args[:legacy_app_engine_cron] if args.key?(:legacy_app_engine_cron)
|
408
418
|
@name = args[:name] if args.key?(:name)
|
409
419
|
@pubsub_target = args[:pubsub_target] if args.key?(:pubsub_target)
|
410
420
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
@@ -779,12 +789,21 @@ module Google
|
|
779
789
|
class RunJobRequest
|
780
790
|
include Google::Apis::Core::Hashable
|
781
791
|
|
792
|
+
# This field is used to manage the legacy App Engine Cron jobs using the Cloud
|
793
|
+
# Scheduler API. If the field is set to true, the job in the __cron queue with
|
794
|
+
# the corresponding name will be forced to run instead.
|
795
|
+
# Corresponds to the JSON property `legacyAppEngineCron`
|
796
|
+
# @return [Boolean]
|
797
|
+
attr_accessor :legacy_app_engine_cron
|
798
|
+
alias_method :legacy_app_engine_cron?, :legacy_app_engine_cron
|
799
|
+
|
782
800
|
def initialize(**args)
|
783
801
|
update!(**args)
|
784
802
|
end
|
785
803
|
|
786
804
|
# Update properties of this object
|
787
805
|
def update!(**args)
|
806
|
+
@legacy_app_engine_cron = args[:legacy_app_engine_cron] if args.key?(:legacy_app_engine_cron)
|
788
807
|
end
|
789
808
|
end
|
790
809
|
|
@@ -176,6 +176,7 @@ module Google
|
|
176
176
|
property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1beta1::HttpTarget, decorator: Google::Apis::CloudschedulerV1beta1::HttpTarget::Representation
|
177
177
|
|
178
178
|
property :last_attempt_time, as: 'lastAttemptTime'
|
179
|
+
property :legacy_app_engine_cron, as: 'legacyAppEngineCron'
|
179
180
|
property :name, as: 'name'
|
180
181
|
property :pubsub_target, as: 'pubsubTarget', class: Google::Apis::CloudschedulerV1beta1::PubsubTarget, decorator: Google::Apis::CloudschedulerV1beta1::PubsubTarget::Representation
|
181
182
|
|
@@ -282,6 +283,7 @@ module Google
|
|
282
283
|
class RunJobRequest
|
283
284
|
# @private
|
284
285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
property :legacy_app_engine_cron, as: 'legacyAppEngineCron'
|
285
287
|
end
|
286
288
|
end
|
287
289
|
|
@@ -154,6 +154,10 @@ module Google
|
|
154
154
|
# @param [String] name
|
155
155
|
# Required. The job name. For example: `projects/PROJECT_ID/locations/
|
156
156
|
# LOCATION_ID/jobs/JOB_ID`.
|
157
|
+
# @param [Boolean] legacy_app_engine_cron
|
158
|
+
# This field is used to manage the legacy App Engine Cron jobs using the Cloud
|
159
|
+
# Scheduler API. If the field is set to true, the job in the __cron queue with
|
160
|
+
# the corresponding name will be deleted instead.
|
157
161
|
# @param [String] fields
|
158
162
|
# Selector specifying which fields to include in a partial response.
|
159
163
|
# @param [String] quota_user
|
@@ -171,11 +175,12 @@ module Google
|
|
171
175
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
172
176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
|
-
def delete_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
+
def delete_project_location_job(name, legacy_app_engine_cron: nil, fields: nil, quota_user: nil, options: nil, &block)
|
175
179
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
176
180
|
command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
|
177
181
|
command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
|
178
182
|
command.params['name'] = name unless name.nil?
|
183
|
+
command.query['legacyAppEngineCron'] = legacy_app_engine_cron unless legacy_app_engine_cron.nil?
|
179
184
|
command.query['fields'] = fields unless fields.nil?
|
180
185
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
186
|
execute_or_queue_command(command, &block)
|
@@ -216,6 +221,10 @@ module Google
|
|
216
221
|
# @param [String] parent
|
217
222
|
# Required. The location name. For example: `projects/PROJECT_ID/locations/
|
218
223
|
# LOCATION_ID`.
|
224
|
+
# @param [Boolean] legacy_app_engine_cron
|
225
|
+
# This field is used to manage the legacy App Engine Cron jobs using the Cloud
|
226
|
+
# Scheduler API. If the field is set to true, the jobs in the __cron queue will
|
227
|
+
# be listed instead.
|
219
228
|
# @param [Fixnum] page_size
|
220
229
|
# Requested page size. The maximum page size is 500. If unspecified, the page
|
221
230
|
# size will be the maximum. Fewer jobs than requested might be returned, even if
|
@@ -243,11 +252,12 @@ module Google
|
|
243
252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
244
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
245
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
246
|
-
def list_project_location_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
255
|
+
def list_project_location_jobs(parent, legacy_app_engine_cron: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
247
256
|
command = make_simple_command(:get, 'v1beta1/{+parent}/jobs', options)
|
248
257
|
command.response_representation = Google::Apis::CloudschedulerV1beta1::ListJobsResponse::Representation
|
249
258
|
command.response_class = Google::Apis::CloudschedulerV1beta1::ListJobsResponse
|
250
259
|
command.params['parent'] = parent unless parent.nil?
|
260
|
+
command.query['legacyAppEngineCron'] = legacy_app_engine_cron unless legacy_app_engine_cron.nil?
|
251
261
|
command.query['pageSize'] = page_size unless page_size.nil?
|
252
262
|
command.query['pageToken'] = page_token unless page_token.nil?
|
253
263
|
command.query['fields'] = fields unless fields.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/scheduler/
|
26
26
|
module CloudschedulerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201202'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1013,6 +1013,11 @@ module Google
|
|
1013
1013
|
# @return [String]
|
1014
1014
|
attr_accessor :state
|
1015
1015
|
|
1016
|
+
# Statistics for a queue.
|
1017
|
+
# Corresponds to the JSON property `stats`
|
1018
|
+
# @return [Google::Apis::CloudtasksV2beta2::QueueStats]
|
1019
|
+
attr_accessor :stats
|
1020
|
+
|
1016
1021
|
def initialize(**args)
|
1017
1022
|
update!(**args)
|
1018
1023
|
end
|
@@ -1026,6 +1031,60 @@ module Google
|
|
1026
1031
|
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
1027
1032
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
1028
1033
|
@state = args[:state] if args.key?(:state)
|
1034
|
+
@stats = args[:stats] if args.key?(:stats)
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Statistics for a queue.
|
1039
|
+
class QueueStats
|
1040
|
+
include Google::Apis::Core::Hashable
|
1041
|
+
|
1042
|
+
# Output only. The number of requests that the queue has dispatched but has not
|
1043
|
+
# received a reply for yet.
|
1044
|
+
# Corresponds to the JSON property `concurrentDispatchesCount`
|
1045
|
+
# @return [Fixnum]
|
1046
|
+
attr_accessor :concurrent_dispatches_count
|
1047
|
+
|
1048
|
+
# Output only. The current maximum number of tasks per second executed by the
|
1049
|
+
# queue. The maximum value of this variable is controlled by the RateLimits of
|
1050
|
+
# the Queue. However, this value could be less to avoid overloading the
|
1051
|
+
# endpoints tasks in the queue are targeting.
|
1052
|
+
# Corresponds to the JSON property `effectiveExecutionRate`
|
1053
|
+
# @return [Float]
|
1054
|
+
attr_accessor :effective_execution_rate
|
1055
|
+
|
1056
|
+
# Output only. The number of tasks that the queue has dispatched and received a
|
1057
|
+
# reply for during the last minute. This variable counts both successful and non-
|
1058
|
+
# successful executions.
|
1059
|
+
# Corresponds to the JSON property `executedLastMinuteCount`
|
1060
|
+
# @return [Fixnum]
|
1061
|
+
attr_accessor :executed_last_minute_count
|
1062
|
+
|
1063
|
+
# Output only. An estimation of the nearest time in the future where a task in
|
1064
|
+
# the queue is scheduled to be executed.
|
1065
|
+
# Corresponds to the JSON property `oldestEstimatedArrivalTime`
|
1066
|
+
# @return [String]
|
1067
|
+
attr_accessor :oldest_estimated_arrival_time
|
1068
|
+
|
1069
|
+
# Output only. An estimation of the number of tasks in the queue, that is, the
|
1070
|
+
# tasks in the queue that haven't been executed, the tasks in the queue which
|
1071
|
+
# the queue has dispatched but has not yet received a reply for, and the failed
|
1072
|
+
# tasks that the queue is retrying.
|
1073
|
+
# Corresponds to the JSON property `tasksCount`
|
1074
|
+
# @return [Fixnum]
|
1075
|
+
attr_accessor :tasks_count
|
1076
|
+
|
1077
|
+
def initialize(**args)
|
1078
|
+
update!(**args)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Update properties of this object
|
1082
|
+
def update!(**args)
|
1083
|
+
@concurrent_dispatches_count = args[:concurrent_dispatches_count] if args.key?(:concurrent_dispatches_count)
|
1084
|
+
@effective_execution_rate = args[:effective_execution_rate] if args.key?(:effective_execution_rate)
|
1085
|
+
@executed_last_minute_count = args[:executed_last_minute_count] if args.key?(:executed_last_minute_count)
|
1086
|
+
@oldest_estimated_arrival_time = args[:oldest_estimated_arrival_time] if args.key?(:oldest_estimated_arrival_time)
|
1087
|
+
@tasks_count = args[:tasks_count] if args.key?(:tasks_count)
|
1029
1088
|
end
|
1030
1089
|
end
|
1031
1090
|
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class QueueStats
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class RateLimits
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -444,6 +450,19 @@ module Google
|
|
444
450
|
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2beta2::RetryConfig, decorator: Google::Apis::CloudtasksV2beta2::RetryConfig::Representation
|
445
451
|
|
446
452
|
property :state, as: 'state'
|
453
|
+
property :stats, as: 'stats', class: Google::Apis::CloudtasksV2beta2::QueueStats, decorator: Google::Apis::CloudtasksV2beta2::QueueStats::Representation
|
454
|
+
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class QueueStats
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
property :concurrent_dispatches_count, :numeric_string => true, as: 'concurrentDispatchesCount'
|
462
|
+
property :effective_execution_rate, as: 'effectiveExecutionRate'
|
463
|
+
property :executed_last_minute_count, :numeric_string => true, as: 'executedLastMinuteCount'
|
464
|
+
property :oldest_estimated_arrival_time, as: 'oldestEstimatedArrivalTime'
|
465
|
+
property :tasks_count, :numeric_string => true, as: 'tasksCount'
|
447
466
|
end
|
448
467
|
end
|
449
468
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201202'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -879,6 +879,40 @@ module Google
|
|
879
879
|
end
|
880
880
|
end
|
881
881
|
|
882
|
+
# Pull Message. This proto can only be used for tasks in a queue which has PULL
|
883
|
+
# type. It currently exists for backwards compatibility with the App Engine Task
|
884
|
+
# Queue SDK. This message type maybe returned with methods list and get, when
|
885
|
+
# the response view is FULL.
|
886
|
+
class PullMessage
|
887
|
+
include Google::Apis::Core::Hashable
|
888
|
+
|
889
|
+
# A data payload consumed by the worker to execute the task.
|
890
|
+
# Corresponds to the JSON property `payload`
|
891
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
892
|
+
# @return [String]
|
893
|
+
attr_accessor :payload
|
894
|
+
|
895
|
+
# The tasks's tag. The tag is less than 500 characters. SDK compatibility:
|
896
|
+
# Although the SDK allows tags to be either string or [bytes](https://cloud.
|
897
|
+
# google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/
|
898
|
+
# taskqueue/TaskOptions.html#tag-byte:A-), only UTF-8 encoded tags can be used
|
899
|
+
# in Cloud Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the
|
900
|
+
# task is returned by Cloud Tasks.
|
901
|
+
# Corresponds to the JSON property `tag`
|
902
|
+
# @return [String]
|
903
|
+
attr_accessor :tag
|
904
|
+
|
905
|
+
def initialize(**args)
|
906
|
+
update!(**args)
|
907
|
+
end
|
908
|
+
|
909
|
+
# Update properties of this object
|
910
|
+
def update!(**args)
|
911
|
+
@payload = args[:payload] if args.key?(:payload)
|
912
|
+
@tag = args[:tag] if args.key?(:tag)
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
882
916
|
# Request message for PurgeQueue.
|
883
917
|
class PurgeQueueRequest
|
884
918
|
include Google::Apis::Core::Hashable
|
@@ -961,6 +995,11 @@ module Google
|
|
961
995
|
# @return [String]
|
962
996
|
attr_accessor :state
|
963
997
|
|
998
|
+
# Statistics for a queue.
|
999
|
+
# Corresponds to the JSON property `stats`
|
1000
|
+
# @return [Google::Apis::CloudtasksV2beta3::QueueStats]
|
1001
|
+
attr_accessor :stats
|
1002
|
+
|
964
1003
|
# Immutable. The type of a queue (push or pull). `Queue.type` is an immutable
|
965
1004
|
# property of the queue that is set at the queue creation time. When left
|
966
1005
|
# unspecified, the default value of `PUSH` is selected.
|
@@ -981,10 +1020,64 @@ module Google
|
|
981
1020
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
982
1021
|
@stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
|
983
1022
|
@state = args[:state] if args.key?(:state)
|
1023
|
+
@stats = args[:stats] if args.key?(:stats)
|
984
1024
|
@type = args[:type] if args.key?(:type)
|
985
1025
|
end
|
986
1026
|
end
|
987
1027
|
|
1028
|
+
# Statistics for a queue.
|
1029
|
+
class QueueStats
|
1030
|
+
include Google::Apis::Core::Hashable
|
1031
|
+
|
1032
|
+
# Output only. The number of requests that the queue has dispatched but has not
|
1033
|
+
# received a reply for yet.
|
1034
|
+
# Corresponds to the JSON property `concurrentDispatchesCount`
|
1035
|
+
# @return [Fixnum]
|
1036
|
+
attr_accessor :concurrent_dispatches_count
|
1037
|
+
|
1038
|
+
# Output only. The current maximum number of tasks per second executed by the
|
1039
|
+
# queue. The maximum value of this variable is controlled by the RateLimits of
|
1040
|
+
# the Queue. However, this value could be less to avoid overloading the
|
1041
|
+
# endpoints tasks in the queue are targeting.
|
1042
|
+
# Corresponds to the JSON property `effectiveExecutionRate`
|
1043
|
+
# @return [Float]
|
1044
|
+
attr_accessor :effective_execution_rate
|
1045
|
+
|
1046
|
+
# Output only. The number of tasks that the queue has dispatched and received a
|
1047
|
+
# reply for during the last minute. This variable counts both successful and non-
|
1048
|
+
# successful executions.
|
1049
|
+
# Corresponds to the JSON property `executedLastMinuteCount`
|
1050
|
+
# @return [Fixnum]
|
1051
|
+
attr_accessor :executed_last_minute_count
|
1052
|
+
|
1053
|
+
# Output only. An estimation of the nearest time in the future where a task in
|
1054
|
+
# the queue is scheduled to be executed.
|
1055
|
+
# Corresponds to the JSON property `oldestEstimatedArrivalTime`
|
1056
|
+
# @return [String]
|
1057
|
+
attr_accessor :oldest_estimated_arrival_time
|
1058
|
+
|
1059
|
+
# Output only. An estimation of the number of tasks in the queue, that is, the
|
1060
|
+
# tasks in the queue that haven't been executed, the tasks in the queue which
|
1061
|
+
# the queue has dispatched but has not yet received a reply for, and the failed
|
1062
|
+
# tasks that the queue is retrying.
|
1063
|
+
# Corresponds to the JSON property `tasksCount`
|
1064
|
+
# @return [Fixnum]
|
1065
|
+
attr_accessor :tasks_count
|
1066
|
+
|
1067
|
+
def initialize(**args)
|
1068
|
+
update!(**args)
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# Update properties of this object
|
1072
|
+
def update!(**args)
|
1073
|
+
@concurrent_dispatches_count = args[:concurrent_dispatches_count] if args.key?(:concurrent_dispatches_count)
|
1074
|
+
@effective_execution_rate = args[:effective_execution_rate] if args.key?(:effective_execution_rate)
|
1075
|
+
@executed_last_minute_count = args[:executed_last_minute_count] if args.key?(:executed_last_minute_count)
|
1076
|
+
@oldest_estimated_arrival_time = args[:oldest_estimated_arrival_time] if args.key?(:oldest_estimated_arrival_time)
|
1077
|
+
@tasks_count = args[:tasks_count] if args.key?(:tasks_count)
|
1078
|
+
end
|
1079
|
+
end
|
1080
|
+
|
988
1081
|
# Rate limits. This message determines the maximum rate that tasks can be
|
989
1082
|
# dispatched by a queue, regardless of whether the dispatch is a first task
|
990
1083
|
# attempt or a retry. Note: The debugging command, RunTask, will run a task even
|
@@ -1394,6 +1487,14 @@ module Google
|
|
1394
1487
|
# @return [String]
|
1395
1488
|
attr_accessor :name
|
1396
1489
|
|
1490
|
+
# Pull Message. This proto can only be used for tasks in a queue which has PULL
|
1491
|
+
# type. It currently exists for backwards compatibility with the App Engine Task
|
1492
|
+
# Queue SDK. This message type maybe returned with methods list and get, when
|
1493
|
+
# the response view is FULL.
|
1494
|
+
# Corresponds to the JSON property `pullMessage`
|
1495
|
+
# @return [Google::Apis::CloudtasksV2beta3::PullMessage]
|
1496
|
+
attr_accessor :pull_message
|
1497
|
+
|
1397
1498
|
# Output only. The number of attempts which have received a response.
|
1398
1499
|
# Corresponds to the JSON property `responseCount`
|
1399
1500
|
# @return [Fixnum]
|
@@ -1425,6 +1526,7 @@ module Google
|
|
1425
1526
|
@http_request = args[:http_request] if args.key?(:http_request)
|
1426
1527
|
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
1427
1528
|
@name = args[:name] if args.key?(:name)
|
1529
|
+
@pull_message = args[:pull_message] if args.key?(:pull_message)
|
1428
1530
|
@response_count = args[:response_count] if args.key?(:response_count)
|
1429
1531
|
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
1430
1532
|
@view = args[:view] if args.key?(:view)
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class PullMessage
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class PurgeQueueRequest
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -148,6 +154,12 @@ module Google
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
149
155
|
end
|
150
156
|
|
157
|
+
class QueueStats
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class RateLimits
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -383,6 +395,14 @@ module Google
|
|
383
395
|
end
|
384
396
|
end
|
385
397
|
|
398
|
+
class PullMessage
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :payload, :base64 => true, as: 'payload'
|
402
|
+
property :tag, as: 'tag'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
386
406
|
class PurgeQueueRequest
|
387
407
|
# @private
|
388
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -403,10 +423,23 @@ module Google
|
|
403
423
|
property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig::Representation
|
404
424
|
|
405
425
|
property :state, as: 'state'
|
426
|
+
property :stats, as: 'stats', class: Google::Apis::CloudtasksV2beta3::QueueStats, decorator: Google::Apis::CloudtasksV2beta3::QueueStats::Representation
|
427
|
+
|
406
428
|
property :type, as: 'type'
|
407
429
|
end
|
408
430
|
end
|
409
431
|
|
432
|
+
class QueueStats
|
433
|
+
# @private
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
435
|
+
property :concurrent_dispatches_count, :numeric_string => true, as: 'concurrentDispatchesCount'
|
436
|
+
property :effective_execution_rate, as: 'effectiveExecutionRate'
|
437
|
+
property :executed_last_minute_count, :numeric_string => true, as: 'executedLastMinuteCount'
|
438
|
+
property :oldest_estimated_arrival_time, as: 'oldestEstimatedArrivalTime'
|
439
|
+
property :tasks_count, :numeric_string => true, as: 'tasksCount'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
410
443
|
class RateLimits
|
411
444
|
# @private
|
412
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -479,6 +512,8 @@ module Google
|
|
479
512
|
property :last_attempt, as: 'lastAttempt', class: Google::Apis::CloudtasksV2beta3::Attempt, decorator: Google::Apis::CloudtasksV2beta3::Attempt::Representation
|
480
513
|
|
481
514
|
property :name, as: 'name'
|
515
|
+
property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta3::PullMessage, decorator: Google::Apis::CloudtasksV2beta3::PullMessage::Representation
|
516
|
+
|
482
517
|
property :response_count, as: 'responseCount'
|
483
518
|
property :schedule_time, as: 'scheduleTime'
|
484
519
|
property :view, as: 'view'
|
@@ -197,6 +197,12 @@ module Google
|
|
197
197
|
# @param [String] name
|
198
198
|
# Required. The resource name of the queue. For example: `projects/PROJECT_ID/
|
199
199
|
# locations/LOCATION_ID/queues/QUEUE_ID`
|
200
|
+
# @param [String] read_mask
|
201
|
+
# Optional. Read mask is used for a more granular control over what the API
|
202
|
+
# returns. If the mask is not present all fields will be returned except [Queue.
|
203
|
+
# stats], if the mask is set to "*" all fields including [Queue.stats] will be
|
204
|
+
# returned, otherwise only the fields explicitly specified in the mask will be
|
205
|
+
# returned.
|
200
206
|
# @param [String] fields
|
201
207
|
# Selector specifying which fields to include in a partial response.
|
202
208
|
# @param [String] quota_user
|
@@ -214,11 +220,12 @@ module Google
|
|
214
220
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
215
221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
216
222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
217
|
-
def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
def get_project_location_queue(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
218
224
|
command = make_simple_command(:get, 'v2beta3/{+name}', options)
|
219
225
|
command.response_representation = Google::Apis::CloudtasksV2beta3::Queue::Representation
|
220
226
|
command.response_class = Google::Apis::CloudtasksV2beta3::Queue
|
221
227
|
command.params['name'] = name unless name.nil?
|
228
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
222
229
|
command.query['fields'] = fields unless fields.nil?
|
223
230
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
224
231
|
execute_or_queue_command(command, &block)
|
@@ -283,6 +290,12 @@ module Google
|
|
283
290
|
# page_token must be the value of next_page_token returned from the previous
|
284
291
|
# call to ListQueues method. It is an error to switch the value of the filter
|
285
292
|
# while iterating through pages.
|
293
|
+
# @param [String] read_mask
|
294
|
+
# Optional. Read mask is used for a more granular control on the queues that the
|
295
|
+
# API returns. If the mask is not present all fields will be returned except [
|
296
|
+
# Queue.stats], if the mask is set to "*" all fields including [Queue.stats]
|
297
|
+
# will be returned, otherwise only the fields explicitly specified in the mask
|
298
|
+
# will be returned.
|
286
299
|
# @param [String] fields
|
287
300
|
# Selector specifying which fields to include in a partial response.
|
288
301
|
# @param [String] quota_user
|
@@ -300,7 +313,7 @@ module Google
|
|
300
313
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
301
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
302
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
303
|
-
def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
+
def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
304
317
|
command = make_simple_command(:get, 'v2beta3/{+parent}/queues', options)
|
305
318
|
command.response_representation = Google::Apis::CloudtasksV2beta3::ListQueuesResponse::Representation
|
306
319
|
command.response_class = Google::Apis::CloudtasksV2beta3::ListQueuesResponse
|
@@ -308,6 +321,7 @@ module Google
|
|
308
321
|
command.query['filter'] = filter unless filter.nil?
|
309
322
|
command.query['pageSize'] = page_size unless page_size.nil?
|
310
323
|
command.query['pageToken'] = page_token unless page_token.nil?
|
324
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
311
325
|
command.query['fields'] = fields unless fields.nil?
|
312
326
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
313
327
|
execute_or_queue_command(command, &block)
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201202'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -250,6 +250,15 @@ module Google
|
|
250
250
|
# @return [String]
|
251
251
|
attr_accessor :gke_cluster
|
252
252
|
|
253
|
+
# The configuration settings for Cloud Composer maintenance window. The
|
254
|
+
# following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
|
255
|
+
# 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
|
256
|
+
# maintenance window between 01 and 07 hours UTC during each Tuesday and
|
257
|
+
# Wednesday.
|
258
|
+
# Corresponds to the JSON property `maintenanceWindow`
|
259
|
+
# @return [Google::Apis::ComposerV1beta1::MaintenanceWindow]
|
260
|
+
attr_accessor :maintenance_window
|
261
|
+
|
253
262
|
# The configuration information for the Kubernetes Engine nodes running the
|
254
263
|
# Apache Airflow software.
|
255
264
|
# Corresponds to the JSON property `nodeConfig`
|
@@ -294,6 +303,7 @@ module Google
|
|
294
303
|
@database_config = args[:database_config] if args.key?(:database_config)
|
295
304
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
296
305
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
306
|
+
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
297
307
|
@node_config = args[:node_config] if args.key?(:node_config)
|
298
308
|
@node_count = args[:node_count] if args.key?(:node_count)
|
299
309
|
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
|
@@ -505,6 +515,46 @@ module Google
|
|
505
515
|
end
|
506
516
|
end
|
507
517
|
|
518
|
+
# The configuration settings for Cloud Composer maintenance window. The
|
519
|
+
# following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
|
520
|
+
# 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
|
521
|
+
# maintenance window between 01 and 07 hours UTC during each Tuesday and
|
522
|
+
# Wednesday.
|
523
|
+
class MaintenanceWindow
|
524
|
+
include Google::Apis::Core::Hashable
|
525
|
+
|
526
|
+
# Required. Maintenance window end time. It is used only to calculate the
|
527
|
+
# duration of the maintenance window. The value for end_time must be in the
|
528
|
+
# future, relative to `start_time`.
|
529
|
+
# Corresponds to the JSON property `endTime`
|
530
|
+
# @return [String]
|
531
|
+
attr_accessor :end_time
|
532
|
+
|
533
|
+
# Required. Maintenance window recurrence. Format is a subset of [RFC-5545](
|
534
|
+
# https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `
|
535
|
+
# FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=
|
536
|
+
# WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
|
537
|
+
# Corresponds to the JSON property `recurrence`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :recurrence
|
540
|
+
|
541
|
+
# Required. Start time of the first recurrence of the maintenance window.
|
542
|
+
# Corresponds to the JSON property `startTime`
|
543
|
+
# @return [String]
|
544
|
+
attr_accessor :start_time
|
545
|
+
|
546
|
+
def initialize(**args)
|
547
|
+
update!(**args)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Update properties of this object
|
551
|
+
def update!(**args)
|
552
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
553
|
+
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
554
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
508
558
|
# The configuration information for the Kubernetes Engine nodes running the
|
509
559
|
# Apache Airflow software.
|
510
560
|
class NodeConfig
|
@@ -553,6 +603,19 @@ module Google
|
|
553
603
|
# @return [String]
|
554
604
|
attr_accessor :machine_type
|
555
605
|
|
606
|
+
# Optional. The maximum number of pods per node in the Cloud Composer GKE
|
607
|
+
# cluster. The value must be between 8 and 110 and it can be set only if the
|
608
|
+
# environment is VPC-native. The default value is 32. Values of this field will
|
609
|
+
# be propagated both to the `default-pool` node pool of the newly created GKE
|
610
|
+
# cluster, and to the default "Maximum Pods per Node" value which is used for
|
611
|
+
# newly created node pools if their value is not explicitly set during node pool
|
612
|
+
# creation. For more information, see [Optimizing IP address allocation] (https:/
|
613
|
+
# /cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr). Cannot be
|
614
|
+
# updated.
|
615
|
+
# Corresponds to the JSON property `maxPodsPerNode`
|
616
|
+
# @return [Fixnum]
|
617
|
+
attr_accessor :max_pods_per_node
|
618
|
+
|
556
619
|
# Optional. The Compute Engine network to be used for machine communications,
|
557
620
|
# specified as a [relative resource name](/apis/design/resource_names#
|
558
621
|
# relative_resource_name). For example: "projects/`projectId`/global/networks/`
|
@@ -606,6 +669,7 @@ module Google
|
|
606
669
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
607
670
|
@location = args[:location] if args.key?(:location)
|
608
671
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
672
|
+
@max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
|
609
673
|
@network = args[:network] if args.key?(:network)
|
610
674
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
611
675
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class MaintenanceWindow
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class NodeConfig
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -215,6 +221,8 @@ module Google
|
|
215
221
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1beta1::EncryptionConfig, decorator: Google::Apis::ComposerV1beta1::EncryptionConfig::Representation
|
216
222
|
|
217
223
|
property :gke_cluster, as: 'gkeCluster'
|
224
|
+
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1beta1::MaintenanceWindow, decorator: Google::Apis::ComposerV1beta1::MaintenanceWindow::Representation
|
225
|
+
|
218
226
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
|
219
227
|
|
220
228
|
property :node_count, as: 'nodeCount'
|
@@ -280,6 +288,15 @@ module Google
|
|
280
288
|
end
|
281
289
|
end
|
282
290
|
|
291
|
+
class MaintenanceWindow
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
property :end_time, as: 'endTime'
|
295
|
+
property :recurrence, as: 'recurrence'
|
296
|
+
property :start_time, as: 'startTime'
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
283
300
|
class NodeConfig
|
284
301
|
# @private
|
285
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -288,6 +305,7 @@ module Google
|
|
288
305
|
|
289
306
|
property :location, as: 'location'
|
290
307
|
property :machine_type, as: 'machineType'
|
308
|
+
property :max_pods_per_node, as: 'maxPodsPerNode'
|
291
309
|
property :network, as: 'network'
|
292
310
|
collection :oauth_scopes, as: 'oauthScopes'
|
293
311
|
property :service_account, as: 'serviceAccount'
|