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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
26
26
|
module FileV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190312'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -54,6 +54,149 @@ module Google
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
# File share configuration for the instance.
|
58
|
+
class FileShareConfig
|
59
|
+
include Google::Apis::Core::Hashable
|
60
|
+
|
61
|
+
# File share capacity in gigabytes (GB).
|
62
|
+
# Cloud Filestore defines 1 GB as 1024^3 bytes.
|
63
|
+
# Corresponds to the JSON property `capacityGb`
|
64
|
+
# @return [Fixnum]
|
65
|
+
attr_accessor :capacity_gb
|
66
|
+
|
67
|
+
# The name of the file share (must be 16 characters or less).
|
68
|
+
# Corresponds to the JSON property `name`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :name
|
71
|
+
|
72
|
+
def initialize(**args)
|
73
|
+
update!(**args)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Update properties of this object
|
77
|
+
def update!(**args)
|
78
|
+
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
79
|
+
@name = args[:name] if args.key?(:name)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# A Cloud Filestore instance.
|
84
|
+
class Instance
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# Output only.
|
88
|
+
# The time when the instance was created.
|
89
|
+
# Corresponds to the JSON property `createTime`
|
90
|
+
# @return [String]
|
91
|
+
attr_accessor :create_time
|
92
|
+
|
93
|
+
# Optional. A description of the instance (2048 characters or less).
|
94
|
+
# Corresponds to the JSON property `description`
|
95
|
+
# @return [String]
|
96
|
+
attr_accessor :description
|
97
|
+
|
98
|
+
# Server-specified ETag for the instance resource to prevent simultaneous
|
99
|
+
# updates from overwriting each other.
|
100
|
+
# Corresponds to the JSON property `etag`
|
101
|
+
# @return [String]
|
102
|
+
attr_accessor :etag
|
103
|
+
|
104
|
+
# File system shares on the instance.
|
105
|
+
# For this version, only a single file share is supported.
|
106
|
+
# Corresponds to the JSON property `fileShares`
|
107
|
+
# @return [Array<Google::Apis::FileV1::FileShareConfig>]
|
108
|
+
attr_accessor :file_shares
|
109
|
+
|
110
|
+
# Resource labels to represent user provided metadata.
|
111
|
+
# Corresponds to the JSON property `labels`
|
112
|
+
# @return [Hash<String,String>]
|
113
|
+
attr_accessor :labels
|
114
|
+
|
115
|
+
# Output only.
|
116
|
+
# The resource name of the instance, in the format
|
117
|
+
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
118
|
+
# Corresponds to the JSON property `name`
|
119
|
+
# @return [String]
|
120
|
+
attr_accessor :name
|
121
|
+
|
122
|
+
# VPC networks to which the instance is connected.
|
123
|
+
# For this version, only a single network is supported.
|
124
|
+
# Corresponds to the JSON property `networks`
|
125
|
+
# @return [Array<Google::Apis::FileV1::NetworkConfig>]
|
126
|
+
attr_accessor :networks
|
127
|
+
|
128
|
+
# Output only.
|
129
|
+
# The instance state.
|
130
|
+
# Corresponds to the JSON property `state`
|
131
|
+
# @return [String]
|
132
|
+
attr_accessor :state
|
133
|
+
|
134
|
+
# Output only.
|
135
|
+
# Additional information about the instance state, if available.
|
136
|
+
# Corresponds to the JSON property `statusMessage`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :status_message
|
139
|
+
|
140
|
+
# The service tier of the instance.
|
141
|
+
# Corresponds to the JSON property `tier`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :tier
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
152
|
+
@description = args[:description] if args.key?(:description)
|
153
|
+
@etag = args[:etag] if args.key?(:etag)
|
154
|
+
@file_shares = args[:file_shares] if args.key?(:file_shares)
|
155
|
+
@labels = args[:labels] if args.key?(:labels)
|
156
|
+
@name = args[:name] if args.key?(:name)
|
157
|
+
@networks = args[:networks] if args.key?(:networks)
|
158
|
+
@state = args[:state] if args.key?(:state)
|
159
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
160
|
+
@tier = args[:tier] if args.key?(:tier)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# ListInstancesResponse is the result of ListInstancesRequest.
|
165
|
+
class ListInstancesResponse
|
166
|
+
include Google::Apis::Core::Hashable
|
167
|
+
|
168
|
+
# A list of instances in the project for the specified location.
|
169
|
+
# If the `location` value in the request is "-", the response contains a list
|
170
|
+
# of instances from all locations. If any location is unreachable, the
|
171
|
+
# response will only return instances in reachable locations and the
|
172
|
+
# "unreachable" field will be populated with a list of unreachable locations.
|
173
|
+
# Corresponds to the JSON property `instances`
|
174
|
+
# @return [Array<Google::Apis::FileV1::Instance>]
|
175
|
+
attr_accessor :instances
|
176
|
+
|
177
|
+
# The token you can use to retrieve the next page of results. Not returned
|
178
|
+
# if there are no more results in the list.
|
179
|
+
# Corresponds to the JSON property `nextPageToken`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :next_page_token
|
182
|
+
|
183
|
+
# Locations that could not be reached.
|
184
|
+
# Corresponds to the JSON property `unreachable`
|
185
|
+
# @return [Array<String>]
|
186
|
+
attr_accessor :unreachable
|
187
|
+
|
188
|
+
def initialize(**args)
|
189
|
+
update!(**args)
|
190
|
+
end
|
191
|
+
|
192
|
+
# Update properties of this object
|
193
|
+
def update!(**args)
|
194
|
+
@instances = args[:instances] if args.key?(:instances)
|
195
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
196
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
57
200
|
# The response message for Locations.ListLocations.
|
58
201
|
class ListLocationsResponse
|
59
202
|
include Google::Apis::Core::Hashable
|
@@ -151,6 +294,56 @@ module Google
|
|
151
294
|
end
|
152
295
|
end
|
153
296
|
|
297
|
+
# Network configuration for the instance.
|
298
|
+
class NetworkConfig
|
299
|
+
include Google::Apis::Core::Hashable
|
300
|
+
|
301
|
+
# Output only.
|
302
|
+
# IPv4 addresses in the format
|
303
|
+
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
|
304
|
+
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block 7`:`block 8`
|
305
|
+
# .
|
306
|
+
# Corresponds to the JSON property `ipAddresses`
|
307
|
+
# @return [Array<String>]
|
308
|
+
attr_accessor :ip_addresses
|
309
|
+
|
310
|
+
# Internet protocol versions for which the instance has IP addresses
|
311
|
+
# assigned. For this version, only MODE_IPV4 is supported.
|
312
|
+
# Corresponds to the JSON property `modes`
|
313
|
+
# @return [Array<String>]
|
314
|
+
attr_accessor :modes
|
315
|
+
|
316
|
+
# The name of the Google Compute Engine
|
317
|
+
# [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
|
318
|
+
# instance is connected.
|
319
|
+
# Corresponds to the JSON property `network`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :network
|
322
|
+
|
323
|
+
# A /29 CIDR block in one of the
|
324
|
+
# [internal IP address ranges](https://www.arin.net/knowledge/address_filters.
|
325
|
+
# html)
|
326
|
+
# that identifies the range of IP addresses reserved for this
|
327
|
+
# instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify
|
328
|
+
# can't overlap with either existing subnets or assigned IP address ranges
|
329
|
+
# for other Cloud Filestore instances in the selected VPC network.
|
330
|
+
# Corresponds to the JSON property `reservedIpRange`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :reserved_ip_range
|
333
|
+
|
334
|
+
def initialize(**args)
|
335
|
+
update!(**args)
|
336
|
+
end
|
337
|
+
|
338
|
+
# Update properties of this object
|
339
|
+
def update!(**args)
|
340
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
341
|
+
@modes = args[:modes] if args.key?(:modes)
|
342
|
+
@network = args[:network] if args.key?(:network)
|
343
|
+
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
154
347
|
# This resource represents a long-running operation that is the result of a
|
155
348
|
# network API call.
|
156
349
|
class Operation
|
@@ -164,14 +357,14 @@ module Google
|
|
164
357
|
attr_accessor :done
|
165
358
|
alias_method :done?, :done
|
166
359
|
|
167
|
-
# The `Status` type defines a logical error model that is suitable for
|
168
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
169
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
360
|
+
# The `Status` type defines a logical error model that is suitable for
|
361
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
362
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
170
363
|
# - Simple to use and understand for most users
|
171
364
|
# - Flexible enough to meet unexpected needs
|
172
365
|
# # Overview
|
173
|
-
# The `Status` message contains three pieces of data: error code, error
|
174
|
-
# and error details. The error code should be an enum value of
|
366
|
+
# The `Status` message contains three pieces of data: error code, error
|
367
|
+
# message, and error details. The error code should be an enum value of
|
175
368
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
176
369
|
# error message should be a developer-facing English message that helps
|
177
370
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -307,14 +500,14 @@ module Google
|
|
307
500
|
end
|
308
501
|
end
|
309
502
|
|
310
|
-
# The `Status` type defines a logical error model that is suitable for
|
311
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
312
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
503
|
+
# The `Status` type defines a logical error model that is suitable for
|
504
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
505
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
313
506
|
# - Simple to use and understand for most users
|
314
507
|
# - Flexible enough to meet unexpected needs
|
315
508
|
# # Overview
|
316
|
-
# The `Status` message contains three pieces of data: error code, error
|
317
|
-
# and error details. The error code should be an enum value of
|
509
|
+
# The `Status` message contains three pieces of data: error code, error
|
510
|
+
# message, and error details. The error code should be an enum value of
|
318
511
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
319
512
|
# error message should be a developer-facing English message that helps
|
320
513
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -34,6 +34,24 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class FileShareConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Instance
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class ListInstancesResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
37
55
|
class ListLocationsResponse
|
38
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
57
|
|
@@ -52,6 +70,12 @@ module Google
|
|
52
70
|
include Google::Apis::Core::JsonObjectSupport
|
53
71
|
end
|
54
72
|
|
73
|
+
class NetworkConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
55
79
|
class Operation
|
56
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
81
|
|
@@ -82,6 +106,42 @@ module Google
|
|
82
106
|
end
|
83
107
|
end
|
84
108
|
|
109
|
+
class FileShareConfig
|
110
|
+
# @private
|
111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
+
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
|
113
|
+
property :name, as: 'name'
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
class Instance
|
118
|
+
# @private
|
119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
120
|
+
property :create_time, as: 'createTime'
|
121
|
+
property :description, as: 'description'
|
122
|
+
property :etag, as: 'etag'
|
123
|
+
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1::FileShareConfig, decorator: Google::Apis::FileV1::FileShareConfig::Representation
|
124
|
+
|
125
|
+
hash :labels, as: 'labels'
|
126
|
+
property :name, as: 'name'
|
127
|
+
collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
|
128
|
+
|
129
|
+
property :state, as: 'state'
|
130
|
+
property :status_message, as: 'statusMessage'
|
131
|
+
property :tier, as: 'tier'
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class ListInstancesResponse
|
136
|
+
# @private
|
137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
138
|
+
collection :instances, as: 'instances', class: Google::Apis::FileV1::Instance, decorator: Google::Apis::FileV1::Instance::Representation
|
139
|
+
|
140
|
+
property :next_page_token, as: 'nextPageToken'
|
141
|
+
collection :unreachable, as: 'unreachable'
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
85
145
|
class ListLocationsResponse
|
86
146
|
# @private
|
87
147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -111,6 +171,16 @@ module Google
|
|
111
171
|
end
|
112
172
|
end
|
113
173
|
|
174
|
+
class NetworkConfig
|
175
|
+
# @private
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
177
|
+
collection :ip_addresses, as: 'ipAddresses'
|
178
|
+
collection :modes, as: 'modes'
|
179
|
+
property :network, as: 'network'
|
180
|
+
property :reserved_ip_range, as: 'reservedIpRange'
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
114
184
|
class Operation
|
115
185
|
# @private
|
116
186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -116,6 +116,196 @@ module Google
|
|
116
116
|
execute_or_queue_command(command, &block)
|
117
117
|
end
|
118
118
|
|
119
|
+
# Creates an instance.
|
120
|
+
# @param [String] parent
|
121
|
+
# The instance's project and location, in the format
|
122
|
+
# projects/`project_id`/locations/`location`. In Cloud Filestore,
|
123
|
+
# locations map to GCP zones, for example **us-west1-b**.
|
124
|
+
# @param [Google::Apis::FileV1::Instance] instance_object
|
125
|
+
# @param [String] instance_id
|
126
|
+
# The name of the instance to create.
|
127
|
+
# The name must be unique for the specified project and location.
|
128
|
+
# @param [String] fields
|
129
|
+
# Selector specifying which fields to include in a partial response.
|
130
|
+
# @param [String] quota_user
|
131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
133
|
+
# @param [Google::Apis::RequestOptions] options
|
134
|
+
# Request-specific options
|
135
|
+
#
|
136
|
+
# @yield [result, err] Result & error if block supplied
|
137
|
+
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
138
|
+
# @yieldparam err [StandardError] error object if request failed
|
139
|
+
#
|
140
|
+
# @return [Google::Apis::FileV1::Operation]
|
141
|
+
#
|
142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
|
+
def create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
146
|
+
command = make_simple_command(:post, 'v1/{+parent}/instances', options)
|
147
|
+
command.request_representation = Google::Apis::FileV1::Instance::Representation
|
148
|
+
command.request_object = instance_object
|
149
|
+
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
150
|
+
command.response_class = Google::Apis::FileV1::Operation
|
151
|
+
command.params['parent'] = parent unless parent.nil?
|
152
|
+
command.query['instanceId'] = instance_id unless instance_id.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
|
+
# Deletes an instance.
|
159
|
+
# @param [String] name
|
160
|
+
# The instance resource name, in the format
|
161
|
+
# projects/`project_id`/locations/`location`/instances/`instance_id`
|
162
|
+
# @param [String] fields
|
163
|
+
# Selector specifying which fields to include in a partial response.
|
164
|
+
# @param [String] quota_user
|
165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
167
|
+
# @param [Google::Apis::RequestOptions] options
|
168
|
+
# Request-specific options
|
169
|
+
#
|
170
|
+
# @yield [result, err] Result & error if block supplied
|
171
|
+
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
172
|
+
# @yieldparam err [StandardError] error object if request failed
|
173
|
+
#
|
174
|
+
# @return [Google::Apis::FileV1::Operation]
|
175
|
+
#
|
176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
|
+
def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
181
|
+
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
182
|
+
command.response_class = Google::Apis::FileV1::Operation
|
183
|
+
command.params['name'] = name unless name.nil?
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
+
execute_or_queue_command(command, &block)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Gets the details of a specific instance.
|
190
|
+
# @param [String] name
|
191
|
+
# The instance resource name, in the format
|
192
|
+
# projects/`project_id`/locations/`location`/instances/`instance_id`.
|
193
|
+
# @param [String] fields
|
194
|
+
# Selector specifying which fields to include in a partial response.
|
195
|
+
# @param [String] quota_user
|
196
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
+
# @param [Google::Apis::RequestOptions] options
|
199
|
+
# Request-specific options
|
200
|
+
#
|
201
|
+
# @yield [result, err] Result & error if block supplied
|
202
|
+
# @yieldparam result [Google::Apis::FileV1::Instance] parsed result object
|
203
|
+
# @yieldparam err [StandardError] error object if request failed
|
204
|
+
#
|
205
|
+
# @return [Google::Apis::FileV1::Instance]
|
206
|
+
#
|
207
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
+
def get_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
212
|
+
command.response_representation = Google::Apis::FileV1::Instance::Representation
|
213
|
+
command.response_class = Google::Apis::FileV1::Instance
|
214
|
+
command.params['name'] = name unless name.nil?
|
215
|
+
command.query['fields'] = fields unless fields.nil?
|
216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
217
|
+
execute_or_queue_command(command, &block)
|
218
|
+
end
|
219
|
+
|
220
|
+
# Lists all instances in a project for either a specified location
|
221
|
+
# or for all locations.
|
222
|
+
# @param [String] parent
|
223
|
+
# The project and location for which to retrieve instance information,
|
224
|
+
# in the format projects/`project_id`/locations/`location`. In Cloud
|
225
|
+
# Filestore, locations map to GCP zones, for example **us-west1-b**. To
|
226
|
+
# retrieve instance information for all locations, use "-" for the `location`
|
227
|
+
# value.
|
228
|
+
# @param [String] filter
|
229
|
+
# List filter.
|
230
|
+
# @param [String] order_by
|
231
|
+
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
232
|
+
# @param [Fixnum] page_size
|
233
|
+
# The maximum number of items to return.
|
234
|
+
# @param [String] page_token
|
235
|
+
# The next_page_token value to use if there are additional
|
236
|
+
# results to retrieve for this list request.
|
237
|
+
# @param [String] fields
|
238
|
+
# Selector specifying which fields to include in a partial response.
|
239
|
+
# @param [String] quota_user
|
240
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
241
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
242
|
+
# @param [Google::Apis::RequestOptions] options
|
243
|
+
# Request-specific options
|
244
|
+
#
|
245
|
+
# @yield [result, err] Result & error if block supplied
|
246
|
+
# @yieldparam result [Google::Apis::FileV1::ListInstancesResponse] parsed result object
|
247
|
+
# @yieldparam err [StandardError] error object if request failed
|
248
|
+
#
|
249
|
+
# @return [Google::Apis::FileV1::ListInstancesResponse]
|
250
|
+
#
|
251
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
252
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
253
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
254
|
+
def list_project_location_instances(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
255
|
+
command = make_simple_command(:get, 'v1/{+parent}/instances', options)
|
256
|
+
command.response_representation = Google::Apis::FileV1::ListInstancesResponse::Representation
|
257
|
+
command.response_class = Google::Apis::FileV1::ListInstancesResponse
|
258
|
+
command.params['parent'] = parent unless parent.nil?
|
259
|
+
command.query['filter'] = filter unless filter.nil?
|
260
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
261
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
262
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
263
|
+
command.query['fields'] = fields unless fields.nil?
|
264
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
265
|
+
execute_or_queue_command(command, &block)
|
266
|
+
end
|
267
|
+
|
268
|
+
# Updates the settings of a specific instance.
|
269
|
+
# @param [String] name
|
270
|
+
# Output only.
|
271
|
+
# The resource name of the instance, in the format
|
272
|
+
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
273
|
+
# @param [Google::Apis::FileV1::Instance] instance_object
|
274
|
+
# @param [String] update_mask
|
275
|
+
# Mask of fields to update. At least one path must be supplied in this
|
276
|
+
# field. The elements of the repeated paths field may only include these
|
277
|
+
# fields:
|
278
|
+
# "description"
|
279
|
+
# @param [String] fields
|
280
|
+
# Selector specifying which fields to include in a partial response.
|
281
|
+
# @param [String] quota_user
|
282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
284
|
+
# @param [Google::Apis::RequestOptions] options
|
285
|
+
# Request-specific options
|
286
|
+
#
|
287
|
+
# @yield [result, err] Result & error if block supplied
|
288
|
+
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
289
|
+
# @yieldparam err [StandardError] error object if request failed
|
290
|
+
#
|
291
|
+
# @return [Google::Apis::FileV1::Operation]
|
292
|
+
#
|
293
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
294
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
295
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
296
|
+
def patch_project_location_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
297
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
298
|
+
command.request_representation = Google::Apis::FileV1::Instance::Representation
|
299
|
+
command.request_object = instance_object
|
300
|
+
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
301
|
+
command.response_class = Google::Apis::FileV1::Operation
|
302
|
+
command.params['name'] = name unless name.nil?
|
303
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
304
|
+
command.query['fields'] = fields unless fields.nil?
|
305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
306
|
+
execute_or_queue_command(command, &block)
|
307
|
+
end
|
308
|
+
|
119
309
|
# Starts asynchronous cancellation on a long-running operation. The server
|
120
310
|
# makes a best effort to cancel the operation, but success is not
|
121
311
|
# guaranteed. If the server doesn't support this method, it returns
|