google-api-client 0.39.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +164 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +70 -347
- data/generated/google/apis/apigee_v1/representations.rb +6 -128
- data/generated/google/apis/apigee_v1/service.rb +60 -550
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -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 +46 -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 +21 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- 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/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- 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 +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -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 +142 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -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 +307 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- 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 +165 -65
- data/generated/google/apis/compute_alpha/representations.rb +30 -1
- data/generated/google/apis/compute_alpha/service.rb +157 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +172 -55
- data/generated/google/apis/compute_beta/representations.rb +47 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +148 -51
- 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 +5 -6
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +65 -6
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- 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/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
- 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 +568 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- 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/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1187 -0
- data/generated/google/apis/file_v1/representations.rb +396 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
- data/generated/google/apis/file_v1beta1/representations.rb +396 -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 +4 -4
- data/generated/google/apis/{pagespeedonline_v2.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 +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +67 -46
- data/generated/google/apis/healthcare_v1/service.rb +107 -140
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
- data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
- 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 +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
- 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_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- 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 +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -7
- 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 +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
- 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 +23 -10
- 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 +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- 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 +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +29 -10
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- 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 +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -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_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/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/version.rb +9 -4
- 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
@@ -1,258 +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
|
-
class Result
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
class FormattedResults
|
29
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
30
|
-
|
31
|
-
class RuleResult
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
class UrlBlock
|
35
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
36
|
-
|
37
|
-
class Header
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
class Arg
|
41
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
42
|
-
|
43
|
-
include Google::Apis::Core::JsonObjectSupport
|
44
|
-
end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class Url
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
class Detail
|
53
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
54
|
-
|
55
|
-
class Arg
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
include Google::Apis::Core::JsonObjectSupport
|
62
|
-
end
|
63
|
-
|
64
|
-
class Result
|
65
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
66
|
-
|
67
|
-
class Arg
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
include Google::Apis::Core::JsonObjectSupport
|
74
|
-
end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
include Google::Apis::Core::JsonObjectSupport
|
80
|
-
end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
include Google::Apis::Core::JsonObjectSupport
|
86
|
-
end
|
87
|
-
|
88
|
-
class PageStats
|
89
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
90
|
-
|
91
|
-
include Google::Apis::Core::JsonObjectSupport
|
92
|
-
end
|
93
|
-
|
94
|
-
class Screenshot
|
95
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
|
-
|
97
|
-
include Google::Apis::Core::JsonObjectSupport
|
98
|
-
end
|
99
|
-
|
100
|
-
class Version
|
101
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
102
|
-
|
103
|
-
include Google::Apis::Core::JsonObjectSupport
|
104
|
-
end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class Result
|
110
|
-
# @private
|
111
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
-
property :captcha_result, as: 'captchaResult'
|
113
|
-
property :formatted_results, as: 'formattedResults', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::Representation
|
114
|
-
|
115
|
-
property :id, as: 'id'
|
116
|
-
collection :invalid_rules, as: 'invalidRules'
|
117
|
-
property :kind, as: 'kind'
|
118
|
-
property :page_stats, as: 'pageStats', class: Google::Apis::PagespeedonlineV1::Result::PageStats, decorator: Google::Apis::PagespeedonlineV1::Result::PageStats::Representation
|
119
|
-
|
120
|
-
property :response_code, as: 'responseCode'
|
121
|
-
property :score, as: 'score'
|
122
|
-
property :screenshot, as: 'screenshot', class: Google::Apis::PagespeedonlineV1::Result::Screenshot, decorator: Google::Apis::PagespeedonlineV1::Result::Screenshot::Representation
|
123
|
-
|
124
|
-
property :title, as: 'title'
|
125
|
-
property :version, as: 'version', class: Google::Apis::PagespeedonlineV1::Result::Version, decorator: Google::Apis::PagespeedonlineV1::Result::Version::Representation
|
126
|
-
|
127
|
-
end
|
128
|
-
|
129
|
-
class FormattedResults
|
130
|
-
# @private
|
131
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
132
|
-
property :locale, as: 'locale'
|
133
|
-
hash :rule_results, as: 'ruleResults', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::Representation
|
134
|
-
|
135
|
-
end
|
136
|
-
|
137
|
-
class RuleResult
|
138
|
-
# @private
|
139
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
140
|
-
property :localized_rule_name, as: 'localizedRuleName'
|
141
|
-
property :rule_impact, as: 'ruleImpact'
|
142
|
-
collection :url_blocks, as: 'urlBlocks', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Representation
|
143
|
-
|
144
|
-
end
|
145
|
-
|
146
|
-
class UrlBlock
|
147
|
-
# @private
|
148
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
149
|
-
property :header, as: 'header', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header::Representation
|
150
|
-
|
151
|
-
collection :urls, as: 'urls', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Representation
|
152
|
-
|
153
|
-
end
|
154
|
-
|
155
|
-
class Header
|
156
|
-
# @private
|
157
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
158
|
-
collection :args, as: 'args', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header::Arg, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Header::Arg::Representation
|
159
|
-
|
160
|
-
property :format, as: 'format'
|
161
|
-
end
|
162
|
-
|
163
|
-
class Arg
|
164
|
-
# @private
|
165
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
166
|
-
property :type, as: 'type'
|
167
|
-
property :value, as: 'value'
|
168
|
-
end
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
class Url
|
173
|
-
# @private
|
174
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
175
|
-
collection :details, as: 'details', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Representation
|
176
|
-
|
177
|
-
property :result, as: 'result', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result::Representation
|
178
|
-
|
179
|
-
end
|
180
|
-
|
181
|
-
class Detail
|
182
|
-
# @private
|
183
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
-
collection :args, as: 'args', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg::Representation
|
185
|
-
|
186
|
-
property :format, as: 'format'
|
187
|
-
end
|
188
|
-
|
189
|
-
class Arg
|
190
|
-
# @private
|
191
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
192
|
-
property :type, as: 'type'
|
193
|
-
property :value, as: 'value'
|
194
|
-
end
|
195
|
-
end
|
196
|
-
end
|
197
|
-
|
198
|
-
class Result
|
199
|
-
# @private
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
201
|
-
collection :args, as: 'args', class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result::Arg, decorator: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Result::Arg::Representation
|
202
|
-
|
203
|
-
property :format, as: 'format'
|
204
|
-
end
|
205
|
-
|
206
|
-
class Arg
|
207
|
-
# @private
|
208
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
209
|
-
property :type, as: 'type'
|
210
|
-
property :value, as: 'value'
|
211
|
-
end
|
212
|
-
end
|
213
|
-
end
|
214
|
-
end
|
215
|
-
end
|
216
|
-
end
|
217
|
-
end
|
218
|
-
|
219
|
-
class PageStats
|
220
|
-
# @private
|
221
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
222
|
-
property :css_response_bytes, :numeric_string => true, as: 'cssResponseBytes'
|
223
|
-
property :flash_response_bytes, :numeric_string => true, as: 'flashResponseBytes'
|
224
|
-
property :html_response_bytes, :numeric_string => true, as: 'htmlResponseBytes'
|
225
|
-
property :image_response_bytes, :numeric_string => true, as: 'imageResponseBytes'
|
226
|
-
property :javascript_response_bytes, :numeric_string => true, as: 'javascriptResponseBytes'
|
227
|
-
property :number_css_resources, as: 'numberCssResources'
|
228
|
-
property :number_hosts, as: 'numberHosts'
|
229
|
-
property :number_js_resources, as: 'numberJsResources'
|
230
|
-
property :number_resources, as: 'numberResources'
|
231
|
-
property :number_static_resources, as: 'numberStaticResources'
|
232
|
-
property :other_response_bytes, :numeric_string => true, as: 'otherResponseBytes'
|
233
|
-
property :text_response_bytes, :numeric_string => true, as: 'textResponseBytes'
|
234
|
-
property :total_request_bytes, :numeric_string => true, as: 'totalRequestBytes'
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
|
-
class Screenshot
|
239
|
-
# @private
|
240
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
-
property :data, :base64 => true, as: 'data'
|
242
|
-
property :height, as: 'height'
|
243
|
-
property :mime_type, as: 'mime_type'
|
244
|
-
property :width, as: 'width'
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
class Version
|
249
|
-
# @private
|
250
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
251
|
-
property :major, as: 'major'
|
252
|
-
property :minor, as: 'minor'
|
253
|
-
end
|
254
|
-
end
|
255
|
-
end
|
256
|
-
end
|
257
|
-
end
|
258
|
-
end
|
@@ -1,116 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module PagespeedonlineV1
|
23
|
-
# PageSpeed Insights API
|
24
|
-
#
|
25
|
-
# Analyzes the performance of a web page and provides tailored suggestions to
|
26
|
-
# make that page faster.
|
27
|
-
#
|
28
|
-
# @example
|
29
|
-
# require 'google/apis/pagespeedonline_v1'
|
30
|
-
#
|
31
|
-
# Pagespeedonline = Google::Apis::PagespeedonlineV1 # Alias the module
|
32
|
-
# service = Pagespeedonline::PagespeedonlineService.new
|
33
|
-
#
|
34
|
-
# @see https://developers.google.com/speed/docs/insights/v1/getting_started
|
35
|
-
class PagespeedonlineService < Google::Apis::Core::BaseService
|
36
|
-
# @return [String]
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
-
attr_accessor :key
|
40
|
-
|
41
|
-
# @return [String]
|
42
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
43
|
-
# characters.
|
44
|
-
attr_accessor :quota_user
|
45
|
-
|
46
|
-
# @return [String]
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
48
|
-
attr_accessor :user_ip
|
49
|
-
|
50
|
-
def initialize
|
51
|
-
super('https://www.googleapis.com/', 'pagespeedonline/v1/')
|
52
|
-
@batch_path = 'batch/pagespeedonline/v1'
|
53
|
-
end
|
54
|
-
|
55
|
-
# Runs PageSpeed analysis on the page at the specified URL, and returns a
|
56
|
-
# PageSpeed score, a list of suggestions to make that page faster, and other
|
57
|
-
# information.
|
58
|
-
# @param [String] url
|
59
|
-
# The URL to fetch and analyze
|
60
|
-
# @param [Boolean] filter_third_party_resources
|
61
|
-
# Indicates if third party resources should be filtered out before PageSpeed
|
62
|
-
# analysis.
|
63
|
-
# @param [String] locale
|
64
|
-
# The locale used to localize formatted results
|
65
|
-
# @param [Array<String>, String] rule
|
66
|
-
# A PageSpeed rule to run; if none are given, all rules are run
|
67
|
-
# @param [Boolean] screenshot
|
68
|
-
# Indicates if binary data containing a screenshot should be included
|
69
|
-
# @param [String] strategy
|
70
|
-
# The analysis strategy to use
|
71
|
-
# @param [String] fields
|
72
|
-
# Selector specifying which fields to include in a partial response.
|
73
|
-
# @param [String] quota_user
|
74
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
75
|
-
# characters.
|
76
|
-
# @param [String] user_ip
|
77
|
-
# Deprecated. Please use quotaUser instead.
|
78
|
-
# @param [Google::Apis::RequestOptions] options
|
79
|
-
# Request-specific options
|
80
|
-
#
|
81
|
-
# @yield [result, err] Result & error if block supplied
|
82
|
-
# @yieldparam result [Google::Apis::PagespeedonlineV1::Result] parsed result object
|
83
|
-
# @yieldparam err [StandardError] error object if request failed
|
84
|
-
#
|
85
|
-
# @return [Google::Apis::PagespeedonlineV1::Result]
|
86
|
-
#
|
87
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
88
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
89
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
90
|
-
def runpagespeed_pagespeedapi(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
91
|
-
command = make_simple_command(:get, 'runPagespeed', options)
|
92
|
-
command.response_representation = Google::Apis::PagespeedonlineV1::Result::Representation
|
93
|
-
command.response_class = Google::Apis::PagespeedonlineV1::Result
|
94
|
-
command.query['filter_third_party_resources'] = filter_third_party_resources unless filter_third_party_resources.nil?
|
95
|
-
command.query['locale'] = locale unless locale.nil?
|
96
|
-
command.query['rule'] = rule unless rule.nil?
|
97
|
-
command.query['screenshot'] = screenshot unless screenshot.nil?
|
98
|
-
command.query['strategy'] = strategy unless strategy.nil?
|
99
|
-
command.query['url'] = url unless url.nil?
|
100
|
-
command.query['fields'] = fields unless fields.nil?
|
101
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
102
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
103
|
-
execute_or_queue_command(command, &block)
|
104
|
-
end
|
105
|
-
|
106
|
-
protected
|
107
|
-
|
108
|
-
def apply_command_defaults(command)
|
109
|
-
command.query['key'] = key unless key.nil?
|
110
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
@@ -1,621 +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 PagespeedonlineV2
|
24
|
-
|
25
|
-
#
|
26
|
-
class FormatString
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# List of arguments for the format string.
|
30
|
-
# Corresponds to the JSON property `args`
|
31
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::FormatString::Arg>]
|
32
|
-
attr_accessor :args
|
33
|
-
|
34
|
-
# A localized format string with ``FOO`` placeholders, where 'FOO' is the key of
|
35
|
-
# the argument whose value should be substituted. For HYPERLINK arguments, the
|
36
|
-
# format string will instead contain ``BEGIN_FOO`` and ``END_FOO`` for the
|
37
|
-
# argument with key 'FOO'.
|
38
|
-
# Corresponds to the JSON property `format`
|
39
|
-
# @return [String]
|
40
|
-
attr_accessor :format
|
41
|
-
|
42
|
-
def initialize(**args)
|
43
|
-
update!(**args)
|
44
|
-
end
|
45
|
-
|
46
|
-
# Update properties of this object
|
47
|
-
def update!(**args)
|
48
|
-
@args = args[:args] if args.key?(:args)
|
49
|
-
@format = args[:format] if args.key?(:format)
|
50
|
-
end
|
51
|
-
|
52
|
-
#
|
53
|
-
class Arg
|
54
|
-
include Google::Apis::Core::Hashable
|
55
|
-
|
56
|
-
# The placeholder key for this arg, as a string.
|
57
|
-
# Corresponds to the JSON property `key`
|
58
|
-
# @return [String]
|
59
|
-
attr_accessor :key
|
60
|
-
|
61
|
-
# The screen rectangles being referred to, with dimensions measured in CSS
|
62
|
-
# pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent
|
63
|
-
# for a SNAPSHOT_RECT argument, it means that that argument refers to the entire
|
64
|
-
# snapshot.
|
65
|
-
# Corresponds to the JSON property `rects`
|
66
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::FormatString::Arg::Rect>]
|
67
|
-
attr_accessor :rects
|
68
|
-
|
69
|
-
# Secondary screen rectangles being referred to, with dimensions measured in CSS
|
70
|
-
# pixels. This is only ever used for SNAPSHOT_RECT arguments.
|
71
|
-
# Corresponds to the JSON property `secondary_rects`
|
72
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::FormatString::Arg::SecondaryRect>]
|
73
|
-
attr_accessor :secondary_rects
|
74
|
-
|
75
|
-
# Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION,
|
76
|
-
# VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT.
|
77
|
-
# Corresponds to the JSON property `type`
|
78
|
-
# @return [String]
|
79
|
-
attr_accessor :type
|
80
|
-
|
81
|
-
# Argument value, as a localized string.
|
82
|
-
# Corresponds to the JSON property `value`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :value
|
85
|
-
|
86
|
-
def initialize(**args)
|
87
|
-
update!(**args)
|
88
|
-
end
|
89
|
-
|
90
|
-
# Update properties of this object
|
91
|
-
def update!(**args)
|
92
|
-
@key = args[:key] if args.key?(:key)
|
93
|
-
@rects = args[:rects] if args.key?(:rects)
|
94
|
-
@secondary_rects = args[:secondary_rects] if args.key?(:secondary_rects)
|
95
|
-
@type = args[:type] if args.key?(:type)
|
96
|
-
@value = args[:value] if args.key?(:value)
|
97
|
-
end
|
98
|
-
|
99
|
-
#
|
100
|
-
class Rect
|
101
|
-
include Google::Apis::Core::Hashable
|
102
|
-
|
103
|
-
# The height of the rect.
|
104
|
-
# Corresponds to the JSON property `height`
|
105
|
-
# @return [Fixnum]
|
106
|
-
attr_accessor :height
|
107
|
-
|
108
|
-
# The left coordinate of the rect, in page coordinates.
|
109
|
-
# Corresponds to the JSON property `left`
|
110
|
-
# @return [Fixnum]
|
111
|
-
attr_accessor :left
|
112
|
-
|
113
|
-
# The top coordinate of the rect, in page coordinates.
|
114
|
-
# Corresponds to the JSON property `top`
|
115
|
-
# @return [Fixnum]
|
116
|
-
attr_accessor :top
|
117
|
-
|
118
|
-
# The width of the rect.
|
119
|
-
# Corresponds to the JSON property `width`
|
120
|
-
# @return [Fixnum]
|
121
|
-
attr_accessor :width
|
122
|
-
|
123
|
-
def initialize(**args)
|
124
|
-
update!(**args)
|
125
|
-
end
|
126
|
-
|
127
|
-
# Update properties of this object
|
128
|
-
def update!(**args)
|
129
|
-
@height = args[:height] if args.key?(:height)
|
130
|
-
@left = args[:left] if args.key?(:left)
|
131
|
-
@top = args[:top] if args.key?(:top)
|
132
|
-
@width = args[:width] if args.key?(:width)
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
#
|
137
|
-
class SecondaryRect
|
138
|
-
include Google::Apis::Core::Hashable
|
139
|
-
|
140
|
-
# The height of the rect.
|
141
|
-
# Corresponds to the JSON property `height`
|
142
|
-
# @return [Fixnum]
|
143
|
-
attr_accessor :height
|
144
|
-
|
145
|
-
# The left coordinate of the rect, in page coordinates.
|
146
|
-
# Corresponds to the JSON property `left`
|
147
|
-
# @return [Fixnum]
|
148
|
-
attr_accessor :left
|
149
|
-
|
150
|
-
# The top coordinate of the rect, in page coordinates.
|
151
|
-
# Corresponds to the JSON property `top`
|
152
|
-
# @return [Fixnum]
|
153
|
-
attr_accessor :top
|
154
|
-
|
155
|
-
# The width of the rect.
|
156
|
-
# Corresponds to the JSON property `width`
|
157
|
-
# @return [Fixnum]
|
158
|
-
attr_accessor :width
|
159
|
-
|
160
|
-
def initialize(**args)
|
161
|
-
update!(**args)
|
162
|
-
end
|
163
|
-
|
164
|
-
# Update properties of this object
|
165
|
-
def update!(**args)
|
166
|
-
@height = args[:height] if args.key?(:height)
|
167
|
-
@left = args[:left] if args.key?(:left)
|
168
|
-
@top = args[:top] if args.key?(:top)
|
169
|
-
@width = args[:width] if args.key?(:width)
|
170
|
-
end
|
171
|
-
end
|
172
|
-
end
|
173
|
-
end
|
174
|
-
|
175
|
-
#
|
176
|
-
class Image
|
177
|
-
include Google::Apis::Core::Hashable
|
178
|
-
|
179
|
-
# Image data base64 encoded.
|
180
|
-
# Corresponds to the JSON property `data`
|
181
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
182
|
-
# @return [String]
|
183
|
-
attr_accessor :data
|
184
|
-
|
185
|
-
# Height of screenshot in pixels.
|
186
|
-
# Corresponds to the JSON property `height`
|
187
|
-
# @return [Fixnum]
|
188
|
-
attr_accessor :height
|
189
|
-
|
190
|
-
# Unique string key, if any, identifying this image.
|
191
|
-
# Corresponds to the JSON property `key`
|
192
|
-
# @return [String]
|
193
|
-
attr_accessor :key
|
194
|
-
|
195
|
-
# Mime type of image data (e.g. "image/jpeg").
|
196
|
-
# Corresponds to the JSON property `mime_type`
|
197
|
-
# @return [String]
|
198
|
-
attr_accessor :mime_type
|
199
|
-
|
200
|
-
# The region of the page that is captured by this image, with dimensions
|
201
|
-
# measured in CSS pixels.
|
202
|
-
# Corresponds to the JSON property `page_rect`
|
203
|
-
# @return [Google::Apis::PagespeedonlineV2::Image::PageRect]
|
204
|
-
attr_accessor :page_rect
|
205
|
-
|
206
|
-
# Width of screenshot in pixels.
|
207
|
-
# Corresponds to the JSON property `width`
|
208
|
-
# @return [Fixnum]
|
209
|
-
attr_accessor :width
|
210
|
-
|
211
|
-
def initialize(**args)
|
212
|
-
update!(**args)
|
213
|
-
end
|
214
|
-
|
215
|
-
# Update properties of this object
|
216
|
-
def update!(**args)
|
217
|
-
@data = args[:data] if args.key?(:data)
|
218
|
-
@height = args[:height] if args.key?(:height)
|
219
|
-
@key = args[:key] if args.key?(:key)
|
220
|
-
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
221
|
-
@page_rect = args[:page_rect] if args.key?(:page_rect)
|
222
|
-
@width = args[:width] if args.key?(:width)
|
223
|
-
end
|
224
|
-
|
225
|
-
# The region of the page that is captured by this image, with dimensions
|
226
|
-
# measured in CSS pixels.
|
227
|
-
class PageRect
|
228
|
-
include Google::Apis::Core::Hashable
|
229
|
-
|
230
|
-
# The height of the rect.
|
231
|
-
# Corresponds to the JSON property `height`
|
232
|
-
# @return [Fixnum]
|
233
|
-
attr_accessor :height
|
234
|
-
|
235
|
-
# The left coordinate of the rect, in page coordinates.
|
236
|
-
# Corresponds to the JSON property `left`
|
237
|
-
# @return [Fixnum]
|
238
|
-
attr_accessor :left
|
239
|
-
|
240
|
-
# The top coordinate of the rect, in page coordinates.
|
241
|
-
# Corresponds to the JSON property `top`
|
242
|
-
# @return [Fixnum]
|
243
|
-
attr_accessor :top
|
244
|
-
|
245
|
-
# The width of the rect.
|
246
|
-
# Corresponds to the JSON property `width`
|
247
|
-
# @return [Fixnum]
|
248
|
-
attr_accessor :width
|
249
|
-
|
250
|
-
def initialize(**args)
|
251
|
-
update!(**args)
|
252
|
-
end
|
253
|
-
|
254
|
-
# Update properties of this object
|
255
|
-
def update!(**args)
|
256
|
-
@height = args[:height] if args.key?(:height)
|
257
|
-
@left = args[:left] if args.key?(:left)
|
258
|
-
@top = args[:top] if args.key?(:top)
|
259
|
-
@width = args[:width] if args.key?(:width)
|
260
|
-
end
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
#
|
265
|
-
class Result
|
266
|
-
include Google::Apis::Core::Hashable
|
267
|
-
|
268
|
-
# The captcha verify result
|
269
|
-
# Corresponds to the JSON property `captchaResult`
|
270
|
-
# @return [String]
|
271
|
-
attr_accessor :captcha_result
|
272
|
-
|
273
|
-
# Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
|
274
|
-
# rule instantiated and run by the server.
|
275
|
-
# Corresponds to the JSON property `formattedResults`
|
276
|
-
# @return [Google::Apis::PagespeedonlineV2::Result::FormattedResults]
|
277
|
-
attr_accessor :formatted_results
|
278
|
-
|
279
|
-
# Canonicalized and final URL for the document, after following page redirects (
|
280
|
-
# if any).
|
281
|
-
# Corresponds to the JSON property `id`
|
282
|
-
# @return [String]
|
283
|
-
attr_accessor :id
|
284
|
-
|
285
|
-
# List of rules that were specified in the request, but which the server did not
|
286
|
-
# know how to instantiate.
|
287
|
-
# Corresponds to the JSON property `invalidRules`
|
288
|
-
# @return [Array<String>]
|
289
|
-
attr_accessor :invalid_rules
|
290
|
-
|
291
|
-
# Kind of result.
|
292
|
-
# Corresponds to the JSON property `kind`
|
293
|
-
# @return [String]
|
294
|
-
attr_accessor :kind
|
295
|
-
|
296
|
-
# Summary statistics for the page, such as number of JavaScript bytes, number of
|
297
|
-
# HTML bytes, etc.
|
298
|
-
# Corresponds to the JSON property `pageStats`
|
299
|
-
# @return [Google::Apis::PagespeedonlineV2::Result::PageStats]
|
300
|
-
attr_accessor :page_stats
|
301
|
-
|
302
|
-
# Response code for the document. 200 indicates a normal page load. 4xx/5xx
|
303
|
-
# indicates an error.
|
304
|
-
# Corresponds to the JSON property `responseCode`
|
305
|
-
# @return [Fixnum]
|
306
|
-
attr_accessor :response_code
|
307
|
-
|
308
|
-
# A map with one entry for each rule group in these results.
|
309
|
-
# Corresponds to the JSON property `ruleGroups`
|
310
|
-
# @return [Hash<String,Google::Apis::PagespeedonlineV2::Result::RuleGroup>]
|
311
|
-
attr_accessor :rule_groups
|
312
|
-
|
313
|
-
# Base64-encoded screenshot of the page that was analyzed.
|
314
|
-
# Corresponds to the JSON property `screenshot`
|
315
|
-
# @return [Google::Apis::PagespeedonlineV2::Image]
|
316
|
-
attr_accessor :screenshot
|
317
|
-
|
318
|
-
# Title of the page, as displayed in the browser's title bar.
|
319
|
-
# Corresponds to the JSON property `title`
|
320
|
-
# @return [String]
|
321
|
-
attr_accessor :title
|
322
|
-
|
323
|
-
# The version of PageSpeed used to generate these results.
|
324
|
-
# Corresponds to the JSON property `version`
|
325
|
-
# @return [Google::Apis::PagespeedonlineV2::Result::Version]
|
326
|
-
attr_accessor :version
|
327
|
-
|
328
|
-
def initialize(**args)
|
329
|
-
update!(**args)
|
330
|
-
end
|
331
|
-
|
332
|
-
# Update properties of this object
|
333
|
-
def update!(**args)
|
334
|
-
@captcha_result = args[:captcha_result] if args.key?(:captcha_result)
|
335
|
-
@formatted_results = args[:formatted_results] if args.key?(:formatted_results)
|
336
|
-
@id = args[:id] if args.key?(:id)
|
337
|
-
@invalid_rules = args[:invalid_rules] if args.key?(:invalid_rules)
|
338
|
-
@kind = args[:kind] if args.key?(:kind)
|
339
|
-
@page_stats = args[:page_stats] if args.key?(:page_stats)
|
340
|
-
@response_code = args[:response_code] if args.key?(:response_code)
|
341
|
-
@rule_groups = args[:rule_groups] if args.key?(:rule_groups)
|
342
|
-
@screenshot = args[:screenshot] if args.key?(:screenshot)
|
343
|
-
@title = args[:title] if args.key?(:title)
|
344
|
-
@version = args[:version] if args.key?(:version)
|
345
|
-
end
|
346
|
-
|
347
|
-
# Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed
|
348
|
-
# rule instantiated and run by the server.
|
349
|
-
class FormattedResults
|
350
|
-
include Google::Apis::Core::Hashable
|
351
|
-
|
352
|
-
# The locale of the formattedResults, e.g. "en_US".
|
353
|
-
# Corresponds to the JSON property `locale`
|
354
|
-
# @return [String]
|
355
|
-
attr_accessor :locale
|
356
|
-
|
357
|
-
# Dictionary of formatted rule results, with one entry for each PageSpeed rule
|
358
|
-
# instantiated and run by the server.
|
359
|
-
# Corresponds to the JSON property `ruleResults`
|
360
|
-
# @return [Hash<String,Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult>]
|
361
|
-
attr_accessor :rule_results
|
362
|
-
|
363
|
-
def initialize(**args)
|
364
|
-
update!(**args)
|
365
|
-
end
|
366
|
-
|
367
|
-
# Update properties of this object
|
368
|
-
def update!(**args)
|
369
|
-
@locale = args[:locale] if args.key?(:locale)
|
370
|
-
@rule_results = args[:rule_results] if args.key?(:rule_results)
|
371
|
-
end
|
372
|
-
|
373
|
-
# The enum-like identifier for this rule. For instance "EnableKeepAlive" or "
|
374
|
-
# AvoidCssImport". Not localized.
|
375
|
-
class RuleResult
|
376
|
-
include Google::Apis::Core::Hashable
|
377
|
-
|
378
|
-
# List of rule groups that this rule belongs to. Each entry in the list is one
|
379
|
-
# of "SPEED" or "USABILITY".
|
380
|
-
# Corresponds to the JSON property `groups`
|
381
|
-
# @return [Array<String>]
|
382
|
-
attr_accessor :groups
|
383
|
-
|
384
|
-
# Localized name of the rule, intended for presentation to a user.
|
385
|
-
# Corresponds to the JSON property `localizedRuleName`
|
386
|
-
# @return [String]
|
387
|
-
attr_accessor :localized_rule_name
|
388
|
-
|
389
|
-
# The impact (unbounded floating point value) that implementing the suggestions
|
390
|
-
# for this rule would have on making the page faster. Impact is comparable
|
391
|
-
# between rules to determine which rule's suggestions would have a higher or
|
392
|
-
# lower impact on making a page faster. For instance, if enabling compression
|
393
|
-
# would save 1MB, while optimizing images would save 500kB, the enable
|
394
|
-
# compression rule would have 2x the impact of the image optimization rule, all
|
395
|
-
# other things being equal.
|
396
|
-
# Corresponds to the JSON property `ruleImpact`
|
397
|
-
# @return [Float]
|
398
|
-
attr_accessor :rule_impact
|
399
|
-
|
400
|
-
# A brief summary description for the rule, indicating at a high level what
|
401
|
-
# should be done to follow the rule and what benefit can be gained by doing so.
|
402
|
-
# Corresponds to the JSON property `summary`
|
403
|
-
# @return [Google::Apis::PagespeedonlineV2::FormatString]
|
404
|
-
attr_accessor :summary
|
405
|
-
|
406
|
-
# List of blocks of URLs. Each block may contain a heading and a list of URLs.
|
407
|
-
# Each URL may optionally include additional details.
|
408
|
-
# Corresponds to the JSON property `urlBlocks`
|
409
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock>]
|
410
|
-
attr_accessor :url_blocks
|
411
|
-
|
412
|
-
def initialize(**args)
|
413
|
-
update!(**args)
|
414
|
-
end
|
415
|
-
|
416
|
-
# Update properties of this object
|
417
|
-
def update!(**args)
|
418
|
-
@groups = args[:groups] if args.key?(:groups)
|
419
|
-
@localized_rule_name = args[:localized_rule_name] if args.key?(:localized_rule_name)
|
420
|
-
@rule_impact = args[:rule_impact] if args.key?(:rule_impact)
|
421
|
-
@summary = args[:summary] if args.key?(:summary)
|
422
|
-
@url_blocks = args[:url_blocks] if args.key?(:url_blocks)
|
423
|
-
end
|
424
|
-
|
425
|
-
#
|
426
|
-
class UrlBlock
|
427
|
-
include Google::Apis::Core::Hashable
|
428
|
-
|
429
|
-
# Heading to be displayed with the list of URLs.
|
430
|
-
# Corresponds to the JSON property `header`
|
431
|
-
# @return [Google::Apis::PagespeedonlineV2::FormatString]
|
432
|
-
attr_accessor :header
|
433
|
-
|
434
|
-
# List of entries that provide information about URLs in the url block. Optional.
|
435
|
-
# Corresponds to the JSON property `urls`
|
436
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Url>]
|
437
|
-
attr_accessor :urls
|
438
|
-
|
439
|
-
def initialize(**args)
|
440
|
-
update!(**args)
|
441
|
-
end
|
442
|
-
|
443
|
-
# Update properties of this object
|
444
|
-
def update!(**args)
|
445
|
-
@header = args[:header] if args.key?(:header)
|
446
|
-
@urls = args[:urls] if args.key?(:urls)
|
447
|
-
end
|
448
|
-
|
449
|
-
#
|
450
|
-
class Url
|
451
|
-
include Google::Apis::Core::Hashable
|
452
|
-
|
453
|
-
# List of entries that provide additional details about a single URL. Optional.
|
454
|
-
# Corresponds to the JSON property `details`
|
455
|
-
# @return [Array<Google::Apis::PagespeedonlineV2::FormatString>]
|
456
|
-
attr_accessor :details
|
457
|
-
|
458
|
-
# A format string that gives information about the URL, and a list of arguments
|
459
|
-
# for that format string.
|
460
|
-
# Corresponds to the JSON property `result`
|
461
|
-
# @return [Google::Apis::PagespeedonlineV2::FormatString]
|
462
|
-
attr_accessor :result
|
463
|
-
|
464
|
-
def initialize(**args)
|
465
|
-
update!(**args)
|
466
|
-
end
|
467
|
-
|
468
|
-
# Update properties of this object
|
469
|
-
def update!(**args)
|
470
|
-
@details = args[:details] if args.key?(:details)
|
471
|
-
@result = args[:result] if args.key?(:result)
|
472
|
-
end
|
473
|
-
end
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|
477
|
-
|
478
|
-
# Summary statistics for the page, such as number of JavaScript bytes, number of
|
479
|
-
# HTML bytes, etc.
|
480
|
-
class PageStats
|
481
|
-
include Google::Apis::Core::Hashable
|
482
|
-
|
483
|
-
# Number of uncompressed response bytes for CSS resources on the page.
|
484
|
-
# Corresponds to the JSON property `cssResponseBytes`
|
485
|
-
# @return [Fixnum]
|
486
|
-
attr_accessor :css_response_bytes
|
487
|
-
|
488
|
-
# Number of response bytes for flash resources on the page.
|
489
|
-
# Corresponds to the JSON property `flashResponseBytes`
|
490
|
-
# @return [Fixnum]
|
491
|
-
attr_accessor :flash_response_bytes
|
492
|
-
|
493
|
-
# Number of uncompressed response bytes for the main HTML document and all
|
494
|
-
# iframes on the page.
|
495
|
-
# Corresponds to the JSON property `htmlResponseBytes`
|
496
|
-
# @return [Fixnum]
|
497
|
-
attr_accessor :html_response_bytes
|
498
|
-
|
499
|
-
# Number of response bytes for image resources on the page.
|
500
|
-
# Corresponds to the JSON property `imageResponseBytes`
|
501
|
-
# @return [Fixnum]
|
502
|
-
attr_accessor :image_response_bytes
|
503
|
-
|
504
|
-
# Number of uncompressed response bytes for JS resources on the page.
|
505
|
-
# Corresponds to the JSON property `javascriptResponseBytes`
|
506
|
-
# @return [Fixnum]
|
507
|
-
attr_accessor :javascript_response_bytes
|
508
|
-
|
509
|
-
# Number of CSS resources referenced by the page.
|
510
|
-
# Corresponds to the JSON property `numberCssResources`
|
511
|
-
# @return [Fixnum]
|
512
|
-
attr_accessor :number_css_resources
|
513
|
-
|
514
|
-
# Number of unique hosts referenced by the page.
|
515
|
-
# Corresponds to the JSON property `numberHosts`
|
516
|
-
# @return [Fixnum]
|
517
|
-
attr_accessor :number_hosts
|
518
|
-
|
519
|
-
# Number of JavaScript resources referenced by the page.
|
520
|
-
# Corresponds to the JSON property `numberJsResources`
|
521
|
-
# @return [Fixnum]
|
522
|
-
attr_accessor :number_js_resources
|
523
|
-
|
524
|
-
# Number of HTTP resources loaded by the page.
|
525
|
-
# Corresponds to the JSON property `numberResources`
|
526
|
-
# @return [Fixnum]
|
527
|
-
attr_accessor :number_resources
|
528
|
-
|
529
|
-
# Number of static (i.e. cacheable) resources on the page.
|
530
|
-
# Corresponds to the JSON property `numberStaticResources`
|
531
|
-
# @return [Fixnum]
|
532
|
-
attr_accessor :number_static_resources
|
533
|
-
|
534
|
-
# Number of response bytes for other resources on the page.
|
535
|
-
# Corresponds to the JSON property `otherResponseBytes`
|
536
|
-
# @return [Fixnum]
|
537
|
-
attr_accessor :other_response_bytes
|
538
|
-
|
539
|
-
# Number of uncompressed response bytes for text resources not covered by other
|
540
|
-
# statistics (i.e non-HTML, non-script, non-CSS resources) on the page.
|
541
|
-
# Corresponds to the JSON property `textResponseBytes`
|
542
|
-
# @return [Fixnum]
|
543
|
-
attr_accessor :text_response_bytes
|
544
|
-
|
545
|
-
# Total size of all request bytes sent by the page.
|
546
|
-
# Corresponds to the JSON property `totalRequestBytes`
|
547
|
-
# @return [Fixnum]
|
548
|
-
attr_accessor :total_request_bytes
|
549
|
-
|
550
|
-
def initialize(**args)
|
551
|
-
update!(**args)
|
552
|
-
end
|
553
|
-
|
554
|
-
# Update properties of this object
|
555
|
-
def update!(**args)
|
556
|
-
@css_response_bytes = args[:css_response_bytes] if args.key?(:css_response_bytes)
|
557
|
-
@flash_response_bytes = args[:flash_response_bytes] if args.key?(:flash_response_bytes)
|
558
|
-
@html_response_bytes = args[:html_response_bytes] if args.key?(:html_response_bytes)
|
559
|
-
@image_response_bytes = args[:image_response_bytes] if args.key?(:image_response_bytes)
|
560
|
-
@javascript_response_bytes = args[:javascript_response_bytes] if args.key?(:javascript_response_bytes)
|
561
|
-
@number_css_resources = args[:number_css_resources] if args.key?(:number_css_resources)
|
562
|
-
@number_hosts = args[:number_hosts] if args.key?(:number_hosts)
|
563
|
-
@number_js_resources = args[:number_js_resources] if args.key?(:number_js_resources)
|
564
|
-
@number_resources = args[:number_resources] if args.key?(:number_resources)
|
565
|
-
@number_static_resources = args[:number_static_resources] if args.key?(:number_static_resources)
|
566
|
-
@other_response_bytes = args[:other_response_bytes] if args.key?(:other_response_bytes)
|
567
|
-
@text_response_bytes = args[:text_response_bytes] if args.key?(:text_response_bytes)
|
568
|
-
@total_request_bytes = args[:total_request_bytes] if args.key?(:total_request_bytes)
|
569
|
-
end
|
570
|
-
end
|
571
|
-
|
572
|
-
# The name of this rule group: one of "SPEED" or "USABILITY".
|
573
|
-
class RuleGroup
|
574
|
-
include Google::Apis::Core::Hashable
|
575
|
-
|
576
|
-
# The score (0-100) for this rule group, which indicates how much better a page
|
577
|
-
# could be in that category (e.g. how much faster, or how much more usable). A
|
578
|
-
# high score indicates little room for improvement, while a lower score
|
579
|
-
# indicates more room for improvement.
|
580
|
-
# Corresponds to the JSON property `score`
|
581
|
-
# @return [Fixnum]
|
582
|
-
attr_accessor :score
|
583
|
-
|
584
|
-
def initialize(**args)
|
585
|
-
update!(**args)
|
586
|
-
end
|
587
|
-
|
588
|
-
# Update properties of this object
|
589
|
-
def update!(**args)
|
590
|
-
@score = args[:score] if args.key?(:score)
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
# The version of PageSpeed used to generate these results.
|
595
|
-
class Version
|
596
|
-
include Google::Apis::Core::Hashable
|
597
|
-
|
598
|
-
# The major version number of PageSpeed used to generate these results.
|
599
|
-
# Corresponds to the JSON property `major`
|
600
|
-
# @return [Fixnum]
|
601
|
-
attr_accessor :major
|
602
|
-
|
603
|
-
# The minor version number of PageSpeed used to generate these results.
|
604
|
-
# Corresponds to the JSON property `minor`
|
605
|
-
# @return [Fixnum]
|
606
|
-
attr_accessor :minor
|
607
|
-
|
608
|
-
def initialize(**args)
|
609
|
-
update!(**args)
|
610
|
-
end
|
611
|
-
|
612
|
-
# Update properties of this object
|
613
|
-
def update!(**args)
|
614
|
-
@major = args[:major] if args.key?(:major)
|
615
|
-
@minor = args[:minor] if args.key?(:minor)
|
616
|
-
end
|
617
|
-
end
|
618
|
-
end
|
619
|
-
end
|
620
|
-
end
|
621
|
-
end
|