google-api-client 0.46.1 → 0.50.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/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +666 -191
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- 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 +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- 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 +19 -18
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
- 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/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- 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 +5 -2
- 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 +377 -137
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +673 -56
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -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 +7 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +158 -5
- data/generated/google/apis/bigquery_v2/representations.rb +67 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -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 +12 -1
- 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 +12 -1
- 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 +3 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
- 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/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1122 -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 +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- 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 +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
- 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/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
- 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 +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +282 -29
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +4 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -10
- 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 +1 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +511 -1219
- 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 +1353 -1061
- data/generated/google/apis/content_v2_1/representations.rb +342 -0
- data/generated/google/apis/content_v2_1/service.rb +948 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -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 +18 -7
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- 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 +209 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -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 +253 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -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 +649 -385
- data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
- data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +257 -17
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +39 -32
- 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 +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -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 +195 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +22 -20
- data/generated/google/apis/drive_v2/service.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -9
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -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/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/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- 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/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +10 -4
- 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 +350 -46
- 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 +8 -11
- data/generated/google/apis/iam_v1/representations.rb +0 -1
- data/generated/google/apis/iam_v1/service.rb +1 -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/licensing_v1.rb +1 -1
- 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/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +186 -10
- 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 +347 -7
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- 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 +273 -79
- data/generated/google/apis/ml_v1/representations.rb +43 -0
- 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 +19 -13
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- 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 +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +49 -49
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- 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/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +1 -2
- 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 +1 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
- 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 +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -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_v1beta1.rb +1 -1
- 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 +27 -8
- 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 +207 -65
- data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- 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 +23 -7
- data/generated/google/apis/sheets_v4/representations.rb +3 -0
- 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 +2 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- 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/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- 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 +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- 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_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- 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
- data/synth.py +40 -0
- metadata +47 -16
- 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/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -307,7 +307,9 @@ module Google
|
|
307
307
|
execute_or_queue_command(command, &block)
|
308
308
|
end
|
309
309
|
|
310
|
-
# Creates an instance.
|
310
|
+
# Creates an instance. When creating from a backup, the capacity of the new
|
311
|
+
# instance needs to be equal to or larger than the capacity of the backup (and
|
312
|
+
# also equal to or larger than the minimum capacity of the tier).
|
311
313
|
# @param [String] parent
|
312
314
|
# Required. The instance's project and location, in the format projects/`
|
313
315
|
# project_id`/locations/`location`. In Cloud Filestore, locations map to GCP
|
@@ -496,7 +498,9 @@ module Google
|
|
496
498
|
execute_or_queue_command(command, &block)
|
497
499
|
end
|
498
500
|
|
499
|
-
# Restores an existing instance's file share from a
|
501
|
+
# Restores an existing instance's file share from a backup. The instance's file
|
502
|
+
# share capacity will be set to the backup's capacity or the minimum capacity of
|
503
|
+
# the tier, whichever is larger.
|
500
504
|
# @param [String] name
|
501
505
|
# Required. The resource name of the instance, in the format projects/`
|
502
506
|
# project_id`/locations/`location_id`/instances/`instance_id`.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com
|
27
27
|
module FirebaseV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201027'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -495,10 +495,23 @@ module Google
|
|
495
495
|
# FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values.
|
496
496
|
# @param [String] filter
|
497
497
|
# A query string compatible with Google's [AIP-160](https://google.aip.dev/160)
|
498
|
-
# standard. Use any of the following fields in a query: * [`
|
499
|
-
# apps#
|
500
|
-
#
|
501
|
-
#
|
498
|
+
# standard. Use any of the following fields in a query: * [`app_id`](../projects.
|
499
|
+
# apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#
|
500
|
+
# FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#
|
501
|
+
# FirebaseAppInfo.FIELDS.platform) We also support the following "virtual"
|
502
|
+
# fields (fields which are not actually part of the returned resource object,
|
503
|
+
# but can be queried as if they are pre-populated with specific values): * `
|
504
|
+
# sha1_hash`: This field is considered to be a repeated `string` field,
|
505
|
+
# populated with the list of all SHA-1 certificate fingerprints registered with
|
506
|
+
# the app. This list is empty if the app is not an Android app. * `sha256_hash`:
|
507
|
+
# This field is considered to be a repeated `string` field, populated with the
|
508
|
+
# list of all SHA-256 certificate fingerprints registered with the app. This
|
509
|
+
# list is empty if the app is not an Android app. * `app_store_id`: This field
|
510
|
+
# is considered to be a singular `string` field, populated with the Apple App
|
511
|
+
# Store ID registered with the app. This field is empty if the app is not an iOS
|
512
|
+
# app. * `team_id`: This field is considered to be a singular `string` field,
|
513
|
+
# populated with the Apple team ID registered with the app. This field is empty
|
514
|
+
# if the app is not an iOS app.
|
502
515
|
# @param [Fixnum] page_size
|
503
516
|
# The maximum number of Apps to return in the response. The server may return
|
504
517
|
# fewer than this value at its discretion. If no value is specified (or too
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
28
28
|
module FirebasehostingV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201024'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -721,6 +721,7 @@ module Google
|
|
721
721
|
|
722
722
|
# Version preview configuration. If active and unexpired, this version will be
|
723
723
|
# accessible via a custom URL even if it is not the currently released version.
|
724
|
+
# Deprecated in favor of site channels.
|
724
725
|
class PreviewConfig
|
725
726
|
include Google::Apis::Core::Hashable
|
726
727
|
|
@@ -1109,6 +1110,7 @@ module Google
|
|
1109
1110
|
|
1110
1111
|
# Version preview configuration. If active and unexpired, this version will be
|
1111
1112
|
# accessible via a custom URL even if it is not the currently released version.
|
1113
|
+
# Deprecated in favor of site channels.
|
1112
1114
|
# Corresponds to the JSON property `preview`
|
1113
1115
|
# @return [Google::Apis::FirebasehostingV1beta1::PreviewConfig]
|
1114
1116
|
attr_accessor :preview
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201016'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1483,8 +1483,8 @@ module Google
|
|
1483
1483
|
end
|
1484
1484
|
end
|
1485
1485
|
|
1486
|
-
# An object
|
1487
|
-
# of doubles
|
1486
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
1487
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
1488
1488
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
1489
1489
|
# within normalized ranges.
|
1490
1490
|
class LatLng
|
@@ -2397,8 +2397,8 @@ module Google
|
|
2397
2397
|
# @return [Float]
|
2398
2398
|
attr_accessor :double_value
|
2399
2399
|
|
2400
|
-
# An object
|
2401
|
-
# of doubles
|
2400
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
2401
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
2402
2402
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
2403
2403
|
# within normalized ranges.
|
2404
2404
|
# Corresponds to the JSON property `geoPointValue`
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201017'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1214,8 +1214,8 @@ module Google
|
|
1214
1214
|
end
|
1215
1215
|
end
|
1216
1216
|
|
1217
|
-
# An object
|
1218
|
-
# of doubles
|
1217
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
1218
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
1219
1219
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
1220
1220
|
# within normalized ranges.
|
1221
1221
|
class LatLng
|
@@ -2056,8 +2056,8 @@ module Google
|
|
2056
2056
|
# @return [Float]
|
2057
2057
|
attr_accessor :double_value
|
2058
2058
|
|
2059
|
-
# An object
|
2060
|
-
# of doubles
|
2059
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
2060
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
2061
2061
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
2062
2062
|
# within normalized ranges.
|
2063
2063
|
# Corresponds to the JSON property `geoPointValue`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fit/rest/v1/get-started
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201012'
|
29
29
|
|
30
30
|
# Use Google Fit to see and store your physical activity data
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -359,7 +359,9 @@ module Google
|
|
359
359
|
# @param [Fixnum] limit
|
360
360
|
# If specified, no more than this many data points will be included in the
|
361
361
|
# dataset. If there are more data points in the dataset, nextPageToken will be
|
362
|
-
# set in the dataset response.
|
362
|
+
# set in the dataset response. The limit is applied from the end of the time
|
363
|
+
# range. That is, if pageToken is absent, the limit most recent data points will
|
364
|
+
# be returned.
|
363
365
|
# @param [String] page_token
|
364
366
|
# The continuation token, which is used to page through large datasets. To get
|
365
367
|
# the next page of a dataset, set this parameter to the value of nextPageToken
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/games/
|
27
27
|
module GamesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201022'
|
30
30
|
|
31
31
|
# View and manage its own configuration data in your Google Drive
|
32
32
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
@@ -2287,6 +2287,53 @@ module Google
|
|
2287
2287
|
end
|
2288
2288
|
end
|
2289
2289
|
|
2290
|
+
# Request for ResolveSnapshotHead RPC.
|
2291
|
+
class ResolveSnapshotHeadRequest
|
2292
|
+
include Google::Apis::Core::Hashable
|
2293
|
+
|
2294
|
+
# Required. The automatic resolution policy. All conflicts are resolved in
|
2295
|
+
# chronological order, starting from the/ least recent. If the comparison metric
|
2296
|
+
# is equal for the tentative head and the conflict, the head wins.
|
2297
|
+
# Corresponds to the JSON property `resolutionPolicy`
|
2298
|
+
# @return [String]
|
2299
|
+
attr_accessor :resolution_policy
|
2300
|
+
|
2301
|
+
def initialize(**args)
|
2302
|
+
update!(**args)
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
# Update properties of this object
|
2306
|
+
def update!(**args)
|
2307
|
+
@resolution_policy = args[:resolution_policy] if args.key?(:resolution_policy)
|
2308
|
+
end
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
# Response for ResolveSnapshotHead RPC.
|
2312
|
+
class ResolveSnapshotHeadResponse
|
2313
|
+
include Google::Apis::Core::Hashable
|
2314
|
+
|
2315
|
+
# A snapshot represents a saved game state referred to using the developer-
|
2316
|
+
# provided snapshot_id (think of it as a file's path). The set of attributes and
|
2317
|
+
# binary data for a specific state is called a revision. Each revision is itself
|
2318
|
+
# immutable, and referred to by a snapshot_revision_id. At any time, a snapshot
|
2319
|
+
# has a "head" revision, and updates are made against that revision. If a
|
2320
|
+
# snapshot update is received that isn't against the current head revision, then
|
2321
|
+
# instead of changing the head revision it will result in a conflicting revision
|
2322
|
+
# that must be specifically resolved.
|
2323
|
+
# Corresponds to the JSON property `snapshot`
|
2324
|
+
# @return [Google::Apis::GamesV1::SnapshotExtended]
|
2325
|
+
attr_accessor :snapshot
|
2326
|
+
|
2327
|
+
def initialize(**args)
|
2328
|
+
update!(**args)
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# Update properties of this object
|
2332
|
+
def update!(**args)
|
2333
|
+
@snapshot = args[:snapshot] if args.key?(:snapshot)
|
2334
|
+
end
|
2335
|
+
end
|
2336
|
+
|
2290
2337
|
# A third party checking a revision response.
|
2291
2338
|
class CheckRevisionResponse
|
2292
2339
|
include Google::Apis::Core::Hashable
|
@@ -2449,6 +2496,168 @@ module Google
|
|
2449
2496
|
end
|
2450
2497
|
end
|
2451
2498
|
|
2499
|
+
# Identifies a snapshot cover image resource. The image is provided by the game.
|
2500
|
+
class SnapshotCoverImageResource
|
2501
|
+
include Google::Apis::Core::Hashable
|
2502
|
+
|
2503
|
+
# Output only. Hash-like weak identifier of the uploaded image bytes, consistent
|
2504
|
+
# per player per application. Within the context of a single player/application,
|
2505
|
+
# it's guaranteed that two identical blobs coming from two different uploads
|
2506
|
+
# will have the same content hash. It's extremely likely, though not guaranteed,
|
2507
|
+
# that if two content hashes are equal, the images are identical.
|
2508
|
+
# Corresponds to the JSON property `contentHash`
|
2509
|
+
# @return [String]
|
2510
|
+
attr_accessor :content_hash
|
2511
|
+
|
2512
|
+
# Output only. A URL the client can use to download the image. May vary across
|
2513
|
+
# requests, and only guaranteed to be valid for a short time after it is
|
2514
|
+
# returned.
|
2515
|
+
# Corresponds to the JSON property `downloadUrl`
|
2516
|
+
# @return [String]
|
2517
|
+
attr_accessor :download_url
|
2518
|
+
|
2519
|
+
# Output only. The height of the image in pixels.
|
2520
|
+
# Corresponds to the JSON property `height`
|
2521
|
+
# @return [Fixnum]
|
2522
|
+
attr_accessor :height
|
2523
|
+
|
2524
|
+
# Output only. The MIME type of the image.
|
2525
|
+
# Corresponds to the JSON property `mimeType`
|
2526
|
+
# @return [String]
|
2527
|
+
attr_accessor :mime_type
|
2528
|
+
|
2529
|
+
# The ID of the image resource. It's guaranteed that if two IDs are equal then
|
2530
|
+
# the contents are equal as well. It's not guaranteed that two identical blobs
|
2531
|
+
# coming from separate uploads have the same ID. The resource ID can only be
|
2532
|
+
# used within the application, user and resource type it was originally returned
|
2533
|
+
# for. For example, it's not possible to use SnapshotDataResource's resource ID
|
2534
|
+
# as the resource_id of a SnapshotCoverImageResource, even if the blob is a
|
2535
|
+
# valid image file.
|
2536
|
+
# Corresponds to the JSON property `resourceId`
|
2537
|
+
# @return [String]
|
2538
|
+
attr_accessor :resource_id
|
2539
|
+
|
2540
|
+
# Output only. The width of the image in pixels.
|
2541
|
+
# Corresponds to the JSON property `width`
|
2542
|
+
# @return [Fixnum]
|
2543
|
+
attr_accessor :width
|
2544
|
+
|
2545
|
+
def initialize(**args)
|
2546
|
+
update!(**args)
|
2547
|
+
end
|
2548
|
+
|
2549
|
+
# Update properties of this object
|
2550
|
+
def update!(**args)
|
2551
|
+
@content_hash = args[:content_hash] if args.key?(:content_hash)
|
2552
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
2553
|
+
@height = args[:height] if args.key?(:height)
|
2554
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
2555
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2556
|
+
@width = args[:width] if args.key?(:width)
|
2557
|
+
end
|
2558
|
+
end
|
2559
|
+
|
2560
|
+
# Identifies a snapshot data resource. The data is provided by the game.
|
2561
|
+
class SnapshotDataResource
|
2562
|
+
include Google::Apis::Core::Hashable
|
2563
|
+
|
2564
|
+
# Output only. Hash-like weak identifier of the uploaded blob, consistent per
|
2565
|
+
# player per application. Within the context of a single player/application, it'
|
2566
|
+
# s guaranteed that two identical blobs coming from two different uploads will
|
2567
|
+
# have the same content hash. It's extremely likely, though not guaranteed, that
|
2568
|
+
# if two content hashes are equal, the blobs are identical.
|
2569
|
+
# Corresponds to the JSON property `contentHash`
|
2570
|
+
# @return [String]
|
2571
|
+
attr_accessor :content_hash
|
2572
|
+
|
2573
|
+
# Output only. A URL that the client can use to download the blob. May vary
|
2574
|
+
# across requests, and only guaranteed to be valid for a short time after it is
|
2575
|
+
# returned.
|
2576
|
+
# Corresponds to the JSON property `downloadUrl`
|
2577
|
+
# @return [String]
|
2578
|
+
attr_accessor :download_url
|
2579
|
+
|
2580
|
+
# The ID of the blob resource. It's guaranteed that if two IDs are equal then
|
2581
|
+
# the contents are equal as well. It's not guaranteed that two identical blobs
|
2582
|
+
# coming from separate uploads have the same resource ID. The resource ID can
|
2583
|
+
# only be used within the application, user and resource type it was originally
|
2584
|
+
# returned for. For example, it's not possible to use SnapshotDataResource's
|
2585
|
+
# resource ID as the resource_id of a SnapshotCoverImageResource, even if the
|
2586
|
+
# blob is a valid image file.
|
2587
|
+
# Corresponds to the JSON property `resourceId`
|
2588
|
+
# @return [String]
|
2589
|
+
attr_accessor :resource_id
|
2590
|
+
|
2591
|
+
# Size of the saved game blob in bytes.
|
2592
|
+
# Corresponds to the JSON property `size`
|
2593
|
+
# @return [Fixnum]
|
2594
|
+
attr_accessor :size
|
2595
|
+
|
2596
|
+
def initialize(**args)
|
2597
|
+
update!(**args)
|
2598
|
+
end
|
2599
|
+
|
2600
|
+
# Update properties of this object
|
2601
|
+
def update!(**args)
|
2602
|
+
@content_hash = args[:content_hash] if args.key?(:content_hash)
|
2603
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
2604
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2605
|
+
@size = args[:size] if args.key?(:size)
|
2606
|
+
end
|
2607
|
+
end
|
2608
|
+
|
2609
|
+
# A snapshot represents a saved game state referred to using the developer-
|
2610
|
+
# provided snapshot_id (think of it as a file's path). The set of attributes and
|
2611
|
+
# binary data for a specific state is called a revision. Each revision is itself
|
2612
|
+
# immutable, and referred to by a snapshot_revision_id. At any time, a snapshot
|
2613
|
+
# has a "head" revision, and updates are made against that revision. If a
|
2614
|
+
# snapshot update is received that isn't against the current head revision, then
|
2615
|
+
# instead of changing the head revision it will result in a conflicting revision
|
2616
|
+
# that must be specifically resolved.
|
2617
|
+
class SnapshotExtended
|
2618
|
+
include Google::Apis::Core::Hashable
|
2619
|
+
|
2620
|
+
# A list of conflicting revisions. Only set if explicitly requested (e.g. using
|
2621
|
+
# a field mask or a request flag), or if the RPC guarantees that this field is
|
2622
|
+
# set. The conflicting revisions are sorted chronologically by their server
|
2623
|
+
# creation time (oldest first). If there are too many conflicting revisions to
|
2624
|
+
# return all of them in a single request this will only contain the first batch.
|
2625
|
+
# In such case, the presented conflicting revisions must be resolved first in
|
2626
|
+
# order to fetch the next batch.
|
2627
|
+
# Corresponds to the JSON property `conflictingRevisions`
|
2628
|
+
# @return [Array<Google::Apis::GamesV1::SnapshotRevision>]
|
2629
|
+
attr_accessor :conflicting_revisions
|
2630
|
+
|
2631
|
+
# An indicator whether the snapshot has any conflicting revisions or not. Always
|
2632
|
+
# set.
|
2633
|
+
# Corresponds to the JSON property `hasConflictingRevisions`
|
2634
|
+
# @return [Boolean]
|
2635
|
+
attr_accessor :has_conflicting_revisions
|
2636
|
+
alias_method :has_conflicting_revisions?, :has_conflicting_revisions
|
2637
|
+
|
2638
|
+
# A Snapshot revision resource. Snapshot revisions are immutable.
|
2639
|
+
# Corresponds to the JSON property `headRevision`
|
2640
|
+
# @return [Google::Apis::GamesV1::SnapshotRevision]
|
2641
|
+
attr_accessor :head_revision
|
2642
|
+
|
2643
|
+
# An identifier of the snapshot,developer-specified.
|
2644
|
+
# Corresponds to the JSON property `name`
|
2645
|
+
# @return [String]
|
2646
|
+
attr_accessor :name
|
2647
|
+
|
2648
|
+
def initialize(**args)
|
2649
|
+
update!(**args)
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
# Update properties of this object
|
2653
|
+
def update!(**args)
|
2654
|
+
@conflicting_revisions = args[:conflicting_revisions] if args.key?(:conflicting_revisions)
|
2655
|
+
@has_conflicting_revisions = args[:has_conflicting_revisions] if args.key?(:has_conflicting_revisions)
|
2656
|
+
@head_revision = args[:head_revision] if args.key?(:head_revision)
|
2657
|
+
@name = args[:name] if args.key?(:name)
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2452
2661
|
# An image of a snapshot.
|
2453
2662
|
class SnapshotImage
|
2454
2663
|
include Google::Apis::Core::Hashable
|
@@ -2527,6 +2736,97 @@ module Google
|
|
2527
2736
|
end
|
2528
2737
|
end
|
2529
2738
|
|
2739
|
+
# Metadata about a snapshot revision. Snapshot metadata is immutable - a
|
2740
|
+
# metadata change corresponds to a new snapshot revision.
|
2741
|
+
class SnapshotMetadata
|
2742
|
+
include Google::Apis::Core::Hashable
|
2743
|
+
|
2744
|
+
# The description of this snapshot.
|
2745
|
+
# Corresponds to the JSON property `description`
|
2746
|
+
# @return [String]
|
2747
|
+
attr_accessor :description
|
2748
|
+
|
2749
|
+
# The device that created the current revision.
|
2750
|
+
# Corresponds to the JSON property `deviceName`
|
2751
|
+
# @return [String]
|
2752
|
+
attr_accessor :device_name
|
2753
|
+
|
2754
|
+
# The duration associated with this snapshot. Values with sub-millisecond
|
2755
|
+
# precision can be rounded or trimmed to the closest millisecond.
|
2756
|
+
# Corresponds to the JSON property `duration`
|
2757
|
+
# @return [String]
|
2758
|
+
attr_accessor :duration
|
2759
|
+
|
2760
|
+
# The timestamp of the last modification to this snapshot. Values with sub-
|
2761
|
+
# millisecond precision can be rounded or trimmed to the closest millisecond.
|
2762
|
+
# Corresponds to the JSON property `lastModifyTime`
|
2763
|
+
# @return [String]
|
2764
|
+
attr_accessor :last_modify_time
|
2765
|
+
|
2766
|
+
# The progress value (64-bit integer set by developer) associated with this
|
2767
|
+
# snapshot.
|
2768
|
+
# Corresponds to the JSON property `progressValue`
|
2769
|
+
# @return [Fixnum]
|
2770
|
+
attr_accessor :progress_value
|
2771
|
+
|
2772
|
+
# The title of this snapshot.
|
2773
|
+
# Corresponds to the JSON property `title`
|
2774
|
+
# @return [String]
|
2775
|
+
attr_accessor :title
|
2776
|
+
|
2777
|
+
def initialize(**args)
|
2778
|
+
update!(**args)
|
2779
|
+
end
|
2780
|
+
|
2781
|
+
# Update properties of this object
|
2782
|
+
def update!(**args)
|
2783
|
+
@description = args[:description] if args.key?(:description)
|
2784
|
+
@device_name = args[:device_name] if args.key?(:device_name)
|
2785
|
+
@duration = args[:duration] if args.key?(:duration)
|
2786
|
+
@last_modify_time = args[:last_modify_time] if args.key?(:last_modify_time)
|
2787
|
+
@progress_value = args[:progress_value] if args.key?(:progress_value)
|
2788
|
+
@title = args[:title] if args.key?(:title)
|
2789
|
+
end
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
# A Snapshot revision resource. Snapshot revisions are immutable.
|
2793
|
+
class SnapshotRevision
|
2794
|
+
include Google::Apis::Core::Hashable
|
2795
|
+
|
2796
|
+
# Identifies a snapshot data resource. The data is provided by the game.
|
2797
|
+
# Corresponds to the JSON property `blob`
|
2798
|
+
# @return [Google::Apis::GamesV1::SnapshotDataResource]
|
2799
|
+
attr_accessor :blob
|
2800
|
+
|
2801
|
+
# Identifies a snapshot cover image resource. The image is provided by the game.
|
2802
|
+
# Corresponds to the JSON property `coverImage`
|
2803
|
+
# @return [Google::Apis::GamesV1::SnapshotCoverImageResource]
|
2804
|
+
attr_accessor :cover_image
|
2805
|
+
|
2806
|
+
# Output only. A server generated identifier of the snapshot revision.
|
2807
|
+
# Corresponds to the JSON property `id`
|
2808
|
+
# @return [String]
|
2809
|
+
attr_accessor :id
|
2810
|
+
|
2811
|
+
# Metadata about a snapshot revision. Snapshot metadata is immutable - a
|
2812
|
+
# metadata change corresponds to a new snapshot revision.
|
2813
|
+
# Corresponds to the JSON property `metadata`
|
2814
|
+
# @return [Google::Apis::GamesV1::SnapshotMetadata]
|
2815
|
+
attr_accessor :metadata
|
2816
|
+
|
2817
|
+
def initialize(**args)
|
2818
|
+
update!(**args)
|
2819
|
+
end
|
2820
|
+
|
2821
|
+
# Update properties of this object
|
2822
|
+
def update!(**args)
|
2823
|
+
@blob = args[:blob] if args.key?(:blob)
|
2824
|
+
@cover_image = args[:cover_image] if args.key?(:cover_image)
|
2825
|
+
@id = args[:id] if args.key?(:id)
|
2826
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2827
|
+
end
|
2828
|
+
end
|
2829
|
+
|
2530
2830
|
# A third party stats resource.
|
2531
2831
|
class StatsResponse
|
2532
2832
|
include Google::Apis::Core::Hashable
|