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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 97161a6643d2f7c67c9330e27b3a6989c23a64e6f20a7151097a9769ce9ee882
|
4
|
+
data.tar.gz: 2f38b43591719bf1680495f8b68d9e8670cb76930647b9553121869f59e0f7e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f852b1a25dfb1b13813df083d1e904d42721a8bd24a78b08c20fe7250b6ef4f790eaca3afa5b1ff9d8d988f68f62fcff19770be50674852e051a700d37f3f359
|
7
|
+
data.tar.gz: 84cf49303aaafe5f960b1fce5f87417d35900bc09a11bcefdb0ad04389c8a48ce5ab22867b470188a946ea69642a7ff445f9fbb997bb0d96578fbc97ea1220b6
|
data/.kokoro/build.sh
CHANGED
@@ -13,23 +13,21 @@ env | grep KOKORO
|
|
13
13
|
|
14
14
|
cd github/google-api-ruby-client/
|
15
15
|
|
16
|
-
|
17
|
-
ruby --version
|
16
|
+
versions=($RUBY_VERSIONS)
|
18
17
|
|
19
18
|
# Temporary workaround for a known bundler+docker issue:
|
20
19
|
# https://github.com/bundler/bundler/issues/6154
|
21
20
|
export BUNDLE_GEMFILE=
|
22
21
|
|
23
|
-
RUBY_VERSIONS=("2.3.8" "2.4.5" "2.5.3" "2.6.0")
|
24
|
-
|
25
22
|
# Capture failures
|
26
23
|
EXIT_STATUS=0 # everything passed
|
27
24
|
function set_failed_status {
|
28
25
|
EXIT_STATUS=1
|
29
26
|
}
|
30
27
|
|
31
|
-
for version in "${
|
28
|
+
for version in "${versions[@]}"; do
|
32
29
|
rbenv global "$version"
|
30
|
+
echo "Using Ruby $version"
|
33
31
|
(bundle update && bundle exec rake) || set_failed_status
|
34
32
|
done
|
35
33
|
|
@@ -6,7 +6,7 @@ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
|
6
6
|
# Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/ruby-multi
|
7
7
|
env_vars: {
|
8
8
|
key: "TRAMPOLINE_IMAGE"
|
9
|
-
value: "gcr.io/cloud-devrel-kokoro-resources/
|
9
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/ruby-multi"
|
10
10
|
}
|
11
11
|
|
12
12
|
env_vars: {
|
data/.kokoro/presubmit/linux.cfg
CHANGED
@@ -5,7 +5,7 @@ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
|
5
5
|
# Configure the docker image for kokoro-trampoline.
|
6
6
|
env_vars: {
|
7
7
|
key: "TRAMPOLINE_IMAGE"
|
8
|
-
value: "gcr.io/cloud-devrel-kokoro-resources/
|
8
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/ruby-multi"
|
9
9
|
}
|
10
10
|
|
11
11
|
env_vars: {
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,150 @@
|
|
1
|
+
# 0.28.5
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `accesscontextmanager_v1`
|
4
|
+
* Added `cloudasset_v1`
|
5
|
+
* Added `cloudprivatecatalog_v1beta1`
|
6
|
+
* Added `cloudprivatecatalogproducer_v1beta1`
|
7
|
+
* Added `factchecktools_v1alpha1`
|
8
|
+
* Added `servicenetworking_v1`
|
9
|
+
* Added `videointelligence_v1p3beta1`
|
10
|
+
* Added `websecurityscanner_v1beta`
|
11
|
+
* Updated `accesscontextmanager_v1beta`
|
12
|
+
* Updated `adexchangebuyer2_v2beta1`
|
13
|
+
* Updated `admin_directory_v1`
|
14
|
+
* Updated `alertcenter_v1beta1`
|
15
|
+
* Updated `analyticsreporting_v4`
|
16
|
+
* Updated `androiddeviceprovisioning_v1`
|
17
|
+
* Updated `androidenterprise_v1`
|
18
|
+
* Updated `androidmanagement_v1`
|
19
|
+
* Updated `appengine_v1`
|
20
|
+
* Updated `appengine_v1alpha`
|
21
|
+
* Updated `appengine_v1beta`
|
22
|
+
* Updated `bigquery_v2`
|
23
|
+
* Updated `bigquerydatatransfer_v1`
|
24
|
+
* Updated `bigtableadmin_v2`
|
25
|
+
* Updated `binaryauthorization_v1beta1`
|
26
|
+
* Updated `cloudasset_v1beta1`
|
27
|
+
* Updated `cloudbilling_v1`
|
28
|
+
* Updated `cloudbuild_v1`
|
29
|
+
* Updated `cloudbuild_v1alpha1`
|
30
|
+
* Updated `cloudfunctions_v1`
|
31
|
+
* Updated `cloudfunctions_v1beta2`
|
32
|
+
* Updated `cloudidentity_v1`
|
33
|
+
* Updated `cloudidentity_v1beta1`
|
34
|
+
* Updated `cloudiot_v1`
|
35
|
+
* Updated `cloudkms_v1`
|
36
|
+
* Updated `cloudresourcemanager_v1`
|
37
|
+
* Updated `cloudresourcemanager_v1beta1`
|
38
|
+
* Updated `cloudresourcemanager_v2`
|
39
|
+
* Updated `cloudresourcemanager_v2beta1`
|
40
|
+
* Updated `cloudscheduler_v1beta1`
|
41
|
+
* Updated `cloudsearch_v1`
|
42
|
+
* Updated `cloudshell_v1`
|
43
|
+
* Updated `cloudshell_v1alpha1`
|
44
|
+
* Updated `cloudtasks_v2beta2`
|
45
|
+
* Updated `cloudtasks_v2beta3`
|
46
|
+
* Updated `cloudtrace_v2`
|
47
|
+
* Updated `composer_v1`
|
48
|
+
* Updated `composer_v1beta1`
|
49
|
+
* Updated `compute_alpha`
|
50
|
+
* Updated `compute_beta`
|
51
|
+
* Updated `compute_v1`
|
52
|
+
* Updated `container_v1`
|
53
|
+
* Updated `container_v1beta1`
|
54
|
+
* Updated `containeranalysis_v1alpha1`
|
55
|
+
* Updated `containeranalysis_v1beta1`
|
56
|
+
* Updated `content_v2`
|
57
|
+
* Updated `content_v2_1`
|
58
|
+
* Updated `dataflow_v1b3`
|
59
|
+
* Updated `dataproc_v1`
|
60
|
+
* Updated `dataproc_v1beta2`
|
61
|
+
* Updated `dfareporting_v3_3`
|
62
|
+
* Updated `dialogflow_v2`
|
63
|
+
* Updated `dialogflow_v2beta1`
|
64
|
+
* Updated `dlp_v2`
|
65
|
+
* Updated `dns_v1`
|
66
|
+
* Updated `dns_v1beta2`
|
67
|
+
* Updated `dns_v2beta1`
|
68
|
+
* Updated `docs_v1`
|
69
|
+
* Updated `drive_v2`
|
70
|
+
* Updated `drive_v3`
|
71
|
+
* Updated `file_v1`
|
72
|
+
* Updated `file_v1beta1`
|
73
|
+
* Updated `firebasedynamiclinks_v1`
|
74
|
+
* Updated `firebaserules_v1`
|
75
|
+
* Updated `fitness_v1`
|
76
|
+
* Updated `games_management_v1management`
|
77
|
+
* Updated `games_v1`
|
78
|
+
* Updated `genomics_v1`
|
79
|
+
* Updated `genomics_v1alpha2`
|
80
|
+
* Updated `genomics_v2alpha1`
|
81
|
+
* Updated `groupssettings_v1`
|
82
|
+
* Updated `iam_v1`
|
83
|
+
* Updated `iamcredentials_v1`
|
84
|
+
* Updated `iap_v1`
|
85
|
+
* Updated `iap_v1beta1`
|
86
|
+
* Updated `jobs_v2`
|
87
|
+
* Updated `jobs_v3`
|
88
|
+
* Updated `jobs_v3p1beta1`
|
89
|
+
* Updated `language_v1`
|
90
|
+
* Updated `language_v1beta1`
|
91
|
+
* Updated `language_v1beta2`
|
92
|
+
* Updated `logging_v2`
|
93
|
+
* Updated `logging_v2beta1`
|
94
|
+
* Updated `ml_v1`
|
95
|
+
* Updated `monitoring_v3`
|
96
|
+
* Updated `oauth2_v1`
|
97
|
+
* Updated `oauth2_v2`
|
98
|
+
* Updated `people_v1`
|
99
|
+
* Updated `plus_domains_v1`
|
100
|
+
* Updated `plus_v1`
|
101
|
+
* Updated `poly_v1`
|
102
|
+
* Updated `proximitybeacon_v1beta1`
|
103
|
+
* Updated `pubsub_v1`
|
104
|
+
* Updated `pubsub_v1beta2`
|
105
|
+
* Updated `redis_v1`
|
106
|
+
* Updated `redis_v1beta1`
|
107
|
+
* Updated `remotebuildexecution_v1`
|
108
|
+
* Updated `remotebuildexecution_v1alpha`
|
109
|
+
* Updated `remotebuildexecution_v2`
|
110
|
+
* Updated `reseller_v1`
|
111
|
+
* Updated `runtimeconfig_v1`
|
112
|
+
* Updated `runtimeconfig_v1beta1`
|
113
|
+
* Updated `script_v1`
|
114
|
+
* Updated `serviceconsumermanagement_v1`
|
115
|
+
* Updated `servicecontrol_v1`
|
116
|
+
* Updated `servicemanagement_v1`
|
117
|
+
* Updated `servicenetworking_v1beta`
|
118
|
+
* Updated `serviceusage_v1`
|
119
|
+
* Updated `serviceusage_v1beta1`
|
120
|
+
* Updated `sheets_v4`
|
121
|
+
* Updated `slides_v1`
|
122
|
+
* Updated `sourcerepo_v1`
|
123
|
+
* Updated `spanner_v1`
|
124
|
+
* Updated `speech_v1`
|
125
|
+
* Updated `speech_v1p1beta1`
|
126
|
+
* Updated `sqladmin_v1beta4`
|
127
|
+
* Updated `storage_v1`
|
128
|
+
* Updated `storagetransfer_v1`
|
129
|
+
* Updated `streetviewpublish_v1`
|
130
|
+
* Updated `tagmanager_v1`
|
131
|
+
* Updated `tagmanager_v2`
|
132
|
+
* Updated `tasks_v1`
|
133
|
+
* Updated `testing_v1`
|
134
|
+
* Updated `toolresults_v1beta3`
|
135
|
+
* Updated `tpu_v1`
|
136
|
+
* Updated `tpu_v1alpha1`
|
137
|
+
* Updated `vault_v1`
|
138
|
+
* Updated `videointelligence_v1`
|
139
|
+
* Updated `videointelligence_v1beta2`
|
140
|
+
* Updated `videointelligence_v1p1beta1`
|
141
|
+
* Updated `videointelligence_v1p2beta1`
|
142
|
+
* Updated `vision_v1`
|
143
|
+
* Updated `vision_v1p1beta1`
|
144
|
+
* Updated `vision_v1p2beta1`
|
145
|
+
* Updated `youtube_partner_v1`
|
146
|
+
* Updated `youtubereporting_v1`
|
147
|
+
|
1
148
|
# 0.28.4
|
2
149
|
* Backwards compatible changes:
|
3
150
|
* Added `bigtableadmin_v1`
|
@@ -0,0 +1,34 @@
|
|
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/accesscontextmanager_v1/service.rb'
|
16
|
+
require 'google/apis/accesscontextmanager_v1/classes.rb'
|
17
|
+
require 'google/apis/accesscontextmanager_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Access Context Manager API
|
22
|
+
#
|
23
|
+
# An API for setting attribute based access control to requests to GCP services.
|
24
|
+
#
|
25
|
+
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
26
|
+
module AccesscontextmanagerV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20190307'
|
29
|
+
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,755 @@
|
|
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 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module AccesscontextmanagerV1
|
24
|
+
|
25
|
+
# An `AccessLevel` is a label that can be applied to requests to GCP services,
|
26
|
+
# along with a list of requirements necessary for the label to be applied.
|
27
|
+
class AccessLevel
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# `BasicLevel` is an `AccessLevel` using a set of recommended features.
|
31
|
+
# Corresponds to the JSON property `basic`
|
32
|
+
# @return [Google::Apis::AccesscontextmanagerV1::BasicLevel]
|
33
|
+
attr_accessor :basic
|
34
|
+
|
35
|
+
# Output only. Time the `AccessLevel` was created in UTC.
|
36
|
+
# Corresponds to the JSON property `createTime`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :create_time
|
39
|
+
|
40
|
+
# Description of the `AccessLevel` and its use. Does not affect behavior.
|
41
|
+
# Corresponds to the JSON property `description`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :description
|
44
|
+
|
45
|
+
# Required. Resource name for the Access Level. The `short_name` component
|
46
|
+
# must begin with a letter and only include alphanumeric and '_'. Format:
|
47
|
+
# `accessPolicies/`policy_id`/accessLevels/`short_name``
|
48
|
+
# Corresponds to the JSON property `name`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :name
|
51
|
+
|
52
|
+
# Human readable title. Must be unique within the Policy.
|
53
|
+
# Corresponds to the JSON property `title`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :title
|
56
|
+
|
57
|
+
# Output only. Time the `AccessLevel` was updated in UTC.
|
58
|
+
# Corresponds to the JSON property `updateTime`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :update_time
|
61
|
+
|
62
|
+
def initialize(**args)
|
63
|
+
update!(**args)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Update properties of this object
|
67
|
+
def update!(**args)
|
68
|
+
@basic = args[:basic] if args.key?(:basic)
|
69
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
70
|
+
@description = args[:description] if args.key?(:description)
|
71
|
+
@name = args[:name] if args.key?(:name)
|
72
|
+
@title = args[:title] if args.key?(:title)
|
73
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
78
|
+
# attributes to use GCP services) and `ServicePerimeters` (which define regions
|
79
|
+
# of services able to freely pass data within a perimeter). An access policy is
|
80
|
+
# globally visible within an organization, and the restrictions it specifies
|
81
|
+
# apply to all projects within an organization.
|
82
|
+
class AccessPolicy
|
83
|
+
include Google::Apis::Core::Hashable
|
84
|
+
|
85
|
+
# Output only. Time the `AccessPolicy` was created in UTC.
|
86
|
+
# Corresponds to the JSON property `createTime`
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :create_time
|
89
|
+
|
90
|
+
# Output only. Resource name of the `AccessPolicy`. Format:
|
91
|
+
# `accessPolicies/`policy_id``
|
92
|
+
# Corresponds to the JSON property `name`
|
93
|
+
# @return [String]
|
94
|
+
attr_accessor :name
|
95
|
+
|
96
|
+
# Required. The parent of this `AccessPolicy` in the Cloud Resource
|
97
|
+
# Hierarchy. Currently immutable once created. Format:
|
98
|
+
# `organizations/`organization_id``
|
99
|
+
# Corresponds to the JSON property `parent`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :parent
|
102
|
+
|
103
|
+
# Required. Human readable title. Does not affect behavior.
|
104
|
+
# Corresponds to the JSON property `title`
|
105
|
+
# @return [String]
|
106
|
+
attr_accessor :title
|
107
|
+
|
108
|
+
# Output only. Time the `AccessPolicy` was updated in UTC.
|
109
|
+
# Corresponds to the JSON property `updateTime`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :update_time
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
120
|
+
@name = args[:name] if args.key?(:name)
|
121
|
+
@parent = args[:parent] if args.key?(:parent)
|
122
|
+
@title = args[:title] if args.key?(:title)
|
123
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# `BasicLevel` is an `AccessLevel` using a set of recommended features.
|
128
|
+
class BasicLevel
|
129
|
+
include Google::Apis::Core::Hashable
|
130
|
+
|
131
|
+
# How the `conditions` list should be combined to determine if a request is
|
132
|
+
# granted this `AccessLevel`. If AND is used, each `Condition` in
|
133
|
+
# `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
|
134
|
+
# is used, at least one `Condition` in `conditions` must be satisfied for the
|
135
|
+
# `AccessLevel` to be applied. Default behavior is AND.
|
136
|
+
# Corresponds to the JSON property `combiningFunction`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :combining_function
|
139
|
+
|
140
|
+
# Required. A list of requirements for the `AccessLevel` to be granted.
|
141
|
+
# Corresponds to the JSON property `conditions`
|
142
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::Condition>]
|
143
|
+
attr_accessor :conditions
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@combining_function = args[:combining_function] if args.key?(:combining_function)
|
152
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# The request message for Operations.CancelOperation.
|
157
|
+
class CancelOperationRequest
|
158
|
+
include Google::Apis::Core::Hashable
|
159
|
+
|
160
|
+
def initialize(**args)
|
161
|
+
update!(**args)
|
162
|
+
end
|
163
|
+
|
164
|
+
# Update properties of this object
|
165
|
+
def update!(**args)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# A condition necessary for an `AccessLevel` to be granted. The Condition is an
|
170
|
+
# AND over its fields. So a Condition is true if: 1) the request IP is from one
|
171
|
+
# of the listed subnetworks AND 2) the originating device complies with the
|
172
|
+
# listed device policy AND 3) all listed access levels are granted AND 4) the
|
173
|
+
# request was sent at a time allowed by the DateTimeRestriction.
|
174
|
+
class Condition
|
175
|
+
include Google::Apis::Core::Hashable
|
176
|
+
|
177
|
+
# `DevicePolicy` specifies device specific restrictions necessary to acquire a
|
178
|
+
# given access level. A `DevicePolicy` specifies requirements for requests from
|
179
|
+
# devices to be granted access levels, it does not do any enforcement on the
|
180
|
+
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
181
|
+
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
182
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
183
|
+
# DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
|
184
|
+
# true for requests originating from encrypted Linux desktops and encrypted
|
185
|
+
# Windows desktops.
|
186
|
+
# Corresponds to the JSON property `devicePolicy`
|
187
|
+
# @return [Google::Apis::AccesscontextmanagerV1::DevicePolicy]
|
188
|
+
attr_accessor :device_policy
|
189
|
+
|
190
|
+
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
|
191
|
+
# a CIDR IP address block, the specified IP address portion must be properly
|
192
|
+
# truncated (i.e. all the host bits must be zero) or the input is considered
|
193
|
+
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
|
194
|
+
# not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
|
195
|
+
# "2001:db8::1/32" is not. The originating IP of a request must be in one of
|
196
|
+
# the listed subnets in order for this Condition to be true. If empty, all IP
|
197
|
+
# addresses are allowed.
|
198
|
+
# Corresponds to the JSON property `ipSubnetworks`
|
199
|
+
# @return [Array<String>]
|
200
|
+
attr_accessor :ip_subnetworks
|
201
|
+
|
202
|
+
# The request must be made by one of the provided user or service
|
203
|
+
# accounts. Groups are not supported.
|
204
|
+
# Syntax:
|
205
|
+
# `user:`emailid``
|
206
|
+
# `serviceAccount:`emailid``
|
207
|
+
# If not specified, a request may come from any user.
|
208
|
+
# Corresponds to the JSON property `members`
|
209
|
+
# @return [Array<String>]
|
210
|
+
attr_accessor :members
|
211
|
+
|
212
|
+
# Whether to negate the Condition. If true, the Condition becomes a NAND over
|
213
|
+
# its non-empty fields, each field must be false for the Condition overall to
|
214
|
+
# be satisfied. Defaults to false.
|
215
|
+
# Corresponds to the JSON property `negate`
|
216
|
+
# @return [Boolean]
|
217
|
+
attr_accessor :negate
|
218
|
+
alias_method :negate?, :negate
|
219
|
+
|
220
|
+
# The request must originate from one of the provided countries/regions.
|
221
|
+
# Must be valid ISO 3166-1 alpha-2 codes.
|
222
|
+
# Corresponds to the JSON property `regions`
|
223
|
+
# @return [Array<String>]
|
224
|
+
attr_accessor :regions
|
225
|
+
|
226
|
+
# A list of other access levels defined in the same `Policy`, referenced by
|
227
|
+
# resource name. Referencing an `AccessLevel` which does not exist is an
|
228
|
+
# error. All access levels listed must be granted for the Condition
|
229
|
+
# to be true. Example:
|
230
|
+
# "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
231
|
+
# Corresponds to the JSON property `requiredAccessLevels`
|
232
|
+
# @return [Array<String>]
|
233
|
+
attr_accessor :required_access_levels
|
234
|
+
|
235
|
+
def initialize(**args)
|
236
|
+
update!(**args)
|
237
|
+
end
|
238
|
+
|
239
|
+
# Update properties of this object
|
240
|
+
def update!(**args)
|
241
|
+
@device_policy = args[:device_policy] if args.key?(:device_policy)
|
242
|
+
@ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
|
243
|
+
@members = args[:members] if args.key?(:members)
|
244
|
+
@negate = args[:negate] if args.key?(:negate)
|
245
|
+
@regions = args[:regions] if args.key?(:regions)
|
246
|
+
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# `DevicePolicy` specifies device specific restrictions necessary to acquire a
|
251
|
+
# given access level. A `DevicePolicy` specifies requirements for requests from
|
252
|
+
# devices to be granted access levels, it does not do any enforcement on the
|
253
|
+
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
254
|
+
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
255
|
+
# example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
|
256
|
+
# DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
|
257
|
+
# true for requests originating from encrypted Linux desktops and encrypted
|
258
|
+
# Windows desktops.
|
259
|
+
class DevicePolicy
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Allowed device management levels, an empty list allows all management
|
263
|
+
# levels.
|
264
|
+
# Corresponds to the JSON property `allowedDeviceManagementLevels`
|
265
|
+
# @return [Array<String>]
|
266
|
+
attr_accessor :allowed_device_management_levels
|
267
|
+
|
268
|
+
# Allowed encryptions statuses, an empty list allows all statuses.
|
269
|
+
# Corresponds to the JSON property `allowedEncryptionStatuses`
|
270
|
+
# @return [Array<String>]
|
271
|
+
attr_accessor :allowed_encryption_statuses
|
272
|
+
|
273
|
+
# Allowed OS versions, an empty list allows all types and all versions.
|
274
|
+
# Corresponds to the JSON property `osConstraints`
|
275
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::OsConstraint>]
|
276
|
+
attr_accessor :os_constraints
|
277
|
+
|
278
|
+
# Whether the device needs to be approved by the customer admin.
|
279
|
+
# Corresponds to the JSON property `requireAdminApproval`
|
280
|
+
# @return [Boolean]
|
281
|
+
attr_accessor :require_admin_approval
|
282
|
+
alias_method :require_admin_approval?, :require_admin_approval
|
283
|
+
|
284
|
+
# Whether the device needs to be corp owned.
|
285
|
+
# Corresponds to the JSON property `requireCorpOwned`
|
286
|
+
# @return [Boolean]
|
287
|
+
attr_accessor :require_corp_owned
|
288
|
+
alias_method :require_corp_owned?, :require_corp_owned
|
289
|
+
|
290
|
+
# Whether or not screenlock is required for the DevicePolicy to be true.
|
291
|
+
# Defaults to `false`.
|
292
|
+
# Corresponds to the JSON property `requireScreenlock`
|
293
|
+
# @return [Boolean]
|
294
|
+
attr_accessor :require_screenlock
|
295
|
+
alias_method :require_screenlock?, :require_screenlock
|
296
|
+
|
297
|
+
def initialize(**args)
|
298
|
+
update!(**args)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Update properties of this object
|
302
|
+
def update!(**args)
|
303
|
+
@allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
|
304
|
+
@allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
|
305
|
+
@os_constraints = args[:os_constraints] if args.key?(:os_constraints)
|
306
|
+
@require_admin_approval = args[:require_admin_approval] if args.key?(:require_admin_approval)
|
307
|
+
@require_corp_owned = args[:require_corp_owned] if args.key?(:require_corp_owned)
|
308
|
+
@require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
313
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
314
|
+
# or the response type of an API method. For instance:
|
315
|
+
# service Foo `
|
316
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
317
|
+
# `
|
318
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
319
|
+
class Empty
|
320
|
+
include Google::Apis::Core::Hashable
|
321
|
+
|
322
|
+
def initialize(**args)
|
323
|
+
update!(**args)
|
324
|
+
end
|
325
|
+
|
326
|
+
# Update properties of this object
|
327
|
+
def update!(**args)
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
# A response to `ListAccessLevelsRequest`.
|
332
|
+
class ListAccessLevelsResponse
|
333
|
+
include Google::Apis::Core::Hashable
|
334
|
+
|
335
|
+
# List of the Access Level instances.
|
336
|
+
# Corresponds to the JSON property `accessLevels`
|
337
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::AccessLevel>]
|
338
|
+
attr_accessor :access_levels
|
339
|
+
|
340
|
+
# The pagination token to retrieve the next page of results. If the value is
|
341
|
+
# empty, no further results remain.
|
342
|
+
# Corresponds to the JSON property `nextPageToken`
|
343
|
+
# @return [String]
|
344
|
+
attr_accessor :next_page_token
|
345
|
+
|
346
|
+
def initialize(**args)
|
347
|
+
update!(**args)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Update properties of this object
|
351
|
+
def update!(**args)
|
352
|
+
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
353
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
# A response to `ListAccessPoliciesRequest`.
|
358
|
+
class ListAccessPoliciesResponse
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# List of the AccessPolicy instances.
|
362
|
+
# Corresponds to the JSON property `accessPolicies`
|
363
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::AccessPolicy>]
|
364
|
+
attr_accessor :access_policies
|
365
|
+
|
366
|
+
# The pagination token to retrieve the next page of results. If the value is
|
367
|
+
# empty, no further results remain.
|
368
|
+
# Corresponds to the JSON property `nextPageToken`
|
369
|
+
# @return [String]
|
370
|
+
attr_accessor :next_page_token
|
371
|
+
|
372
|
+
def initialize(**args)
|
373
|
+
update!(**args)
|
374
|
+
end
|
375
|
+
|
376
|
+
# Update properties of this object
|
377
|
+
def update!(**args)
|
378
|
+
@access_policies = args[:access_policies] if args.key?(:access_policies)
|
379
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
# The response message for Operations.ListOperations.
|
384
|
+
class ListOperationsResponse
|
385
|
+
include Google::Apis::Core::Hashable
|
386
|
+
|
387
|
+
# The standard List next-page token.
|
388
|
+
# Corresponds to the JSON property `nextPageToken`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :next_page_token
|
391
|
+
|
392
|
+
# A list of operations that matches the specified filter in the request.
|
393
|
+
# Corresponds to the JSON property `operations`
|
394
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::Operation>]
|
395
|
+
attr_accessor :operations
|
396
|
+
|
397
|
+
def initialize(**args)
|
398
|
+
update!(**args)
|
399
|
+
end
|
400
|
+
|
401
|
+
# Update properties of this object
|
402
|
+
def update!(**args)
|
403
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
404
|
+
@operations = args[:operations] if args.key?(:operations)
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
# A response to `ListServicePerimetersRequest`.
|
409
|
+
class ListServicePerimetersResponse
|
410
|
+
include Google::Apis::Core::Hashable
|
411
|
+
|
412
|
+
# The pagination token to retrieve the next page of results. If the value is
|
413
|
+
# empty, no further results remain.
|
414
|
+
# Corresponds to the JSON property `nextPageToken`
|
415
|
+
# @return [String]
|
416
|
+
attr_accessor :next_page_token
|
417
|
+
|
418
|
+
# List of the Service Perimeter instances.
|
419
|
+
# Corresponds to the JSON property `servicePerimeters`
|
420
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::ServicePerimeter>]
|
421
|
+
attr_accessor :service_perimeters
|
422
|
+
|
423
|
+
def initialize(**args)
|
424
|
+
update!(**args)
|
425
|
+
end
|
426
|
+
|
427
|
+
# Update properties of this object
|
428
|
+
def update!(**args)
|
429
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
430
|
+
@service_perimeters = args[:service_perimeters] if args.key?(:service_perimeters)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
# This resource represents a long-running operation that is the result of a
|
435
|
+
# network API call.
|
436
|
+
class Operation
|
437
|
+
include Google::Apis::Core::Hashable
|
438
|
+
|
439
|
+
# If the value is `false`, it means the operation is still in progress.
|
440
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
441
|
+
# available.
|
442
|
+
# Corresponds to the JSON property `done`
|
443
|
+
# @return [Boolean]
|
444
|
+
attr_accessor :done
|
445
|
+
alias_method :done?, :done
|
446
|
+
|
447
|
+
# The `Status` type defines a logical error model that is suitable for
|
448
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
449
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
450
|
+
# - Simple to use and understand for most users
|
451
|
+
# - Flexible enough to meet unexpected needs
|
452
|
+
# # Overview
|
453
|
+
# The `Status` message contains three pieces of data: error code, error
|
454
|
+
# message, and error details. The error code should be an enum value of
|
455
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
456
|
+
# error message should be a developer-facing English message that helps
|
457
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
458
|
+
# error message is needed, put the localized message in the error details or
|
459
|
+
# localize it in the client. The optional error details may contain arbitrary
|
460
|
+
# information about the error. There is a predefined set of error detail types
|
461
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
462
|
+
# # Language mapping
|
463
|
+
# The `Status` message is the logical representation of the error model, but it
|
464
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
465
|
+
# exposed in different client libraries and different wire protocols, it can be
|
466
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
467
|
+
# in Java, but more likely mapped to some error codes in C.
|
468
|
+
# # Other uses
|
469
|
+
# The error model and the `Status` message can be used in a variety of
|
470
|
+
# environments, either with or without APIs, to provide a
|
471
|
+
# consistent developer experience across different environments.
|
472
|
+
# Example uses of this error model include:
|
473
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
474
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
475
|
+
# errors.
|
476
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
477
|
+
# have a `Status` message for error reporting.
|
478
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
479
|
+
# `Status` message should be used directly inside batch response, one for
|
480
|
+
# each error sub-response.
|
481
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
482
|
+
# results in its response, the status of those operations should be
|
483
|
+
# represented directly using the `Status` message.
|
484
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
485
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
486
|
+
# Corresponds to the JSON property `error`
|
487
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Status]
|
488
|
+
attr_accessor :error
|
489
|
+
|
490
|
+
# Service-specific metadata associated with the operation. It typically
|
491
|
+
# contains progress information and common metadata such as create time.
|
492
|
+
# Some services might not provide such metadata. Any method that returns a
|
493
|
+
# long-running operation should document the metadata type, if any.
|
494
|
+
# Corresponds to the JSON property `metadata`
|
495
|
+
# @return [Hash<String,Object>]
|
496
|
+
attr_accessor :metadata
|
497
|
+
|
498
|
+
# The server-assigned name, which is only unique within the same service that
|
499
|
+
# originally returns it. If you use the default HTTP mapping, the
|
500
|
+
# `name` should have the format of `operations/some/unique/name`.
|
501
|
+
# Corresponds to the JSON property `name`
|
502
|
+
# @return [String]
|
503
|
+
attr_accessor :name
|
504
|
+
|
505
|
+
# The normal response of the operation in case of success. If the original
|
506
|
+
# method returns no data on success, such as `Delete`, the response is
|
507
|
+
# `google.protobuf.Empty`. If the original method is standard
|
508
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
509
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
510
|
+
# is the original method name. For example, if the original method name
|
511
|
+
# is `TakeSnapshot()`, the inferred response type is
|
512
|
+
# `TakeSnapshotResponse`.
|
513
|
+
# Corresponds to the JSON property `response`
|
514
|
+
# @return [Hash<String,Object>]
|
515
|
+
attr_accessor :response
|
516
|
+
|
517
|
+
def initialize(**args)
|
518
|
+
update!(**args)
|
519
|
+
end
|
520
|
+
|
521
|
+
# Update properties of this object
|
522
|
+
def update!(**args)
|
523
|
+
@done = args[:done] if args.key?(:done)
|
524
|
+
@error = args[:error] if args.key?(:error)
|
525
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
526
|
+
@name = args[:name] if args.key?(:name)
|
527
|
+
@response = args[:response] if args.key?(:response)
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
# A restriction on the OS type and version of devices making requests.
|
532
|
+
class OsConstraint
|
533
|
+
include Google::Apis::Core::Hashable
|
534
|
+
|
535
|
+
# The minimum allowed OS version. If not set, any version of this OS
|
536
|
+
# satisfies the constraint. Format: `"major.minor.patch"`.
|
537
|
+
# Examples: `"10.5.301"`, `"9.2.1"`.
|
538
|
+
# Corresponds to the JSON property `minimumVersion`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :minimum_version
|
541
|
+
|
542
|
+
# Required. The allowed OS type.
|
543
|
+
# Corresponds to the JSON property `osType`
|
544
|
+
# @return [String]
|
545
|
+
attr_accessor :os_type
|
546
|
+
|
547
|
+
# Only allows requests from devices with a verified Chrome OS.
|
548
|
+
# Verifications includes requirements that the device is enterprise-managed,
|
549
|
+
# conformant to Dasher domain policies, and the caller has permission to call
|
550
|
+
# the API targeted by the request.
|
551
|
+
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
552
|
+
# @return [Boolean]
|
553
|
+
attr_accessor :require_verified_chrome_os
|
554
|
+
alias_method :require_verified_chrome_os?, :require_verified_chrome_os
|
555
|
+
|
556
|
+
def initialize(**args)
|
557
|
+
update!(**args)
|
558
|
+
end
|
559
|
+
|
560
|
+
# Update properties of this object
|
561
|
+
def update!(**args)
|
562
|
+
@minimum_version = args[:minimum_version] if args.key?(:minimum_version)
|
563
|
+
@os_type = args[:os_type] if args.key?(:os_type)
|
564
|
+
@require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# `ServicePerimeter` describes a set of GCP resources which can freely import
|
569
|
+
# and export data amongst themselves, but not export outside of the
|
570
|
+
# `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
571
|
+
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
572
|
+
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
573
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP
|
574
|
+
# project can only belong to a single regular Service Perimeter. Service
|
575
|
+
# Perimeter Bridges can contain only GCP projects as members, a single GCP
|
576
|
+
# project may belong to multiple Service Perimeter Bridges.
|
577
|
+
class ServicePerimeter
|
578
|
+
include Google::Apis::Core::Hashable
|
579
|
+
|
580
|
+
# Output only. Time the `ServicePerimeter` was created in UTC.
|
581
|
+
# Corresponds to the JSON property `createTime`
|
582
|
+
# @return [String]
|
583
|
+
attr_accessor :create_time
|
584
|
+
|
585
|
+
# Description of the `ServicePerimeter` and its use. Does not affect
|
586
|
+
# behavior.
|
587
|
+
# Corresponds to the JSON property `description`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :description
|
590
|
+
|
591
|
+
# Required. Resource name for the ServicePerimeter. The `short_name`
|
592
|
+
# component must begin with a letter and only include alphanumeric and '_'.
|
593
|
+
# Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
|
594
|
+
# Corresponds to the JSON property `name`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :name
|
597
|
+
|
598
|
+
# Perimeter type indicator. A single project is
|
599
|
+
# allowed to be a member of single regular perimeter, but multiple service
|
600
|
+
# perimeter bridges. A project cannot be a included in a perimeter bridge
|
601
|
+
# without being included in regular perimeter. For perimeter bridges,
|
602
|
+
# the restricted service list as well as access level lists must be
|
603
|
+
# empty.
|
604
|
+
# Corresponds to the JSON property `perimeterType`
|
605
|
+
# @return [String]
|
606
|
+
attr_accessor :perimeter_type
|
607
|
+
|
608
|
+
# `ServicePerimeterConfig` specifies a set of GCP resources that describe
|
609
|
+
# specific Service Perimeter configuration.
|
610
|
+
# Corresponds to the JSON property `status`
|
611
|
+
# @return [Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig]
|
612
|
+
attr_accessor :status
|
613
|
+
|
614
|
+
# Human readable title. Must be unique within the Policy.
|
615
|
+
# Corresponds to the JSON property `title`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :title
|
618
|
+
|
619
|
+
# Output only. Time the `ServicePerimeter` was updated in UTC.
|
620
|
+
# Corresponds to the JSON property `updateTime`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :update_time
|
623
|
+
|
624
|
+
def initialize(**args)
|
625
|
+
update!(**args)
|
626
|
+
end
|
627
|
+
|
628
|
+
# Update properties of this object
|
629
|
+
def update!(**args)
|
630
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
631
|
+
@description = args[:description] if args.key?(:description)
|
632
|
+
@name = args[:name] if args.key?(:name)
|
633
|
+
@perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
|
634
|
+
@status = args[:status] if args.key?(:status)
|
635
|
+
@title = args[:title] if args.key?(:title)
|
636
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
# `ServicePerimeterConfig` specifies a set of GCP resources that describe
|
641
|
+
# specific Service Perimeter configuration.
|
642
|
+
class ServicePerimeterConfig
|
643
|
+
include Google::Apis::Core::Hashable
|
644
|
+
|
645
|
+
# A list of `AccessLevel` resource names that allow resources within the
|
646
|
+
# `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
|
647
|
+
# must be in the same policy as this `ServicePerimeter`. Referencing a
|
648
|
+
# nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
|
649
|
+
# listed, resources within the perimeter can only be accessed via GCP calls
|
650
|
+
# with request origins within the perimeter. Example:
|
651
|
+
# `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
|
652
|
+
# For Service Perimeter Bridge, must be empty.
|
653
|
+
# Corresponds to the JSON property `accessLevels`
|
654
|
+
# @return [Array<String>]
|
655
|
+
attr_accessor :access_levels
|
656
|
+
|
657
|
+
# A list of GCP resources that are inside of the service perimeter.
|
658
|
+
# Currently only projects are allowed. Format: `projects/`project_number``
|
659
|
+
# Corresponds to the JSON property `resources`
|
660
|
+
# @return [Array<String>]
|
661
|
+
attr_accessor :resources
|
662
|
+
|
663
|
+
# GCP services that are subject to the Service Perimeter restrictions. For
|
664
|
+
# example, if `storage.googleapis.com` is specified, access to the storage
|
665
|
+
# buckets inside the perimeter must meet the perimeter's access restrictions.
|
666
|
+
# Corresponds to the JSON property `restrictedServices`
|
667
|
+
# @return [Array<String>]
|
668
|
+
attr_accessor :restricted_services
|
669
|
+
|
670
|
+
def initialize(**args)
|
671
|
+
update!(**args)
|
672
|
+
end
|
673
|
+
|
674
|
+
# Update properties of this object
|
675
|
+
def update!(**args)
|
676
|
+
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
677
|
+
@resources = args[:resources] if args.key?(:resources)
|
678
|
+
@restricted_services = args[:restricted_services] if args.key?(:restricted_services)
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
# The `Status` type defines a logical error model that is suitable for
|
683
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
684
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
685
|
+
# - Simple to use and understand for most users
|
686
|
+
# - Flexible enough to meet unexpected needs
|
687
|
+
# # Overview
|
688
|
+
# The `Status` message contains three pieces of data: error code, error
|
689
|
+
# message, and error details. The error code should be an enum value of
|
690
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
691
|
+
# error message should be a developer-facing English message that helps
|
692
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
693
|
+
# error message is needed, put the localized message in the error details or
|
694
|
+
# localize it in the client. The optional error details may contain arbitrary
|
695
|
+
# information about the error. There is a predefined set of error detail types
|
696
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
697
|
+
# # Language mapping
|
698
|
+
# The `Status` message is the logical representation of the error model, but it
|
699
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
700
|
+
# exposed in different client libraries and different wire protocols, it can be
|
701
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
702
|
+
# in Java, but more likely mapped to some error codes in C.
|
703
|
+
# # Other uses
|
704
|
+
# The error model and the `Status` message can be used in a variety of
|
705
|
+
# environments, either with or without APIs, to provide a
|
706
|
+
# consistent developer experience across different environments.
|
707
|
+
# Example uses of this error model include:
|
708
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
709
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
710
|
+
# errors.
|
711
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
712
|
+
# have a `Status` message for error reporting.
|
713
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
714
|
+
# `Status` message should be used directly inside batch response, one for
|
715
|
+
# each error sub-response.
|
716
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
717
|
+
# results in its response, the status of those operations should be
|
718
|
+
# represented directly using the `Status` message.
|
719
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
720
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
721
|
+
class Status
|
722
|
+
include Google::Apis::Core::Hashable
|
723
|
+
|
724
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
725
|
+
# Corresponds to the JSON property `code`
|
726
|
+
# @return [Fixnum]
|
727
|
+
attr_accessor :code
|
728
|
+
|
729
|
+
# A list of messages that carry the error details. There is a common set of
|
730
|
+
# message types for APIs to use.
|
731
|
+
# Corresponds to the JSON property `details`
|
732
|
+
# @return [Array<Hash<String,Object>>]
|
733
|
+
attr_accessor :details
|
734
|
+
|
735
|
+
# A developer-facing error message, which should be in English. Any
|
736
|
+
# user-facing error message should be localized and sent in the
|
737
|
+
# google.rpc.Status.details field, or localized by the client.
|
738
|
+
# Corresponds to the JSON property `message`
|
739
|
+
# @return [String]
|
740
|
+
attr_accessor :message
|
741
|
+
|
742
|
+
def initialize(**args)
|
743
|
+
update!(**args)
|
744
|
+
end
|
745
|
+
|
746
|
+
# Update properties of this object
|
747
|
+
def update!(**args)
|
748
|
+
@code = args[:code] if args.key?(:code)
|
749
|
+
@details = args[:details] if args.key?(:details)
|
750
|
+
@message = args[:message] if args.key?(:message)
|
751
|
+
end
|
752
|
+
end
|
753
|
+
end
|
754
|
+
end
|
755
|
+
end
|