google-api-client 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/build.sh +3 -5
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/CHANGELOG.md +147 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
- data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +43 -98
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +244 -173
- data/generated/google/apis/bigquery_v2/representations.rb +79 -58
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1/service.rb +190 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
- data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
- data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
- data/generated/google/apis/compute_alpha/representations.rb +1205 -236
- data/generated/google/apis/compute_alpha/service.rb +4338 -3274
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5974 -4567
- data/generated/google/apis/compute_beta/representations.rb +846 -283
- data/generated/google/apis/compute_beta/service.rb +4274 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +325 -50
- data/generated/google/apis/compute_v1/representations.rb +104 -1
- data/generated/google/apis/compute_v1/service.rb +153 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +4 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +4 -4
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +204 -93
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +82 -41
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +360 -209
- data/generated/google/apis/content_v2_1/representations.rb +129 -56
- data/generated/google/apis/content_v2_1/service.rb +97 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +20 -15
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2/service.rb +40 -24
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -41
- data/generated/google/apis/dlp_v2/representations.rb +12 -0
- data/generated/google/apis/dlp_v2/service.rb +35 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +163 -190
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -110
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +15 -110
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +118 -47
- data/generated/google/apis/docs_v1/representations.rb +39 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +3 -2
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +203 -10
- data/generated/google/apis/file_v1/representations.rb +70 -0
- data/generated/google/apis/file_v1/service.rb +190 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +10 -10
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -0
- data/generated/google/apis/fitness_v1/service.rb +1 -45
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -1
- data/generated/google/apis/iam_v1/representations.rb +67 -0
- data/generated/google/apis/iam_v1/service.rb +198 -5
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +7 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +158 -36
- data/generated/google/apis/ml_v1/representations.rb +23 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -7
- data/generated/google/apis/monitoring_v3/service.rb +6 -1
- data/generated/google/apis/oauth2_v1.rb +2 -5
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +0 -159
- data/generated/google/apis/oauth2_v2.rb +2 -5
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/people_v1/classes.rb +19 -18
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/plus_domains_v1.rb +3 -3
- data/generated/google/apis/plus_v1.rb +3 -3
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +5 -4
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +53 -38
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +6 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +0 -6
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
- data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +171 -0
- data/generated/google/apis/spanner_v1/representations.rb +49 -0
- data/generated/google/apis/spanner_v1/service.rb +51 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +107 -10
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
- 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/classes.rb +57 -4
- data/generated/google/apis/storage_v1/representations.rb +19 -1
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
- data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +0 -46
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +219 -181
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/tasks_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +13 -13
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -10
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1977 -40
- data/generated/google/apis/vision_v1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -8
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -0,0 +1,440 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module ServicenetworkingV1
|
23
|
+
# Service Networking API
|
24
|
+
#
|
25
|
+
# Provides automatic management of network configurations necessary for certain
|
26
|
+
# services.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/servicenetworking_v1'
|
30
|
+
#
|
31
|
+
# Servicenetworking = Google::Apis::ServicenetworkingV1 # Alias the module
|
32
|
+
# service = Servicenetworking::ServiceNetworkingService.new
|
33
|
+
#
|
34
|
+
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
35
|
+
class ServiceNetworkingService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://servicenetworking.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
49
|
+
end
|
50
|
+
|
51
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
52
|
+
# makes a best effort to cancel the operation, but success is not
|
53
|
+
# guaranteed. If the server doesn't support this method, it returns
|
54
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
55
|
+
# Operations.GetOperation or
|
56
|
+
# other methods to check whether the cancellation succeeded or whether the
|
57
|
+
# operation completed despite cancellation. On successful cancellation,
|
58
|
+
# the operation is not deleted; instead, it becomes an operation with
|
59
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
60
|
+
# corresponding to `Code.CANCELLED`.
|
61
|
+
# @param [String] name
|
62
|
+
# The name of the operation resource to be cancelled.
|
63
|
+
# @param [Google::Apis::ServicenetworkingV1::CancelOperationRequest] cancel_operation_request_object
|
64
|
+
# @param [String] fields
|
65
|
+
# Selector specifying which fields to include in a partial response.
|
66
|
+
# @param [String] quota_user
|
67
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
68
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
69
|
+
# @param [Google::Apis::RequestOptions] options
|
70
|
+
# Request-specific options
|
71
|
+
#
|
72
|
+
# @yield [result, err] Result & error if block supplied
|
73
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Empty] parsed result object
|
74
|
+
# @yieldparam err [StandardError] error object if request failed
|
75
|
+
#
|
76
|
+
# @return [Google::Apis::ServicenetworkingV1::Empty]
|
77
|
+
#
|
78
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
83
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::CancelOperationRequest::Representation
|
84
|
+
command.request_object = cancel_operation_request_object
|
85
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Empty::Representation
|
86
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Empty
|
87
|
+
command.params['name'] = name unless name.nil?
|
88
|
+
command.query['fields'] = fields unless fields.nil?
|
89
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
90
|
+
execute_or_queue_command(command, &block)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Deletes a long-running operation. This method indicates that the client is
|
94
|
+
# no longer interested in the operation result. It does not cancel the
|
95
|
+
# operation. If the server doesn't support this method, it returns
|
96
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
97
|
+
# @param [String] name
|
98
|
+
# The name of the operation resource to be deleted.
|
99
|
+
# @param [String] fields
|
100
|
+
# Selector specifying which fields to include in a partial response.
|
101
|
+
# @param [String] quota_user
|
102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
+
# @param [Google::Apis::RequestOptions] options
|
105
|
+
# Request-specific options
|
106
|
+
#
|
107
|
+
# @yield [result, err] Result & error if block supplied
|
108
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Empty] parsed result object
|
109
|
+
# @yieldparam err [StandardError] error object if request failed
|
110
|
+
#
|
111
|
+
# @return [Google::Apis::ServicenetworkingV1::Empty]
|
112
|
+
#
|
113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
118
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Empty::Representation
|
119
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Empty
|
120
|
+
command.params['name'] = name unless name.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
127
|
+
# method to poll the operation result at intervals as recommended by the API
|
128
|
+
# service.
|
129
|
+
# @param [String] name
|
130
|
+
# The name of the operation resource.
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
150
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
151
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
152
|
+
command.params['name'] = name unless name.nil?
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
+
execute_or_queue_command(command, &block)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Lists operations that match the specified filter in the request. If the
|
159
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
160
|
+
# NOTE: the `name` binding allows API services to override the binding
|
161
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
162
|
+
# override the binding, API services can add a binding such as
|
163
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
164
|
+
# For backwards compatibility, the default name includes the operations
|
165
|
+
# collection id, however overriding users must ensure the name binding
|
166
|
+
# is the parent resource, without the operations collection id.
|
167
|
+
# @param [String] name
|
168
|
+
# The name of the operation's parent resource.
|
169
|
+
# @param [String] filter
|
170
|
+
# The standard list filter.
|
171
|
+
# @param [Fixnum] page_size
|
172
|
+
# The standard list page size.
|
173
|
+
# @param [String] page_token
|
174
|
+
# The standard list page token.
|
175
|
+
# @param [String] fields
|
176
|
+
# Selector specifying which fields to include in a partial response.
|
177
|
+
# @param [String] quota_user
|
178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
180
|
+
# @param [Google::Apis::RequestOptions] options
|
181
|
+
# Request-specific options
|
182
|
+
#
|
183
|
+
# @yield [result, err] Result & error if block supplied
|
184
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::ListOperationsResponse] parsed result object
|
185
|
+
# @yieldparam err [StandardError] error object if request failed
|
186
|
+
#
|
187
|
+
# @return [Google::Apis::ServicenetworkingV1::ListOperationsResponse]
|
188
|
+
#
|
189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
193
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
194
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::ListOperationsResponse::Representation
|
195
|
+
command.response_class = Google::Apis::ServicenetworkingV1::ListOperationsResponse
|
196
|
+
command.params['name'] = name unless name.nil?
|
197
|
+
command.query['filter'] = filter unless filter.nil?
|
198
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
199
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
200
|
+
command.query['fields'] = fields unless fields.nil?
|
201
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
202
|
+
execute_or_queue_command(command, &block)
|
203
|
+
end
|
204
|
+
|
205
|
+
# For service producers, provisions a new subnet in a
|
206
|
+
# peered service's shared VPC network in the requested region and with the
|
207
|
+
# requested size that's expressed as a CIDR range (number of leading bits of
|
208
|
+
# ipV4 network mask). The method checks against the assigned allocated ranges
|
209
|
+
# to find a non-conflicting IP address range. The method will reuse a subnet
|
210
|
+
# if subsequent calls contain the same subnet name, region, and prefix
|
211
|
+
# length. This method will make producer's tenant project to be a shared VPC
|
212
|
+
# service project as needed. The response from the `get` operation will be of
|
213
|
+
# type `Subnetwork` if the operation successfully completes.
|
214
|
+
# @param [String] parent
|
215
|
+
# Required. A tenant project in the service producer organization, in the
|
216
|
+
# following format: services/`service`/`collection-id`/`resource-id`.
|
217
|
+
# `collection-id` is the cloud resource collection type that represents the
|
218
|
+
# tenant project. Only `projects` are supported.
|
219
|
+
# `resource-id` is the tenant project numeric id, such as
|
220
|
+
# `123456`. `service` the name of the peering service, such as
|
221
|
+
# `service-peering.example.com`. This service must already be
|
222
|
+
# enabled in the service consumer's project.
|
223
|
+
# @param [Google::Apis::ServicenetworkingV1::AddSubnetworkRequest] add_subnetwork_request_object
|
224
|
+
# @param [String] fields
|
225
|
+
# Selector specifying which fields to include in a partial response.
|
226
|
+
# @param [String] quota_user
|
227
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
228
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
229
|
+
# @param [Google::Apis::RequestOptions] options
|
230
|
+
# Request-specific options
|
231
|
+
#
|
232
|
+
# @yield [result, err] Result & error if block supplied
|
233
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
234
|
+
# @yieldparam err [StandardError] error object if request failed
|
235
|
+
#
|
236
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
237
|
+
#
|
238
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
239
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
240
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
241
|
+
def add_service_subnetwork(parent, add_subnetwork_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
242
|
+
command = make_simple_command(:post, 'v1/{+parent}:addSubnetwork', options)
|
243
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::AddSubnetworkRequest::Representation
|
244
|
+
command.request_object = add_subnetwork_request_object
|
245
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
246
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
247
|
+
command.params['parent'] = parent unless parent.nil?
|
248
|
+
command.query['fields'] = fields unless fields.nil?
|
249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
250
|
+
execute_or_queue_command(command, &block)
|
251
|
+
end
|
252
|
+
|
253
|
+
# Service producers can use this method to find a currently unused range
|
254
|
+
# within consumer allocated ranges. This returned range is not reserved,
|
255
|
+
# and not guaranteed to remain unused.
|
256
|
+
# It will validate previously provided allocated ranges, find
|
257
|
+
# non-conflicting sub-range of requested size (expressed in
|
258
|
+
# number of leading bits of ipv4 network mask, as in CIDR range
|
259
|
+
# notation).
|
260
|
+
# Operation<response: Range>
|
261
|
+
# @param [String] parent
|
262
|
+
# Required. This is in a form services/`service`.
|
263
|
+
# `service` the name of the private access management service, for example
|
264
|
+
# 'service-peering.example.com'.
|
265
|
+
# @param [Google::Apis::ServicenetworkingV1::SearchRangeRequest] search_range_request_object
|
266
|
+
# @param [String] fields
|
267
|
+
# Selector specifying which fields to include in a partial response.
|
268
|
+
# @param [String] quota_user
|
269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
271
|
+
# @param [Google::Apis::RequestOptions] options
|
272
|
+
# Request-specific options
|
273
|
+
#
|
274
|
+
# @yield [result, err] Result & error if block supplied
|
275
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
276
|
+
# @yieldparam err [StandardError] error object if request failed
|
277
|
+
#
|
278
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
279
|
+
#
|
280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
|
+
def search_service_range(parent, search_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
284
|
+
command = make_simple_command(:post, 'v1/{+parent}:searchRange', options)
|
285
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::SearchRangeRequest::Representation
|
286
|
+
command.request_object = search_range_request_object
|
287
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
288
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
289
|
+
command.params['parent'] = parent unless parent.nil?
|
290
|
+
command.query['fields'] = fields unless fields.nil?
|
291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
292
|
+
execute_or_queue_command(command, &block)
|
293
|
+
end
|
294
|
+
|
295
|
+
# Creates a private connection that establishes a VPC Network Peering
|
296
|
+
# connection to a VPC network in the service producer's organization.
|
297
|
+
# The administrator of the service consumer's VPC network invokes this
|
298
|
+
# method. The administrator must assign one or more allocated IP ranges for
|
299
|
+
# provisioning subnetworks in the service producer's VPC network. This
|
300
|
+
# connection is used for all supported services in the service producer's
|
301
|
+
# organization, so it only needs to be invoked once. The response from the
|
302
|
+
# `get` operation will be of type `Connection` if the operation successfully
|
303
|
+
# completes.
|
304
|
+
# @param [String] parent
|
305
|
+
# The service that is managing peering connectivity for a service producer's
|
306
|
+
# organization. For Google services that support this functionality, this
|
307
|
+
# value is `services/servicenetworking.googleapis.com`.
|
308
|
+
# @param [Google::Apis::ServicenetworkingV1::Connection] connection_object
|
309
|
+
# @param [String] fields
|
310
|
+
# Selector specifying which fields to include in a partial response.
|
311
|
+
# @param [String] quota_user
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
314
|
+
# @param [Google::Apis::RequestOptions] options
|
315
|
+
# Request-specific options
|
316
|
+
#
|
317
|
+
# @yield [result, err] Result & error if block supplied
|
318
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
319
|
+
# @yieldparam err [StandardError] error object if request failed
|
320
|
+
#
|
321
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
322
|
+
#
|
323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
+
def create_service_connection(parent, connection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:post, 'v1/{+parent}/connections', options)
|
328
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::Connection::Representation
|
329
|
+
command.request_object = connection_object
|
330
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
331
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
332
|
+
command.params['parent'] = parent unless parent.nil?
|
333
|
+
command.query['fields'] = fields unless fields.nil?
|
334
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
335
|
+
execute_or_queue_command(command, &block)
|
336
|
+
end
|
337
|
+
|
338
|
+
# List the private connections that are configured in a service consumer's
|
339
|
+
# VPC network.
|
340
|
+
# @param [String] parent
|
341
|
+
# The service that is managing peering connectivity for a service producer's
|
342
|
+
# organization. For Google services that support this functionality, this
|
343
|
+
# value is `services/servicenetworking.googleapis.com`.
|
344
|
+
# If you specify `services/-` as the parameter value, all configured peering
|
345
|
+
# services are listed.
|
346
|
+
# @param [String] network
|
347
|
+
# The name of service consumer's VPC network that's connected with service
|
348
|
+
# producer network through a private connection. The network name must be in
|
349
|
+
# the following format:
|
350
|
+
# `projects/`project`/global/networks/`network``. `project` is a
|
351
|
+
# project number, such as in `12345` that includes the VPC service
|
352
|
+
# consumer's VPC network. `network` is the name of the service consumer's VPC
|
353
|
+
# network.
|
354
|
+
# @param [String] fields
|
355
|
+
# Selector specifying which fields to include in a partial response.
|
356
|
+
# @param [String] quota_user
|
357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
359
|
+
# @param [Google::Apis::RequestOptions] options
|
360
|
+
# Request-specific options
|
361
|
+
#
|
362
|
+
# @yield [result, err] Result & error if block supplied
|
363
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::ListConnectionsResponse] parsed result object
|
364
|
+
# @yieldparam err [StandardError] error object if request failed
|
365
|
+
#
|
366
|
+
# @return [Google::Apis::ServicenetworkingV1::ListConnectionsResponse]
|
367
|
+
#
|
368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
371
|
+
def list_service_connections(parent, network: nil, fields: nil, quota_user: nil, options: nil, &block)
|
372
|
+
command = make_simple_command(:get, 'v1/{+parent}/connections', options)
|
373
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::ListConnectionsResponse::Representation
|
374
|
+
command.response_class = Google::Apis::ServicenetworkingV1::ListConnectionsResponse
|
375
|
+
command.params['parent'] = parent unless parent.nil?
|
376
|
+
command.query['network'] = network unless network.nil?
|
377
|
+
command.query['fields'] = fields unless fields.nil?
|
378
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
379
|
+
execute_or_queue_command(command, &block)
|
380
|
+
end
|
381
|
+
|
382
|
+
# Updates the allocated ranges that are assigned to a connection.
|
383
|
+
# The response from the `get` operation will be of type `Connection` if the
|
384
|
+
# operation successfully completes.
|
385
|
+
# @param [String] name
|
386
|
+
# The private service connection that connects to a service producer
|
387
|
+
# organization. The name includes both the private service name and the VPC
|
388
|
+
# network peering name in the format of
|
389
|
+
# `services/`peering_service_name`/connections/`vpc_peering_name``. For
|
390
|
+
# Google services that support this functionality, this is
|
391
|
+
# `services/servicenetworking.googleapis.com/connections/servicenetworking-
|
392
|
+
# googleapis-com`.
|
393
|
+
# @param [Google::Apis::ServicenetworkingV1::Connection] connection_object
|
394
|
+
# @param [Boolean] force
|
395
|
+
# If a previously defined allocated range is removed, force flag must be
|
396
|
+
# set to true.
|
397
|
+
# @param [String] update_mask
|
398
|
+
# The update mask. If this is omitted, it defaults to "*". You can only
|
399
|
+
# update the listed peering ranges.
|
400
|
+
# @param [String] fields
|
401
|
+
# Selector specifying which fields to include in a partial response.
|
402
|
+
# @param [String] quota_user
|
403
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
404
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
405
|
+
# @param [Google::Apis::RequestOptions] options
|
406
|
+
# Request-specific options
|
407
|
+
#
|
408
|
+
# @yield [result, err] Result & error if block supplied
|
409
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
410
|
+
# @yieldparam err [StandardError] error object if request failed
|
411
|
+
#
|
412
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
413
|
+
#
|
414
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
415
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
|
+
def patch_service_connection(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
418
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
419
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::Connection::Representation
|
420
|
+
command.request_object = connection_object
|
421
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
422
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
423
|
+
command.params['name'] = name unless name.nil?
|
424
|
+
command.query['force'] = force unless force.nil?
|
425
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
426
|
+
command.query['fields'] = fields unless fields.nil?
|
427
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
428
|
+
execute_or_queue_command(command, &block)
|
429
|
+
end
|
430
|
+
|
431
|
+
protected
|
432
|
+
|
433
|
+
def apply_command_defaults(command)
|
434
|
+
command.query['key'] = key unless key.nil?
|
435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
436
|
+
end
|
437
|
+
end
|
438
|
+
end
|
439
|
+
end
|
440
|
+
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190306'
|
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'
|
@@ -184,8 +184,8 @@ module Google
|
|
184
184
|
end
|
185
185
|
|
186
186
|
# Configuration for an anthentication provider, including support for
|
187
|
-
# [JSON Web Token
|
188
|
-
# token-32).
|
187
|
+
# [JSON Web Token
|
188
|
+
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
189
189
|
class AuthProvider
|
190
190
|
include Google::Apis::Core::Hashable
|
191
191
|
|
@@ -229,15 +229,16 @@ module Google
|
|
229
229
|
attr_accessor :issuer
|
230
230
|
|
231
231
|
# URL of the provider's public key set to validate signature of the JWT. See
|
232
|
-
# [OpenID
|
232
|
+
# [OpenID
|
233
|
+
# Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
|
233
234
|
# ProviderMetadata).
|
234
235
|
# Optional if the key set document:
|
235
236
|
# - can be retrieved from
|
236
|
-
# [OpenID
|
237
|
-
# html
|
238
|
-
#
|
239
|
-
# - can be inferred from the email domain of the issuer (e.g. a Google
|
240
|
-
# account).
|
237
|
+
# [OpenID
|
238
|
+
# Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
|
239
|
+
# the issuer.
|
240
|
+
# - can be inferred from the email domain of the issuer (e.g. a Google
|
241
|
+
# service account).
|
241
242
|
# Example: https://www.googleapis.com/oauth2/v1/certs
|
242
243
|
# Corresponds to the JSON property `jwksUri`
|
243
244
|
# @return [String]
|
@@ -258,8 +259,8 @@ module Google
|
|
258
259
|
end
|
259
260
|
|
260
261
|
# User-defined authentication requirements, including support for
|
261
|
-
# [JSON Web Token
|
262
|
-
# token-32).
|
262
|
+
# [JSON Web Token
|
263
|
+
# (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
|
263
264
|
class AuthRequirement
|
264
265
|
include Google::Apis::Core::Hashable
|
265
266
|
|
@@ -932,8 +933,8 @@ module Google
|
|
932
933
|
class DocumentationRule
|
933
934
|
include Google::Apis::Core::Hashable
|
934
935
|
|
935
|
-
# Deprecation description of the selected element(s). It can be provided if
|
936
|
-
# element is marked as `deprecated`.
|
936
|
+
# Deprecation description of the selected element(s). It can be provided if
|
937
|
+
# an element is marked as `deprecated`.
|
937
938
|
# Corresponds to the JSON property `deprecationDescription`
|
938
939
|
# @return [String]
|
939
940
|
attr_accessor :deprecation_description
|
@@ -1012,10 +1013,10 @@ module Google
|
|
1012
1013
|
attr_accessor :name
|
1013
1014
|
|
1014
1015
|
# The specification of an Internet routable address of API frontend that will
|
1015
|
-
# handle requests to this [API
|
1016
|
-
# glossary).
|
1017
|
-
#
|
1018
|
-
#
|
1016
|
+
# handle requests to this [API
|
1017
|
+
# Endpoint](https://cloud.google.com/apis/design/glossary). It should be
|
1018
|
+
# either a valid IPv4 address or a fully-qualified domain name. For example,
|
1019
|
+
# "8.8.8.8" or "myservice.appspot.com".
|
1019
1020
|
# Corresponds to the JSON property `target`
|
1020
1021
|
# @return [String]
|
1021
1022
|
attr_accessor :target
|
@@ -1260,7 +1261,7 @@ module Google
|
|
1260
1261
|
class Http
|
1261
1262
|
include Google::Apis::Core::Hashable
|
1262
1263
|
|
1263
|
-
# When set to true, URL path
|
1264
|
+
# When set to true, URL path parameters will be fully URI-decoded except in
|
1264
1265
|
# cases of single segment matches in reserved expansion, where "%2F" will be
|
1265
1266
|
# left encoded.
|
1266
1267
|
# The default behavior is to not decode RFC 6570 reserved characters in multi
|
@@ -2335,14 +2336,14 @@ module Google
|
|
2335
2336
|
attr_accessor :done
|
2336
2337
|
alias_method :done?, :done
|
2337
2338
|
|
2338
|
-
# The `Status` type defines a logical error model that is suitable for
|
2339
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
2340
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
2339
|
+
# The `Status` type defines a logical error model that is suitable for
|
2340
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
2341
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
2341
2342
|
# - Simple to use and understand for most users
|
2342
2343
|
# - Flexible enough to meet unexpected needs
|
2343
2344
|
# # Overview
|
2344
|
-
# The `Status` message contains three pieces of data: error code, error
|
2345
|
-
# and error details. The error code should be an enum value of
|
2345
|
+
# The `Status` message contains three pieces of data: error code, error
|
2346
|
+
# message, and error details. The error code should be an enum value of
|
2346
2347
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2347
2348
|
# error message should be a developer-facing English message that helps
|
2348
2349
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -2456,9 +2457,8 @@ module Google
|
|
2456
2457
|
class Page
|
2457
2458
|
include Google::Apis::Core::Hashable
|
2458
2459
|
|
2459
|
-
# The Markdown content of the page. You can use <code>(== include `path`
|
2460
|
-
# 41;</code>
|
2461
|
-
# to include content from a Markdown file.
|
2460
|
+
# The Markdown content of the page. You can use <code>(== include `path`
|
2461
|
+
# ==)</code> to include content from a Markdown file.
|
2462
2462
|
# Corresponds to the JSON property `content`
|
2463
2463
|
# @return [String]
|
2464
2464
|
attr_accessor :content
|
@@ -2499,46 +2499,7 @@ module Google
|
|
2499
2499
|
end
|
2500
2500
|
end
|
2501
2501
|
|
2502
|
-
#
|
2503
|
-
# usage.
|
2504
|
-
# The quota configuration works this way:
|
2505
|
-
# - The service configuration defines a set of metrics.
|
2506
|
-
# - For API calls, the quota.metric_rules maps methods to metrics with
|
2507
|
-
# corresponding costs.
|
2508
|
-
# - The quota.limits defines limits on the metrics, which will be used for
|
2509
|
-
# quota checks at runtime.
|
2510
|
-
# An example quota configuration in yaml format:
|
2511
|
-
# quota:
|
2512
|
-
# limits:
|
2513
|
-
# - name: apiWriteQpsPerProject
|
2514
|
-
# metric: library.googleapis.com/write_calls
|
2515
|
-
# unit: "1/min/`project`" # rate limit for consumer projects
|
2516
|
-
# values:
|
2517
|
-
# STANDARD: 10000
|
2518
|
-
# # The metric rules bind all methods to the read_calls metric,
|
2519
|
-
# # except for the UpdateBook and DeleteBook methods. These two methods
|
2520
|
-
# # are mapped to the write_calls metric, with the UpdateBook method
|
2521
|
-
# # consuming at twice rate as the DeleteBook method.
|
2522
|
-
# metric_rules:
|
2523
|
-
# - selector: "*"
|
2524
|
-
# metric_costs:
|
2525
|
-
# library.googleapis.com/read_calls: 1
|
2526
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
2527
|
-
# metric_costs:
|
2528
|
-
# library.googleapis.com/write_calls: 2
|
2529
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
2530
|
-
# metric_costs:
|
2531
|
-
# library.googleapis.com/write_calls: 1
|
2532
|
-
# Corresponding Metric definition:
|
2533
|
-
# metrics:
|
2534
|
-
# - name: library.googleapis.com/read_calls
|
2535
|
-
# display_name: Read requests
|
2536
|
-
# metric_kind: DELTA
|
2537
|
-
# value_type: INT64
|
2538
|
-
# - name: library.googleapis.com/write_calls
|
2539
|
-
# display_name: Write requests
|
2540
|
-
# metric_kind: DELTA
|
2541
|
-
# value_type: INT64
|
2502
|
+
#
|
2542
2503
|
class Quota
|
2543
2504
|
include Google::Apis::Core::Hashable
|
2544
2505
|
|
@@ -3068,46 +3029,7 @@ module Google
|
|
3068
3029
|
# @return [String]
|
3069
3030
|
attr_accessor :producer_project_id
|
3070
3031
|
|
3071
|
-
# Quota configuration
|
3072
|
-
# usage.
|
3073
|
-
# The quota configuration works this way:
|
3074
|
-
# - The service configuration defines a set of metrics.
|
3075
|
-
# - For API calls, the quota.metric_rules maps methods to metrics with
|
3076
|
-
# corresponding costs.
|
3077
|
-
# - The quota.limits defines limits on the metrics, which will be used for
|
3078
|
-
# quota checks at runtime.
|
3079
|
-
# An example quota configuration in yaml format:
|
3080
|
-
# quota:
|
3081
|
-
# limits:
|
3082
|
-
# - name: apiWriteQpsPerProject
|
3083
|
-
# metric: library.googleapis.com/write_calls
|
3084
|
-
# unit: "1/min/`project`" # rate limit for consumer projects
|
3085
|
-
# values:
|
3086
|
-
# STANDARD: 10000
|
3087
|
-
# # The metric rules bind all methods to the read_calls metric,
|
3088
|
-
# # except for the UpdateBook and DeleteBook methods. These two methods
|
3089
|
-
# # are mapped to the write_calls metric, with the UpdateBook method
|
3090
|
-
# # consuming at twice rate as the DeleteBook method.
|
3091
|
-
# metric_rules:
|
3092
|
-
# - selector: "*"
|
3093
|
-
# metric_costs:
|
3094
|
-
# library.googleapis.com/read_calls: 1
|
3095
|
-
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
3096
|
-
# metric_costs:
|
3097
|
-
# library.googleapis.com/write_calls: 2
|
3098
|
-
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
3099
|
-
# metric_costs:
|
3100
|
-
# library.googleapis.com/write_calls: 1
|
3101
|
-
# Corresponding Metric definition:
|
3102
|
-
# metrics:
|
3103
|
-
# - name: library.googleapis.com/read_calls
|
3104
|
-
# display_name: Read requests
|
3105
|
-
# metric_kind: DELTA
|
3106
|
-
# value_type: INT64
|
3107
|
-
# - name: library.googleapis.com/write_calls
|
3108
|
-
# display_name: Write requests
|
3109
|
-
# metric_kind: DELTA
|
3110
|
-
# value_type: INT64
|
3032
|
+
# Quota configuration.
|
3111
3033
|
# Corresponds to the JSON property `quota`
|
3112
3034
|
# @return [Google::Apis::ServicenetworkingV1beta::Quota]
|
3113
3035
|
attr_accessor :quota
|
@@ -3233,14 +3155,14 @@ module Google
|
|
3233
3155
|
end
|
3234
3156
|
end
|
3235
3157
|
|
3236
|
-
# The `Status` type defines a logical error model that is suitable for
|
3237
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
3238
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
3158
|
+
# The `Status` type defines a logical error model that is suitable for
|
3159
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
3160
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
3239
3161
|
# - Simple to use and understand for most users
|
3240
3162
|
# - Flexible enough to meet unexpected needs
|
3241
3163
|
# # Overview
|
3242
|
-
# The `Status` message contains three pieces of data: error code, error
|
3243
|
-
# and error details. The error code should be an enum value of
|
3164
|
+
# The `Status` message contains three pieces of data: error code, error
|
3165
|
+
# message, and error details. The error code should be an enum value of
|
3244
3166
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3245
3167
|
# error message should be a developer-facing English message that helps
|
3246
3168
|
# developers *understand* and *resolve* the error. If a localized user-facing
|