google-api-client 0.40.0 → 0.41.2
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 +297 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
- data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +144 -48
- data/generated/google/apis/apigee_v1/representations.rb +17 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
- data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +801 -219
- data/generated/google/apis/compute_alpha/representations.rb +220 -32
- data/generated/google/apis/compute_alpha/service.rb +899 -113
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +490 -131
- data/generated/google/apis/compute_beta/representations.rb +97 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +706 -76
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +71 -24
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
- data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +9 -9
- data/generated/google/apis/healthcare_v1/service.rb +5 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -19
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommender_v1.rb +34 -0
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +16 -9
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- 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 +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +26 -22
- data/generated/google/apis/spanner_v1/service.rb +15 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -11
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/drive/
|
|
27
27
|
module DriveV3
|
|
28
28
|
VERSION = 'V3'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200618'
|
|
30
30
|
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -1375,6 +1375,14 @@ module Google
|
|
|
1375
1375
|
attr_accessor :can_add_children
|
|
1376
1376
|
alias_method :can_add_children?, :can_add_children
|
|
1377
1377
|
|
|
1378
|
+
# Whether the current user can add a folder from another drive (different shared
|
|
1379
|
+
# drive or My Drive) to this folder. This is false when the item is not a folder.
|
|
1380
|
+
# Only populated for items in shared drives.
|
|
1381
|
+
# Corresponds to the JSON property `canAddFolderFromAnotherDrive`
|
|
1382
|
+
# @return [Boolean]
|
|
1383
|
+
attr_accessor :can_add_folder_from_another_drive
|
|
1384
|
+
alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
|
|
1385
|
+
|
|
1378
1386
|
# Whether the current user can add a parent for the item without removing an
|
|
1379
1387
|
# existing parent in the same request. Not populated for shared drive files.
|
|
1380
1388
|
# Corresponds to the JSON property `canAddMyDriveParent`
|
|
@@ -1591,6 +1599,7 @@ module Google
|
|
|
1591
1599
|
# Update properties of this object
|
|
1592
1600
|
def update!(**args)
|
|
1593
1601
|
@can_add_children = args[:can_add_children] if args.key?(:can_add_children)
|
|
1602
|
+
@can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
|
|
1594
1603
|
@can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
|
|
1595
1604
|
@can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
|
|
1596
1605
|
@can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content)
|
|
@@ -566,6 +566,7 @@ module Google
|
|
|
566
566
|
# @private
|
|
567
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
568
568
|
property :can_add_children, as: 'canAddChildren'
|
|
569
|
+
property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
|
|
569
570
|
property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
|
|
570
571
|
property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
|
|
571
572
|
property :can_change_viewers_can_copy_content, as: 'canChangeViewersCanCopyContent'
|
|
@@ -87,9 +87,7 @@ module Google
|
|
|
87
87
|
# The ID of the shared drive for which the starting pageToken for listing future
|
|
88
88
|
# changes from that shared drive is returned.
|
|
89
89
|
# @param [Boolean] supports_all_drives
|
|
90
|
-
#
|
|
91
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
92
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
90
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
93
91
|
# @param [Boolean] supports_team_drives
|
|
94
92
|
# Deprecated use supportsAllDrives instead.
|
|
95
93
|
# @param [String] team_drive_id
|
|
@@ -142,9 +140,7 @@ module Google
|
|
|
142
140
|
# removed from the list of changes and there will be no further change entries
|
|
143
141
|
# for this file.
|
|
144
142
|
# @param [Boolean] include_items_from_all_drives
|
|
145
|
-
#
|
|
146
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
147
|
-
# Afterwards shared drive items are included in the results.
|
|
143
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
148
144
|
# @param [Boolean] include_removed
|
|
149
145
|
# Whether to include changes indicating that items have been removed from the
|
|
150
146
|
# list of changes, for example by deletion or loss of access.
|
|
@@ -160,9 +156,7 @@ module Google
|
|
|
160
156
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
|
161
157
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
|
162
158
|
# @param [Boolean] supports_all_drives
|
|
163
|
-
#
|
|
164
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
165
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
159
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
166
160
|
# @param [Boolean] supports_team_drives
|
|
167
161
|
# Deprecated use supportsAllDrives instead.
|
|
168
162
|
# @param [String] team_drive_id
|
|
@@ -224,9 +218,7 @@ module Google
|
|
|
224
218
|
# removed from the list of changes and there will be no further change entries
|
|
225
219
|
# for this file.
|
|
226
220
|
# @param [Boolean] include_items_from_all_drives
|
|
227
|
-
#
|
|
228
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
229
|
-
# Afterwards shared drive items are included in the results.
|
|
221
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
230
222
|
# @param [Boolean] include_removed
|
|
231
223
|
# Whether to include changes indicating that items have been removed from the
|
|
232
224
|
# list of changes, for example by deletion or loss of access.
|
|
@@ -242,9 +234,7 @@ module Google
|
|
|
242
234
|
# A comma-separated list of spaces to query within the user corpus. Supported
|
|
243
235
|
# values are 'drive', 'appDataFolder' and 'photos'.
|
|
244
236
|
# @param [Boolean] supports_all_drives
|
|
245
|
-
#
|
|
246
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
247
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
237
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
248
238
|
# @param [Boolean] supports_team_drives
|
|
249
239
|
# Deprecated use supportsAllDrives instead.
|
|
250
240
|
# @param [String] team_drive_id
|
|
@@ -802,9 +792,7 @@ module Google
|
|
|
802
792
|
# @param [String] ocr_language
|
|
803
793
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
|
804
794
|
# @param [Boolean] supports_all_drives
|
|
805
|
-
#
|
|
806
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
807
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
795
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
808
796
|
# @param [Boolean] supports_team_drives
|
|
809
797
|
# Deprecated use supportsAllDrives instead.
|
|
810
798
|
# @param [String] fields
|
|
@@ -864,9 +852,7 @@ module Google
|
|
|
864
852
|
# @param [String] ocr_language
|
|
865
853
|
# A language hint for OCR processing during image import (ISO 639-1 code).
|
|
866
854
|
# @param [Boolean] supports_all_drives
|
|
867
|
-
#
|
|
868
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
869
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
855
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
870
856
|
# @param [Boolean] supports_team_drives
|
|
871
857
|
# Deprecated use supportsAllDrives instead.
|
|
872
858
|
# @param [Boolean] use_content_as_indexable_text
|
|
@@ -926,9 +912,7 @@ module Google
|
|
|
926
912
|
# @param [String] file_id
|
|
927
913
|
# The ID of the file.
|
|
928
914
|
# @param [Boolean] supports_all_drives
|
|
929
|
-
#
|
|
930
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
931
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
915
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
932
916
|
# @param [Boolean] supports_team_drives
|
|
933
917
|
# Deprecated use supportsAllDrives instead.
|
|
934
918
|
# @param [String] fields
|
|
@@ -1075,9 +1059,7 @@ module Google
|
|
|
1075
1059
|
# Whether the user is acknowledging the risk of downloading known malware or
|
|
1076
1060
|
# other abusive files. This is only applicable when alt=media.
|
|
1077
1061
|
# @param [Boolean] supports_all_drives
|
|
1078
|
-
#
|
|
1079
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1080
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1062
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1081
1063
|
# @param [Boolean] supports_team_drives
|
|
1082
1064
|
# Deprecated use supportsAllDrives instead.
|
|
1083
1065
|
# @param [String] fields
|
|
@@ -1130,9 +1112,7 @@ module Google
|
|
|
1130
1112
|
# @param [String] drive_id
|
|
1131
1113
|
# ID of the shared drive to search.
|
|
1132
1114
|
# @param [Boolean] include_items_from_all_drives
|
|
1133
|
-
#
|
|
1134
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
|
1135
|
-
# Afterwards shared drive items are included in the results.
|
|
1115
|
+
# Whether both My Drive and shared drive items should be included in results.
|
|
1136
1116
|
# @param [Boolean] include_team_drive_items
|
|
1137
1117
|
# Deprecated use includeItemsFromAllDrives instead.
|
|
1138
1118
|
# @param [String] order_by
|
|
@@ -1156,9 +1136,7 @@ module Google
|
|
|
1156
1136
|
# A comma-separated list of spaces to query within the corpus. Supported values
|
|
1157
1137
|
# are 'drive', 'appDataFolder' and 'photos'.
|
|
1158
1138
|
# @param [Boolean] supports_all_drives
|
|
1159
|
-
#
|
|
1160
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1161
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1139
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1162
1140
|
# @param [Boolean] supports_team_drives
|
|
1163
1141
|
# Deprecated use supportsAllDrives instead.
|
|
1164
1142
|
# @param [String] team_drive_id
|
|
@@ -1228,9 +1206,7 @@ module Google
|
|
|
1228
1206
|
# @param [String] remove_parents
|
|
1229
1207
|
# A comma-separated list of parent IDs to remove.
|
|
1230
1208
|
# @param [Boolean] supports_all_drives
|
|
1231
|
-
#
|
|
1232
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1233
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1209
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1234
1210
|
# @param [Boolean] supports_team_drives
|
|
1235
1211
|
# Deprecated use supportsAllDrives instead.
|
|
1236
1212
|
# @param [Boolean] use_content_as_indexable_text
|
|
@@ -1293,9 +1269,7 @@ module Google
|
|
|
1293
1269
|
# Whether the user is acknowledging the risk of downloading known malware or
|
|
1294
1270
|
# other abusive files. This is only applicable when alt=media.
|
|
1295
1271
|
# @param [Boolean] supports_all_drives
|
|
1296
|
-
#
|
|
1297
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1298
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1272
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1299
1273
|
# @param [Boolean] supports_team_drives
|
|
1300
1274
|
# Deprecated use supportsAllDrives instead.
|
|
1301
1275
|
# @param [String] fields
|
|
@@ -1363,9 +1337,7 @@ module Google
|
|
|
1363
1337
|
# defaults to true for users and groups, and is not allowed for other requests.
|
|
1364
1338
|
# It must not be disabled for ownership transfers.
|
|
1365
1339
|
# @param [Boolean] supports_all_drives
|
|
1366
|
-
#
|
|
1367
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1368
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1340
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1369
1341
|
# @param [Boolean] supports_team_drives
|
|
1370
1342
|
# Deprecated use supportsAllDrives instead.
|
|
1371
1343
|
# @param [Boolean] transfer_ownership
|
|
@@ -1423,9 +1395,7 @@ module Google
|
|
|
1423
1395
|
# @param [String] permission_id
|
|
1424
1396
|
# The ID of the permission.
|
|
1425
1397
|
# @param [Boolean] supports_all_drives
|
|
1426
|
-
#
|
|
1427
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1428
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1398
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1429
1399
|
# @param [Boolean] supports_team_drives
|
|
1430
1400
|
# Deprecated use supportsAllDrives instead.
|
|
1431
1401
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -1471,9 +1441,7 @@ module Google
|
|
|
1471
1441
|
# @param [String] permission_id
|
|
1472
1442
|
# The ID of the permission.
|
|
1473
1443
|
# @param [Boolean] supports_all_drives
|
|
1474
|
-
#
|
|
1475
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1476
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1444
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1477
1445
|
# @param [Boolean] supports_team_drives
|
|
1478
1446
|
# Deprecated use supportsAllDrives instead.
|
|
1479
1447
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -1526,9 +1494,7 @@ module Google
|
|
|
1526
1494
|
# The token for continuing a previous list request on the next page. This should
|
|
1527
1495
|
# be set to the value of 'nextPageToken' from the previous response.
|
|
1528
1496
|
# @param [Boolean] supports_all_drives
|
|
1529
|
-
#
|
|
1530
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1531
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1497
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1532
1498
|
# @param [Boolean] supports_team_drives
|
|
1533
1499
|
# Deprecated use supportsAllDrives instead.
|
|
1534
1500
|
# @param [Boolean] use_domain_admin_access
|
|
@@ -1580,9 +1546,7 @@ module Google
|
|
|
1580
1546
|
# @param [Boolean] remove_expiration
|
|
1581
1547
|
# Whether to remove the expiration date.
|
|
1582
1548
|
# @param [Boolean] supports_all_drives
|
|
1583
|
-
#
|
|
1584
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
|
1585
|
-
# Afterwards all applications are assumed to support shared drives.
|
|
1549
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
|
1586
1550
|
# @param [Boolean] supports_team_drives
|
|
1587
1551
|
# Deprecated use supportsAllDrives instead.
|
|
1588
1552
|
# @param [Boolean] transfer_ownership
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://firebase.google.com/docs/cloud-messaging
|
|
27
27
|
module FcmV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200622'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -456,6 +456,9 @@ module Google
|
|
|
456
456
|
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
|
457
457
|
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
|
458
458
|
# space.
|
|
459
|
+
# Note: when color equality needs to be decided, implementations, unless
|
|
460
|
+
# documented otherwise, will treat two colors to be equal if all their red,
|
|
461
|
+
# green, blue and alpha values each differ by at most 1e-5.
|
|
459
462
|
# Example (Java):
|
|
460
463
|
# import com.google.type.Color;
|
|
461
464
|
# // ...
|
|
@@ -626,6 +629,9 @@ module Google
|
|
|
626
629
|
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
|
627
630
|
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
|
628
631
|
# space.
|
|
632
|
+
# Note: when color equality needs to be decided, implementations, unless
|
|
633
|
+
# documented otherwise, will treat two colors to be equal if all their red,
|
|
634
|
+
# green, blue and alpha values each differ by at most 1e-5.
|
|
629
635
|
# Example (Java):
|
|
630
636
|
# import com.google.type.Color;
|
|
631
637
|
# // ...
|
|
@@ -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 = '20200613'
|
|
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,94 +22,6 @@ 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
|
-
|
|
113
25
|
# The request message for Operations.CancelOperation.
|
|
114
26
|
class CancelOperationRequest
|
|
115
27
|
include Google::Apis::Core::Hashable
|
|
@@ -123,97 +35,6 @@ module Google
|
|
|
123
35
|
end
|
|
124
36
|
end
|
|
125
37
|
|
|
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
|
-
|
|
217
38
|
# A generic empty message that you can re-use to avoid defining duplicated
|
|
218
39
|
# empty messages in your APIs. A typical example is to use it as the request
|
|
219
40
|
# or the response type of an API method. For instance:
|
|
@@ -233,118 +54,6 @@ module Google
|
|
|
233
54
|
end
|
|
234
55
|
end
|
|
235
56
|
|
|
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
|
-
|
|
348
57
|
# File share configuration for the instance.
|
|
349
58
|
class FileShareConfig
|
|
350
59
|
include Google::Apis::Core::Hashable
|
|
@@ -371,143 +80,6 @@ module Google
|
|
|
371
80
|
end
|
|
372
81
|
end
|
|
373
82
|
|
|
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
|
-
|
|
511
83
|
#
|
|
512
84
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
|
513
85
|
include Google::Apis::Core::Hashable
|
|
@@ -905,130 +477,6 @@ module Google
|
|
|
905
477
|
end
|
|
906
478
|
end
|
|
907
479
|
|
|
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
|
-
|
|
1032
480
|
# A Cloud Filestore instance.
|
|
1033
481
|
class Instance
|
|
1034
482
|
include Google::Apis::Core::Hashable
|
|
@@ -1106,44 +554,6 @@ module Google
|
|
|
1106
554
|
end
|
|
1107
555
|
end
|
|
1108
556
|
|
|
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
|
-
|
|
1147
557
|
# ListInstancesResponse is the result of ListInstancesRequest.
|
|
1148
558
|
class ListInstancesResponse
|
|
1149
559
|
include Google::Apis::Core::Hashable
|
|
@@ -1277,333 +687,6 @@ module Google
|
|
|
1277
687
|
end
|
|
1278
688
|
end
|
|
1279
689
|
|
|
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
|
-
|
|
1607
690
|
# Network configuration for the instance.
|
|
1608
691
|
class NetworkConfig
|
|
1609
692
|
include Google::Apis::Core::Hashable
|
|
@@ -1776,108 +859,6 @@ module Google
|
|
|
1776
859
|
end
|
|
1777
860
|
end
|
|
1778
861
|
|
|
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
|
-
|
|
1881
862
|
# The `Status` type defines a logical error model that is suitable for
|
|
1882
863
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1883
864
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
@@ -1916,143 +897,6 @@ module Google
|
|
|
1916
897
|
@message = args[:message] if args.key?(:message)
|
|
1917
898
|
end
|
|
1918
899
|
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
|
|
2056
900
|
end
|
|
2057
901
|
end
|
|
2058
902
|
end
|