google-api-client 0.39.3 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +242 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
- data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +318 -166
- data/generated/google/apis/compute_alpha/representations.rb +80 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +237 -83
- data/generated/google/apis/compute_beta/representations.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +155 -58
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +62 -4
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +64 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
- data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +111 -93
- data/generated/google/apis/iam_v1/service.rb +166 -144
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +17 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -9
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +70 -15
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -52,12 +52,9 @@ module Google
|
|
52
52
|
#
|
53
53
|
# @return [void]
|
54
54
|
def prepare!
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
header['X-Goog-User-Project'] = quota_project_id if quota_project_id
|
59
|
-
end
|
60
|
-
if options && options.api_format_version
|
55
|
+
set_api_client_header
|
56
|
+
set_user_project_header
|
57
|
+
if options&.api_format_version
|
61
58
|
header['X-Goog-Api-Format-Version'] = options.api_format_version.to_s
|
62
59
|
end
|
63
60
|
query[FIELDS_PARAM] = normalize_fields_param(query[FIELDS_PARAM]) if query.key?(FIELDS_PARAM)
|
@@ -130,7 +127,7 @@ module Google
|
|
130
127
|
|
131
128
|
private
|
132
129
|
|
133
|
-
def
|
130
|
+
def set_api_client_header
|
134
131
|
old_xgac = header
|
135
132
|
.find_all { |k, v| k.downcase == 'x-goog-api-client' }
|
136
133
|
.map { |(a, b)| b }
|
@@ -144,6 +141,14 @@ module Google
|
|
144
141
|
header['X-Goog-Api-Client'] = xgac
|
145
142
|
end
|
146
143
|
|
144
|
+
def set_user_project_header
|
145
|
+
quota_project_id = options.quota_project
|
146
|
+
if !quota_project_id && options&.authorization.respond_to?(:quota_project_id)
|
147
|
+
quota_project_id = options.authorization.quota_project_id
|
148
|
+
end
|
149
|
+
header['X-Goog-User-Project'] = quota_project_id if quota_project_id
|
150
|
+
end
|
151
|
+
|
147
152
|
# Attempt to parse a JSON error message
|
148
153
|
# @param [String] body
|
149
154
|
# HTTP response body
|
data/lib/google/apis/options.rb
CHANGED
@@ -33,7 +33,8 @@ module Google
|
|
33
33
|
:skip_serialization,
|
34
34
|
:skip_deserialization,
|
35
35
|
:api_format_version,
|
36
|
-
:use_opencensus
|
36
|
+
:use_opencensus,
|
37
|
+
:quota_project)
|
37
38
|
|
38
39
|
# General client options
|
39
40
|
class ClientOptions
|
@@ -76,6 +77,8 @@ module Google
|
|
76
77
|
# @return [Fixnum] Version of the error format to request/expect.
|
77
78
|
# @!attribute [rw] use_opencensus
|
78
79
|
# @return [Boolean] Whether OpenCensus spans should be generated for requests. Default is true.
|
80
|
+
# @!attribute [rw] quota_project
|
81
|
+
# @return [String] Project ID to charge quota, or `nil` to default to the credentials-specified project.
|
79
82
|
|
80
83
|
# Get the default options
|
81
84
|
# @return [Google::Apis::RequestOptions]
|
@@ -105,5 +108,6 @@ module Google
|
|
105
108
|
RequestOptions.default.skip_deserialization = false
|
106
109
|
RequestOptions.default.api_format_version = nil
|
107
110
|
RequestOptions.default.use_opencensus = true
|
111
|
+
RequestOptions.default.quota_project = nil
|
108
112
|
end
|
109
113
|
end
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -360,6 +360,10 @@ files:
|
|
360
360
|
- generated/google/apis/appsmarket_v2/classes.rb
|
361
361
|
- generated/google/apis/appsmarket_v2/representations.rb
|
362
362
|
- generated/google/apis/appsmarket_v2/service.rb
|
363
|
+
- generated/google/apis/artifactregistry_v1beta1.rb
|
364
|
+
- generated/google/apis/artifactregistry_v1beta1/classes.rb
|
365
|
+
- generated/google/apis/artifactregistry_v1beta1/representations.rb
|
366
|
+
- generated/google/apis/artifactregistry_v1beta1/service.rb
|
363
367
|
- generated/google/apis/bigquery_v2.rb
|
364
368
|
- generated/google/apis/bigquery_v2/classes.rb
|
365
369
|
- generated/google/apis/bigquery_v2/representations.rb
|
@@ -424,6 +428,10 @@ files:
|
|
424
428
|
- generated/google/apis/chat_v1/classes.rb
|
425
429
|
- generated/google/apis/chat_v1/representations.rb
|
426
430
|
- generated/google/apis/chat_v1/service.rb
|
431
|
+
- generated/google/apis/chromeuxreport_v1.rb
|
432
|
+
- generated/google/apis/chromeuxreport_v1/classes.rb
|
433
|
+
- generated/google/apis/chromeuxreport_v1/representations.rb
|
434
|
+
- generated/google/apis/chromeuxreport_v1/service.rb
|
427
435
|
- generated/google/apis/civicinfo_v2.rb
|
428
436
|
- generated/google/apis/civicinfo_v2/classes.rb
|
429
437
|
- generated/google/apis/civicinfo_v2/representations.rb
|
@@ -756,6 +764,10 @@ files:
|
|
756
764
|
- generated/google/apis/firebasehosting_v1beta1/classes.rb
|
757
765
|
- generated/google/apis/firebasehosting_v1beta1/representations.rb
|
758
766
|
- generated/google/apis/firebasehosting_v1beta1/service.rb
|
767
|
+
- generated/google/apis/firebaseml_v1.rb
|
768
|
+
- generated/google/apis/firebaseml_v1/classes.rb
|
769
|
+
- generated/google/apis/firebaseml_v1/representations.rb
|
770
|
+
- generated/google/apis/firebaseml_v1/service.rb
|
759
771
|
- generated/google/apis/firebaseml_v1beta2.rb
|
760
772
|
- generated/google/apis/firebaseml_v1beta2/classes.rb
|
761
773
|
- generated/google/apis/firebaseml_v1beta2/representations.rb
|
@@ -932,6 +944,10 @@ files:
|
|
932
944
|
- generated/google/apis/monitoring_v3/classes.rb
|
933
945
|
- generated/google/apis/monitoring_v3/representations.rb
|
934
946
|
- generated/google/apis/monitoring_v3/service.rb
|
947
|
+
- generated/google/apis/networkmanagement_v1.rb
|
948
|
+
- generated/google/apis/networkmanagement_v1/classes.rb
|
949
|
+
- generated/google/apis/networkmanagement_v1/representations.rb
|
950
|
+
- generated/google/apis/networkmanagement_v1/service.rb
|
935
951
|
- generated/google/apis/networkmanagement_v1beta1.rb
|
936
952
|
- generated/google/apis/networkmanagement_v1beta1/classes.rb
|
937
953
|
- generated/google/apis/networkmanagement_v1beta1/representations.rb
|
@@ -960,18 +976,6 @@ files:
|
|
960
976
|
- generated/google/apis/oslogin_v1beta/classes.rb
|
961
977
|
- generated/google/apis/oslogin_v1beta/representations.rb
|
962
978
|
- generated/google/apis/oslogin_v1beta/service.rb
|
963
|
-
- generated/google/apis/pagespeedonline_v1.rb
|
964
|
-
- generated/google/apis/pagespeedonline_v1/classes.rb
|
965
|
-
- generated/google/apis/pagespeedonline_v1/representations.rb
|
966
|
-
- generated/google/apis/pagespeedonline_v1/service.rb
|
967
|
-
- generated/google/apis/pagespeedonline_v2.rb
|
968
|
-
- generated/google/apis/pagespeedonline_v2/classes.rb
|
969
|
-
- generated/google/apis/pagespeedonline_v2/representations.rb
|
970
|
-
- generated/google/apis/pagespeedonline_v2/service.rb
|
971
|
-
- generated/google/apis/pagespeedonline_v4.rb
|
972
|
-
- generated/google/apis/pagespeedonline_v4/classes.rb
|
973
|
-
- generated/google/apis/pagespeedonline_v4/representations.rb
|
974
|
-
- generated/google/apis/pagespeedonline_v4/service.rb
|
975
979
|
- generated/google/apis/pagespeedonline_v5.rb
|
976
980
|
- generated/google/apis/pagespeedonline_v5/classes.rb
|
977
981
|
- generated/google/apis/pagespeedonline_v5/representations.rb
|
@@ -1016,6 +1020,10 @@ files:
|
|
1016
1020
|
- generated/google/apis/pubsub_v1beta2/classes.rb
|
1017
1021
|
- generated/google/apis/pubsub_v1beta2/representations.rb
|
1018
1022
|
- generated/google/apis/pubsub_v1beta2/service.rb
|
1023
|
+
- generated/google/apis/recommender_v1.rb
|
1024
|
+
- generated/google/apis/recommender_v1/classes.rb
|
1025
|
+
- generated/google/apis/recommender_v1/representations.rb
|
1026
|
+
- generated/google/apis/recommender_v1/service.rb
|
1019
1027
|
- generated/google/apis/recommender_v1beta1.rb
|
1020
1028
|
- generated/google/apis/recommender_v1beta1/classes.rb
|
1021
1029
|
- generated/google/apis/recommender_v1beta1/representations.rb
|
@@ -1392,7 +1400,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
1392
1400
|
licenses:
|
1393
1401
|
- Apache-2.0
|
1394
1402
|
metadata:
|
1395
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.
|
1403
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.40.2
|
1396
1404
|
post_install_message:
|
1397
1405
|
rdoc_options: []
|
1398
1406
|
require_paths:
|
@@ -1,542 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module PagespeedonlineV1
|
24
|
-
|
25
|
-
#
|
26
|
-
class Result
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# The captcha verify result
|
30
|
-
# Corresponds to the JSON property `captchaResult`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :captcha_result
|
33
|
-
|
34
|
-
# Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
|
35
|
-
# rule instantiated and run by the server.
|
36
|
-
# Corresponds to the JSON property `formattedResults`
|
37
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults]
|
38
|
-
attr_accessor :formatted_results
|
39
|
-
|
40
|
-
# Canonicalized and final URL for the document, after following page redirects (
|
41
|
-
# if any).
|
42
|
-
# Corresponds to the JSON property `id`
|
43
|
-
# @return [String]
|
44
|
-
attr_accessor :id
|
45
|
-
|
46
|
-
# List of rules that were specified in the request, but which the server did not
|
47
|
-
# know how to instantiate.
|
48
|
-
# Corresponds to the JSON property `invalidRules`
|
49
|
-
# @return [Array<String>]
|
50
|
-
attr_accessor :invalid_rules
|
51
|
-
|
52
|
-
# Kind of result.
|
53
|
-
# Corresponds to the JSON property `kind`
|
54
|
-
# @return [String]
|
55
|
-
attr_accessor :kind
|
56
|
-
|
57
|
-
# Summary statistics for the page, such as number of JavaScript bytes, number of
|
58
|
-
# HTML bytes, etc.
|
59
|
-
# Corresponds to the JSON property `pageStats`
|
60
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::PageStats]
|
61
|
-
attr_accessor :page_stats
|
62
|
-
|
63
|
-
# Response code for the document. 200 indicates a normal page load. 4xx/5xx
|
64
|
-
# indicates an error.
|
65
|
-
# Corresponds to the JSON property `responseCode`
|
66
|
-
# @return [Fixnum]
|
67
|
-
attr_accessor :response_code
|
68
|
-
|
69
|
-
# The PageSpeed Score (0-100), which indicates how much faster a page could be.
|
70
|
-
# A high score indicates little room for improvement, while a lower score
|
71
|
-
# indicates more room for improvement.
|
72
|
-
# Corresponds to the JSON property `score`
|
73
|
-
# @return [Fixnum]
|
74
|
-
attr_accessor :score
|
75
|
-
|
76
|
-
# Base64-encoded screenshot of the page that was analyzed.
|
77
|
-
# Corresponds to the JSON property `screenshot`
|
78
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::Screenshot]
|
79
|
-
attr_accessor :screenshot
|
80
|
-
|
81
|
-
# Title of the page, as displayed in the browser's title bar.
|
82
|
-
# Corresponds to the JSON property `title`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :title
|
85
|
-
|
86
|
-
# The version of PageSpeed used to generate these results.
|
87
|
-
# Corresponds to the JSON property `version`
|
88
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::Version]
|
89
|
-
attr_accessor :version
|
90
|
-
|
91
|
-
def initialize(**args)
|
92
|
-
update!(**args)
|
93
|
-
end
|
94
|
-
|
95
|
-
# Update properties of this object
|
96
|
-
def update!(**args)
|
97
|
-
@captcha_result = args[:captcha_result] if args.key?(:captcha_result)
|
98
|
-
@formatted_results = args[:formatted_results] if args.key?(:formatted_results)
|
99
|
-
@id = args[:id] if args.key?(:id)
|
100
|
-
@invalid_rules = args[:invalid_rules] if args.key?(:invalid_rules)
|
101
|
-
@kind = args[:kind] if args.key?(:kind)
|
102
|
-
@page_stats = args[:page_stats] if args.key?(:page_stats)
|
103
|
-
@response_code = args[:response_code] if args.key?(:response_code)
|
104
|
-
@score = args[:score] if args.key?(:score)
|
105
|
-
@screenshot = args[:screenshot] if args.key?(:screenshot)
|
106
|
-
@title = args[:title] if args.key?(:title)
|
107
|
-
@version = args[:version] if args.key?(:version)
|
108
|
-
end
|
109
|
-
|
110
|
-
# Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
|
111
|
-
# rule instantiated and run by the server.
|
112
|
-
class FormattedResults
|
113
|
-
include Google::Apis::Core::Hashable
|
114
|
-
|
115
|
-
# The locale of the formattedResults, e.g. "en_US".
|
116
|
-
# Corresponds to the JSON property `locale`
|
117
|
-
# @return [String]
|
118
|
-
attr_accessor :locale
|
119
|
-
|
120
|
-
# Dictionary of formatted rule results, with one entry for each PageSpeed rule
|
121
|
-
# instantiated and run by the server.
|
122
|
-
# Corresponds to the JSON property `ruleResults`
|
123
|
-
# @return [Hash<String,Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult>]
|
124
|
-
attr_accessor :rule_results
|
125
|
-
|
126
|
-
def initialize(**args)
|
127
|
-
update!(**args)
|
128
|
-
end
|
129
|
-
|
130
|
-
# Update properties of this object
|
131
|
-
def update!(**args)
|
132
|
-
@locale = args[:locale] if args.key?(:locale)
|
133
|
-
@rule_results = args[:rule_results] if args.key?(:rule_results)
|
134
|
-
end
|
135
|
-
|
136
|
-
# The enum-like identifier for this rule. For instance "EnableKeepAlive" or "
|
137
|
-
# AvoidCssImport". Not localized.
|
138
|
-
class RuleResult
|
139
|
-
include Google::Apis::Core::Hashable
|
140
|
-
|
141
|
-
# Localized name of the rule, intended for presentation to a user.
|
142
|
-
# Corresponds to the JSON property `localizedRuleName`
|
143
|
-
# @return [String]
|
144
|
-
attr_accessor :localized_rule_name
|
145
|
-
|
146
|
-
# The impact (unbounded floating point value) that implementing the suggestions
|
147
|
-
# for this rule would have on making the page faster. Impact is comparable
|
148
|
-
# between rules to determine which rule's suggestions would have a higher or
|
149
|
-
# lower impact on making a page faster. For instance, if enabling compression
|
150
|
-
# would save 1MB, while optimizing images would save 500kB, the enable
|
151
|
-
# compression rule would have 2x the impact of the image optimization rule, all
|
152
|
-
# other things being equal.
|
153
|
-
# Corresponds to the JSON property `ruleImpact`
|
154
|
-
# @return [Float]
|
155
|
-
attr_accessor :rule_impact
|
156
|
-
|
157
|
-
# List of blocks of URLs. Each block may contain a heading and a list of URLs.
|
158
|
-
# Each URL may optionally include additional details.
|
159
|
-
# Corresponds to the JSON property `urlBlocks`
|
160
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock>]
|
161
|
-
attr_accessor :url_blocks
|
162
|
-
|
163
|
-
def initialize(**args)
|
164
|
-
update!(**args)
|
165
|
-
end
|
166
|
-
|
167
|
-
# Update properties of this object
|
168
|
-
def update!(**args)
|
169
|
-
@localized_rule_name = args[:localized_rule_name] if args.key?(:localized_rule_name)
|
170
|
-
@rule_impact = args[:rule_impact] if args.key?(:rule_impact)
|
171
|
-
@url_blocks = args[:url_blocks] if args.key?(:url_blocks)
|
172
|
-
end
|
173
|
-
|
174
|
-
#
|
175
|
-
class UrlBlock
|
176
|
-
include Google::Apis::Core::Hashable
|
177
|
-
|
178
|
-
# Heading to be displayed with the list of URLs.
|
179
|
-
# Corresponds to the JSON property `header`
|
180
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header]
|
181
|
-
attr_accessor :header
|
182
|
-
|
183
|
-
# List of entries that provide information about URLs in the url block. Optional.
|
184
|
-
# Corresponds to the JSON property `urls`
|
185
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url>]
|
186
|
-
attr_accessor :urls
|
187
|
-
|
188
|
-
def initialize(**args)
|
189
|
-
update!(**args)
|
190
|
-
end
|
191
|
-
|
192
|
-
# Update properties of this object
|
193
|
-
def update!(**args)
|
194
|
-
@header = args[:header] if args.key?(:header)
|
195
|
-
@urls = args[:urls] if args.key?(:urls)
|
196
|
-
end
|
197
|
-
|
198
|
-
# Heading to be displayed with the list of URLs.
|
199
|
-
class Header
|
200
|
-
include Google::Apis::Core::Hashable
|
201
|
-
|
202
|
-
# List of arguments for the format string.
|
203
|
-
# Corresponds to the JSON property `args`
|
204
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header::Arg>]
|
205
|
-
attr_accessor :args
|
206
|
-
|
207
|
-
# A localized format string with $N placeholders, where N is the 1-indexed
|
208
|
-
# argument number, e.g. 'Minifying the following $1 resources would save a total
|
209
|
-
# of $2 bytes'.
|
210
|
-
# Corresponds to the JSON property `format`
|
211
|
-
# @return [String]
|
212
|
-
attr_accessor :format
|
213
|
-
|
214
|
-
def initialize(**args)
|
215
|
-
update!(**args)
|
216
|
-
end
|
217
|
-
|
218
|
-
# Update properties of this object
|
219
|
-
def update!(**args)
|
220
|
-
@args = args[:args] if args.key?(:args)
|
221
|
-
@format = args[:format] if args.key?(:format)
|
222
|
-
end
|
223
|
-
|
224
|
-
#
|
225
|
-
class Arg
|
226
|
-
include Google::Apis::Core::Hashable
|
227
|
-
|
228
|
-
# Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
|
229
|
-
# Corresponds to the JSON property `type`
|
230
|
-
# @return [String]
|
231
|
-
attr_accessor :type
|
232
|
-
|
233
|
-
# Argument value, as a localized string.
|
234
|
-
# Corresponds to the JSON property `value`
|
235
|
-
# @return [String]
|
236
|
-
attr_accessor :value
|
237
|
-
|
238
|
-
def initialize(**args)
|
239
|
-
update!(**args)
|
240
|
-
end
|
241
|
-
|
242
|
-
# Update properties of this object
|
243
|
-
def update!(**args)
|
244
|
-
@type = args[:type] if args.key?(:type)
|
245
|
-
@value = args[:value] if args.key?(:value)
|
246
|
-
end
|
247
|
-
end
|
248
|
-
end
|
249
|
-
|
250
|
-
#
|
251
|
-
class Url
|
252
|
-
include Google::Apis::Core::Hashable
|
253
|
-
|
254
|
-
# List of entries that provide additional details about a single URL. Optional.
|
255
|
-
# Corresponds to the JSON property `details`
|
256
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail>]
|
257
|
-
attr_accessor :details
|
258
|
-
|
259
|
-
# A format string that gives information about the URL, and a list of arguments
|
260
|
-
# for that format string.
|
261
|
-
# Corresponds to the JSON property `result`
|
262
|
-
# @return [Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result]
|
263
|
-
attr_accessor :result
|
264
|
-
|
265
|
-
def initialize(**args)
|
266
|
-
update!(**args)
|
267
|
-
end
|
268
|
-
|
269
|
-
# Update properties of this object
|
270
|
-
def update!(**args)
|
271
|
-
@details = args[:details] if args.key?(:details)
|
272
|
-
@result = args[:result] if args.key?(:result)
|
273
|
-
end
|
274
|
-
|
275
|
-
#
|
276
|
-
class Detail
|
277
|
-
include Google::Apis::Core::Hashable
|
278
|
-
|
279
|
-
# List of arguments for the format string.
|
280
|
-
# Corresponds to the JSON property `args`
|
281
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg>]
|
282
|
-
attr_accessor :args
|
283
|
-
|
284
|
-
# A localized format string with $N placeholders, where N is the 1-indexed
|
285
|
-
# argument number, e.g. 'Unnecessary metadata for this resource adds an
|
286
|
-
# additional $1 bytes to its download size'.
|
287
|
-
# Corresponds to the JSON property `format`
|
288
|
-
# @return [String]
|
289
|
-
attr_accessor :format
|
290
|
-
|
291
|
-
def initialize(**args)
|
292
|
-
update!(**args)
|
293
|
-
end
|
294
|
-
|
295
|
-
# Update properties of this object
|
296
|
-
def update!(**args)
|
297
|
-
@args = args[:args] if args.key?(:args)
|
298
|
-
@format = args[:format] if args.key?(:format)
|
299
|
-
end
|
300
|
-
|
301
|
-
#
|
302
|
-
class Arg
|
303
|
-
include Google::Apis::Core::Hashable
|
304
|
-
|
305
|
-
# Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
|
306
|
-
# Corresponds to the JSON property `type`
|
307
|
-
# @return [String]
|
308
|
-
attr_accessor :type
|
309
|
-
|
310
|
-
# Argument value, as a localized string.
|
311
|
-
# Corresponds to the JSON property `value`
|
312
|
-
# @return [String]
|
313
|
-
attr_accessor :value
|
314
|
-
|
315
|
-
def initialize(**args)
|
316
|
-
update!(**args)
|
317
|
-
end
|
318
|
-
|
319
|
-
# Update properties of this object
|
320
|
-
def update!(**args)
|
321
|
-
@type = args[:type] if args.key?(:type)
|
322
|
-
@value = args[:value] if args.key?(:value)
|
323
|
-
end
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
# A format string that gives information about the URL, and a list of arguments
|
328
|
-
# for that format string.
|
329
|
-
class Result
|
330
|
-
include Google::Apis::Core::Hashable
|
331
|
-
|
332
|
-
# List of arguments for the format string.
|
333
|
-
# Corresponds to the JSON property `args`
|
334
|
-
# @return [Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result::Arg>]
|
335
|
-
attr_accessor :args
|
336
|
-
|
337
|
-
# A localized format string with $N placeholders, where N is the 1-indexed
|
338
|
-
# argument number, e.g. 'Minifying the resource at URL $1 can save $2 bytes'.
|
339
|
-
# Corresponds to the JSON property `format`
|
340
|
-
# @return [String]
|
341
|
-
attr_accessor :format
|
342
|
-
|
343
|
-
def initialize(**args)
|
344
|
-
update!(**args)
|
345
|
-
end
|
346
|
-
|
347
|
-
# Update properties of this object
|
348
|
-
def update!(**args)
|
349
|
-
@args = args[:args] if args.key?(:args)
|
350
|
-
@format = args[:format] if args.key?(:format)
|
351
|
-
end
|
352
|
-
|
353
|
-
#
|
354
|
-
class Arg
|
355
|
-
include Google::Apis::Core::Hashable
|
356
|
-
|
357
|
-
# Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, or DURATION.
|
358
|
-
# Corresponds to the JSON property `type`
|
359
|
-
# @return [String]
|
360
|
-
attr_accessor :type
|
361
|
-
|
362
|
-
# Argument value, as a localized string.
|
363
|
-
# Corresponds to the JSON property `value`
|
364
|
-
# @return [String]
|
365
|
-
attr_accessor :value
|
366
|
-
|
367
|
-
def initialize(**args)
|
368
|
-
update!(**args)
|
369
|
-
end
|
370
|
-
|
371
|
-
# Update properties of this object
|
372
|
-
def update!(**args)
|
373
|
-
@type = args[:type] if args.key?(:type)
|
374
|
-
@value = args[:value] if args.key?(:value)
|
375
|
-
end
|
376
|
-
end
|
377
|
-
end
|
378
|
-
end
|
379
|
-
end
|
380
|
-
end
|
381
|
-
end
|
382
|
-
|
383
|
-
# Summary statistics for the page, such as number of JavaScript bytes, number of
|
384
|
-
# HTML bytes, etc.
|
385
|
-
class PageStats
|
386
|
-
include Google::Apis::Core::Hashable
|
387
|
-
|
388
|
-
# Number of uncompressed response bytes for CSS resources on the page.
|
389
|
-
# Corresponds to the JSON property `cssResponseBytes`
|
390
|
-
# @return [Fixnum]
|
391
|
-
attr_accessor :css_response_bytes
|
392
|
-
|
393
|
-
# Number of response bytes for flash resources on the page.
|
394
|
-
# Corresponds to the JSON property `flashResponseBytes`
|
395
|
-
# @return [Fixnum]
|
396
|
-
attr_accessor :flash_response_bytes
|
397
|
-
|
398
|
-
# Number of uncompressed response bytes for the main HTML document and all
|
399
|
-
# iframes on the page.
|
400
|
-
# Corresponds to the JSON property `htmlResponseBytes`
|
401
|
-
# @return [Fixnum]
|
402
|
-
attr_accessor :html_response_bytes
|
403
|
-
|
404
|
-
# Number of response bytes for image resources on the page.
|
405
|
-
# Corresponds to the JSON property `imageResponseBytes`
|
406
|
-
# @return [Fixnum]
|
407
|
-
attr_accessor :image_response_bytes
|
408
|
-
|
409
|
-
# Number of uncompressed response bytes for JS resources on the page.
|
410
|
-
# Corresponds to the JSON property `javascriptResponseBytes`
|
411
|
-
# @return [Fixnum]
|
412
|
-
attr_accessor :javascript_response_bytes
|
413
|
-
|
414
|
-
# Number of CSS resources referenced by the page.
|
415
|
-
# Corresponds to the JSON property `numberCssResources`
|
416
|
-
# @return [Fixnum]
|
417
|
-
attr_accessor :number_css_resources
|
418
|
-
|
419
|
-
# Number of unique hosts referenced by the page.
|
420
|
-
# Corresponds to the JSON property `numberHosts`
|
421
|
-
# @return [Fixnum]
|
422
|
-
attr_accessor :number_hosts
|
423
|
-
|
424
|
-
# Number of JavaScript resources referenced by the page.
|
425
|
-
# Corresponds to the JSON property `numberJsResources`
|
426
|
-
# @return [Fixnum]
|
427
|
-
attr_accessor :number_js_resources
|
428
|
-
|
429
|
-
# Number of HTTP resources loaded by the page.
|
430
|
-
# Corresponds to the JSON property `numberResources`
|
431
|
-
# @return [Fixnum]
|
432
|
-
attr_accessor :number_resources
|
433
|
-
|
434
|
-
# Number of static (i.e. cacheable) resources on the page.
|
435
|
-
# Corresponds to the JSON property `numberStaticResources`
|
436
|
-
# @return [Fixnum]
|
437
|
-
attr_accessor :number_static_resources
|
438
|
-
|
439
|
-
# Number of response bytes for other resources on the page.
|
440
|
-
# Corresponds to the JSON property `otherResponseBytes`
|
441
|
-
# @return [Fixnum]
|
442
|
-
attr_accessor :other_response_bytes
|
443
|
-
|
444
|
-
# Number of uncompressed response bytes for text resources not covered by other
|
445
|
-
# statistics (i.e non-HTML, non-script, non-CSS resources) on the page.
|
446
|
-
# Corresponds to the JSON property `textResponseBytes`
|
447
|
-
# @return [Fixnum]
|
448
|
-
attr_accessor :text_response_bytes
|
449
|
-
|
450
|
-
# Total size of all request bytes sent by the page.
|
451
|
-
# Corresponds to the JSON property `totalRequestBytes`
|
452
|
-
# @return [Fixnum]
|
453
|
-
attr_accessor :total_request_bytes
|
454
|
-
|
455
|
-
def initialize(**args)
|
456
|
-
update!(**args)
|
457
|
-
end
|
458
|
-
|
459
|
-
# Update properties of this object
|
460
|
-
def update!(**args)
|
461
|
-
@css_response_bytes = args[:css_response_bytes] if args.key?(:css_response_bytes)
|
462
|
-
@flash_response_bytes = args[:flash_response_bytes] if args.key?(:flash_response_bytes)
|
463
|
-
@html_response_bytes = args[:html_response_bytes] if args.key?(:html_response_bytes)
|
464
|
-
@image_response_bytes = args[:image_response_bytes] if args.key?(:image_response_bytes)
|
465
|
-
@javascript_response_bytes = args[:javascript_response_bytes] if args.key?(:javascript_response_bytes)
|
466
|
-
@number_css_resources = args[:number_css_resources] if args.key?(:number_css_resources)
|
467
|
-
@number_hosts = args[:number_hosts] if args.key?(:number_hosts)
|
468
|
-
@number_js_resources = args[:number_js_resources] if args.key?(:number_js_resources)
|
469
|
-
@number_resources = args[:number_resources] if args.key?(:number_resources)
|
470
|
-
@number_static_resources = args[:number_static_resources] if args.key?(:number_static_resources)
|
471
|
-
@other_response_bytes = args[:other_response_bytes] if args.key?(:other_response_bytes)
|
472
|
-
@text_response_bytes = args[:text_response_bytes] if args.key?(:text_response_bytes)
|
473
|
-
@total_request_bytes = args[:total_request_bytes] if args.key?(:total_request_bytes)
|
474
|
-
end
|
475
|
-
end
|
476
|
-
|
477
|
-
# Base64-encoded screenshot of the page that was analyzed.
|
478
|
-
class Screenshot
|
479
|
-
include Google::Apis::Core::Hashable
|
480
|
-
|
481
|
-
# Image data base64 encoded.
|
482
|
-
# Corresponds to the JSON property `data`
|
483
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
484
|
-
# @return [String]
|
485
|
-
attr_accessor :data
|
486
|
-
|
487
|
-
# Height of screenshot in pixels.
|
488
|
-
# Corresponds to the JSON property `height`
|
489
|
-
# @return [Fixnum]
|
490
|
-
attr_accessor :height
|
491
|
-
|
492
|
-
# Mime type of image data. E.g. "image/jpeg".
|
493
|
-
# Corresponds to the JSON property `mime_type`
|
494
|
-
# @return [String]
|
495
|
-
attr_accessor :mime_type
|
496
|
-
|
497
|
-
# Width of screenshot in pixels.
|
498
|
-
# Corresponds to the JSON property `width`
|
499
|
-
# @return [Fixnum]
|
500
|
-
attr_accessor :width
|
501
|
-
|
502
|
-
def initialize(**args)
|
503
|
-
update!(**args)
|
504
|
-
end
|
505
|
-
|
506
|
-
# Update properties of this object
|
507
|
-
def update!(**args)
|
508
|
-
@data = args[:data] if args.key?(:data)
|
509
|
-
@height = args[:height] if args.key?(:height)
|
510
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
511
|
-
@width = args[:width] if args.key?(:width)
|
512
|
-
end
|
513
|
-
end
|
514
|
-
|
515
|
-
# The version of PageSpeed used to generate these results.
|
516
|
-
class Version
|
517
|
-
include Google::Apis::Core::Hashable
|
518
|
-
|
519
|
-
# The major version number of PageSpeed used to generate these results.
|
520
|
-
# Corresponds to the JSON property `major`
|
521
|
-
# @return [Fixnum]
|
522
|
-
attr_accessor :major
|
523
|
-
|
524
|
-
# The minor version number of PageSpeed used to generate these results.
|
525
|
-
# Corresponds to the JSON property `minor`
|
526
|
-
# @return [Fixnum]
|
527
|
-
attr_accessor :minor
|
528
|
-
|
529
|
-
def initialize(**args)
|
530
|
-
update!(**args)
|
531
|
-
end
|
532
|
-
|
533
|
-
# Update properties of this object
|
534
|
-
def update!(**args)
|
535
|
-
@major = args[:major] if args.key?(:major)
|
536
|
-
@minor = args[:minor] if args.key?(:minor)
|
537
|
-
end
|
538
|
-
end
|
539
|
-
end
|
540
|
-
end
|
541
|
-
end
|
542
|
-
end
|