google-api-client 0.39.1 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -112,6 +112,12 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
class ManagedZoneReverseLookupConfig
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
115
121
|
class ManagedZonesListResponse
|
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
123
|
|
|
@@ -303,6 +309,8 @@ module Google
|
|
|
303
309
|
|
|
304
310
|
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig::Representation
|
|
305
311
|
|
|
312
|
+
property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV2beta1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneReverseLookupConfig::Representation
|
|
313
|
+
|
|
306
314
|
property :visibility, as: 'visibility'
|
|
307
315
|
end
|
|
308
316
|
end
|
|
@@ -330,6 +338,7 @@ module Google
|
|
|
330
338
|
class ManagedZoneForwardingConfigNameServerTarget
|
|
331
339
|
# @private
|
|
332
340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
341
|
+
property :forwarding_path, as: 'forwardingPath'
|
|
333
342
|
property :ipv4_address, as: 'ipv4Address'
|
|
334
343
|
property :kind, as: 'kind'
|
|
335
344
|
end
|
|
@@ -382,6 +391,13 @@ module Google
|
|
|
382
391
|
end
|
|
383
392
|
end
|
|
384
393
|
|
|
394
|
+
class ManagedZoneReverseLookupConfig
|
|
395
|
+
# @private
|
|
396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
397
|
+
property :kind, as: 'kind'
|
|
398
|
+
end
|
|
399
|
+
end
|
|
400
|
+
|
|
385
401
|
class ManagedZonesListResponse
|
|
386
402
|
# @private
|
|
387
403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -490,6 +506,7 @@ module Google
|
|
|
490
506
|
class PolicyAlternativeNameServerConfigTargetNameServer
|
|
491
507
|
# @private
|
|
492
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
509
|
+
property :forwarding_path, as: 'forwardingPath'
|
|
493
510
|
property :ipv4_address, as: 'ipv4Address'
|
|
494
511
|
property :kind, as: 'kind'
|
|
495
512
|
end
|
|
@@ -51,16 +51,11 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch/dns/v2beta1'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
#
|
|
54
|
+
#
|
|
55
55
|
# @param [String] project
|
|
56
|
-
# Identifies the project addressed by this request.
|
|
57
56
|
# @param [String] managed_zone
|
|
58
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
59
|
-
# name or id.
|
|
60
57
|
# @param [Google::Apis::DnsV2beta1::Change] change_object
|
|
61
58
|
# @param [String] client_operation_id
|
|
62
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
63
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
64
59
|
# @param [String] fields
|
|
65
60
|
# Selector specifying which fields to include in a partial response.
|
|
66
61
|
# @param [String] quota_user
|
|
@@ -95,18 +90,11 @@ module Google
|
|
|
95
90
|
execute_or_queue_command(command, &block)
|
|
96
91
|
end
|
|
97
92
|
|
|
98
|
-
#
|
|
93
|
+
#
|
|
99
94
|
# @param [String] project
|
|
100
|
-
# Identifies the project addressed by this request.
|
|
101
95
|
# @param [String] managed_zone
|
|
102
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
103
|
-
# name or id.
|
|
104
96
|
# @param [String] change_id
|
|
105
|
-
# The identifier of the requested change, from a previous
|
|
106
|
-
# ResourceRecordSetsChangeResponse.
|
|
107
97
|
# @param [String] client_operation_id
|
|
108
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
109
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
110
98
|
# @param [String] fields
|
|
111
99
|
# Selector specifying which fields to include in a partial response.
|
|
112
100
|
# @param [String] quota_user
|
|
@@ -140,22 +128,13 @@ module Google
|
|
|
140
128
|
execute_or_queue_command(command, &block)
|
|
141
129
|
end
|
|
142
130
|
|
|
143
|
-
#
|
|
131
|
+
#
|
|
144
132
|
# @param [String] project
|
|
145
|
-
# Identifies the project addressed by this request.
|
|
146
133
|
# @param [String] managed_zone
|
|
147
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
148
|
-
# name or id.
|
|
149
134
|
# @param [Fixnum] max_results
|
|
150
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
151
|
-
# will decide how many results to return.
|
|
152
135
|
# @param [String] page_token
|
|
153
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
154
|
-
# this parameter to continue a previous list request.
|
|
155
136
|
# @param [String] sort_by
|
|
156
|
-
# Sorting criterion. The only supported value is change sequence.
|
|
157
137
|
# @param [String] sort_order
|
|
158
|
-
# Sorting order direction: 'ascending' or 'descending'.
|
|
159
138
|
# @param [String] fields
|
|
160
139
|
# Selector specifying which fields to include in a partial response.
|
|
161
140
|
# @param [String] quota_user
|
|
@@ -191,21 +170,12 @@ module Google
|
|
|
191
170
|
execute_or_queue_command(command, &block)
|
|
192
171
|
end
|
|
193
172
|
|
|
194
|
-
#
|
|
173
|
+
#
|
|
195
174
|
# @param [String] project
|
|
196
|
-
# Identifies the project addressed by this request.
|
|
197
175
|
# @param [String] managed_zone
|
|
198
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
199
|
-
# name or id.
|
|
200
176
|
# @param [String] dns_key_id
|
|
201
|
-
# The identifier of the requested DnsKey.
|
|
202
177
|
# @param [String] client_operation_id
|
|
203
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
204
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
205
178
|
# @param [String] digest_type
|
|
206
|
-
# An optional comma-separated list of digest types to compute and display for
|
|
207
|
-
# key signing keys. If omitted, the recommended digest type will be computed and
|
|
208
|
-
# displayed.
|
|
209
179
|
# @param [String] fields
|
|
210
180
|
# Selector specifying which fields to include in a partial response.
|
|
211
181
|
# @param [String] quota_user
|
|
@@ -240,22 +210,12 @@ module Google
|
|
|
240
210
|
execute_or_queue_command(command, &block)
|
|
241
211
|
end
|
|
242
212
|
|
|
243
|
-
#
|
|
213
|
+
#
|
|
244
214
|
# @param [String] project
|
|
245
|
-
# Identifies the project addressed by this request.
|
|
246
215
|
# @param [String] managed_zone
|
|
247
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
248
|
-
# name or id.
|
|
249
216
|
# @param [String] digest_type
|
|
250
|
-
# An optional comma-separated list of digest types to compute and display for
|
|
251
|
-
# key signing keys. If omitted, the recommended digest type will be computed and
|
|
252
|
-
# displayed.
|
|
253
217
|
# @param [Fixnum] max_results
|
|
254
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
255
|
-
# will decide how many results to return.
|
|
256
218
|
# @param [String] page_token
|
|
257
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
258
|
-
# this parameter to continue a previous list request.
|
|
259
219
|
# @param [String] fields
|
|
260
220
|
# Selector specifying which fields to include in a partial response.
|
|
261
221
|
# @param [String] quota_user
|
|
@@ -290,16 +250,11 @@ module Google
|
|
|
290
250
|
execute_or_queue_command(command, &block)
|
|
291
251
|
end
|
|
292
252
|
|
|
293
|
-
#
|
|
253
|
+
#
|
|
294
254
|
# @param [String] project
|
|
295
|
-
# Identifies the project addressed by this request.
|
|
296
255
|
# @param [String] managed_zone
|
|
297
|
-
# Identifies the managed zone addressed by this request.
|
|
298
256
|
# @param [String] operation
|
|
299
|
-
# Identifies the operation addressed by this request.
|
|
300
257
|
# @param [String] client_operation_id
|
|
301
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
302
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
303
258
|
# @param [String] fields
|
|
304
259
|
# Selector specifying which fields to include in a partial response.
|
|
305
260
|
# @param [String] quota_user
|
|
@@ -333,19 +288,12 @@ module Google
|
|
|
333
288
|
execute_or_queue_command(command, &block)
|
|
334
289
|
end
|
|
335
290
|
|
|
336
|
-
#
|
|
291
|
+
#
|
|
337
292
|
# @param [String] project
|
|
338
|
-
# Identifies the project addressed by this request.
|
|
339
293
|
# @param [String] managed_zone
|
|
340
|
-
# Identifies the managed zone addressed by this request.
|
|
341
294
|
# @param [Fixnum] max_results
|
|
342
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
343
|
-
# will decide how many results to return.
|
|
344
295
|
# @param [String] page_token
|
|
345
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
346
|
-
# this parameter to continue a previous list request.
|
|
347
296
|
# @param [String] sort_by
|
|
348
|
-
# Sorting criterion. The only supported values are START_TIME and ID.
|
|
349
297
|
# @param [String] fields
|
|
350
298
|
# Selector specifying which fields to include in a partial response.
|
|
351
299
|
# @param [String] quota_user
|
|
@@ -380,13 +328,10 @@ module Google
|
|
|
380
328
|
execute_or_queue_command(command, &block)
|
|
381
329
|
end
|
|
382
330
|
|
|
383
|
-
#
|
|
331
|
+
#
|
|
384
332
|
# @param [String] project
|
|
385
|
-
# Identifies the project addressed by this request.
|
|
386
333
|
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
|
387
334
|
# @param [String] client_operation_id
|
|
388
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
389
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
390
335
|
# @param [String] fields
|
|
391
336
|
# Selector specifying which fields to include in a partial response.
|
|
392
337
|
# @param [String] quota_user
|
|
@@ -420,15 +365,10 @@ module Google
|
|
|
420
365
|
execute_or_queue_command(command, &block)
|
|
421
366
|
end
|
|
422
367
|
|
|
423
|
-
#
|
|
368
|
+
#
|
|
424
369
|
# @param [String] project
|
|
425
|
-
# Identifies the project addressed by this request.
|
|
426
370
|
# @param [String] managed_zone
|
|
427
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
428
|
-
# name or id.
|
|
429
371
|
# @param [String] client_operation_id
|
|
430
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
431
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
432
372
|
# @param [String] fields
|
|
433
373
|
# Selector specifying which fields to include in a partial response.
|
|
434
374
|
# @param [String] quota_user
|
|
@@ -459,15 +399,10 @@ module Google
|
|
|
459
399
|
execute_or_queue_command(command, &block)
|
|
460
400
|
end
|
|
461
401
|
|
|
462
|
-
#
|
|
402
|
+
#
|
|
463
403
|
# @param [String] project
|
|
464
|
-
# Identifies the project addressed by this request.
|
|
465
404
|
# @param [String] managed_zone
|
|
466
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
467
|
-
# name or id.
|
|
468
405
|
# @param [String] client_operation_id
|
|
469
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
470
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
471
406
|
# @param [String] fields
|
|
472
407
|
# Selector specifying which fields to include in a partial response.
|
|
473
408
|
# @param [String] quota_user
|
|
@@ -500,17 +435,11 @@ module Google
|
|
|
500
435
|
execute_or_queue_command(command, &block)
|
|
501
436
|
end
|
|
502
437
|
|
|
503
|
-
#
|
|
438
|
+
#
|
|
504
439
|
# @param [String] project
|
|
505
|
-
# Identifies the project addressed by this request.
|
|
506
440
|
# @param [String] dns_name
|
|
507
|
-
# Restricts the list to return only zones with this domain name.
|
|
508
441
|
# @param [Fixnum] max_results
|
|
509
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
510
|
-
# will decide how many results to return.
|
|
511
442
|
# @param [String] page_token
|
|
512
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
513
|
-
# this parameter to continue a previous list request.
|
|
514
443
|
# @param [String] fields
|
|
515
444
|
# Selector specifying which fields to include in a partial response.
|
|
516
445
|
# @param [String] quota_user
|
|
@@ -544,16 +473,11 @@ module Google
|
|
|
544
473
|
execute_or_queue_command(command, &block)
|
|
545
474
|
end
|
|
546
475
|
|
|
547
|
-
#
|
|
476
|
+
#
|
|
548
477
|
# @param [String] project
|
|
549
|
-
# Identifies the project addressed by this request.
|
|
550
478
|
# @param [String] managed_zone
|
|
551
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
552
|
-
# name or id.
|
|
553
479
|
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
|
554
480
|
# @param [String] client_operation_id
|
|
555
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
556
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
557
481
|
# @param [String] fields
|
|
558
482
|
# Selector specifying which fields to include in a partial response.
|
|
559
483
|
# @param [String] quota_user
|
|
@@ -588,16 +512,11 @@ module Google
|
|
|
588
512
|
execute_or_queue_command(command, &block)
|
|
589
513
|
end
|
|
590
514
|
|
|
591
|
-
#
|
|
515
|
+
#
|
|
592
516
|
# @param [String] project
|
|
593
|
-
# Identifies the project addressed by this request.
|
|
594
517
|
# @param [String] managed_zone
|
|
595
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
596
|
-
# name or id.
|
|
597
518
|
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
|
598
519
|
# @param [String] client_operation_id
|
|
599
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
600
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
601
520
|
# @param [String] fields
|
|
602
521
|
# Selector specifying which fields to include in a partial response.
|
|
603
522
|
# @param [String] quota_user
|
|
@@ -632,13 +551,10 @@ module Google
|
|
|
632
551
|
execute_or_queue_command(command, &block)
|
|
633
552
|
end
|
|
634
553
|
|
|
635
|
-
#
|
|
554
|
+
#
|
|
636
555
|
# @param [String] project
|
|
637
|
-
# Identifies the project addressed by this request.
|
|
638
556
|
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
|
639
557
|
# @param [String] client_operation_id
|
|
640
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
641
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
642
558
|
# @param [String] fields
|
|
643
559
|
# Selector specifying which fields to include in a partial response.
|
|
644
560
|
# @param [String] quota_user
|
|
@@ -672,15 +588,10 @@ module Google
|
|
|
672
588
|
execute_or_queue_command(command, &block)
|
|
673
589
|
end
|
|
674
590
|
|
|
675
|
-
#
|
|
676
|
-
# referenced by a network.
|
|
591
|
+
#
|
|
677
592
|
# @param [String] project
|
|
678
|
-
# Identifies the project addressed by this request.
|
|
679
593
|
# @param [String] policy
|
|
680
|
-
# User given friendly name of the policy addressed by this request.
|
|
681
594
|
# @param [String] client_operation_id
|
|
682
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
683
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
684
595
|
# @param [String] fields
|
|
685
596
|
# Selector specifying which fields to include in a partial response.
|
|
686
597
|
# @param [String] quota_user
|
|
@@ -711,14 +622,10 @@ module Google
|
|
|
711
622
|
execute_or_queue_command(command, &block)
|
|
712
623
|
end
|
|
713
624
|
|
|
714
|
-
#
|
|
625
|
+
#
|
|
715
626
|
# @param [String] project
|
|
716
|
-
# Identifies the project addressed by this request.
|
|
717
627
|
# @param [String] policy
|
|
718
|
-
# User given friendly name of the policy addressed by this request.
|
|
719
628
|
# @param [String] client_operation_id
|
|
720
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
721
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
722
629
|
# @param [String] fields
|
|
723
630
|
# Selector specifying which fields to include in a partial response.
|
|
724
631
|
# @param [String] quota_user
|
|
@@ -751,15 +658,10 @@ module Google
|
|
|
751
658
|
execute_or_queue_command(command, &block)
|
|
752
659
|
end
|
|
753
660
|
|
|
754
|
-
#
|
|
661
|
+
#
|
|
755
662
|
# @param [String] project
|
|
756
|
-
# Identifies the project addressed by this request.
|
|
757
663
|
# @param [Fixnum] max_results
|
|
758
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
759
|
-
# will decide how many results to return.
|
|
760
664
|
# @param [String] page_token
|
|
761
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
762
|
-
# this parameter to continue a previous list request.
|
|
763
665
|
# @param [String] fields
|
|
764
666
|
# Selector specifying which fields to include in a partial response.
|
|
765
667
|
# @param [String] quota_user
|
|
@@ -792,15 +694,11 @@ module Google
|
|
|
792
694
|
execute_or_queue_command(command, &block)
|
|
793
695
|
end
|
|
794
696
|
|
|
795
|
-
#
|
|
697
|
+
#
|
|
796
698
|
# @param [String] project
|
|
797
|
-
# Identifies the project addressed by this request.
|
|
798
699
|
# @param [String] policy
|
|
799
|
-
# User given friendly name of the policy addressed by this request.
|
|
800
700
|
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
|
801
701
|
# @param [String] client_operation_id
|
|
802
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
803
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
804
702
|
# @param [String] fields
|
|
805
703
|
# Selector specifying which fields to include in a partial response.
|
|
806
704
|
# @param [String] quota_user
|
|
@@ -835,15 +733,11 @@ module Google
|
|
|
835
733
|
execute_or_queue_command(command, &block)
|
|
836
734
|
end
|
|
837
735
|
|
|
838
|
-
#
|
|
736
|
+
#
|
|
839
737
|
# @param [String] project
|
|
840
|
-
# Identifies the project addressed by this request.
|
|
841
738
|
# @param [String] policy
|
|
842
|
-
# User given friendly name of the policy addressed by this request.
|
|
843
739
|
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
|
844
740
|
# @param [String] client_operation_id
|
|
845
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
846
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
847
741
|
# @param [String] fields
|
|
848
742
|
# Selector specifying which fields to include in a partial response.
|
|
849
743
|
# @param [String] quota_user
|
|
@@ -878,12 +772,9 @@ module Google
|
|
|
878
772
|
execute_or_queue_command(command, &block)
|
|
879
773
|
end
|
|
880
774
|
|
|
881
|
-
#
|
|
775
|
+
#
|
|
882
776
|
# @param [String] project
|
|
883
|
-
# Identifies the project addressed by this request.
|
|
884
777
|
# @param [String] client_operation_id
|
|
885
|
-
# For mutating operation requests only. An optional identifier specified by the
|
|
886
|
-
# client. Must be unique for operation resources in the Operations collection.
|
|
887
778
|
# @param [String] fields
|
|
888
779
|
# Selector specifying which fields to include in a partial response.
|
|
889
780
|
# @param [String] quota_user
|
|
@@ -915,24 +806,13 @@ module Google
|
|
|
915
806
|
execute_or_queue_command(command, &block)
|
|
916
807
|
end
|
|
917
808
|
|
|
918
|
-
#
|
|
809
|
+
#
|
|
919
810
|
# @param [String] project
|
|
920
|
-
# Identifies the project addressed by this request.
|
|
921
811
|
# @param [String] managed_zone
|
|
922
|
-
# Identifies the managed zone addressed by this request. Can be the managed zone
|
|
923
|
-
# name or id.
|
|
924
812
|
# @param [Fixnum] max_results
|
|
925
|
-
# Optional. Maximum number of results to be returned. If unspecified, the server
|
|
926
|
-
# will decide how many results to return.
|
|
927
813
|
# @param [String] name
|
|
928
|
-
# Restricts the list to return only records with this fully qualified domain
|
|
929
|
-
# name.
|
|
930
814
|
# @param [String] page_token
|
|
931
|
-
# Optional. A tag returned by a previous list request that was truncated. Use
|
|
932
|
-
# this parameter to continue a previous list request.
|
|
933
815
|
# @param [String] type
|
|
934
|
-
# Restricts the list to return only records of this type. If present, the "name"
|
|
935
|
-
# parameter must also be present.
|
|
936
816
|
# @param [String] fields
|
|
937
817
|
# Selector specifying which fields to include in a partial response.
|
|
938
818
|
# @param [String] quota_user
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
|
26
26
|
module FileV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200520'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,6 +22,94 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module FileV1
|
|
24
24
|
|
|
25
|
+
# The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
|
|
26
|
+
class AttributeValue
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# A Boolean value represented by `true` or `false`.
|
|
30
|
+
# Corresponds to the JSON property `boolValue`
|
|
31
|
+
# @return [Boolean]
|
|
32
|
+
attr_accessor :bool_value
|
|
33
|
+
alias_method :bool_value?, :bool_value
|
|
34
|
+
|
|
35
|
+
# A 64-bit signed integer.
|
|
36
|
+
# Corresponds to the JSON property `intValue`
|
|
37
|
+
# @return [Fixnum]
|
|
38
|
+
attr_accessor :int_value
|
|
39
|
+
|
|
40
|
+
# Represents a string that might be shortened to a specified length.
|
|
41
|
+
# Corresponds to the JSON property `stringValue`
|
|
42
|
+
# @return [Google::Apis::FileV1::TruncatableString]
|
|
43
|
+
attr_accessor :string_value
|
|
44
|
+
|
|
45
|
+
def initialize(**args)
|
|
46
|
+
update!(**args)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Update properties of this object
|
|
50
|
+
def update!(**args)
|
|
51
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
|
52
|
+
@int_value = args[:int_value] if args.key?(:int_value)
|
|
53
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
|
58
|
+
class Attributes
|
|
59
|
+
include Google::Apis::Core::Hashable
|
|
60
|
+
|
|
61
|
+
# The set of attributes. Each attribute's key can be up to 128 bytes
|
|
62
|
+
# long. The value can be a string up to 256 bytes, a signed 64-bit integer,
|
|
63
|
+
# or the Boolean values `true` and `false`. For example:
|
|
64
|
+
# "/instance_id": "my-instance"
|
|
65
|
+
# "/http/user_agent": ""
|
|
66
|
+
# "/http/request_bytes": 300
|
|
67
|
+
# "abc.com/myattribute": true
|
|
68
|
+
# Corresponds to the JSON property `attributeMap`
|
|
69
|
+
# @return [Hash<String,Google::Apis::FileV1::AttributeValue>]
|
|
70
|
+
attr_accessor :attribute_map
|
|
71
|
+
|
|
72
|
+
# The number of attributes that were discarded. Attributes can be discarded
|
|
73
|
+
# because their keys are too long or because there are too many attributes.
|
|
74
|
+
# If this value is 0 then all attributes are valid.
|
|
75
|
+
# Corresponds to the JSON property `droppedAttributesCount`
|
|
76
|
+
# @return [Fixnum]
|
|
77
|
+
attr_accessor :dropped_attributes_count
|
|
78
|
+
|
|
79
|
+
def initialize(**args)
|
|
80
|
+
update!(**args)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Update properties of this object
|
|
84
|
+
def update!(**args)
|
|
85
|
+
@attribute_map = args[:attribute_map] if args.key?(:attribute_map)
|
|
86
|
+
@dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count)
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Message for reporting billing requests through Eventstream.
|
|
91
|
+
class BillingView
|
|
92
|
+
include Google::Apis::Core::Hashable
|
|
93
|
+
|
|
94
|
+
# Billing requests to be reported for an [Eventstream
|
|
95
|
+
# resource](http://google3/cloud/eventstream/v2/resource_event.proto).
|
|
96
|
+
# Each request contains billing operations to be reported under a service
|
|
97
|
+
# name. See go/billing-view-construction for documentation on constructing
|
|
98
|
+
# billing view report requests.
|
|
99
|
+
# Corresponds to the JSON property `reportRequests`
|
|
100
|
+
# @return [Array<Google::Apis::FileV1::ReportRequest>]
|
|
101
|
+
attr_accessor :report_requests
|
|
102
|
+
|
|
103
|
+
def initialize(**args)
|
|
104
|
+
update!(**args)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Update properties of this object
|
|
108
|
+
def update!(**args)
|
|
109
|
+
@report_requests = args[:report_requests] if args.key?(:report_requests)
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
25
113
|
# The request message for Operations.CancelOperation.
|
|
26
114
|
class CancelOperationRequest
|
|
27
115
|
include Google::Apis::Core::Hashable
|
|
@@ -35,6 +123,97 @@ module Google
|
|
|
35
123
|
end
|
|
36
124
|
end
|
|
37
125
|
|
|
126
|
+
# Distribution represents a frequency distribution of double-valued sample
|
|
127
|
+
# points. It contains the size of the population of sample points plus
|
|
128
|
+
# additional optional information:
|
|
129
|
+
# - the arithmetic mean of the samples
|
|
130
|
+
# - the minimum and maximum of the samples
|
|
131
|
+
# - the sum-squared-deviation of the samples, used to compute variance
|
|
132
|
+
# - a histogram of the values of the sample points
|
|
133
|
+
class Distribution
|
|
134
|
+
include Google::Apis::Core::Hashable
|
|
135
|
+
|
|
136
|
+
# The number of samples in each histogram bucket. `bucket_counts` are
|
|
137
|
+
# optional. If present, they must sum to the `count` value.
|
|
138
|
+
# The buckets are defined below in `bucket_option`. There are N buckets.
|
|
139
|
+
# `bucket_counts[0]` is the number of samples in the underflow bucket.
|
|
140
|
+
# `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
|
|
141
|
+
# in each of the finite buckets. And `bucket_counts[N] is the number
|
|
142
|
+
# of samples in the overflow bucket. See the comments of `bucket_option`
|
|
143
|
+
# below for more details.
|
|
144
|
+
# Any suffix of trailing zeros may be omitted.
|
|
145
|
+
# Corresponds to the JSON property `bucketCounts`
|
|
146
|
+
# @return [Array<Fixnum>]
|
|
147
|
+
attr_accessor :bucket_counts
|
|
148
|
+
|
|
149
|
+
# The total number of samples in the distribution. Must be >= 0.
|
|
150
|
+
# Corresponds to the JSON property `count`
|
|
151
|
+
# @return [Fixnum]
|
|
152
|
+
attr_accessor :count
|
|
153
|
+
|
|
154
|
+
# Example points. Must be in increasing order of `value` field.
|
|
155
|
+
# Corresponds to the JSON property `exemplars`
|
|
156
|
+
# @return [Array<Google::Apis::FileV1::Exemplar>]
|
|
157
|
+
attr_accessor :exemplars
|
|
158
|
+
|
|
159
|
+
# Describing buckets with arbitrary user-provided width.
|
|
160
|
+
# Corresponds to the JSON property `explicitBuckets`
|
|
161
|
+
# @return [Google::Apis::FileV1::ExplicitBuckets]
|
|
162
|
+
attr_accessor :explicit_buckets
|
|
163
|
+
|
|
164
|
+
# Describing buckets with exponentially growing width.
|
|
165
|
+
# Corresponds to the JSON property `exponentialBuckets`
|
|
166
|
+
# @return [Google::Apis::FileV1::ExponentialBuckets]
|
|
167
|
+
attr_accessor :exponential_buckets
|
|
168
|
+
|
|
169
|
+
# Describing buckets with constant width.
|
|
170
|
+
# Corresponds to the JSON property `linearBuckets`
|
|
171
|
+
# @return [Google::Apis::FileV1::LinearBuckets]
|
|
172
|
+
attr_accessor :linear_buckets
|
|
173
|
+
|
|
174
|
+
# The maximum of the population of values. Ignored if `count` is zero.
|
|
175
|
+
# Corresponds to the JSON property `maximum`
|
|
176
|
+
# @return [Float]
|
|
177
|
+
attr_accessor :maximum
|
|
178
|
+
|
|
179
|
+
# The arithmetic mean of the samples in the distribution. If `count` is
|
|
180
|
+
# zero then this field must be zero.
|
|
181
|
+
# Corresponds to the JSON property `mean`
|
|
182
|
+
# @return [Float]
|
|
183
|
+
attr_accessor :mean
|
|
184
|
+
|
|
185
|
+
# The minimum of the population of values. Ignored if `count` is zero.
|
|
186
|
+
# Corresponds to the JSON property `minimum`
|
|
187
|
+
# @return [Float]
|
|
188
|
+
attr_accessor :minimum
|
|
189
|
+
|
|
190
|
+
# The sum of squared deviations from the mean:
|
|
191
|
+
# Sum[i=1..count]((x_i - mean)^2)
|
|
192
|
+
# where each x_i is a sample values. If `count` is zero then this field
|
|
193
|
+
# must be zero, otherwise validation of the request fails.
|
|
194
|
+
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
|
195
|
+
# @return [Float]
|
|
196
|
+
attr_accessor :sum_of_squared_deviation
|
|
197
|
+
|
|
198
|
+
def initialize(**args)
|
|
199
|
+
update!(**args)
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Update properties of this object
|
|
203
|
+
def update!(**args)
|
|
204
|
+
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
|
205
|
+
@count = args[:count] if args.key?(:count)
|
|
206
|
+
@exemplars = args[:exemplars] if args.key?(:exemplars)
|
|
207
|
+
@explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
|
|
208
|
+
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
|
209
|
+
@linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
|
|
210
|
+
@maximum = args[:maximum] if args.key?(:maximum)
|
|
211
|
+
@mean = args[:mean] if args.key?(:mean)
|
|
212
|
+
@minimum = args[:minimum] if args.key?(:minimum)
|
|
213
|
+
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
38
217
|
# A generic empty message that you can re-use to avoid defining duplicated
|
|
39
218
|
# empty messages in your APIs. A typical example is to use it as the request
|
|
40
219
|
# or the response type of an API method. For instance:
|
|
@@ -54,6 +233,118 @@ module Google
|
|
|
54
233
|
end
|
|
55
234
|
end
|
|
56
235
|
|
|
236
|
+
# Exemplars are example points that may be used to annotate aggregated
|
|
237
|
+
# distribution values. They are metadata that gives information about a
|
|
238
|
+
# particular value added to a Distribution bucket, such as a trace ID that
|
|
239
|
+
# was active when a value was added. They may contain further information,
|
|
240
|
+
# such as a example values and timestamps, origin, etc.
|
|
241
|
+
class Exemplar
|
|
242
|
+
include Google::Apis::Core::Hashable
|
|
243
|
+
|
|
244
|
+
# Contextual information about the example value. Examples are:
|
|
245
|
+
# Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
|
246
|
+
# Literal string: type.googleapis.com/google.protobuf.StringValue
|
|
247
|
+
# Labels dropped during aggregation:
|
|
248
|
+
# type.googleapis.com/google.monitoring.v3.DroppedLabels
|
|
249
|
+
# There may be only a single attachment of any given message type in a
|
|
250
|
+
# single exemplar, and this is enforced by the system.
|
|
251
|
+
# Corresponds to the JSON property `attachments`
|
|
252
|
+
# @return [Array<Hash<String,Object>>]
|
|
253
|
+
attr_accessor :attachments
|
|
254
|
+
|
|
255
|
+
# The observation (sampling) time of the above value.
|
|
256
|
+
# Corresponds to the JSON property `timestamp`
|
|
257
|
+
# @return [String]
|
|
258
|
+
attr_accessor :timestamp
|
|
259
|
+
|
|
260
|
+
# Value of the exemplar point. This value determines to which bucket the
|
|
261
|
+
# exemplar belongs.
|
|
262
|
+
# Corresponds to the JSON property `value`
|
|
263
|
+
# @return [Float]
|
|
264
|
+
attr_accessor :value
|
|
265
|
+
|
|
266
|
+
def initialize(**args)
|
|
267
|
+
update!(**args)
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
# Update properties of this object
|
|
271
|
+
def update!(**args)
|
|
272
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
|
273
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
274
|
+
@value = args[:value] if args.key?(:value)
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Describing buckets with arbitrary user-provided width.
|
|
279
|
+
class ExplicitBuckets
|
|
280
|
+
include Google::Apis::Core::Hashable
|
|
281
|
+
|
|
282
|
+
# 'bound' is a list of strictly increasing boundaries between
|
|
283
|
+
# buckets. Note that a list of length N-1 defines N buckets because
|
|
284
|
+
# of fenceposting. See comments on `bucket_options` for details.
|
|
285
|
+
# The i'th finite bucket covers the interval
|
|
286
|
+
# [bound[i-1], bound[i])
|
|
287
|
+
# where i ranges from 1 to bound_size() - 1. Note that there are no
|
|
288
|
+
# finite buckets at all if 'bound' only contains a single element; in
|
|
289
|
+
# that special case the single bound defines the boundary between the
|
|
290
|
+
# underflow and overflow buckets.
|
|
291
|
+
# bucket number lower bound upper bound
|
|
292
|
+
# i == 0 (underflow) -inf bound[i]
|
|
293
|
+
# 0 < i < bound_size() bound[i-1] bound[i]
|
|
294
|
+
# i == bound_size() (overflow) bound[i-1] +inf
|
|
295
|
+
# Corresponds to the JSON property `bounds`
|
|
296
|
+
# @return [Array<Float>]
|
|
297
|
+
attr_accessor :bounds
|
|
298
|
+
|
|
299
|
+
def initialize(**args)
|
|
300
|
+
update!(**args)
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Update properties of this object
|
|
304
|
+
def update!(**args)
|
|
305
|
+
@bounds = args[:bounds] if args.key?(:bounds)
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Describing buckets with exponentially growing width.
|
|
310
|
+
class ExponentialBuckets
|
|
311
|
+
include Google::Apis::Core::Hashable
|
|
312
|
+
|
|
313
|
+
# The i'th exponential bucket covers the interval
|
|
314
|
+
# [scale * growth_factor^(i-1), scale * growth_factor^i)
|
|
315
|
+
# where i ranges from 1 to num_finite_buckets inclusive.
|
|
316
|
+
# Must be larger than 1.0.
|
|
317
|
+
# Corresponds to the JSON property `growthFactor`
|
|
318
|
+
# @return [Float]
|
|
319
|
+
attr_accessor :growth_factor
|
|
320
|
+
|
|
321
|
+
# The number of finite buckets. With the underflow and overflow buckets,
|
|
322
|
+
# the total number of buckets is `num_finite_buckets` + 2.
|
|
323
|
+
# See comments on `bucket_options` for details.
|
|
324
|
+
# Corresponds to the JSON property `numFiniteBuckets`
|
|
325
|
+
# @return [Fixnum]
|
|
326
|
+
attr_accessor :num_finite_buckets
|
|
327
|
+
|
|
328
|
+
# The i'th exponential bucket covers the interval
|
|
329
|
+
# [scale * growth_factor^(i-1), scale * growth_factor^i)
|
|
330
|
+
# where i ranges from 1 to num_finite_buckets inclusive.
|
|
331
|
+
# Must be > 0.
|
|
332
|
+
# Corresponds to the JSON property `scale`
|
|
333
|
+
# @return [Float]
|
|
334
|
+
attr_accessor :scale
|
|
335
|
+
|
|
336
|
+
def initialize(**args)
|
|
337
|
+
update!(**args)
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Update properties of this object
|
|
341
|
+
def update!(**args)
|
|
342
|
+
@growth_factor = args[:growth_factor] if args.key?(:growth_factor)
|
|
343
|
+
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
|
344
|
+
@scale = args[:scale] if args.key?(:scale)
|
|
345
|
+
end
|
|
346
|
+
end
|
|
347
|
+
|
|
57
348
|
# File share configuration for the instance.
|
|
58
349
|
class FileShareConfig
|
|
59
350
|
include Google::Apis::Core::Hashable
|
|
@@ -80,6 +371,143 @@ module Google
|
|
|
80
371
|
end
|
|
81
372
|
end
|
|
82
373
|
|
|
374
|
+
# Represents information regarding an operation.
|
|
375
|
+
class GoogleApiServicecontrolV1Operation
|
|
376
|
+
include Google::Apis::Core::Hashable
|
|
377
|
+
|
|
378
|
+
# Identity of the consumer who is using the service.
|
|
379
|
+
# This field should be filled in for the operations initiated by a
|
|
380
|
+
# consumer, but not for service-initiated operations that are
|
|
381
|
+
# not related to a specific consumer.
|
|
382
|
+
# - This can be in one of the following formats:
|
|
383
|
+
# - project:PROJECT_ID,
|
|
384
|
+
# - project`_`number:PROJECT_NUMBER,
|
|
385
|
+
# - projects/PROJECT_ID or PROJECT_NUMBER,
|
|
386
|
+
# - folders/FOLDER_NUMBER,
|
|
387
|
+
# - organizations/ORGANIZATION_NUMBER,
|
|
388
|
+
# - api`_`key:API_KEY.
|
|
389
|
+
# Corresponds to the JSON property `consumerId`
|
|
390
|
+
# @return [String]
|
|
391
|
+
attr_accessor :consumer_id
|
|
392
|
+
|
|
393
|
+
# End time of the operation.
|
|
394
|
+
# Required when the operation is used in ServiceController.Report,
|
|
395
|
+
# but optional when the operation is used in ServiceController.Check.
|
|
396
|
+
# Corresponds to the JSON property `endTime`
|
|
397
|
+
# @return [String]
|
|
398
|
+
attr_accessor :end_time
|
|
399
|
+
|
|
400
|
+
# DO NOT USE. This is an experimental field.
|
|
401
|
+
# Corresponds to the JSON property `importance`
|
|
402
|
+
# @return [String]
|
|
403
|
+
attr_accessor :importance
|
|
404
|
+
|
|
405
|
+
# Labels describing the operation. Only the following labels are allowed:
|
|
406
|
+
# - Labels describing monitored resources as defined in
|
|
407
|
+
# the service configuration.
|
|
408
|
+
# - Default labels of metric values. When specified, labels defined in the
|
|
409
|
+
# metric value override these default.
|
|
410
|
+
# - The following labels defined by Google Cloud Platform:
|
|
411
|
+
# - `cloud.googleapis.com/location` describing the location where the
|
|
412
|
+
# operation happened,
|
|
413
|
+
# - `servicecontrol.googleapis.com/user_agent` describing the user agent
|
|
414
|
+
# of the API request,
|
|
415
|
+
# - `servicecontrol.googleapis.com/service_agent` describing the service
|
|
416
|
+
# used to handle the API request (e.g. ESP),
|
|
417
|
+
# - `servicecontrol.googleapis.com/platform` describing the platform
|
|
418
|
+
# where the API is served, such as App Engine, Compute Engine, or
|
|
419
|
+
# Kubernetes Engine.
|
|
420
|
+
# Corresponds to the JSON property `labels`
|
|
421
|
+
# @return [Hash<String,String>]
|
|
422
|
+
attr_accessor :labels
|
|
423
|
+
|
|
424
|
+
# Represents information to be logged.
|
|
425
|
+
# Corresponds to the JSON property `logEntries`
|
|
426
|
+
# @return [Array<Google::Apis::FileV1::LogEntry>]
|
|
427
|
+
attr_accessor :log_entries
|
|
428
|
+
|
|
429
|
+
# Represents information about this operation. Each MetricValueSet
|
|
430
|
+
# corresponds to a metric defined in the service configuration.
|
|
431
|
+
# The data type used in the MetricValueSet must agree with
|
|
432
|
+
# the data type specified in the metric definition.
|
|
433
|
+
# Within a single operation, it is not allowed to have more than one
|
|
434
|
+
# MetricValue instances that have the same metric names and identical
|
|
435
|
+
# label value combinations. If a request has such duplicated MetricValue
|
|
436
|
+
# instances, the entire request is rejected with
|
|
437
|
+
# an invalid argument error.
|
|
438
|
+
# Corresponds to the JSON property `metricValueSets`
|
|
439
|
+
# @return [Array<Google::Apis::FileV1::MetricValueSet>]
|
|
440
|
+
attr_accessor :metric_value_sets
|
|
441
|
+
|
|
442
|
+
# Identity of the operation. This must be unique within the scope of the
|
|
443
|
+
# service that generated the operation. If the service calls
|
|
444
|
+
# Check() and Report() on the same operation, the two calls should carry
|
|
445
|
+
# the same id.
|
|
446
|
+
# UUID version 4 is recommended, though not required.
|
|
447
|
+
# In scenarios where an operation is computed from existing information
|
|
448
|
+
# and an idempotent id is desirable for deduplication purpose, UUID version 5
|
|
449
|
+
# is recommended. See RFC 4122 for details.
|
|
450
|
+
# Corresponds to the JSON property `operationId`
|
|
451
|
+
# @return [String]
|
|
452
|
+
attr_accessor :operation_id
|
|
453
|
+
|
|
454
|
+
# Fully qualified name of the operation. Reserved for future use.
|
|
455
|
+
# Corresponds to the JSON property `operationName`
|
|
456
|
+
# @return [String]
|
|
457
|
+
attr_accessor :operation_name
|
|
458
|
+
|
|
459
|
+
# Represents the properties needed for quota operations.
|
|
460
|
+
# Corresponds to the JSON property `quotaProperties`
|
|
461
|
+
# @return [Google::Apis::FileV1::QuotaProperties]
|
|
462
|
+
attr_accessor :quota_properties
|
|
463
|
+
|
|
464
|
+
# The resources that are involved in the operation.
|
|
465
|
+
# The maximum supported number of entries in this field is 100.
|
|
466
|
+
# Corresponds to the JSON property `resources`
|
|
467
|
+
# @return [Array<Google::Apis::FileV1::ResourceInfo>]
|
|
468
|
+
attr_accessor :resources
|
|
469
|
+
|
|
470
|
+
# Required. Start time of the operation.
|
|
471
|
+
# Corresponds to the JSON property `startTime`
|
|
472
|
+
# @return [String]
|
|
473
|
+
attr_accessor :start_time
|
|
474
|
+
|
|
475
|
+
# Unimplemented. A list of Cloud Trace spans. The span names shall contain
|
|
476
|
+
# the id of the destination project which can be either the produce or the
|
|
477
|
+
# consumer project.
|
|
478
|
+
# Corresponds to the JSON property `traceSpans`
|
|
479
|
+
# @return [Array<Google::Apis::FileV1::TraceSpan>]
|
|
480
|
+
attr_accessor :trace_spans
|
|
481
|
+
|
|
482
|
+
# User defined labels for the resource that this operation is associated
|
|
483
|
+
# with. Only a combination of 1000 user labels per consumer project are
|
|
484
|
+
# allowed.
|
|
485
|
+
# Corresponds to the JSON property `userLabels`
|
|
486
|
+
# @return [Hash<String,String>]
|
|
487
|
+
attr_accessor :user_labels
|
|
488
|
+
|
|
489
|
+
def initialize(**args)
|
|
490
|
+
update!(**args)
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Update properties of this object
|
|
494
|
+
def update!(**args)
|
|
495
|
+
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
|
496
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
497
|
+
@importance = args[:importance] if args.key?(:importance)
|
|
498
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
499
|
+
@log_entries = args[:log_entries] if args.key?(:log_entries)
|
|
500
|
+
@metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets)
|
|
501
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
502
|
+
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
|
503
|
+
@quota_properties = args[:quota_properties] if args.key?(:quota_properties)
|
|
504
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
505
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
506
|
+
@trace_spans = args[:trace_spans] if args.key?(:trace_spans)
|
|
507
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
|
508
|
+
end
|
|
509
|
+
end
|
|
510
|
+
|
|
83
511
|
#
|
|
84
512
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
|
85
513
|
include Google::Apis::Core::Hashable
|
|
@@ -120,6 +548,12 @@ module Google
|
|
|
120
548
|
# @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
|
121
549
|
attr_accessor :maintenance_schedules
|
|
122
550
|
|
|
551
|
+
# Maintenance settings associated with instance. Allows service producers and
|
|
552
|
+
# end users to assign settings that controls maintenance on this instance.
|
|
553
|
+
# Corresponds to the JSON property `maintenanceSettings`
|
|
554
|
+
# @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
|
555
|
+
attr_accessor :maintenance_settings
|
|
556
|
+
|
|
123
557
|
# Unique name of the resource. It uses the form:
|
|
124
558
|
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
|
125
559
|
# Corresponds to the JSON property `name`
|
|
@@ -187,6 +621,7 @@ module Google
|
|
|
187
621
|
@labels = args[:labels] if args.key?(:labels)
|
|
188
622
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
|
189
623
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
|
624
|
+
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
|
190
625
|
@name = args[:name] if args.key?(:name)
|
|
191
626
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
|
192
627
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
|
@@ -242,6 +677,30 @@ module Google
|
|
|
242
677
|
end
|
|
243
678
|
end
|
|
244
679
|
|
|
680
|
+
# Maintenance settings associated with instance. Allows service producers and
|
|
681
|
+
# end users to assign settings that controls maintenance on this instance.
|
|
682
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
|
683
|
+
include Google::Apis::Core::Hashable
|
|
684
|
+
|
|
685
|
+
# Optional. Exclude instance from maintenance. When true, rollout service will
|
|
686
|
+
# not
|
|
687
|
+
# attempt maintenance on the instance. Rollout service will include the
|
|
688
|
+
# instance in reported rollout progress as not attempted.
|
|
689
|
+
# Corresponds to the JSON property `exclude`
|
|
690
|
+
# @return [Boolean]
|
|
691
|
+
attr_accessor :exclude
|
|
692
|
+
alias_method :exclude?, :exclude
|
|
693
|
+
|
|
694
|
+
def initialize(**args)
|
|
695
|
+
update!(**args)
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
# Update properties of this object
|
|
699
|
+
def update!(**args)
|
|
700
|
+
@exclude = args[:exclude] if args.key?(:exclude)
|
|
701
|
+
end
|
|
702
|
+
end
|
|
703
|
+
|
|
245
704
|
# Node information for custom per-node SLO implementations.
|
|
246
705
|
# SSA does not support per-node SLO, but producers can populate per-node
|
|
247
706
|
# information in SloMetadata for custom precomputations.
|
|
@@ -446,6 +905,130 @@ module Google
|
|
|
446
905
|
end
|
|
447
906
|
end
|
|
448
907
|
|
|
908
|
+
# A common proto for logging HTTP requests. Only contains semantics
|
|
909
|
+
# defined by the HTTP specification. Product-specific logging
|
|
910
|
+
# information MUST be defined in a separate message.
|
|
911
|
+
class HttpRequest
|
|
912
|
+
include Google::Apis::Core::Hashable
|
|
913
|
+
|
|
914
|
+
# The number of HTTP response bytes inserted into cache. Set only when a
|
|
915
|
+
# cache fill was attempted.
|
|
916
|
+
# Corresponds to the JSON property `cacheFillBytes`
|
|
917
|
+
# @return [Fixnum]
|
|
918
|
+
attr_accessor :cache_fill_bytes
|
|
919
|
+
|
|
920
|
+
# Whether or not an entity was served from cache
|
|
921
|
+
# (with or without validation).
|
|
922
|
+
# Corresponds to the JSON property `cacheHit`
|
|
923
|
+
# @return [Boolean]
|
|
924
|
+
attr_accessor :cache_hit
|
|
925
|
+
alias_method :cache_hit?, :cache_hit
|
|
926
|
+
|
|
927
|
+
# Whether or not a cache lookup was attempted.
|
|
928
|
+
# Corresponds to the JSON property `cacheLookup`
|
|
929
|
+
# @return [Boolean]
|
|
930
|
+
attr_accessor :cache_lookup
|
|
931
|
+
alias_method :cache_lookup?, :cache_lookup
|
|
932
|
+
|
|
933
|
+
# Whether or not the response was validated with the origin server before
|
|
934
|
+
# being served from cache. This field is only meaningful if `cache_hit` is
|
|
935
|
+
# True.
|
|
936
|
+
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
|
937
|
+
# @return [Boolean]
|
|
938
|
+
attr_accessor :cache_validated_with_origin_server
|
|
939
|
+
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
|
940
|
+
|
|
941
|
+
# The request processing latency on the server, from the time the request was
|
|
942
|
+
# received until the response was sent.
|
|
943
|
+
# Corresponds to the JSON property `latency`
|
|
944
|
+
# @return [String]
|
|
945
|
+
attr_accessor :latency
|
|
946
|
+
|
|
947
|
+
# Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
|
|
948
|
+
# Corresponds to the JSON property `protocol`
|
|
949
|
+
# @return [String]
|
|
950
|
+
attr_accessor :protocol
|
|
951
|
+
|
|
952
|
+
# The referer URL of the request, as defined in
|
|
953
|
+
# [HTTP/1.1 Header Field
|
|
954
|
+
# Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
955
|
+
# Corresponds to the JSON property `referer`
|
|
956
|
+
# @return [String]
|
|
957
|
+
attr_accessor :referer
|
|
958
|
+
|
|
959
|
+
# The IP address (IPv4 or IPv6) of the client that issued the HTTP
|
|
960
|
+
# request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
|
|
961
|
+
# Corresponds to the JSON property `remoteIp`
|
|
962
|
+
# @return [String]
|
|
963
|
+
attr_accessor :remote_ip
|
|
964
|
+
|
|
965
|
+
# The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
|
|
966
|
+
# Corresponds to the JSON property `requestMethod`
|
|
967
|
+
# @return [String]
|
|
968
|
+
attr_accessor :request_method
|
|
969
|
+
|
|
970
|
+
# The size of the HTTP request message in bytes, including the request
|
|
971
|
+
# headers and the request body.
|
|
972
|
+
# Corresponds to the JSON property `requestSize`
|
|
973
|
+
# @return [Fixnum]
|
|
974
|
+
attr_accessor :request_size
|
|
975
|
+
|
|
976
|
+
# The scheme (http, https), the host name, the path, and the query
|
|
977
|
+
# portion of the URL that was requested.
|
|
978
|
+
# Example: `"http://example.com/some/info?color=red"`.
|
|
979
|
+
# Corresponds to the JSON property `requestUrl`
|
|
980
|
+
# @return [String]
|
|
981
|
+
attr_accessor :request_url
|
|
982
|
+
|
|
983
|
+
# The size of the HTTP response message sent back to the client, in bytes,
|
|
984
|
+
# including the response headers and the response body.
|
|
985
|
+
# Corresponds to the JSON property `responseSize`
|
|
986
|
+
# @return [Fixnum]
|
|
987
|
+
attr_accessor :response_size
|
|
988
|
+
|
|
989
|
+
# The IP address (IPv4 or IPv6) of the origin server that the request was
|
|
990
|
+
# sent to.
|
|
991
|
+
# Corresponds to the JSON property `serverIp`
|
|
992
|
+
# @return [String]
|
|
993
|
+
attr_accessor :server_ip
|
|
994
|
+
|
|
995
|
+
# The response code indicating the status of the response.
|
|
996
|
+
# Examples: 200, 404.
|
|
997
|
+
# Corresponds to the JSON property `status`
|
|
998
|
+
# @return [Fixnum]
|
|
999
|
+
attr_accessor :status
|
|
1000
|
+
|
|
1001
|
+
# The user agent sent by the client. Example:
|
|
1002
|
+
# `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
|
|
1003
|
+
# CLR 1.0.3705)"`.
|
|
1004
|
+
# Corresponds to the JSON property `userAgent`
|
|
1005
|
+
# @return [String]
|
|
1006
|
+
attr_accessor :user_agent
|
|
1007
|
+
|
|
1008
|
+
def initialize(**args)
|
|
1009
|
+
update!(**args)
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
# Update properties of this object
|
|
1013
|
+
def update!(**args)
|
|
1014
|
+
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
|
1015
|
+
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
|
1016
|
+
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
|
1017
|
+
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
|
1018
|
+
@latency = args[:latency] if args.key?(:latency)
|
|
1019
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
|
1020
|
+
@referer = args[:referer] if args.key?(:referer)
|
|
1021
|
+
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
|
1022
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1023
|
+
@request_size = args[:request_size] if args.key?(:request_size)
|
|
1024
|
+
@request_url = args[:request_url] if args.key?(:request_url)
|
|
1025
|
+
@response_size = args[:response_size] if args.key?(:response_size)
|
|
1026
|
+
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
|
1027
|
+
@status = args[:status] if args.key?(:status)
|
|
1028
|
+
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
1029
|
+
end
|
|
1030
|
+
end
|
|
1031
|
+
|
|
449
1032
|
# A Cloud Filestore instance.
|
|
450
1033
|
class Instance
|
|
451
1034
|
include Google::Apis::Core::Hashable
|
|
@@ -523,6 +1106,44 @@ module Google
|
|
|
523
1106
|
end
|
|
524
1107
|
end
|
|
525
1108
|
|
|
1109
|
+
# Describing buckets with constant width.
|
|
1110
|
+
class LinearBuckets
|
|
1111
|
+
include Google::Apis::Core::Hashable
|
|
1112
|
+
|
|
1113
|
+
# The number of finite buckets. With the underflow and overflow buckets,
|
|
1114
|
+
# the total number of buckets is `num_finite_buckets` + 2.
|
|
1115
|
+
# See comments on `bucket_options` for details.
|
|
1116
|
+
# Corresponds to the JSON property `numFiniteBuckets`
|
|
1117
|
+
# @return [Fixnum]
|
|
1118
|
+
attr_accessor :num_finite_buckets
|
|
1119
|
+
|
|
1120
|
+
# The i'th linear bucket covers the interval
|
|
1121
|
+
# [offset + (i-1) * width, offset + i * width)
|
|
1122
|
+
# where i ranges from 1 to num_finite_buckets, inclusive.
|
|
1123
|
+
# Corresponds to the JSON property `offset`
|
|
1124
|
+
# @return [Float]
|
|
1125
|
+
attr_accessor :offset
|
|
1126
|
+
|
|
1127
|
+
# The i'th linear bucket covers the interval
|
|
1128
|
+
# [offset + (i-1) * width, offset + i * width)
|
|
1129
|
+
# where i ranges from 1 to num_finite_buckets, inclusive.
|
|
1130
|
+
# Must be strictly positive.
|
|
1131
|
+
# Corresponds to the JSON property `width`
|
|
1132
|
+
# @return [Float]
|
|
1133
|
+
attr_accessor :width
|
|
1134
|
+
|
|
1135
|
+
def initialize(**args)
|
|
1136
|
+
update!(**args)
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
# Update properties of this object
|
|
1140
|
+
def update!(**args)
|
|
1141
|
+
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
|
1142
|
+
@offset = args[:offset] if args.key?(:offset)
|
|
1143
|
+
@width = args[:width] if args.key?(:width)
|
|
1144
|
+
end
|
|
1145
|
+
end
|
|
1146
|
+
|
|
526
1147
|
# ListInstancesResponse is the result of ListInstancesRequest.
|
|
527
1148
|
class ListInstancesResponse
|
|
528
1149
|
include Google::Apis::Core::Hashable
|
|
@@ -656,6 +1277,333 @@ module Google
|
|
|
656
1277
|
end
|
|
657
1278
|
end
|
|
658
1279
|
|
|
1280
|
+
# An individual log entry.
|
|
1281
|
+
class LogEntry
|
|
1282
|
+
include Google::Apis::Core::Hashable
|
|
1283
|
+
|
|
1284
|
+
# A common proto for logging HTTP requests. Only contains semantics
|
|
1285
|
+
# defined by the HTTP specification. Product-specific logging
|
|
1286
|
+
# information MUST be defined in a separate message.
|
|
1287
|
+
# Corresponds to the JSON property `httpRequest`
|
|
1288
|
+
# @return [Google::Apis::FileV1::HttpRequest]
|
|
1289
|
+
attr_accessor :http_request
|
|
1290
|
+
|
|
1291
|
+
# A unique ID for the log entry used for deduplication. If omitted,
|
|
1292
|
+
# the implementation will generate one based on operation_id.
|
|
1293
|
+
# Corresponds to the JSON property `insertId`
|
|
1294
|
+
# @return [String]
|
|
1295
|
+
attr_accessor :insert_id
|
|
1296
|
+
|
|
1297
|
+
# A set of user-defined (key, value) data that provides additional
|
|
1298
|
+
# information about the log entry.
|
|
1299
|
+
# Corresponds to the JSON property `labels`
|
|
1300
|
+
# @return [Hash<String,String>]
|
|
1301
|
+
attr_accessor :labels
|
|
1302
|
+
|
|
1303
|
+
# Required. The log to which this log entry belongs. Examples: `"syslog"`,
|
|
1304
|
+
# `"book_log"`.
|
|
1305
|
+
# Corresponds to the JSON property `name`
|
|
1306
|
+
# @return [String]
|
|
1307
|
+
attr_accessor :name
|
|
1308
|
+
|
|
1309
|
+
# Additional information about a potentially long-running operation with which
|
|
1310
|
+
# a log entry is associated.
|
|
1311
|
+
# Corresponds to the JSON property `operation`
|
|
1312
|
+
# @return [Google::Apis::FileV1::LogEntryOperation]
|
|
1313
|
+
attr_accessor :operation
|
|
1314
|
+
|
|
1315
|
+
# The log entry payload, represented as a protocol buffer that is
|
|
1316
|
+
# expressed as a JSON object. The only accepted type currently is
|
|
1317
|
+
# AuditLog.
|
|
1318
|
+
# Corresponds to the JSON property `protoPayload`
|
|
1319
|
+
# @return [Hash<String,Object>]
|
|
1320
|
+
attr_accessor :proto_payload
|
|
1321
|
+
|
|
1322
|
+
# The severity of the log entry. The default value is
|
|
1323
|
+
# `LogSeverity.DEFAULT`.
|
|
1324
|
+
# Corresponds to the JSON property `severity`
|
|
1325
|
+
# @return [String]
|
|
1326
|
+
attr_accessor :severity
|
|
1327
|
+
|
|
1328
|
+
# Additional information about the source code location that produced the log
|
|
1329
|
+
# entry.
|
|
1330
|
+
# Corresponds to the JSON property `sourceLocation`
|
|
1331
|
+
# @return [Google::Apis::FileV1::LogEntrySourceLocation]
|
|
1332
|
+
attr_accessor :source_location
|
|
1333
|
+
|
|
1334
|
+
# The log entry payload, represented as a structure that
|
|
1335
|
+
# is expressed as a JSON object.
|
|
1336
|
+
# Corresponds to the JSON property `structPayload`
|
|
1337
|
+
# @return [Hash<String,Object>]
|
|
1338
|
+
attr_accessor :struct_payload
|
|
1339
|
+
|
|
1340
|
+
# The log entry payload, represented as a Unicode string (UTF-8).
|
|
1341
|
+
# Corresponds to the JSON property `textPayload`
|
|
1342
|
+
# @return [String]
|
|
1343
|
+
attr_accessor :text_payload
|
|
1344
|
+
|
|
1345
|
+
# The time the event described by the log entry occurred. If
|
|
1346
|
+
# omitted, defaults to operation start time.
|
|
1347
|
+
# Corresponds to the JSON property `timestamp`
|
|
1348
|
+
# @return [String]
|
|
1349
|
+
attr_accessor :timestamp
|
|
1350
|
+
|
|
1351
|
+
# Optional. Resource name of the trace associated with the log entry, if any.
|
|
1352
|
+
# If this field contains a relative resource name, you can assume the name is
|
|
1353
|
+
# relative to `//tracing.googleapis.com`. Example:
|
|
1354
|
+
# `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
|
|
1355
|
+
# Corresponds to the JSON property `trace`
|
|
1356
|
+
# @return [String]
|
|
1357
|
+
attr_accessor :trace
|
|
1358
|
+
|
|
1359
|
+
def initialize(**args)
|
|
1360
|
+
update!(**args)
|
|
1361
|
+
end
|
|
1362
|
+
|
|
1363
|
+
# Update properties of this object
|
|
1364
|
+
def update!(**args)
|
|
1365
|
+
@http_request = args[:http_request] if args.key?(:http_request)
|
|
1366
|
+
@insert_id = args[:insert_id] if args.key?(:insert_id)
|
|
1367
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1368
|
+
@name = args[:name] if args.key?(:name)
|
|
1369
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
1370
|
+
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
|
1371
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
1372
|
+
@source_location = args[:source_location] if args.key?(:source_location)
|
|
1373
|
+
@struct_payload = args[:struct_payload] if args.key?(:struct_payload)
|
|
1374
|
+
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
|
1375
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
1376
|
+
@trace = args[:trace] if args.key?(:trace)
|
|
1377
|
+
end
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# Additional information about a potentially long-running operation with which
|
|
1381
|
+
# a log entry is associated.
|
|
1382
|
+
class LogEntryOperation
|
|
1383
|
+
include Google::Apis::Core::Hashable
|
|
1384
|
+
|
|
1385
|
+
# Optional. Set this to True if this is the first log entry in the operation.
|
|
1386
|
+
# Corresponds to the JSON property `first`
|
|
1387
|
+
# @return [Boolean]
|
|
1388
|
+
attr_accessor :first
|
|
1389
|
+
alias_method :first?, :first
|
|
1390
|
+
|
|
1391
|
+
# Optional. An arbitrary operation identifier. Log entries with the
|
|
1392
|
+
# same identifier are assumed to be part of the same operation.
|
|
1393
|
+
# Corresponds to the JSON property `id`
|
|
1394
|
+
# @return [String]
|
|
1395
|
+
attr_accessor :id
|
|
1396
|
+
|
|
1397
|
+
# Optional. Set this to True if this is the last log entry in the operation.
|
|
1398
|
+
# Corresponds to the JSON property `last`
|
|
1399
|
+
# @return [Boolean]
|
|
1400
|
+
attr_accessor :last
|
|
1401
|
+
alias_method :last?, :last
|
|
1402
|
+
|
|
1403
|
+
# Optional. An arbitrary producer identifier. The combination of
|
|
1404
|
+
# `id` and `producer` must be globally unique. Examples for `producer`:
|
|
1405
|
+
# `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
|
|
1406
|
+
# Corresponds to the JSON property `producer`
|
|
1407
|
+
# @return [String]
|
|
1408
|
+
attr_accessor :producer
|
|
1409
|
+
|
|
1410
|
+
def initialize(**args)
|
|
1411
|
+
update!(**args)
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# Update properties of this object
|
|
1415
|
+
def update!(**args)
|
|
1416
|
+
@first = args[:first] if args.key?(:first)
|
|
1417
|
+
@id = args[:id] if args.key?(:id)
|
|
1418
|
+
@last = args[:last] if args.key?(:last)
|
|
1419
|
+
@producer = args[:producer] if args.key?(:producer)
|
|
1420
|
+
end
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
# Additional information about the source code location that produced the log
|
|
1424
|
+
# entry.
|
|
1425
|
+
class LogEntrySourceLocation
|
|
1426
|
+
include Google::Apis::Core::Hashable
|
|
1427
|
+
|
|
1428
|
+
# Optional. Source file name. Depending on the runtime environment, this
|
|
1429
|
+
# might be a simple name or a fully-qualified name.
|
|
1430
|
+
# Corresponds to the JSON property `file`
|
|
1431
|
+
# @return [String]
|
|
1432
|
+
attr_accessor :file
|
|
1433
|
+
|
|
1434
|
+
# Optional. Human-readable name of the function or method being invoked, with
|
|
1435
|
+
# optional context such as the class or package name. This information may be
|
|
1436
|
+
# used in contexts such as the logs viewer, where a file and line number are
|
|
1437
|
+
# less meaningful. The format can vary by language. For example:
|
|
1438
|
+
# `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
|
1439
|
+
# (Python).
|
|
1440
|
+
# Corresponds to the JSON property `function`
|
|
1441
|
+
# @return [String]
|
|
1442
|
+
attr_accessor :function
|
|
1443
|
+
|
|
1444
|
+
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
|
1445
|
+
# available.
|
|
1446
|
+
# Corresponds to the JSON property `line`
|
|
1447
|
+
# @return [Fixnum]
|
|
1448
|
+
attr_accessor :line
|
|
1449
|
+
|
|
1450
|
+
def initialize(**args)
|
|
1451
|
+
update!(**args)
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1454
|
+
# Update properties of this object
|
|
1455
|
+
def update!(**args)
|
|
1456
|
+
@file = args[:file] if args.key?(:file)
|
|
1457
|
+
@function = args[:function] if args.key?(:function)
|
|
1458
|
+
@line = args[:line] if args.key?(:line)
|
|
1459
|
+
end
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
# Represents a single metric value.
|
|
1463
|
+
class MetricValue
|
|
1464
|
+
include Google::Apis::Core::Hashable
|
|
1465
|
+
|
|
1466
|
+
# A boolean value.
|
|
1467
|
+
# Corresponds to the JSON property `boolValue`
|
|
1468
|
+
# @return [Boolean]
|
|
1469
|
+
attr_accessor :bool_value
|
|
1470
|
+
alias_method :bool_value?, :bool_value
|
|
1471
|
+
|
|
1472
|
+
# Distribution represents a frequency distribution of double-valued sample
|
|
1473
|
+
# points. It contains the size of the population of sample points plus
|
|
1474
|
+
# additional optional information:
|
|
1475
|
+
# - the arithmetic mean of the samples
|
|
1476
|
+
# - the minimum and maximum of the samples
|
|
1477
|
+
# - the sum-squared-deviation of the samples, used to compute variance
|
|
1478
|
+
# - a histogram of the values of the sample points
|
|
1479
|
+
# Corresponds to the JSON property `distributionValue`
|
|
1480
|
+
# @return [Google::Apis::FileV1::Distribution]
|
|
1481
|
+
attr_accessor :distribution_value
|
|
1482
|
+
|
|
1483
|
+
# A double precision floating point value.
|
|
1484
|
+
# Corresponds to the JSON property `doubleValue`
|
|
1485
|
+
# @return [Float]
|
|
1486
|
+
attr_accessor :double_value
|
|
1487
|
+
|
|
1488
|
+
# The end of the time period over which this metric value's measurement
|
|
1489
|
+
# applies.
|
|
1490
|
+
# Corresponds to the JSON property `endTime`
|
|
1491
|
+
# @return [String]
|
|
1492
|
+
attr_accessor :end_time
|
|
1493
|
+
|
|
1494
|
+
# A signed 64-bit integer value.
|
|
1495
|
+
# Corresponds to the JSON property `int64Value`
|
|
1496
|
+
# @return [Fixnum]
|
|
1497
|
+
attr_accessor :int64_value
|
|
1498
|
+
|
|
1499
|
+
# The labels describing the metric value.
|
|
1500
|
+
# See comments on google.api.servicecontrol.v1.Operation.labels for
|
|
1501
|
+
# the overriding relationship.
|
|
1502
|
+
# Note that this map must not contain monitored resource labels.
|
|
1503
|
+
# Corresponds to the JSON property `labels`
|
|
1504
|
+
# @return [Hash<String,String>]
|
|
1505
|
+
attr_accessor :labels
|
|
1506
|
+
|
|
1507
|
+
# Represents an amount of money with its currency type.
|
|
1508
|
+
# Corresponds to the JSON property `moneyValue`
|
|
1509
|
+
# @return [Google::Apis::FileV1::Money]
|
|
1510
|
+
attr_accessor :money_value
|
|
1511
|
+
|
|
1512
|
+
# The start of the time period over which this metric value's measurement
|
|
1513
|
+
# applies. The time period has different semantics for different metric
|
|
1514
|
+
# types (cumulative, delta, and gauge). See the metric definition
|
|
1515
|
+
# documentation in the service configuration for details.
|
|
1516
|
+
# Corresponds to the JSON property `startTime`
|
|
1517
|
+
# @return [String]
|
|
1518
|
+
attr_accessor :start_time
|
|
1519
|
+
|
|
1520
|
+
# A text string value.
|
|
1521
|
+
# Corresponds to the JSON property `stringValue`
|
|
1522
|
+
# @return [String]
|
|
1523
|
+
attr_accessor :string_value
|
|
1524
|
+
|
|
1525
|
+
def initialize(**args)
|
|
1526
|
+
update!(**args)
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1529
|
+
# Update properties of this object
|
|
1530
|
+
def update!(**args)
|
|
1531
|
+
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
|
1532
|
+
@distribution_value = args[:distribution_value] if args.key?(:distribution_value)
|
|
1533
|
+
@double_value = args[:double_value] if args.key?(:double_value)
|
|
1534
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1535
|
+
@int64_value = args[:int64_value] if args.key?(:int64_value)
|
|
1536
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1537
|
+
@money_value = args[:money_value] if args.key?(:money_value)
|
|
1538
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1539
|
+
@string_value = args[:string_value] if args.key?(:string_value)
|
|
1540
|
+
end
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
# Represents a set of metric values in the same metric.
|
|
1544
|
+
# Each metric value in the set should have a unique combination of start time,
|
|
1545
|
+
# end time, and label values.
|
|
1546
|
+
class MetricValueSet
|
|
1547
|
+
include Google::Apis::Core::Hashable
|
|
1548
|
+
|
|
1549
|
+
# The metric name defined in the service configuration.
|
|
1550
|
+
# Corresponds to the JSON property `metricName`
|
|
1551
|
+
# @return [String]
|
|
1552
|
+
attr_accessor :metric_name
|
|
1553
|
+
|
|
1554
|
+
# The values in this metric.
|
|
1555
|
+
# Corresponds to the JSON property `metricValues`
|
|
1556
|
+
# @return [Array<Google::Apis::FileV1::MetricValue>]
|
|
1557
|
+
attr_accessor :metric_values
|
|
1558
|
+
|
|
1559
|
+
def initialize(**args)
|
|
1560
|
+
update!(**args)
|
|
1561
|
+
end
|
|
1562
|
+
|
|
1563
|
+
# Update properties of this object
|
|
1564
|
+
def update!(**args)
|
|
1565
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
|
1566
|
+
@metric_values = args[:metric_values] if args.key?(:metric_values)
|
|
1567
|
+
end
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1570
|
+
# Represents an amount of money with its currency type.
|
|
1571
|
+
class Money
|
|
1572
|
+
include Google::Apis::Core::Hashable
|
|
1573
|
+
|
|
1574
|
+
# The 3-letter currency code defined in ISO 4217.
|
|
1575
|
+
# Corresponds to the JSON property `currencyCode`
|
|
1576
|
+
# @return [String]
|
|
1577
|
+
attr_accessor :currency_code
|
|
1578
|
+
|
|
1579
|
+
# Number of nano (10^-9) units of the amount.
|
|
1580
|
+
# The value must be between -999,999,999 and +999,999,999 inclusive.
|
|
1581
|
+
# If `units` is positive, `nanos` must be positive or zero.
|
|
1582
|
+
# If `units` is zero, `nanos` can be positive, zero, or negative.
|
|
1583
|
+
# If `units` is negative, `nanos` must be negative or zero.
|
|
1584
|
+
# For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
|
1585
|
+
# Corresponds to the JSON property `nanos`
|
|
1586
|
+
# @return [Fixnum]
|
|
1587
|
+
attr_accessor :nanos
|
|
1588
|
+
|
|
1589
|
+
# The whole units of the amount.
|
|
1590
|
+
# For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
|
1591
|
+
# Corresponds to the JSON property `units`
|
|
1592
|
+
# @return [Fixnum]
|
|
1593
|
+
attr_accessor :units
|
|
1594
|
+
|
|
1595
|
+
def initialize(**args)
|
|
1596
|
+
update!(**args)
|
|
1597
|
+
end
|
|
1598
|
+
|
|
1599
|
+
# Update properties of this object
|
|
1600
|
+
def update!(**args)
|
|
1601
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
|
1602
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
|
1603
|
+
@units = args[:units] if args.key?(:units)
|
|
1604
|
+
end
|
|
1605
|
+
end
|
|
1606
|
+
|
|
659
1607
|
# Network configuration for the instance.
|
|
660
1608
|
class NetworkConfig
|
|
661
1609
|
include Google::Apis::Core::Hashable
|
|
@@ -828,6 +1776,108 @@ module Google
|
|
|
828
1776
|
end
|
|
829
1777
|
end
|
|
830
1778
|
|
|
1779
|
+
# Represents the properties needed for quota operations.
|
|
1780
|
+
class QuotaProperties
|
|
1781
|
+
include Google::Apis::Core::Hashable
|
|
1782
|
+
|
|
1783
|
+
# Quota mode for this operation.
|
|
1784
|
+
# Corresponds to the JSON property `quotaMode`
|
|
1785
|
+
# @return [String]
|
|
1786
|
+
attr_accessor :quota_mode
|
|
1787
|
+
|
|
1788
|
+
def initialize(**args)
|
|
1789
|
+
update!(**args)
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
# Update properties of this object
|
|
1793
|
+
def update!(**args)
|
|
1794
|
+
@quota_mode = args[:quota_mode] if args.key?(:quota_mode)
|
|
1795
|
+
end
|
|
1796
|
+
end
|
|
1797
|
+
|
|
1798
|
+
# Request message for the Report method.
|
|
1799
|
+
class ReportRequest
|
|
1800
|
+
include Google::Apis::Core::Hashable
|
|
1801
|
+
|
|
1802
|
+
# Operations to be reported.
|
|
1803
|
+
# Typically the service should report one operation per request.
|
|
1804
|
+
# Putting multiple operations into a single request is allowed, but should
|
|
1805
|
+
# be used only when multiple operations are natually available at the time
|
|
1806
|
+
# of the report.
|
|
1807
|
+
# There is no limit on the number of operations in the same ReportRequest,
|
|
1808
|
+
# however the ReportRequest size should be no larger than 1MB. See
|
|
1809
|
+
# ReportResponse.report_errors for partial failure behavior.
|
|
1810
|
+
# Corresponds to the JSON property `operations`
|
|
1811
|
+
# @return [Array<Google::Apis::FileV1::GoogleApiServicecontrolV1Operation>]
|
|
1812
|
+
attr_accessor :operations
|
|
1813
|
+
|
|
1814
|
+
# Specifies which version of service config should be used to process the
|
|
1815
|
+
# request.
|
|
1816
|
+
# If unspecified or no matching version can be found, the
|
|
1817
|
+
# latest one will be used.
|
|
1818
|
+
# Corresponds to the JSON property `serviceConfigId`
|
|
1819
|
+
# @return [String]
|
|
1820
|
+
attr_accessor :service_config_id
|
|
1821
|
+
|
|
1822
|
+
# The service name as specified in its service configuration. For example,
|
|
1823
|
+
# `"pubsub.googleapis.com"`.
|
|
1824
|
+
# See
|
|
1825
|
+
# [google.api.Service](https://cloud.google.com/service-management/reference/rpc/
|
|
1826
|
+
# google.api#google.api.Service)
|
|
1827
|
+
# for the definition of a service name.
|
|
1828
|
+
# Corresponds to the JSON property `serviceName`
|
|
1829
|
+
# @return [String]
|
|
1830
|
+
attr_accessor :service_name
|
|
1831
|
+
|
|
1832
|
+
def initialize(**args)
|
|
1833
|
+
update!(**args)
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
# Update properties of this object
|
|
1837
|
+
def update!(**args)
|
|
1838
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1839
|
+
@service_config_id = args[:service_config_id] if args.key?(:service_config_id)
|
|
1840
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
|
1841
|
+
end
|
|
1842
|
+
end
|
|
1843
|
+
|
|
1844
|
+
# Describes a resource associated with this operation.
|
|
1845
|
+
class ResourceInfo
|
|
1846
|
+
include Google::Apis::Core::Hashable
|
|
1847
|
+
|
|
1848
|
+
# The identifier of the parent of this resource instance.
|
|
1849
|
+
# Must be in one of the following formats:
|
|
1850
|
+
# - “projects/<project-id or project-number>”
|
|
1851
|
+
# - “folders/<folder-id>”
|
|
1852
|
+
# - “organizations/<organization-id>”
|
|
1853
|
+
# Corresponds to the JSON property `resourceContainer`
|
|
1854
|
+
# @return [String]
|
|
1855
|
+
attr_accessor :resource_container
|
|
1856
|
+
|
|
1857
|
+
# The location of the resource. If not empty, the resource will be checked
|
|
1858
|
+
# against location policy. The value must be a valid zone, region or
|
|
1859
|
+
# multiregion. For example: "europe-west4" or "northamerica-northeast1-a"
|
|
1860
|
+
# Corresponds to the JSON property `resourceLocation`
|
|
1861
|
+
# @return [String]
|
|
1862
|
+
attr_accessor :resource_location
|
|
1863
|
+
|
|
1864
|
+
# Name of the resource. This is used for auditing purposes.
|
|
1865
|
+
# Corresponds to the JSON property `resourceName`
|
|
1866
|
+
# @return [String]
|
|
1867
|
+
attr_accessor :resource_name
|
|
1868
|
+
|
|
1869
|
+
def initialize(**args)
|
|
1870
|
+
update!(**args)
|
|
1871
|
+
end
|
|
1872
|
+
|
|
1873
|
+
# Update properties of this object
|
|
1874
|
+
def update!(**args)
|
|
1875
|
+
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
|
1876
|
+
@resource_location = args[:resource_location] if args.key?(:resource_location)
|
|
1877
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
1878
|
+
end
|
|
1879
|
+
end
|
|
1880
|
+
|
|
831
1881
|
# The `Status` type defines a logical error model that is suitable for
|
|
832
1882
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
833
1883
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
@@ -866,6 +1916,143 @@ module Google
|
|
|
866
1916
|
@message = args[:message] if args.key?(:message)
|
|
867
1917
|
end
|
|
868
1918
|
end
|
|
1919
|
+
|
|
1920
|
+
# A span represents a single operation within a trace. Spans can be
|
|
1921
|
+
# nested to form a trace tree. Often, a trace contains a root span
|
|
1922
|
+
# that describes the end-to-end latency, and one or more subspans for
|
|
1923
|
+
# its sub-operations. A trace can also contain multiple root spans,
|
|
1924
|
+
# or none at all. Spans do not need to be contiguous—there may be
|
|
1925
|
+
# gaps or overlaps between spans in a trace.
|
|
1926
|
+
class TraceSpan
|
|
1927
|
+
include Google::Apis::Core::Hashable
|
|
1928
|
+
|
|
1929
|
+
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
|
1930
|
+
# Corresponds to the JSON property `attributes`
|
|
1931
|
+
# @return [Google::Apis::FileV1::Attributes]
|
|
1932
|
+
attr_accessor :attributes
|
|
1933
|
+
|
|
1934
|
+
# An optional number of child spans that were generated while this span
|
|
1935
|
+
# was active. If set, allows implementation to detect missing child spans.
|
|
1936
|
+
# Corresponds to the JSON property `childSpanCount`
|
|
1937
|
+
# @return [Fixnum]
|
|
1938
|
+
attr_accessor :child_span_count
|
|
1939
|
+
|
|
1940
|
+
# Represents a string that might be shortened to a specified length.
|
|
1941
|
+
# Corresponds to the JSON property `displayName`
|
|
1942
|
+
# @return [Google::Apis::FileV1::TruncatableString]
|
|
1943
|
+
attr_accessor :display_name
|
|
1944
|
+
|
|
1945
|
+
# The end time of the span. On the client side, this is the time kept by
|
|
1946
|
+
# the local machine where the span execution ends. On the server side, this
|
|
1947
|
+
# is the time when the server application handler stops running.
|
|
1948
|
+
# Corresponds to the JSON property `endTime`
|
|
1949
|
+
# @return [String]
|
|
1950
|
+
attr_accessor :end_time
|
|
1951
|
+
|
|
1952
|
+
# The resource name of the span in the following format:
|
|
1953
|
+
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
|
|
1954
|
+
# identifier for a trace within a project;
|
|
1955
|
+
# it is a 32-character hexadecimal encoding of a 16-byte array.
|
|
1956
|
+
# [SPAN_ID] is a unique identifier for a span within a trace; it
|
|
1957
|
+
# is a 16-character hexadecimal encoding of an 8-byte array.
|
|
1958
|
+
# Corresponds to the JSON property `name`
|
|
1959
|
+
# @return [String]
|
|
1960
|
+
attr_accessor :name
|
|
1961
|
+
|
|
1962
|
+
# The [SPAN_ID] of this span's parent span. If this is a root span,
|
|
1963
|
+
# then this field must be empty.
|
|
1964
|
+
# Corresponds to the JSON property `parentSpanId`
|
|
1965
|
+
# @return [String]
|
|
1966
|
+
attr_accessor :parent_span_id
|
|
1967
|
+
|
|
1968
|
+
# (Optional) Set this parameter to indicate whether this span is in
|
|
1969
|
+
# the same process as its parent. If you do not set this parameter,
|
|
1970
|
+
# Stackdriver Trace is unable to take advantage of this helpful
|
|
1971
|
+
# information.
|
|
1972
|
+
# Corresponds to the JSON property `sameProcessAsParentSpan`
|
|
1973
|
+
# @return [Boolean]
|
|
1974
|
+
attr_accessor :same_process_as_parent_span
|
|
1975
|
+
alias_method :same_process_as_parent_span?, :same_process_as_parent_span
|
|
1976
|
+
|
|
1977
|
+
# The [SPAN_ID] portion of the span's resource name.
|
|
1978
|
+
# Corresponds to the JSON property `spanId`
|
|
1979
|
+
# @return [String]
|
|
1980
|
+
attr_accessor :span_id
|
|
1981
|
+
|
|
1982
|
+
# Distinguishes between spans generated in a particular context. For example,
|
|
1983
|
+
# two spans with the same name may be distinguished using `CLIENT` (caller)
|
|
1984
|
+
# and `SERVER` (callee) to identify an RPC call.
|
|
1985
|
+
# Corresponds to the JSON property `spanKind`
|
|
1986
|
+
# @return [String]
|
|
1987
|
+
attr_accessor :span_kind
|
|
1988
|
+
|
|
1989
|
+
# The start time of the span. On the client side, this is the time kept by
|
|
1990
|
+
# the local machine where the span execution starts. On the server side, this
|
|
1991
|
+
# is the time when the server's application handler starts running.
|
|
1992
|
+
# Corresponds to the JSON property `startTime`
|
|
1993
|
+
# @return [String]
|
|
1994
|
+
attr_accessor :start_time
|
|
1995
|
+
|
|
1996
|
+
# The `Status` type defines a logical error model that is suitable for
|
|
1997
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1998
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1999
|
+
# three pieces of data: error code, error message, and error details.
|
|
2000
|
+
# You can find out more about this error model and how to work with it in the
|
|
2001
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
2002
|
+
# Corresponds to the JSON property `status`
|
|
2003
|
+
# @return [Google::Apis::FileV1::Status]
|
|
2004
|
+
attr_accessor :status
|
|
2005
|
+
|
|
2006
|
+
def initialize(**args)
|
|
2007
|
+
update!(**args)
|
|
2008
|
+
end
|
|
2009
|
+
|
|
2010
|
+
# Update properties of this object
|
|
2011
|
+
def update!(**args)
|
|
2012
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
2013
|
+
@child_span_count = args[:child_span_count] if args.key?(:child_span_count)
|
|
2014
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2015
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
2016
|
+
@name = args[:name] if args.key?(:name)
|
|
2017
|
+
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
|
2018
|
+
@same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
|
|
2019
|
+
@span_id = args[:span_id] if args.key?(:span_id)
|
|
2020
|
+
@span_kind = args[:span_kind] if args.key?(:span_kind)
|
|
2021
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2022
|
+
@status = args[:status] if args.key?(:status)
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
# Represents a string that might be shortened to a specified length.
|
|
2027
|
+
class TruncatableString
|
|
2028
|
+
include Google::Apis::Core::Hashable
|
|
2029
|
+
|
|
2030
|
+
# The number of bytes removed from the original string. If this
|
|
2031
|
+
# value is 0, then the string was not shortened.
|
|
2032
|
+
# Corresponds to the JSON property `truncatedByteCount`
|
|
2033
|
+
# @return [Fixnum]
|
|
2034
|
+
attr_accessor :truncated_byte_count
|
|
2035
|
+
|
|
2036
|
+
# The shortened string. For example, if the original string is 500
|
|
2037
|
+
# bytes long and the limit of the string is 128 bytes, then
|
|
2038
|
+
# `value` contains the first 128 bytes of the 500-byte string.
|
|
2039
|
+
# Truncation always happens on a UTF8 character boundary. If there
|
|
2040
|
+
# are multi-byte characters in the string, then the length of the
|
|
2041
|
+
# shortened string might be less than the size limit.
|
|
2042
|
+
# Corresponds to the JSON property `value`
|
|
2043
|
+
# @return [String]
|
|
2044
|
+
attr_accessor :value
|
|
2045
|
+
|
|
2046
|
+
def initialize(**args)
|
|
2047
|
+
update!(**args)
|
|
2048
|
+
end
|
|
2049
|
+
|
|
2050
|
+
# Update properties of this object
|
|
2051
|
+
def update!(**args)
|
|
2052
|
+
@truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
|
|
2053
|
+
@value = args[:value] if args.key?(:value)
|
|
2054
|
+
end
|
|
2055
|
+
end
|
|
869
2056
|
end
|
|
870
2057
|
end
|
|
871
2058
|
end
|