google-api-client 0.19.8 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +106 -0
- data/MIGRATING.md +3 -3
- data/README.md +6 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
- data/generated/google/apis/admin_directory_v1/service.rb +21 -7
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
- data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
- data/generated/google/apis/appengine_v1.rb +2 -2
- data/generated/google/apis/appengine_v1/classes.rb +82 -7
- data/generated/google/apis/appengine_v1/representations.rb +32 -0
- data/generated/google/apis/appengine_v1/service.rb +2 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -2
- data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
- data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -2
- data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -2
- data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +19 -11
- data/generated/google/apis/bigquery_v2/representations.rb +4 -3
- data/generated/google/apis/bigquery_v2/service.rb +9 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -1
- data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
- data/generated/google/apis/chat_v1/classes.rb +890 -0
- data/generated/google/apis/chat_v1/representations.rb +445 -0
- data/generated/google/apis/chat_v1/service.rb +344 -0
- data/generated/google/apis/cloudbilling_v1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
- data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
- data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudiot_v1.rb +2 -2
- data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
- data/generated/google/apis/cloudiot_v1/service.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
- data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +216 -120
- data/generated/google/apis/compute_alpha/representations.rb +25 -1
- data/generated/google/apis/compute_alpha/service.rb +1354 -1621
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +548 -85
- data/generated/google/apis/compute_beta/representations.rb +159 -0
- data/generated/google/apis/compute_beta/service.rb +1971 -1460
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +206 -70
- data/generated/google/apis/compute_v1/representations.rb +32 -0
- data/generated/google/apis/compute_v1/service.rb +1184 -1278
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +742 -9
- data/generated/google/apis/container_v1/representations.rb +90 -0
- data/generated/google/apis/container_v1/service.rb +1380 -100
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +191 -138
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +236 -231
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2690 -1540
- data/generated/google/apis/content_v2/representations.rb +491 -0
- data/generated/google/apis/content_v2/service.rb +684 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +56 -45
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +30 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +372 -0
- data/generated/google/apis/datastore_v1/representations.rb +132 -0
- data/generated/google/apis/datastore_v1/service.rb +77 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
- data/generated/google/apis/dialogflow_v2.rb +35 -0
- data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
- data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
- data/generated/google/apis/dlp_v2.rb +36 -0
- data/generated/google/apis/dlp_v2/classes.rb +6431 -0
- data/generated/google/apis/dlp_v2/representations.rb +3116 -0
- data/generated/google/apis/dlp_v2/service.rb +1300 -0
- data/generated/google/apis/dlp_v2beta1.rb +4 -4
- data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
- data/generated/google/apis/dlp_v2beta2.rb +4 -4
- data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
- data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +496 -0
- data/generated/google/apis/dns_v1/representations.rb +188 -0
- data/generated/google/apis/dns_v1/service.rb +319 -6
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
- data/generated/google/apis/dns_v1beta2/service.rb +2 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
- data/generated/google/apis/dns_v2beta1/service.rb +2 -4
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +271 -1
- data/generated/google/apis/genomics_v1/representations.rb +140 -0
- data/generated/google/apis/genomics_v1/service.rb +9 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
- data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
- data/generated/google/apis/genomics_v2alpha1.rb +37 -0
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/language_v1.rb +2 -2
- data/generated/google/apis/language_v1/classes.rb +2 -1
- data/generated/google/apis/language_v1/service.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +2 -2
- data/generated/google/apis/language_v1beta1/service.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +2 -2
- data/generated/google/apis/language_v1beta2/classes.rb +2 -1
- data/generated/google/apis/language_v1beta2/service.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +14 -11
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +180 -5
- data/generated/google/apis/ml_v1/representations.rb +49 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +797 -2
- data/generated/google/apis/monitoring_v3/representations.rb +279 -0
- data/generated/google/apis/monitoring_v3/service.rb +612 -0
- data/generated/google/apis/oslogin_v1.rb +2 -2
- data/generated/google/apis/oslogin_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +32 -0
- data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
- data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
- data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
- data/generated/google/apis/people_v1.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +5 -2
- data/generated/google/apis/people_v1/service.rb +9 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +153 -0
- data/generated/google/apis/poly_v1/representations.rb +67 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -0
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
- data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
- data/generated/google/apis/serviceuser_v1.rb +2 -2
- data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
- data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
- data/generated/google/apis/serviceuser_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +643 -10
- data/generated/google/apis/sheets_v4/representations.rb +53 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +92 -9
- data/generated/google/apis/slides_v1/representations.rb +21 -0
- data/generated/google/apis/slides_v1/service.rb +3 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
- data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +238 -2
- data/generated/google/apis/spanner_v1/representations.rb +86 -0
- data/generated/google/apis/spanner_v1/service.rb +80 -0
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/classes.rb +14 -19
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +3 -6
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +107 -2
- data/generated/google/apis/testing_v1/representations.rb +38 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +29 -3
- data/generated/google/apis/vault_v1/representations.rb +15 -0
- data/generated/google/apis/vault_v1/service.rb +8 -2
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +290 -2
- data/generated/google/apis/vision_v1/representations.rb +128 -0
- data/generated/google/apis/vision_v1/service.rb +187 -1
- data/generated/google/apis/vision_v1p1beta1.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +39 -0
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
- 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 +12 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/version.rb +3 -3
- data/samples/web/Gemfile +3 -0
- metadata +38 -26
- data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
- data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
require 'google/apis/
|
|
16
|
-
require 'google/apis/
|
|
17
|
-
require 'google/apis/
|
|
15
|
+
require 'google/apis/serviceusage_v1beta1/service.rb'
|
|
16
|
+
require 'google/apis/serviceusage_v1beta1/classes.rb'
|
|
17
|
+
require 'google/apis/serviceusage_v1beta1/representations.rb'
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
@@ -25,9 +25,9 @@ module Google
|
|
|
25
25
|
# consumers no longer use.
|
|
26
26
|
#
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
|
28
|
-
module
|
|
29
|
-
VERSION = '
|
|
30
|
-
REVISION = '
|
|
28
|
+
module ServiceusageV1beta1
|
|
29
|
+
VERSION = 'V1beta1'
|
|
30
|
+
REVISION = '20180329'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
23
|
+
module ServiceusageV1beta1
|
|
24
24
|
|
|
25
25
|
# Api is a light-weight descriptor for an API Interface.
|
|
26
26
|
# Interfaces are also described as "protocol buffer services" in some contexts,
|
|
@@ -35,12 +35,12 @@ module Google
|
|
|
35
35
|
|
|
36
36
|
# The methods of this interface, in unspecified order.
|
|
37
37
|
# Corresponds to the JSON property `methods`
|
|
38
|
-
# @return [Array<Google::Apis::
|
|
38
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MethodProp>]
|
|
39
39
|
attr_accessor :methods_prop
|
|
40
40
|
|
|
41
41
|
# Included interfaces. See Mixin.
|
|
42
42
|
# Corresponds to the JSON property `mixins`
|
|
43
|
-
# @return [Array<Google::Apis::
|
|
43
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Mixin>]
|
|
44
44
|
attr_accessor :mixins
|
|
45
45
|
|
|
46
46
|
# The fully qualified name of this interface, including package name
|
|
@@ -51,13 +51,13 @@ module Google
|
|
|
51
51
|
|
|
52
52
|
# Any metadata attached to the interface.
|
|
53
53
|
# Corresponds to the JSON property `options`
|
|
54
|
-
# @return [Array<Google::Apis::
|
|
54
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
55
55
|
attr_accessor :options
|
|
56
56
|
|
|
57
57
|
# `SourceContext` represents information about the source of a
|
|
58
58
|
# protobuf element, like the file in which it is defined.
|
|
59
59
|
# Corresponds to the JSON property `sourceContext`
|
|
60
|
-
# @return [Google::Apis::
|
|
60
|
+
# @return [Google::Apis::ServiceusageV1beta1::SourceContext]
|
|
61
61
|
attr_accessor :source_context
|
|
62
62
|
|
|
63
63
|
# The source syntax of the service.
|
|
@@ -236,13 +236,13 @@ module Google
|
|
|
236
236
|
|
|
237
237
|
# Defines a set of authentication providers that a service supports.
|
|
238
238
|
# Corresponds to the JSON property `providers`
|
|
239
|
-
# @return [Array<Google::Apis::
|
|
239
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::AuthProvider>]
|
|
240
240
|
attr_accessor :providers
|
|
241
241
|
|
|
242
242
|
# A list of authentication rules that apply to individual API methods.
|
|
243
243
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
244
244
|
# Corresponds to the JSON property `rules`
|
|
245
|
-
# @return [Array<Google::Apis::
|
|
245
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::AuthenticationRule>]
|
|
246
246
|
attr_accessor :rules
|
|
247
247
|
|
|
248
248
|
def initialize(**args)
|
|
@@ -266,12 +266,7 @@ module Google
|
|
|
266
266
|
class AuthenticationRule
|
|
267
267
|
include Google::Apis::Core::Hashable
|
|
268
268
|
|
|
269
|
-
#
|
|
270
|
-
# an OAuth token, Google cookies (first-party auth) or EndUserCreds.
|
|
271
|
-
# For requests without credentials, if the service control environment is
|
|
272
|
-
# specified, each incoming request **must** be associated with a service
|
|
273
|
-
# consumer. This can be done by passing an API key that belongs to a consumer
|
|
274
|
-
# project.
|
|
269
|
+
# If true, the service accepts API keys without any other credential.
|
|
275
270
|
# Corresponds to the JSON property `allowWithoutCredential`
|
|
276
271
|
# @return [Boolean]
|
|
277
272
|
attr_accessor :allow_without_credential
|
|
@@ -279,7 +274,7 @@ module Google
|
|
|
279
274
|
|
|
280
275
|
# Configuration for a custom authentication provider.
|
|
281
276
|
# Corresponds to the JSON property `customAuth`
|
|
282
|
-
# @return [Google::Apis::
|
|
277
|
+
# @return [Google::Apis::ServiceusageV1beta1::CustomAuthRequirements]
|
|
283
278
|
attr_accessor :custom_auth
|
|
284
279
|
|
|
285
280
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
|
@@ -297,12 +292,12 @@ module Google
|
|
|
297
292
|
# request to be accepted and passed to the backend, a request can still fail
|
|
298
293
|
# due to the backend requiring additional scopes or permissions.
|
|
299
294
|
# Corresponds to the JSON property `oauth`
|
|
300
|
-
# @return [Google::Apis::
|
|
295
|
+
# @return [Google::Apis::ServiceusageV1beta1::OAuthRequirements]
|
|
301
296
|
attr_accessor :oauth
|
|
302
297
|
|
|
303
298
|
# Requirements for additional authentication providers.
|
|
304
299
|
# Corresponds to the JSON property `requirements`
|
|
305
|
-
# @return [Array<Google::Apis::
|
|
300
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::AuthRequirement>]
|
|
306
301
|
attr_accessor :requirements
|
|
307
302
|
|
|
308
303
|
# Selects the methods to which this rule applies.
|
|
@@ -401,7 +396,7 @@ module Google
|
|
|
401
396
|
# A list of API backend rules that apply to individual API methods.
|
|
402
397
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
403
398
|
# Corresponds to the JSON property `rules`
|
|
404
|
-
# @return [Array<Google::Apis::
|
|
399
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::BackendRule>]
|
|
405
400
|
attr_accessor :rules
|
|
406
401
|
|
|
407
402
|
def initialize(**args)
|
|
@@ -454,6 +449,34 @@ module Google
|
|
|
454
449
|
end
|
|
455
450
|
end
|
|
456
451
|
|
|
452
|
+
# Request message for the `BatchEnableServices` method.
|
|
453
|
+
class BatchEnableServicesRequest
|
|
454
|
+
include Google::Apis::Core::Hashable
|
|
455
|
+
|
|
456
|
+
# The identifiers of the services to enable on the project.
|
|
457
|
+
# A valid identifier would be:
|
|
458
|
+
# serviceusage.googleapis.com
|
|
459
|
+
# Enabling services requires that each service is public or is shared with
|
|
460
|
+
# the user enabling the service.
|
|
461
|
+
# Two or more services must be specified. To enable a single service,
|
|
462
|
+
# use the `EnableService` method instead.
|
|
463
|
+
# A single request can enable a maximum of 20 services at a time. If more
|
|
464
|
+
# than 20 services are specified, the request will fail, and no state changes
|
|
465
|
+
# will occur.
|
|
466
|
+
# Corresponds to the JSON property `serviceIds`
|
|
467
|
+
# @return [Array<String>]
|
|
468
|
+
attr_accessor :service_ids
|
|
469
|
+
|
|
470
|
+
def initialize(**args)
|
|
471
|
+
update!(**args)
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
# Update properties of this object
|
|
475
|
+
def update!(**args)
|
|
476
|
+
@service_ids = args[:service_ids] if args.key?(:service_ids)
|
|
477
|
+
end
|
|
478
|
+
end
|
|
479
|
+
|
|
457
480
|
# Billing related configuration of the service.
|
|
458
481
|
# The following example shows how to configure monitored resources and metrics
|
|
459
482
|
# for billing:
|
|
@@ -481,7 +504,7 @@ module Google
|
|
|
481
504
|
# a different monitored resource type. A metric can be used in at most
|
|
482
505
|
# one consumer destination.
|
|
483
506
|
# Corresponds to the JSON property `consumerDestinations`
|
|
484
|
-
# @return [Array<Google::Apis::
|
|
507
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::BillingDestination>]
|
|
485
508
|
attr_accessor :consumer_destinations
|
|
486
509
|
|
|
487
510
|
def initialize(**args)
|
|
@@ -522,19 +545,6 @@ module Google
|
|
|
522
545
|
end
|
|
523
546
|
end
|
|
524
547
|
|
|
525
|
-
# The request message for Operations.CancelOperation.
|
|
526
|
-
class CancelOperationRequest
|
|
527
|
-
include Google::Apis::Core::Hashable
|
|
528
|
-
|
|
529
|
-
def initialize(**args)
|
|
530
|
-
update!(**args)
|
|
531
|
-
end
|
|
532
|
-
|
|
533
|
-
# Update properties of this object
|
|
534
|
-
def update!(**args)
|
|
535
|
-
end
|
|
536
|
-
end
|
|
537
|
-
|
|
538
548
|
# `Context` defines which contexts an API requests.
|
|
539
549
|
# Example:
|
|
540
550
|
# context:
|
|
@@ -569,7 +579,7 @@ module Google
|
|
|
569
579
|
# A list of RPC context rules that apply to individual API methods.
|
|
570
580
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
571
581
|
# Corresponds to the JSON property `rules`
|
|
572
|
-
# @return [Array<Google::Apis::
|
|
582
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::ContextRule>]
|
|
573
583
|
attr_accessor :rules
|
|
574
584
|
|
|
575
585
|
def initialize(**args)
|
|
@@ -686,7 +696,7 @@ module Google
|
|
|
686
696
|
# The list of custom error rules that apply to individual API messages.
|
|
687
697
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
688
698
|
# Corresponds to the JSON property `rules`
|
|
689
|
-
# @return [Array<Google::Apis::
|
|
699
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::CustomErrorRule>]
|
|
690
700
|
attr_accessor :rules
|
|
691
701
|
|
|
692
702
|
# The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
|
|
@@ -758,7 +768,7 @@ module Google
|
|
|
758
768
|
end
|
|
759
769
|
end
|
|
760
770
|
|
|
761
|
-
# Request message for DisableService.
|
|
771
|
+
# Request message for the `DisableService` method.
|
|
762
772
|
class DisableServiceRequest
|
|
763
773
|
include Google::Apis::Core::Hashable
|
|
764
774
|
|
|
@@ -810,9 +820,6 @@ module Google
|
|
|
810
820
|
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
811
821
|
# Text can be excluded from doc using the following notation:
|
|
812
822
|
# <pre><code>(-- internal comment --)</code></pre>
|
|
813
|
-
# Comments can be made conditional using a visibility label. The below
|
|
814
|
-
# text will be only rendered if the `BETA` label is available:
|
|
815
|
-
# <pre><code>(--BETA: comment for BETA users --)</code></pre>
|
|
816
823
|
# A few directives are available in documentation. Note that
|
|
817
824
|
# directives must appear on a single line to be properly
|
|
818
825
|
# identified. The `include` directive includes a markdown file from
|
|
@@ -851,13 +858,13 @@ module Google
|
|
|
851
858
|
|
|
852
859
|
# The top level pages for the documentation set.
|
|
853
860
|
# Corresponds to the JSON property `pages`
|
|
854
|
-
# @return [Array<Google::Apis::
|
|
861
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Page>]
|
|
855
862
|
attr_accessor :pages
|
|
856
863
|
|
|
857
864
|
# A list of documentation rules that apply to individual API elements.
|
|
858
865
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
859
866
|
# Corresponds to the JSON property `rules`
|
|
860
|
-
# @return [Array<Google::Apis::
|
|
867
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::DocumentationRule>]
|
|
861
868
|
attr_accessor :rules
|
|
862
869
|
|
|
863
870
|
# A short summary of what the service does. Can only be provided by
|
|
@@ -917,26 +924,7 @@ module Google
|
|
|
917
924
|
end
|
|
918
925
|
end
|
|
919
926
|
|
|
920
|
-
#
|
|
921
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
|
922
|
-
# or the response type of an API method. For instance:
|
|
923
|
-
# service Foo `
|
|
924
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
925
|
-
# `
|
|
926
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
927
|
-
class Empty
|
|
928
|
-
include Google::Apis::Core::Hashable
|
|
929
|
-
|
|
930
|
-
def initialize(**args)
|
|
931
|
-
update!(**args)
|
|
932
|
-
end
|
|
933
|
-
|
|
934
|
-
# Update properties of this object
|
|
935
|
-
def update!(**args)
|
|
936
|
-
end
|
|
937
|
-
end
|
|
938
|
-
|
|
939
|
-
# Request message for EnableService.
|
|
927
|
+
# Request message for the `EnableService` method.
|
|
940
928
|
class EnableServiceRequest
|
|
941
929
|
include Google::Apis::Core::Hashable
|
|
942
930
|
|
|
@@ -949,26 +937,6 @@ module Google
|
|
|
949
937
|
end
|
|
950
938
|
end
|
|
951
939
|
|
|
952
|
-
# The EnabledState reflects whether the service has been explicitly enabled or
|
|
953
|
-
# not.
|
|
954
|
-
class EnabledState
|
|
955
|
-
include Google::Apis::Core::Hashable
|
|
956
|
-
|
|
957
|
-
# Whether or not the service has been explicitly enabled.
|
|
958
|
-
# Corresponds to the JSON property `state`
|
|
959
|
-
# @return [String]
|
|
960
|
-
attr_accessor :state
|
|
961
|
-
|
|
962
|
-
def initialize(**args)
|
|
963
|
-
update!(**args)
|
|
964
|
-
end
|
|
965
|
-
|
|
966
|
-
# Update properties of this object
|
|
967
|
-
def update!(**args)
|
|
968
|
-
@state = args[:state] if args.key?(:state)
|
|
969
|
-
end
|
|
970
|
-
end
|
|
971
|
-
|
|
972
940
|
# `Endpoint` describes a network endpoint that serves a set of APIs.
|
|
973
941
|
# A service may expose any number of endpoints, and all endpoints share the
|
|
974
942
|
# same service configuration, such as quota configuration and monitoring
|
|
@@ -1044,7 +1012,7 @@ module Google
|
|
|
1044
1012
|
|
|
1045
1013
|
# Enum value definitions.
|
|
1046
1014
|
# Corresponds to the JSON property `enumvalue`
|
|
1047
|
-
# @return [Array<Google::Apis::
|
|
1015
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::EnumValue>]
|
|
1048
1016
|
attr_accessor :enumvalue
|
|
1049
1017
|
|
|
1050
1018
|
# Enum type name.
|
|
@@ -1054,13 +1022,13 @@ module Google
|
|
|
1054
1022
|
|
|
1055
1023
|
# Protocol buffer options.
|
|
1056
1024
|
# Corresponds to the JSON property `options`
|
|
1057
|
-
# @return [Array<Google::Apis::
|
|
1025
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
1058
1026
|
attr_accessor :options
|
|
1059
1027
|
|
|
1060
1028
|
# `SourceContext` represents information about the source of a
|
|
1061
1029
|
# protobuf element, like the file in which it is defined.
|
|
1062
1030
|
# Corresponds to the JSON property `sourceContext`
|
|
1063
|
-
# @return [Google::Apis::
|
|
1031
|
+
# @return [Google::Apis::ServiceusageV1beta1::SourceContext]
|
|
1064
1032
|
attr_accessor :source_context
|
|
1065
1033
|
|
|
1066
1034
|
# The source syntax.
|
|
@@ -1098,7 +1066,7 @@ module Google
|
|
|
1098
1066
|
|
|
1099
1067
|
# Protocol buffer options.
|
|
1100
1068
|
# Corresponds to the JSON property `options`
|
|
1101
|
-
# @return [Array<Google::Apis::
|
|
1069
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
1102
1070
|
attr_accessor :options
|
|
1103
1071
|
|
|
1104
1072
|
def initialize(**args)
|
|
@@ -1126,7 +1094,7 @@ module Google
|
|
|
1126
1094
|
# authorization:
|
|
1127
1095
|
# provider: firebaserules.googleapis.com
|
|
1128
1096
|
# Corresponds to the JSON property `authorization`
|
|
1129
|
-
# @return [Google::Apis::
|
|
1097
|
+
# @return [Google::Apis::ServiceusageV1beta1::AuthorizationConfig]
|
|
1130
1098
|
attr_accessor :authorization
|
|
1131
1099
|
|
|
1132
1100
|
def initialize(**args)
|
|
@@ -1181,7 +1149,7 @@ module Google
|
|
|
1181
1149
|
|
|
1182
1150
|
# The protocol buffer options.
|
|
1183
1151
|
# Corresponds to the JSON property `options`
|
|
1184
|
-
# @return [Array<Google::Apis::
|
|
1152
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
1185
1153
|
attr_accessor :options
|
|
1186
1154
|
|
|
1187
1155
|
# Whether to use alternative packed wire representation.
|
|
@@ -1245,7 +1213,7 @@ module Google
|
|
|
1245
1213
|
# normalization process. It is an error to specify an API interface here
|
|
1246
1214
|
# which cannot be resolved against the associated IDL files.
|
|
1247
1215
|
# Corresponds to the JSON property `apis`
|
|
1248
|
-
# @return [Array<Google::Apis::
|
|
1216
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
|
1249
1217
|
attr_accessor :apis
|
|
1250
1218
|
|
|
1251
1219
|
# `Authentication` defines the authentication configuration for an API.
|
|
@@ -1261,12 +1229,12 @@ module Google
|
|
|
1261
1229
|
# requirements:
|
|
1262
1230
|
# provider_id: google_calendar_auth
|
|
1263
1231
|
# Corresponds to the JSON property `authentication`
|
|
1264
|
-
# @return [Google::Apis::
|
|
1232
|
+
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
|
1265
1233
|
attr_accessor :authentication
|
|
1266
1234
|
|
|
1267
1235
|
# `Backend` defines the backend configuration for a service.
|
|
1268
1236
|
# Corresponds to the JSON property `backend`
|
|
1269
|
-
# @return [Google::Apis::
|
|
1237
|
+
# @return [Google::Apis::ServiceusageV1beta1::Backend]
|
|
1270
1238
|
attr_accessor :backend
|
|
1271
1239
|
|
|
1272
1240
|
# Billing related configuration of the service.
|
|
@@ -1289,7 +1257,7 @@ module Google
|
|
|
1289
1257
|
# metrics:
|
|
1290
1258
|
# - library.googleapis.com/book/borrowed_count
|
|
1291
1259
|
# Corresponds to the JSON property `billing`
|
|
1292
|
-
# @return [Google::Apis::
|
|
1260
|
+
# @return [Google::Apis::ServiceusageV1beta1::Billing]
|
|
1293
1261
|
attr_accessor :billing
|
|
1294
1262
|
|
|
1295
1263
|
# The semantic version of the service configuration. The config version
|
|
@@ -1329,14 +1297,14 @@ module Google
|
|
|
1329
1297
|
# You can also specify extension ID instead of fully qualified extension name
|
|
1330
1298
|
# here.
|
|
1331
1299
|
# Corresponds to the JSON property `context`
|
|
1332
|
-
# @return [Google::Apis::
|
|
1300
|
+
# @return [Google::Apis::ServiceusageV1beta1::Context]
|
|
1333
1301
|
attr_accessor :context
|
|
1334
1302
|
|
|
1335
1303
|
# Selects and configures the service controller used by the service. The
|
|
1336
1304
|
# service controller handles features like abuse, quota, billing, logging,
|
|
1337
1305
|
# monitoring, etc.
|
|
1338
1306
|
# Corresponds to the JSON property `control`
|
|
1339
|
-
# @return [Google::Apis::
|
|
1307
|
+
# @return [Google::Apis::ServiceusageV1beta1::Control]
|
|
1340
1308
|
attr_accessor :control
|
|
1341
1309
|
|
|
1342
1310
|
# Customize service error responses. For example, list any service
|
|
@@ -1348,7 +1316,7 @@ module Google
|
|
|
1348
1316
|
# - google.foo.v1.CustomError
|
|
1349
1317
|
# - google.foo.v1.AnotherError
|
|
1350
1318
|
# Corresponds to the JSON property `customError`
|
|
1351
|
-
# @return [Google::Apis::
|
|
1319
|
+
# @return [Google::Apis::ServiceusageV1beta1::CustomError]
|
|
1352
1320
|
attr_accessor :custom_error
|
|
1353
1321
|
|
|
1354
1322
|
# `Documentation` provides the information for describing a service.
|
|
@@ -1390,9 +1358,6 @@ module Google
|
|
|
1390
1358
|
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
1391
1359
|
# Text can be excluded from doc using the following notation:
|
|
1392
1360
|
# <pre><code>(-- internal comment --)</code></pre>
|
|
1393
|
-
# Comments can be made conditional using a visibility label. The below
|
|
1394
|
-
# text will be only rendered if the `BETA` label is available:
|
|
1395
|
-
# <pre><code>(--BETA: comment for BETA users --)</code></pre>
|
|
1396
1361
|
# A few directives are available in documentation. Note that
|
|
1397
1362
|
# directives must appear on a single line to be properly
|
|
1398
1363
|
# identified. The `include` directive includes a markdown file from
|
|
@@ -1405,14 +1370,14 @@ module Google
|
|
|
1405
1370
|
# The directive `suppress_warning` does not directly affect documentation
|
|
1406
1371
|
# and is documented together with service config validation.
|
|
1407
1372
|
# Corresponds to the JSON property `documentation`
|
|
1408
|
-
# @return [Google::Apis::
|
|
1373
|
+
# @return [Google::Apis::ServiceusageV1beta1::Documentation]
|
|
1409
1374
|
attr_accessor :documentation
|
|
1410
1375
|
|
|
1411
1376
|
# Configuration for network endpoints. If this is empty, then an endpoint
|
|
1412
1377
|
# with the same name as the service is automatically generated to service all
|
|
1413
1378
|
# defined APIs.
|
|
1414
1379
|
# Corresponds to the JSON property `endpoints`
|
|
1415
|
-
# @return [Array<Google::Apis::
|
|
1380
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Endpoint>]
|
|
1416
1381
|
attr_accessor :endpoints
|
|
1417
1382
|
|
|
1418
1383
|
# A list of all enum types included in this API service. Enums
|
|
@@ -1422,20 +1387,20 @@ module Google
|
|
|
1422
1387
|
# enums:
|
|
1423
1388
|
# - name: google.someapi.v1.SomeEnum
|
|
1424
1389
|
# Corresponds to the JSON property `enums`
|
|
1425
|
-
# @return [Array<Google::Apis::
|
|
1390
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Enum>]
|
|
1426
1391
|
attr_accessor :enums
|
|
1427
1392
|
|
|
1428
1393
|
# Experimental service configuration. These configuration options can
|
|
1429
1394
|
# only be used by whitelisted users.
|
|
1430
1395
|
# Corresponds to the JSON property `experimental`
|
|
1431
|
-
# @return [Google::Apis::
|
|
1396
|
+
# @return [Google::Apis::ServiceusageV1beta1::Experimental]
|
|
1432
1397
|
attr_accessor :experimental
|
|
1433
1398
|
|
|
1434
1399
|
# Defines the HTTP configuration for an API service. It contains a list of
|
|
1435
1400
|
# HttpRule, each specifying the mapping of an RPC method
|
|
1436
1401
|
# to one or more HTTP REST API methods.
|
|
1437
1402
|
# Corresponds to the JSON property `http`
|
|
1438
|
-
# @return [Google::Apis::
|
|
1403
|
+
# @return [Google::Apis::ServiceusageV1beta1::Http]
|
|
1439
1404
|
attr_accessor :http
|
|
1440
1405
|
|
|
1441
1406
|
# A unique ID for a specific instance of this message, typically assigned
|
|
@@ -1473,23 +1438,23 @@ module Google
|
|
|
1473
1438
|
# logs:
|
|
1474
1439
|
# - activity_history
|
|
1475
1440
|
# Corresponds to the JSON property `logging`
|
|
1476
|
-
# @return [Google::Apis::
|
|
1441
|
+
# @return [Google::Apis::ServiceusageV1beta1::Logging]
|
|
1477
1442
|
attr_accessor :logging
|
|
1478
1443
|
|
|
1479
1444
|
# Defines the logs used by this service.
|
|
1480
1445
|
# Corresponds to the JSON property `logs`
|
|
1481
|
-
# @return [Array<Google::Apis::
|
|
1446
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LogDescriptor>]
|
|
1482
1447
|
attr_accessor :logs
|
|
1483
1448
|
|
|
1484
1449
|
# Defines the metrics used by this service.
|
|
1485
1450
|
# Corresponds to the JSON property `metrics`
|
|
1486
|
-
# @return [Array<Google::Apis::
|
|
1451
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MetricDescriptor>]
|
|
1487
1452
|
attr_accessor :metrics
|
|
1488
1453
|
|
|
1489
1454
|
# Defines the monitored resources used by this service. This is required
|
|
1490
1455
|
# by the Service.monitoring and Service.logging configurations.
|
|
1491
1456
|
# Corresponds to the JSON property `monitoredResources`
|
|
1492
|
-
# @return [Array<Google::Apis::
|
|
1457
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MonitoredResourceDescriptor>]
|
|
1493
1458
|
attr_accessor :monitored_resources
|
|
1494
1459
|
|
|
1495
1460
|
# Monitoring configuration of the service.
|
|
@@ -1528,7 +1493,7 @@ module Google
|
|
|
1528
1493
|
# - library.googleapis.com/book/returned_count
|
|
1529
1494
|
# - library.googleapis.com/book/overdue_count
|
|
1530
1495
|
# Corresponds to the JSON property `monitoring`
|
|
1531
|
-
# @return [Google::Apis::
|
|
1496
|
+
# @return [Google::Apis::ServiceusageV1beta1::Monitoring]
|
|
1532
1497
|
attr_accessor :monitoring
|
|
1533
1498
|
|
|
1534
1499
|
# The DNS address at which this service is available,
|
|
@@ -1582,12 +1547,12 @@ module Google
|
|
|
1582
1547
|
# metric_kind: DELTA
|
|
1583
1548
|
# value_type: INT64
|
|
1584
1549
|
# Corresponds to the JSON property `quota`
|
|
1585
|
-
# @return [Google::Apis::
|
|
1550
|
+
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
|
1586
1551
|
attr_accessor :quota
|
|
1587
1552
|
|
|
1588
1553
|
# Source information used to create a Service Config
|
|
1589
1554
|
# Corresponds to the JSON property `sourceInfo`
|
|
1590
|
-
# @return [Google::Apis::
|
|
1555
|
+
# @return [Google::Apis::ServiceusageV1beta1::SourceInfo]
|
|
1591
1556
|
attr_accessor :source_info
|
|
1592
1557
|
|
|
1593
1558
|
# ### System parameter configuration
|
|
@@ -1596,7 +1561,7 @@ module Google
|
|
|
1596
1561
|
# and/or a URL query parameter. This configuration specifies which methods
|
|
1597
1562
|
# change the names of the system parameters.
|
|
1598
1563
|
# Corresponds to the JSON property `systemParameters`
|
|
1599
|
-
# @return [Google::Apis::
|
|
1564
|
+
# @return [Google::Apis::ServiceusageV1beta1::SystemParameters]
|
|
1600
1565
|
attr_accessor :system_parameters
|
|
1601
1566
|
|
|
1602
1567
|
# A list of all proto message types included in this API service.
|
|
@@ -1605,7 +1570,7 @@ module Google
|
|
|
1605
1570
|
# show up in the generated discovery doc. This field should only be used
|
|
1606
1571
|
# to define system APIs in ESF.
|
|
1607
1572
|
# Corresponds to the JSON property `systemTypes`
|
|
1608
|
-
# @return [Array<Google::Apis::
|
|
1573
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Type>]
|
|
1609
1574
|
attr_accessor :system_types
|
|
1610
1575
|
|
|
1611
1576
|
# The product title for this service.
|
|
@@ -1621,35 +1586,14 @@ module Google
|
|
|
1621
1586
|
# types:
|
|
1622
1587
|
# - name: google.protobuf.Int32
|
|
1623
1588
|
# Corresponds to the JSON property `types`
|
|
1624
|
-
# @return [Array<Google::Apis::
|
|
1589
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Type>]
|
|
1625
1590
|
attr_accessor :types
|
|
1626
1591
|
|
|
1627
1592
|
# Configuration controlling usage of a service.
|
|
1628
1593
|
# Corresponds to the JSON property `usage`
|
|
1629
|
-
# @return [Google::Apis::
|
|
1594
|
+
# @return [Google::Apis::ServiceusageV1beta1::Usage]
|
|
1630
1595
|
attr_accessor :usage
|
|
1631
1596
|
|
|
1632
|
-
# `Visibility` defines restrictions for the visibility of service
|
|
1633
|
-
# elements. Restrictions are specified using visibility labels
|
|
1634
|
-
# (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.
|
|
1635
|
-
# Users and projects can have access to more than one visibility label. The
|
|
1636
|
-
# effective visibility for multiple labels is the union of each label's
|
|
1637
|
-
# elements, plus any unrestricted elements.
|
|
1638
|
-
# If an element and its parents have no restrictions, visibility is
|
|
1639
|
-
# unconditionally granted.
|
|
1640
|
-
# Example:
|
|
1641
|
-
# visibility:
|
|
1642
|
-
# rules:
|
|
1643
|
-
# - selector: google.calendar.Calendar.EnhancedSearch
|
|
1644
|
-
# restriction: TRUSTED_TESTER
|
|
1645
|
-
# - selector: google.calendar.Calendar.Delegate
|
|
1646
|
-
# restriction: GOOGLE_INTERNAL
|
|
1647
|
-
# Here, all methods are publicly visible except for the restricted methods
|
|
1648
|
-
# EnhancedSearch and Delegate.
|
|
1649
|
-
# Corresponds to the JSON property `visibility`
|
|
1650
|
-
# @return [Google::Apis::ServiceusageV1::Visibility]
|
|
1651
|
-
attr_accessor :visibility
|
|
1652
|
-
|
|
1653
1597
|
def initialize(**args)
|
|
1654
1598
|
update!(**args)
|
|
1655
1599
|
end
|
|
@@ -1684,7 +1628,6 @@ module Google
|
|
|
1684
1628
|
@title = args[:title] if args.key?(:title)
|
|
1685
1629
|
@types = args[:types] if args.key?(:types)
|
|
1686
1630
|
@usage = args[:usage] if args.key?(:usage)
|
|
1687
|
-
@visibility = args[:visibility] if args.key?(:visibility)
|
|
1688
1631
|
end
|
|
1689
1632
|
end
|
|
1690
1633
|
|
|
@@ -1707,7 +1650,7 @@ module Google
|
|
|
1707
1650
|
# A list of HTTP configuration rules that apply to individual API methods.
|
|
1708
1651
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
1709
1652
|
# Corresponds to the JSON property `rules`
|
|
1710
|
-
# @return [Array<Google::Apis::
|
|
1653
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::HttpRule>]
|
|
1711
1654
|
attr_accessor :rules
|
|
1712
1655
|
|
|
1713
1656
|
def initialize(**args)
|
|
@@ -1908,7 +1851,7 @@ module Google
|
|
|
1908
1851
|
# not contain an `additional_bindings` field themselves (that is,
|
|
1909
1852
|
# the nesting may only be one level deep).
|
|
1910
1853
|
# Corresponds to the JSON property `additionalBindings`
|
|
1911
|
-
# @return [Array<Google::Apis::
|
|
1854
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::HttpRule>]
|
|
1912
1855
|
attr_accessor :additional_bindings
|
|
1913
1856
|
|
|
1914
1857
|
# Specifies the permission(s) required for an API element for the overall
|
|
@@ -1916,7 +1859,7 @@ module Google
|
|
|
1916
1859
|
# that contain the name of the resource and indicates the permissions that
|
|
1917
1860
|
# will be checked on that resource.
|
|
1918
1861
|
# Corresponds to the JSON property `authorizations`
|
|
1919
|
-
# @return [Array<Google::Apis::
|
|
1862
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::AuthorizationRule>]
|
|
1920
1863
|
attr_accessor :authorizations
|
|
1921
1864
|
|
|
1922
1865
|
# The name of the request field whose value is mapped to the HTTP body, or
|
|
@@ -1929,7 +1872,7 @@ module Google
|
|
|
1929
1872
|
|
|
1930
1873
|
# A custom pattern is used for defining custom HTTP verb.
|
|
1931
1874
|
# Corresponds to the JSON property `custom`
|
|
1932
|
-
# @return [Google::Apis::
|
|
1875
|
+
# @return [Google::Apis::ServiceusageV1beta1::CustomHttpPattern]
|
|
1933
1876
|
attr_accessor :custom
|
|
1934
1877
|
|
|
1935
1878
|
# Used for deleting a resource.
|
|
@@ -1947,7 +1890,7 @@ module Google
|
|
|
1947
1890
|
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
|
1948
1891
|
# your configuration for Bytestream methods.
|
|
1949
1892
|
# Corresponds to the JSON property `mediaDownload`
|
|
1950
|
-
# @return [Google::Apis::
|
|
1893
|
+
# @return [Google::Apis::ServiceusageV1beta1::MediaDownload]
|
|
1951
1894
|
attr_accessor :media_download
|
|
1952
1895
|
|
|
1953
1896
|
# Defines the Media configuration for a service in case of an upload.
|
|
@@ -1955,7 +1898,7 @@ module Google
|
|
|
1955
1898
|
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
|
1956
1899
|
# your configuration for Bytestream methods.
|
|
1957
1900
|
# Corresponds to the JSON property `mediaUpload`
|
|
1958
|
-
# @return [Google::Apis::
|
|
1901
|
+
# @return [Google::Apis::ServiceusageV1beta1::MediaUpload]
|
|
1959
1902
|
attr_accessor :media_upload
|
|
1960
1903
|
|
|
1961
1904
|
# Used for updating a resource.
|
|
@@ -2071,20 +2014,19 @@ module Google
|
|
|
2071
2014
|
end
|
|
2072
2015
|
end
|
|
2073
2016
|
|
|
2074
|
-
#
|
|
2075
|
-
class
|
|
2017
|
+
# The response message for Operations.ListOperations.
|
|
2018
|
+
class ListOperationsResponse
|
|
2076
2019
|
include Google::Apis::Core::Hashable
|
|
2077
2020
|
|
|
2078
|
-
#
|
|
2079
|
-
# query.
|
|
2021
|
+
# The standard List next-page token.
|
|
2080
2022
|
# Corresponds to the JSON property `nextPageToken`
|
|
2081
2023
|
# @return [String]
|
|
2082
2024
|
attr_accessor :next_page_token
|
|
2083
2025
|
|
|
2084
|
-
#
|
|
2085
|
-
# Corresponds to the JSON property `
|
|
2086
|
-
# @return [Array<Google::Apis::
|
|
2087
|
-
attr_accessor :
|
|
2026
|
+
# A list of operations that matches the specified filter in the request.
|
|
2027
|
+
# Corresponds to the JSON property `operations`
|
|
2028
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Operation>]
|
|
2029
|
+
attr_accessor :operations
|
|
2088
2030
|
|
|
2089
2031
|
def initialize(**args)
|
|
2090
2032
|
update!(**args)
|
|
@@ -2093,23 +2035,24 @@ module Google
|
|
|
2093
2035
|
# Update properties of this object
|
|
2094
2036
|
def update!(**args)
|
|
2095
2037
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2096
|
-
@
|
|
2038
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
2097
2039
|
end
|
|
2098
2040
|
end
|
|
2099
2041
|
|
|
2100
|
-
#
|
|
2101
|
-
class
|
|
2042
|
+
# Response message for the `ListServices` method.
|
|
2043
|
+
class ListServicesResponse
|
|
2102
2044
|
include Google::Apis::Core::Hashable
|
|
2103
2045
|
|
|
2104
|
-
#
|
|
2046
|
+
# Token that can be passed to `ListServices` to resume a paginated
|
|
2047
|
+
# query.
|
|
2105
2048
|
# Corresponds to the JSON property `nextPageToken`
|
|
2106
2049
|
# @return [String]
|
|
2107
2050
|
attr_accessor :next_page_token
|
|
2108
2051
|
|
|
2109
|
-
#
|
|
2110
|
-
# Corresponds to the JSON property `
|
|
2111
|
-
# @return [Array<Google::Apis::
|
|
2112
|
-
attr_accessor :
|
|
2052
|
+
# The available services for the requested project.
|
|
2053
|
+
# Corresponds to the JSON property `services`
|
|
2054
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Service>]
|
|
2055
|
+
attr_accessor :services
|
|
2113
2056
|
|
|
2114
2057
|
def initialize(**args)
|
|
2115
2058
|
update!(**args)
|
|
@@ -2118,7 +2061,7 @@ module Google
|
|
|
2118
2061
|
# Update properties of this object
|
|
2119
2062
|
def update!(**args)
|
|
2120
2063
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2121
|
-
@
|
|
2064
|
+
@services = args[:services] if args.key?(:services)
|
|
2122
2065
|
end
|
|
2123
2066
|
end
|
|
2124
2067
|
|
|
@@ -2148,7 +2091,7 @@ module Google
|
|
|
2148
2091
|
# Runtime requests that contain labels not specified here are
|
|
2149
2092
|
# considered invalid.
|
|
2150
2093
|
# Corresponds to the JSON property `labels`
|
|
2151
|
-
# @return [Array<Google::Apis::
|
|
2094
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
|
|
2152
2095
|
attr_accessor :labels
|
|
2153
2096
|
|
|
2154
2097
|
# The name of the log. It must be less than 512 characters long and can
|
|
@@ -2207,7 +2150,7 @@ module Google
|
|
|
2207
2150
|
# different monitored resource type. A log can be used in at most
|
|
2208
2151
|
# one consumer destination.
|
|
2209
2152
|
# Corresponds to the JSON property `consumerDestinations`
|
|
2210
|
-
# @return [Array<Google::Apis::
|
|
2153
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LoggingDestination>]
|
|
2211
2154
|
attr_accessor :consumer_destinations
|
|
2212
2155
|
|
|
2213
2156
|
# Logging configurations for sending logs to the producer project.
|
|
@@ -2215,7 +2158,7 @@ module Google
|
|
|
2215
2158
|
# different monitored resource type. A log can be used in at most
|
|
2216
2159
|
# one producer destination.
|
|
2217
2160
|
# Corresponds to the JSON property `producerDestinations`
|
|
2218
|
-
# @return [Array<Google::Apis::
|
|
2161
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LoggingDestination>]
|
|
2219
2162
|
attr_accessor :producer_destinations
|
|
2220
2163
|
|
|
2221
2164
|
def initialize(**args)
|
|
@@ -2402,7 +2345,7 @@ module Google
|
|
|
2402
2345
|
|
|
2403
2346
|
# Any metadata attached to the method.
|
|
2404
2347
|
# Corresponds to the JSON property `options`
|
|
2405
|
-
# @return [Array<Google::Apis::
|
|
2348
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
2406
2349
|
attr_accessor :options
|
|
2407
2350
|
|
|
2408
2351
|
# If true, the request is streamed.
|
|
@@ -2474,7 +2417,7 @@ module Google
|
|
|
2474
2417
|
# you can look at latencies for successful responses or just
|
|
2475
2418
|
# for responses that failed.
|
|
2476
2419
|
# Corresponds to the JSON property `labels`
|
|
2477
|
-
# @return [Array<Google::Apis::
|
|
2420
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
|
|
2478
2421
|
attr_accessor :labels
|
|
2479
2422
|
|
|
2480
2423
|
# Whether the metric records instantaneous values, changes to a value, etc.
|
|
@@ -2724,7 +2667,7 @@ module Google
|
|
|
2724
2667
|
# resource type. For example, an individual Google Cloud SQL database is
|
|
2725
2668
|
# identified by values for the labels `"database_id"` and `"zone"`.
|
|
2726
2669
|
# Corresponds to the JSON property `labels`
|
|
2727
|
-
# @return [Array<Google::Apis::
|
|
2670
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::LabelDescriptor>]
|
|
2728
2671
|
attr_accessor :labels
|
|
2729
2672
|
|
|
2730
2673
|
# Optional. The resource name of the monitored resource descriptor:
|
|
@@ -2801,7 +2744,7 @@ module Google
|
|
|
2801
2744
|
# different monitored resource type. A metric can be used in at most
|
|
2802
2745
|
# one consumer destination.
|
|
2803
2746
|
# Corresponds to the JSON property `consumerDestinations`
|
|
2804
|
-
# @return [Array<Google::Apis::
|
|
2747
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MonitoringDestination>]
|
|
2805
2748
|
attr_accessor :consumer_destinations
|
|
2806
2749
|
|
|
2807
2750
|
# Monitoring configurations for sending metrics to the producer project.
|
|
@@ -2809,7 +2752,7 @@ module Google
|
|
|
2809
2752
|
# different monitored resource type. A metric can be used in at most
|
|
2810
2753
|
# one producer destination.
|
|
2811
2754
|
# Corresponds to the JSON property `producerDestinations`
|
|
2812
|
-
# @return [Array<Google::Apis::
|
|
2755
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MonitoringDestination>]
|
|
2813
2756
|
attr_accessor :producer_destinations
|
|
2814
2757
|
|
|
2815
2758
|
def initialize(**args)
|
|
@@ -2940,7 +2883,7 @@ module Google
|
|
|
2940
2883
|
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2941
2884
|
# be used directly after any stripping needed for security/privacy reasons.
|
|
2942
2885
|
# Corresponds to the JSON property `error`
|
|
2943
|
-
# @return [Google::Apis::
|
|
2886
|
+
# @return [Google::Apis::ServiceusageV1beta1::Status]
|
|
2944
2887
|
attr_accessor :error
|
|
2945
2888
|
|
|
2946
2889
|
# Service-specific metadata associated with the operation. It typically
|
|
@@ -3006,7 +2949,7 @@ module Google
|
|
|
3006
2949
|
|
|
3007
2950
|
# Detailed status information for each step. The order is undetermined.
|
|
3008
2951
|
# Corresponds to the JSON property `steps`
|
|
3009
|
-
# @return [Array<Google::Apis::
|
|
2952
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Step>]
|
|
3010
2953
|
attr_accessor :steps
|
|
3011
2954
|
|
|
3012
2955
|
def initialize(**args)
|
|
@@ -3087,7 +3030,7 @@ module Google
|
|
|
3087
3030
|
# Subpages of this page. The order of subpages specified here will be
|
|
3088
3031
|
# honored in the generated docset.
|
|
3089
3032
|
# Corresponds to the JSON property `subpages`
|
|
3090
|
-
# @return [Array<Google::Apis::
|
|
3033
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Page>]
|
|
3091
3034
|
attr_accessor :subpages
|
|
3092
3035
|
|
|
3093
3036
|
def initialize(**args)
|
|
@@ -3102,54 +3045,6 @@ module Google
|
|
|
3102
3045
|
end
|
|
3103
3046
|
end
|
|
3104
3047
|
|
|
3105
|
-
# The published version of a Service that is managed by
|
|
3106
|
-
# Google Service Management.
|
|
3107
|
-
class PublishedService
|
|
3108
|
-
include Google::Apis::Core::Hashable
|
|
3109
|
-
|
|
3110
|
-
# The resource name of the service.
|
|
3111
|
-
# A valid name would be:
|
|
3112
|
-
# - services/serviceusage.googleapis.com
|
|
3113
|
-
# Corresponds to the JSON property `name`
|
|
3114
|
-
# @return [String]
|
|
3115
|
-
attr_accessor :name
|
|
3116
|
-
|
|
3117
|
-
# `Service` is the root object of Google service configuration schema. It
|
|
3118
|
-
# describes basic information about a service, such as the name and the
|
|
3119
|
-
# title, and delegates other aspects to sub-sections. Each sub-section is
|
|
3120
|
-
# either a proto message or a repeated proto message that configures a
|
|
3121
|
-
# specific aspect, such as auth. See each proto message definition for details.
|
|
3122
|
-
# Example:
|
|
3123
|
-
# type: google.api.Service
|
|
3124
|
-
# config_version: 3
|
|
3125
|
-
# name: calendar.googleapis.com
|
|
3126
|
-
# title: Google Calendar API
|
|
3127
|
-
# apis:
|
|
3128
|
-
# - name: google.calendar.v3.Calendar
|
|
3129
|
-
# authentication:
|
|
3130
|
-
# providers:
|
|
3131
|
-
# - id: google_calendar_auth
|
|
3132
|
-
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3133
|
-
# issuer: https://securetoken.google.com
|
|
3134
|
-
# rules:
|
|
3135
|
-
# - selector: "*"
|
|
3136
|
-
# requirements:
|
|
3137
|
-
# provider_id: google_calendar_auth
|
|
3138
|
-
# Corresponds to the JSON property `service`
|
|
3139
|
-
# @return [Google::Apis::ServiceusageV1::GoogleApiService]
|
|
3140
|
-
attr_accessor :service
|
|
3141
|
-
|
|
3142
|
-
def initialize(**args)
|
|
3143
|
-
update!(**args)
|
|
3144
|
-
end
|
|
3145
|
-
|
|
3146
|
-
# Update properties of this object
|
|
3147
|
-
def update!(**args)
|
|
3148
|
-
@name = args[:name] if args.key?(:name)
|
|
3149
|
-
@service = args[:service] if args.key?(:service)
|
|
3150
|
-
end
|
|
3151
|
-
end
|
|
3152
|
-
|
|
3153
3048
|
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3154
3049
|
# usage.
|
|
3155
3050
|
# The quota configuration works this way:
|
|
@@ -3194,13 +3089,13 @@ module Google
|
|
|
3194
3089
|
|
|
3195
3090
|
# List of `QuotaLimit` definitions for the service.
|
|
3196
3091
|
# Corresponds to the JSON property `limits`
|
|
3197
|
-
# @return [Array<Google::Apis::
|
|
3092
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::QuotaLimit>]
|
|
3198
3093
|
attr_accessor :limits
|
|
3199
3094
|
|
|
3200
3095
|
# List of `MetricRule` definitions, each one mapping a selected method to one
|
|
3201
3096
|
# or more metrics.
|
|
3202
3097
|
# Corresponds to the JSON property `metricRules`
|
|
3203
|
-
# @return [Array<Google::Apis::
|
|
3098
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::MetricRule>]
|
|
3204
3099
|
attr_accessor :metric_rules
|
|
3205
3100
|
|
|
3206
3101
|
def initialize(**args)
|
|
@@ -3330,20 +3225,33 @@ module Google
|
|
|
3330
3225
|
end
|
|
3331
3226
|
end
|
|
3332
3227
|
|
|
3333
|
-
#
|
|
3334
|
-
class
|
|
3228
|
+
# A service that is available for use by the consumer.
|
|
3229
|
+
class Service
|
|
3335
3230
|
include Google::Apis::Core::Hashable
|
|
3336
3231
|
|
|
3337
|
-
#
|
|
3338
|
-
# Corresponds to the JSON property `
|
|
3232
|
+
# The configuration of the service.
|
|
3233
|
+
# Corresponds to the JSON property `config`
|
|
3234
|
+
# @return [Google::Apis::ServiceusageV1beta1::ServiceConfig]
|
|
3235
|
+
attr_accessor :config
|
|
3236
|
+
|
|
3237
|
+
# The resource name of the consumer and service.
|
|
3238
|
+
# A valid name would be:
|
|
3239
|
+
# - projects/123/services/serviceusage.googleapis.com
|
|
3240
|
+
# Corresponds to the JSON property `name`
|
|
3339
3241
|
# @return [String]
|
|
3340
|
-
attr_accessor :
|
|
3242
|
+
attr_accessor :name
|
|
3341
3243
|
|
|
3342
|
-
# The
|
|
3343
|
-
#
|
|
3344
|
-
#
|
|
3345
|
-
#
|
|
3346
|
-
|
|
3244
|
+
# The resource name of the consumer.
|
|
3245
|
+
# A valid name would be:
|
|
3246
|
+
# - projects/123
|
|
3247
|
+
# Corresponds to the JSON property `parent`
|
|
3248
|
+
# @return [String]
|
|
3249
|
+
attr_accessor :parent
|
|
3250
|
+
|
|
3251
|
+
# Whether or not the service has been enabled for use by the consumer.
|
|
3252
|
+
# Corresponds to the JSON property `state`
|
|
3253
|
+
# @return [String]
|
|
3254
|
+
attr_accessor :state
|
|
3347
3255
|
|
|
3348
3256
|
def initialize(**args)
|
|
3349
3257
|
update!(**args)
|
|
@@ -3351,33 +3259,158 @@ module Google
|
|
|
3351
3259
|
|
|
3352
3260
|
# Update properties of this object
|
|
3353
3261
|
def update!(**args)
|
|
3354
|
-
@
|
|
3355
|
-
@
|
|
3262
|
+
@config = args[:config] if args.key?(:config)
|
|
3263
|
+
@name = args[:name] if args.key?(:name)
|
|
3264
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
3265
|
+
@state = args[:state] if args.key?(:state)
|
|
3356
3266
|
end
|
|
3357
3267
|
end
|
|
3358
3268
|
|
|
3359
|
-
# The
|
|
3360
|
-
class
|
|
3269
|
+
# The configuration of the service.
|
|
3270
|
+
class ServiceConfig
|
|
3361
3271
|
include Google::Apis::Core::Hashable
|
|
3362
3272
|
|
|
3363
|
-
#
|
|
3364
|
-
#
|
|
3365
|
-
# Corresponds to the JSON property `
|
|
3366
|
-
# @return [Google::Apis::
|
|
3367
|
-
attr_accessor :
|
|
3273
|
+
# A list of API interfaces exported by this service. Contains only the names,
|
|
3274
|
+
# versions, and method names of the interfaces.
|
|
3275
|
+
# Corresponds to the JSON property `apis`
|
|
3276
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
|
3277
|
+
attr_accessor :apis
|
|
3368
3278
|
|
|
3369
|
-
#
|
|
3370
|
-
#
|
|
3371
|
-
#
|
|
3279
|
+
# `Authentication` defines the authentication configuration for an API.
|
|
3280
|
+
# Example for an API targeted for external use:
|
|
3281
|
+
# name: calendar.googleapis.com
|
|
3282
|
+
# authentication:
|
|
3283
|
+
# providers:
|
|
3284
|
+
# - id: google_calendar_auth
|
|
3285
|
+
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
|
3286
|
+
# issuer: https://securetoken.google.com
|
|
3287
|
+
# rules:
|
|
3288
|
+
# - selector: "*"
|
|
3289
|
+
# requirements:
|
|
3290
|
+
# provider_id: google_calendar_auth
|
|
3291
|
+
# Corresponds to the JSON property `authentication`
|
|
3292
|
+
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
|
3293
|
+
attr_accessor :authentication
|
|
3294
|
+
|
|
3295
|
+
# `Documentation` provides the information for describing a service.
|
|
3296
|
+
# Example:
|
|
3297
|
+
# <pre><code>documentation:
|
|
3298
|
+
# summary: >
|
|
3299
|
+
# The Google Calendar API gives access
|
|
3300
|
+
# to most calendar features.
|
|
3301
|
+
# pages:
|
|
3302
|
+
# - name: Overview
|
|
3303
|
+
# content: (== include google/foo/overview.md ==)
|
|
3304
|
+
# - name: Tutorial
|
|
3305
|
+
# content: (== include google/foo/tutorial.md ==)
|
|
3306
|
+
# subpages;
|
|
3307
|
+
# - name: Java
|
|
3308
|
+
# content: (== include google/foo/tutorial_java.md ==)
|
|
3309
|
+
# rules:
|
|
3310
|
+
# - selector: google.calendar.Calendar.Get
|
|
3311
|
+
# description: >
|
|
3312
|
+
# ...
|
|
3313
|
+
# - selector: google.calendar.Calendar.Put
|
|
3314
|
+
# description: >
|
|
3315
|
+
# ...
|
|
3316
|
+
# </code></pre>
|
|
3317
|
+
# Documentation is provided in markdown syntax. In addition to
|
|
3318
|
+
# standard markdown features, definition lists, tables and fenced
|
|
3319
|
+
# code blocks are supported. Section headers can be provided and are
|
|
3320
|
+
# interpreted relative to the section nesting of the context where
|
|
3321
|
+
# a documentation fragment is embedded.
|
|
3322
|
+
# Documentation from the IDL is merged with documentation defined
|
|
3323
|
+
# via the config at normalization time, where documentation provided
|
|
3324
|
+
# by config rules overrides IDL provided.
|
|
3325
|
+
# A number of constructs specific to the API platform are supported
|
|
3326
|
+
# in documentation text.
|
|
3327
|
+
# In order to reference a proto element, the following
|
|
3328
|
+
# notation can be used:
|
|
3329
|
+
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
|
3330
|
+
# To override the display text used for the link, this can be used:
|
|
3331
|
+
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
|
3332
|
+
# Text can be excluded from doc using the following notation:
|
|
3333
|
+
# <pre><code>(-- internal comment --)</code></pre>
|
|
3334
|
+
# A few directives are available in documentation. Note that
|
|
3335
|
+
# directives must appear on a single line to be properly
|
|
3336
|
+
# identified. The `include` directive includes a markdown file from
|
|
3337
|
+
# an external source:
|
|
3338
|
+
# <pre><code>(== include path/to/file ==)</code></pre>
|
|
3339
|
+
# The `resource_for` directive marks a message to be the resource of
|
|
3340
|
+
# a collection in REST view. If it is not specified, tools attempt
|
|
3341
|
+
# to infer the resource from the operations in a collection:
|
|
3342
|
+
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
|
3343
|
+
# The directive `suppress_warning` does not directly affect documentation
|
|
3344
|
+
# and is documented together with service config validation.
|
|
3345
|
+
# Corresponds to the JSON property `documentation`
|
|
3346
|
+
# @return [Google::Apis::ServiceusageV1beta1::Documentation]
|
|
3347
|
+
attr_accessor :documentation
|
|
3348
|
+
|
|
3349
|
+
# Configuration for network endpoints. Contains only the names and aliases
|
|
3350
|
+
# of the endpoints.
|
|
3351
|
+
# Corresponds to the JSON property `endpoints`
|
|
3352
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Endpoint>]
|
|
3353
|
+
attr_accessor :endpoints
|
|
3354
|
+
|
|
3355
|
+
# The DNS address at which this service is available.
|
|
3356
|
+
# An example DNS address would be:
|
|
3357
|
+
# `calendar.googleapis.com`.
|
|
3372
3358
|
# Corresponds to the JSON property `name`
|
|
3373
3359
|
# @return [String]
|
|
3374
3360
|
attr_accessor :name
|
|
3375
3361
|
|
|
3376
|
-
#
|
|
3377
|
-
#
|
|
3378
|
-
#
|
|
3379
|
-
#
|
|
3380
|
-
|
|
3362
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3363
|
+
# usage.
|
|
3364
|
+
# The quota configuration works this way:
|
|
3365
|
+
# - The service configuration defines a set of metrics.
|
|
3366
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3367
|
+
# corresponding costs.
|
|
3368
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3369
|
+
# quota checks at runtime.
|
|
3370
|
+
# An example quota configuration in yaml format:
|
|
3371
|
+
# quota:
|
|
3372
|
+
# - name: apiWriteQpsPerProject
|
|
3373
|
+
# metric: library.googleapis.com/write_calls
|
|
3374
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3375
|
+
# values:
|
|
3376
|
+
# STANDARD: 10000
|
|
3377
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3378
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3379
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3380
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3381
|
+
# metric_rules:
|
|
3382
|
+
# - selector: "*"
|
|
3383
|
+
# metric_costs:
|
|
3384
|
+
# library.googleapis.com/read_calls: 1
|
|
3385
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3386
|
+
# metric_costs:
|
|
3387
|
+
# library.googleapis.com/write_calls: 2
|
|
3388
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3389
|
+
# metric_costs:
|
|
3390
|
+
# library.googleapis.com/write_calls: 1
|
|
3391
|
+
# Corresponding Metric definition:
|
|
3392
|
+
# metrics:
|
|
3393
|
+
# - name: library.googleapis.com/read_calls
|
|
3394
|
+
# display_name: Read requests
|
|
3395
|
+
# metric_kind: DELTA
|
|
3396
|
+
# value_type: INT64
|
|
3397
|
+
# - name: library.googleapis.com/write_calls
|
|
3398
|
+
# display_name: Write requests
|
|
3399
|
+
# metric_kind: DELTA
|
|
3400
|
+
# value_type: INT64
|
|
3401
|
+
# Corresponds to the JSON property `quota`
|
|
3402
|
+
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
|
3403
|
+
attr_accessor :quota
|
|
3404
|
+
|
|
3405
|
+
# The product title for this service.
|
|
3406
|
+
# Corresponds to the JSON property `title`
|
|
3407
|
+
# @return [String]
|
|
3408
|
+
attr_accessor :title
|
|
3409
|
+
|
|
3410
|
+
# Configuration controlling usage of a service.
|
|
3411
|
+
# Corresponds to the JSON property `usage`
|
|
3412
|
+
# @return [Google::Apis::ServiceusageV1beta1::Usage]
|
|
3413
|
+
attr_accessor :usage
|
|
3381
3414
|
|
|
3382
3415
|
def initialize(**args)
|
|
3383
3416
|
update!(**args)
|
|
@@ -3385,9 +3418,14 @@ module Google
|
|
|
3385
3418
|
|
|
3386
3419
|
# Update properties of this object
|
|
3387
3420
|
def update!(**args)
|
|
3388
|
-
@
|
|
3421
|
+
@apis = args[:apis] if args.key?(:apis)
|
|
3422
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
|
3423
|
+
@documentation = args[:documentation] if args.key?(:documentation)
|
|
3424
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
|
3389
3425
|
@name = args[:name] if args.key?(:name)
|
|
3390
|
-
@
|
|
3426
|
+
@quota = args[:quota] if args.key?(:quota)
|
|
3427
|
+
@title = args[:title] if args.key?(:title)
|
|
3428
|
+
@usage = args[:usage] if args.key?(:usage)
|
|
3391
3429
|
end
|
|
3392
3430
|
end
|
|
3393
3431
|
|
|
@@ -3574,7 +3612,7 @@ module Google
|
|
|
3574
3612
|
# If none of the specified names are present the behavior is
|
|
3575
3613
|
# parameter-dependent.
|
|
3576
3614
|
# Corresponds to the JSON property `parameters`
|
|
3577
|
-
# @return [Array<Google::Apis::
|
|
3615
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::SystemParameter>]
|
|
3578
3616
|
attr_accessor :parameters
|
|
3579
3617
|
|
|
3580
3618
|
# Selects the methods to which this rule applies. Use '*' to indicate all
|
|
@@ -3626,7 +3664,7 @@ module Google
|
|
|
3626
3664
|
# http_header: Api-Key2
|
|
3627
3665
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
3628
3666
|
# Corresponds to the JSON property `rules`
|
|
3629
|
-
# @return [Array<Google::Apis::
|
|
3667
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::SystemParameterRule>]
|
|
3630
3668
|
attr_accessor :rules
|
|
3631
3669
|
|
|
3632
3670
|
def initialize(**args)
|
|
@@ -3645,7 +3683,7 @@ module Google
|
|
|
3645
3683
|
|
|
3646
3684
|
# The list of fields.
|
|
3647
3685
|
# Corresponds to the JSON property `fields`
|
|
3648
|
-
# @return [Array<Google::Apis::
|
|
3686
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Field>]
|
|
3649
3687
|
attr_accessor :fields
|
|
3650
3688
|
|
|
3651
3689
|
# The fully qualified message name.
|
|
@@ -3660,13 +3698,13 @@ module Google
|
|
|
3660
3698
|
|
|
3661
3699
|
# The protocol buffer options.
|
|
3662
3700
|
# Corresponds to the JSON property `options`
|
|
3663
|
-
# @return [Array<Google::Apis::
|
|
3701
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
|
|
3664
3702
|
attr_accessor :options
|
|
3665
3703
|
|
|
3666
3704
|
# `SourceContext` represents information about the source of a
|
|
3667
3705
|
# protobuf element, like the file in which it is defined.
|
|
3668
3706
|
# Corresponds to the JSON property `sourceContext`
|
|
3669
|
-
# @return [Google::Apis::
|
|
3707
|
+
# @return [Google::Apis::ServiceusageV1beta1::SourceContext]
|
|
3670
3708
|
attr_accessor :source_context
|
|
3671
3709
|
|
|
3672
3710
|
# The source syntax.
|
|
@@ -3714,7 +3752,7 @@ module Google
|
|
|
3714
3752
|
# A list of usage rules that apply to individual API methods.
|
|
3715
3753
|
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
3716
3754
|
# Corresponds to the JSON property `rules`
|
|
3717
|
-
# @return [Array<Google::Apis::
|
|
3755
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::UsageRule>]
|
|
3718
3756
|
attr_accessor :rules
|
|
3719
3757
|
|
|
3720
3758
|
def initialize(**args)
|
|
@@ -3784,79 +3822,6 @@ module Google
|
|
|
3784
3822
|
@skip_service_control = args[:skip_service_control] if args.key?(:skip_service_control)
|
|
3785
3823
|
end
|
|
3786
3824
|
end
|
|
3787
|
-
|
|
3788
|
-
# `Visibility` defines restrictions for the visibility of service
|
|
3789
|
-
# elements. Restrictions are specified using visibility labels
|
|
3790
|
-
# (e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.
|
|
3791
|
-
# Users and projects can have access to more than one visibility label. The
|
|
3792
|
-
# effective visibility for multiple labels is the union of each label's
|
|
3793
|
-
# elements, plus any unrestricted elements.
|
|
3794
|
-
# If an element and its parents have no restrictions, visibility is
|
|
3795
|
-
# unconditionally granted.
|
|
3796
|
-
# Example:
|
|
3797
|
-
# visibility:
|
|
3798
|
-
# rules:
|
|
3799
|
-
# - selector: google.calendar.Calendar.EnhancedSearch
|
|
3800
|
-
# restriction: TRUSTED_TESTER
|
|
3801
|
-
# - selector: google.calendar.Calendar.Delegate
|
|
3802
|
-
# restriction: GOOGLE_INTERNAL
|
|
3803
|
-
# Here, all methods are publicly visible except for the restricted methods
|
|
3804
|
-
# EnhancedSearch and Delegate.
|
|
3805
|
-
class Visibility
|
|
3806
|
-
include Google::Apis::Core::Hashable
|
|
3807
|
-
|
|
3808
|
-
# A list of visibility rules that apply to individual API elements.
|
|
3809
|
-
# **NOTE:** All service configuration rules follow "last one wins" order.
|
|
3810
|
-
# Corresponds to the JSON property `rules`
|
|
3811
|
-
# @return [Array<Google::Apis::ServiceusageV1::VisibilityRule>]
|
|
3812
|
-
attr_accessor :rules
|
|
3813
|
-
|
|
3814
|
-
def initialize(**args)
|
|
3815
|
-
update!(**args)
|
|
3816
|
-
end
|
|
3817
|
-
|
|
3818
|
-
# Update properties of this object
|
|
3819
|
-
def update!(**args)
|
|
3820
|
-
@rules = args[:rules] if args.key?(:rules)
|
|
3821
|
-
end
|
|
3822
|
-
end
|
|
3823
|
-
|
|
3824
|
-
# A visibility rule provides visibility configuration for an individual API
|
|
3825
|
-
# element.
|
|
3826
|
-
class VisibilityRule
|
|
3827
|
-
include Google::Apis::Core::Hashable
|
|
3828
|
-
|
|
3829
|
-
# A comma-separated list of visibility labels that apply to the `selector`.
|
|
3830
|
-
# Any of the listed labels can be used to grant the visibility.
|
|
3831
|
-
# If a rule has multiple labels, removing one of the labels but not all of
|
|
3832
|
-
# them can break clients.
|
|
3833
|
-
# Example:
|
|
3834
|
-
# visibility:
|
|
3835
|
-
# rules:
|
|
3836
|
-
# - selector: google.calendar.Calendar.EnhancedSearch
|
|
3837
|
-
# restriction: GOOGLE_INTERNAL, TRUSTED_TESTER
|
|
3838
|
-
# Removing GOOGLE_INTERNAL from this restriction will break clients that
|
|
3839
|
-
# rely on this method and only had access to it through GOOGLE_INTERNAL.
|
|
3840
|
-
# Corresponds to the JSON property `restriction`
|
|
3841
|
-
# @return [String]
|
|
3842
|
-
attr_accessor :restriction
|
|
3843
|
-
|
|
3844
|
-
# Selects methods, messages, fields, enums, etc. to which this rule applies.
|
|
3845
|
-
# Refer to selector for syntax details.
|
|
3846
|
-
# Corresponds to the JSON property `selector`
|
|
3847
|
-
# @return [String]
|
|
3848
|
-
attr_accessor :selector
|
|
3849
|
-
|
|
3850
|
-
def initialize(**args)
|
|
3851
|
-
update!(**args)
|
|
3852
|
-
end
|
|
3853
|
-
|
|
3854
|
-
# Update properties of this object
|
|
3855
|
-
def update!(**args)
|
|
3856
|
-
@restriction = args[:restriction] if args.key?(:restriction)
|
|
3857
|
-
@selector = args[:selector] if args.key?(:selector)
|
|
3858
|
-
end
|
|
3859
|
-
end
|
|
3860
3825
|
end
|
|
3861
3826
|
end
|
|
3862
3827
|
end
|