google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -0,0 +1,4928 @@
|
|
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 ApigeeV1
|
24
|
+
|
25
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
26
|
+
# payload formats that can't be represented as JSON, such as raw binary or
|
27
|
+
# an HTML page.
|
28
|
+
# This message can be used both in streaming and non-streaming API methods in
|
29
|
+
# the request as well as the response.
|
30
|
+
# It can be used as a top-level request field, which is convenient if one
|
31
|
+
# wants to extract parameters from either the URL or HTTP template into the
|
32
|
+
# request fields and also want access to the raw HTTP body.
|
33
|
+
# Example:
|
34
|
+
# message GetResourceRequest `
|
35
|
+
# // A unique request id.
|
36
|
+
# string request_id = 1;
|
37
|
+
# // The raw HTTP body is bound to this field.
|
38
|
+
# google.api.HttpBody http_body = 2;
|
39
|
+
# `
|
40
|
+
# service ResourceService `
|
41
|
+
# rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
|
42
|
+
# rpc UpdateResource(google.api.HttpBody) returns
|
43
|
+
# (google.protobuf.Empty);
|
44
|
+
# `
|
45
|
+
# Example with streaming methods:
|
46
|
+
# service CaldavService `
|
47
|
+
# rpc GetCalendar(stream google.api.HttpBody)
|
48
|
+
# returns (stream google.api.HttpBody);
|
49
|
+
# rpc UpdateCalendar(stream google.api.HttpBody)
|
50
|
+
# returns (stream google.api.HttpBody);
|
51
|
+
# `
|
52
|
+
# Use of this type only changes how the request and response bodies are
|
53
|
+
# handled, all other features will continue to work unchanged.
|
54
|
+
class GoogleApiHttpBody
|
55
|
+
include Google::Apis::Core::Hashable
|
56
|
+
|
57
|
+
# The HTTP Content-Type header value specifying the content type of the body.
|
58
|
+
# Corresponds to the JSON property `contentType`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :content_type
|
61
|
+
|
62
|
+
# The HTTP request/response body as raw binary.
|
63
|
+
# Corresponds to the JSON property `data`
|
64
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :data
|
67
|
+
|
68
|
+
# Application specific response metadata. Must be set in the first response
|
69
|
+
# for streaming APIs.
|
70
|
+
# Corresponds to the JSON property `extensions`
|
71
|
+
# @return [Array<Hash<String,Object>>]
|
72
|
+
attr_accessor :extensions
|
73
|
+
|
74
|
+
def initialize(**args)
|
75
|
+
update!(**args)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Update properties of this object
|
79
|
+
def update!(**args)
|
80
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
81
|
+
@data = args[:data] if args.key?(:data)
|
82
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
#
|
87
|
+
class GoogleCloudApigeeV1Access
|
88
|
+
include Google::Apis::Core::Hashable
|
89
|
+
|
90
|
+
# Get action. For example,
|
91
|
+
# "Get" : `
|
92
|
+
# "name" : "target.name",
|
93
|
+
# "value" : "default"
|
94
|
+
# `
|
95
|
+
# Corresponds to the JSON property `Get`
|
96
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessGet]
|
97
|
+
attr_accessor :get
|
98
|
+
|
99
|
+
# Remove action. For example,
|
100
|
+
# "Remove" : `
|
101
|
+
# "name" : "target.name",
|
102
|
+
# "success" : true
|
103
|
+
# `
|
104
|
+
# Corresponds to the JSON property `Remove`
|
105
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove]
|
106
|
+
attr_accessor :remove
|
107
|
+
|
108
|
+
# Set action. For example,
|
109
|
+
# "Set" : `
|
110
|
+
# "name" : "target.name",
|
111
|
+
# "success" : true,
|
112
|
+
# "value" : "default"
|
113
|
+
# `
|
114
|
+
# Corresponds to the JSON property `Set`
|
115
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet]
|
116
|
+
attr_accessor :set
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@get = args[:get] if args.key?(:get)
|
125
|
+
@remove = args[:remove] if args.key?(:remove)
|
126
|
+
@set = args[:set] if args.key?(:set)
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# Get action. For example,
|
131
|
+
# "Get" : `
|
132
|
+
# "name" : "target.name",
|
133
|
+
# "value" : "default"
|
134
|
+
# `
|
135
|
+
class GoogleCloudApigeeV1AccessGet
|
136
|
+
include Google::Apis::Core::Hashable
|
137
|
+
|
138
|
+
#
|
139
|
+
# Corresponds to the JSON property `name`
|
140
|
+
# @return [String]
|
141
|
+
attr_accessor :name
|
142
|
+
|
143
|
+
#
|
144
|
+
# Corresponds to the JSON property `value`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :value
|
147
|
+
|
148
|
+
def initialize(**args)
|
149
|
+
update!(**args)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Update properties of this object
|
153
|
+
def update!(**args)
|
154
|
+
@name = args[:name] if args.key?(:name)
|
155
|
+
@value = args[:value] if args.key?(:value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Remove action. For example,
|
160
|
+
# "Remove" : `
|
161
|
+
# "name" : "target.name",
|
162
|
+
# "success" : true
|
163
|
+
# `
|
164
|
+
class GoogleCloudApigeeV1AccessRemove
|
165
|
+
include Google::Apis::Core::Hashable
|
166
|
+
|
167
|
+
#
|
168
|
+
# Corresponds to the JSON property `name`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :name
|
171
|
+
|
172
|
+
#
|
173
|
+
# Corresponds to the JSON property `success`
|
174
|
+
# @return [Boolean]
|
175
|
+
attr_accessor :success
|
176
|
+
alias_method :success?, :success
|
177
|
+
|
178
|
+
def initialize(**args)
|
179
|
+
update!(**args)
|
180
|
+
end
|
181
|
+
|
182
|
+
# Update properties of this object
|
183
|
+
def update!(**args)
|
184
|
+
@name = args[:name] if args.key?(:name)
|
185
|
+
@success = args[:success] if args.key?(:success)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
# Set action. For example,
|
190
|
+
# "Set" : `
|
191
|
+
# "name" : "target.name",
|
192
|
+
# "success" : true,
|
193
|
+
# "value" : "default"
|
194
|
+
# `
|
195
|
+
class GoogleCloudApigeeV1AccessSet
|
196
|
+
include Google::Apis::Core::Hashable
|
197
|
+
|
198
|
+
#
|
199
|
+
# Corresponds to the JSON property `name`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :name
|
202
|
+
|
203
|
+
#
|
204
|
+
# Corresponds to the JSON property `success`
|
205
|
+
# @return [Boolean]
|
206
|
+
attr_accessor :success
|
207
|
+
alias_method :success?, :success
|
208
|
+
|
209
|
+
#
|
210
|
+
# Corresponds to the JSON property `value`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :value
|
213
|
+
|
214
|
+
def initialize(**args)
|
215
|
+
update!(**args)
|
216
|
+
end
|
217
|
+
|
218
|
+
# Update properties of this object
|
219
|
+
def update!(**args)
|
220
|
+
@name = args[:name] if args.key?(:name)
|
221
|
+
@success = args[:success] if args.key?(:success)
|
222
|
+
@value = args[:value] if args.key?(:value)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# A reference to a certificate or key, certificate pair.
|
227
|
+
class GoogleCloudApigeeV1Alias
|
228
|
+
include Google::Apis::Core::Hashable
|
229
|
+
|
230
|
+
# The resource ID for this alias. Values must match regular expression
|
231
|
+
# `[^/]`1,255``.
|
232
|
+
# Corresponds to the JSON property `alias`
|
233
|
+
# @return [String]
|
234
|
+
attr_accessor :alias
|
235
|
+
|
236
|
+
# The chain of certificates under this alias.
|
237
|
+
# Corresponds to the JSON property `certsInfo`
|
238
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Certificate]
|
239
|
+
attr_accessor :certs_info
|
240
|
+
|
241
|
+
# The type of alias.
|
242
|
+
# Corresponds to the JSON property `type`
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :type
|
245
|
+
|
246
|
+
def initialize(**args)
|
247
|
+
update!(**args)
|
248
|
+
end
|
249
|
+
|
250
|
+
# Update properties of this object
|
251
|
+
def update!(**args)
|
252
|
+
@alias = args[:alias] if args.key?(:alias)
|
253
|
+
@certs_info = args[:certs_info] if args.key?(:certs_info)
|
254
|
+
@type = args[:type] if args.key?(:type)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
#
|
259
|
+
class GoogleCloudApigeeV1AliasRevisionConfig
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# The location of the alias file, e.g. a GCS URI.
|
263
|
+
# Corresponds to the JSON property `location`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :location
|
266
|
+
|
267
|
+
# The name of the alias revision included in the keystore. Must be of the
|
268
|
+
# form:
|
269
|
+
# 'organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias`/
|
270
|
+
# revisions/`rev`'.
|
271
|
+
# Corresponds to the JSON property `name`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :name
|
274
|
+
|
275
|
+
#
|
276
|
+
# Corresponds to the JSON property `type`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :type
|
279
|
+
|
280
|
+
def initialize(**args)
|
281
|
+
update!(**args)
|
282
|
+
end
|
283
|
+
|
284
|
+
# Update properties of this object
|
285
|
+
def update!(**args)
|
286
|
+
@location = args[:location] if args.key?(:location)
|
287
|
+
@name = args[:name] if args.key?(:name)
|
288
|
+
@type = args[:type] if args.key?(:type)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
#
|
293
|
+
class GoogleCloudApigeeV1ApiProduct
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
# Comma-separated list of API resources to be bundled in the API Product.
|
297
|
+
# By default, the resource paths are mapped from the `proxy.pathsuffix`
|
298
|
+
# variable.
|
299
|
+
# The proxy path suffix is defined as the URI fragment following the
|
300
|
+
# ProxyEndpoint base path.
|
301
|
+
# For example, if the `apiResources` element is defined to be
|
302
|
+
# `/forecastrss` and the base path defined for the API proxy is
|
303
|
+
# `/weather`, then only requests to `/weather/forecastrss` are permitted by
|
304
|
+
# the API product.
|
305
|
+
# You can select a specific path, or you can select all subpaths with the
|
306
|
+
# following wildcard:
|
307
|
+
# - /**: Indicates that all sub-URIs are included.
|
308
|
+
# - /* : Indicates that only URIs one level down are included.
|
309
|
+
# By default, / supports the same resources as /** as well as the base path
|
310
|
+
# defined by the API proxy.
|
311
|
+
# For example, if the base path of the API proxy is `/v1/weatherapikey`,
|
312
|
+
# then the API product supports requests to `/v1/weatherapikey` and to any
|
313
|
+
# sub-URIs, such as `/v1/weatherapikey/forecastrss`,
|
314
|
+
# `/v1/weatherapikey/region/CA`, and so on.
|
315
|
+
# For more information, see:
|
316
|
+
# - <a href="/api-platform/publish/create-api-products">Manage API
|
317
|
+
# products</a>
|
318
|
+
# - <a
|
319
|
+
# href="/api-platform/monetization/create-transaction-recording-policy#
|
320
|
+
# spectrpcaapi">Managing
|
321
|
+
# a transaction recording policy using the API</a>
|
322
|
+
# Corresponds to the JSON property `apiResources`
|
323
|
+
# @return [Array<String>]
|
324
|
+
attr_accessor :api_resources
|
325
|
+
|
326
|
+
# Specifies how API keys are approved to access the APIs defined by the API
|
327
|
+
# product.
|
328
|
+
# If set to `manual`, the consumer key is generated and returned in "pending"
|
329
|
+
# state. In this case, the API keys won't work until they have been
|
330
|
+
# explicitly approved.
|
331
|
+
# If set to `auto`, the consumer key is generated and returned in "approved"
|
332
|
+
# state and can be used immediately.
|
333
|
+
# <aside class="note"><strong>NOTE:</strong> Typically, `auto` is used
|
334
|
+
# to provide access to free or trial API products that provide limited quota
|
335
|
+
# or capabilities.</aside>
|
336
|
+
# Corresponds to the JSON property `approvalType`
|
337
|
+
# @return [String]
|
338
|
+
attr_accessor :approval_type
|
339
|
+
|
340
|
+
# Array of attributes that may be used to extend the default API product
|
341
|
+
# profile with customer-specific metadata. You can specify a maximum of 18
|
342
|
+
# attributes.
|
343
|
+
# Use this property to specify the access level of the API product as either
|
344
|
+
# `public`, `private`, or `internal`.
|
345
|
+
# Only products marked `public` are available to developers in the Apigee
|
346
|
+
# developer portal. For example, you can set a product to `internal` while it
|
347
|
+
# is in development and then change access to `public` when it is ready to
|
348
|
+
# release on the portal.
|
349
|
+
# API products marked as `private` do not appear on the portal but
|
350
|
+
# can be accessed by external developers.
|
351
|
+
# For monetization, you can use the attributes field to:
|
352
|
+
# - <a
|
353
|
+
# href="/api-platform/monetization/create-transaction-recording-policy#
|
354
|
+
# spectrpsuccessapi"
|
355
|
+
# target="_blank">Specify transaction success criteria</a>
|
356
|
+
# - <a
|
357
|
+
# href="/api-platform/monetization/create-transaction-recording-policy#
|
358
|
+
# spectrpcaapi"
|
359
|
+
# target="_blank">Specify custom attributes</a> on which you base rate plan
|
360
|
+
# charges</a>.
|
361
|
+
# Corresponds to the JSON property `attributes`
|
362
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
363
|
+
attr_accessor :attributes
|
364
|
+
|
365
|
+
# Response only. Creation time of this environment as milliseconds since
|
366
|
+
# epoch.
|
367
|
+
# Corresponds to the JSON property `createdAt`
|
368
|
+
# @return [Fixnum]
|
369
|
+
attr_accessor :created_at
|
370
|
+
|
371
|
+
# An overview of the API product. Include key information about the API
|
372
|
+
# product that is not captured by other fields.
|
373
|
+
# Corresponds to the JSON property `description`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :description
|
376
|
+
|
377
|
+
# The name to be displayed in the UI or developer portal to developers
|
378
|
+
# registering for API access.
|
379
|
+
# Corresponds to the JSON property `displayName`
|
380
|
+
# @return [String]
|
381
|
+
attr_accessor :display_name
|
382
|
+
|
383
|
+
# A comma-separated list of environment names to which the API product is
|
384
|
+
# bound. Requests to environments that are not listed are rejected.
|
385
|
+
# By specifying one or more environments, you can bind the resources listed
|
386
|
+
# in the API product to a specific environment, preventing developers from
|
387
|
+
# accessing those resources through API proxies deployed in another
|
388
|
+
# environment.
|
389
|
+
# This setting is used, for example, to prevent resources associated with
|
390
|
+
# API proxies in 'prod' from being accessed by API proxies deployed in
|
391
|
+
# 'test'.
|
392
|
+
# Corresponds to the JSON property `environments`
|
393
|
+
# @return [Array<String>]
|
394
|
+
attr_accessor :environments
|
395
|
+
|
396
|
+
# Response only. Modified time of this environment as milliseconds since
|
397
|
+
# epoch.
|
398
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
399
|
+
# @return [Fixnum]
|
400
|
+
attr_accessor :last_modified_at
|
401
|
+
|
402
|
+
# The internal name of the API Product. Characters you can use in the name
|
403
|
+
# are restricted to: A-Z0-9._\-$ %.
|
404
|
+
# <aside class="note"><strong>NOTE:</strong> The internal name cannot be
|
405
|
+
# edited when updating the API product.</aside>
|
406
|
+
# Corresponds to the JSON property `name`
|
407
|
+
# @return [String]
|
408
|
+
attr_accessor :name
|
409
|
+
|
410
|
+
# A comma-separated list of API proxy names to which this API product is
|
411
|
+
# bound. By specifying API proxies, you can associate resources in the API
|
412
|
+
# product with specific API proxies, preventing developers from accessing
|
413
|
+
# those resources through other API proxies.
|
414
|
+
# Edge rejects requests to API proxies that are not listed.
|
415
|
+
# <aside class="note"><strong>NOTE:</strong> The API proxy names must already
|
416
|
+
# exist in the specified environment as they will be validated upon
|
417
|
+
# creation.</aside>
|
418
|
+
# Corresponds to the JSON property `proxies`
|
419
|
+
# @return [Array<String>]
|
420
|
+
attr_accessor :proxies
|
421
|
+
|
422
|
+
# The number of request messages permitted per app by this API product for
|
423
|
+
# the specified `quotaInterval` and `quotaTimeUnit`.
|
424
|
+
# For example, a `quota` of 50, for a `quotaInterval` of 12 and a
|
425
|
+
# `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
|
426
|
+
# Corresponds to the JSON property `quota`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :quota
|
429
|
+
|
430
|
+
# The time interval over which the number of request messages is calculated.
|
431
|
+
# Corresponds to the JSON property `quotaInterval`
|
432
|
+
# @return [String]
|
433
|
+
attr_accessor :quota_interval
|
434
|
+
|
435
|
+
# The time unit defined for the `quotaInterval`. Valid values include minute,
|
436
|
+
# hour, day, or month.
|
437
|
+
# Corresponds to the JSON property `quotaTimeUnit`
|
438
|
+
# @return [String]
|
439
|
+
attr_accessor :quota_time_unit
|
440
|
+
|
441
|
+
# A comma-separated list of OAuth scopes that are validated at runtime.
|
442
|
+
# Edge validates that the scopes in any access token presented match the
|
443
|
+
# scopes defined in the OAuth policy assoicated with the API product.
|
444
|
+
# Corresponds to the JSON property `scopes`
|
445
|
+
# @return [Array<String>]
|
446
|
+
attr_accessor :scopes
|
447
|
+
|
448
|
+
def initialize(**args)
|
449
|
+
update!(**args)
|
450
|
+
end
|
451
|
+
|
452
|
+
# Update properties of this object
|
453
|
+
def update!(**args)
|
454
|
+
@api_resources = args[:api_resources] if args.key?(:api_resources)
|
455
|
+
@approval_type = args[:approval_type] if args.key?(:approval_type)
|
456
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
457
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
458
|
+
@description = args[:description] if args.key?(:description)
|
459
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
460
|
+
@environments = args[:environments] if args.key?(:environments)
|
461
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
462
|
+
@name = args[:name] if args.key?(:name)
|
463
|
+
@proxies = args[:proxies] if args.key?(:proxies)
|
464
|
+
@quota = args[:quota] if args.key?(:quota)
|
465
|
+
@quota_interval = args[:quota_interval] if args.key?(:quota_interval)
|
466
|
+
@quota_time_unit = args[:quota_time_unit] if args.key?(:quota_time_unit)
|
467
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
#
|
472
|
+
class GoogleCloudApigeeV1ApiProductRef
|
473
|
+
include Google::Apis::Core::Hashable
|
474
|
+
|
475
|
+
# Name of the API product.
|
476
|
+
# Corresponds to the JSON property `apiproduct`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :apiproduct
|
479
|
+
|
480
|
+
# Status of the API product.
|
481
|
+
# Corresponds to the JSON property `status`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :status
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@apiproduct = args[:apiproduct] if args.key?(:apiproduct)
|
492
|
+
@status = args[:status] if args.key?(:status)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# Metadata describing the API proxy
|
497
|
+
class GoogleCloudApigeeV1ApiProxy
|
498
|
+
include Google::Apis::Core::Hashable
|
499
|
+
|
500
|
+
# The id of the most recently created revision for this api proxy.
|
501
|
+
# Corresponds to the JSON property `latestRevisionId`
|
502
|
+
# @return [String]
|
503
|
+
attr_accessor :latest_revision_id
|
504
|
+
|
505
|
+
# Metadata common to many entities in this API.
|
506
|
+
# Corresponds to the JSON property `metaData`
|
507
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata]
|
508
|
+
attr_accessor :meta_data
|
509
|
+
|
510
|
+
# Name of the API proxy.
|
511
|
+
# Corresponds to the JSON property `name`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :name
|
514
|
+
|
515
|
+
# List of revisons defined for the API proxy.
|
516
|
+
# Corresponds to the JSON property `revision`
|
517
|
+
# @return [Array<String>]
|
518
|
+
attr_accessor :revision
|
519
|
+
|
520
|
+
def initialize(**args)
|
521
|
+
update!(**args)
|
522
|
+
end
|
523
|
+
|
524
|
+
# Update properties of this object
|
525
|
+
def update!(**args)
|
526
|
+
@latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
|
527
|
+
@meta_data = args[:meta_data] if args.key?(:meta_data)
|
528
|
+
@name = args[:name] if args.key?(:name)
|
529
|
+
@revision = args[:revision] if args.key?(:revision)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# API proxy revision.
|
534
|
+
class GoogleCloudApigeeV1ApiProxyRevision
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# Base URL of the API proxy.
|
538
|
+
# Corresponds to the JSON property `basepaths`
|
539
|
+
# @return [Array<String>]
|
540
|
+
attr_accessor :basepaths
|
541
|
+
|
542
|
+
# Version of the API proxy configuration schema. Currently, only 4.0 is
|
543
|
+
# supported.
|
544
|
+
# Corresponds to the JSON property `configurationVersion`
|
545
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion]
|
546
|
+
attr_accessor :configuration_version
|
547
|
+
|
548
|
+
# Revision number, app name, and organization for the API proxy.
|
549
|
+
# Corresponds to the JSON property `contextInfo`
|
550
|
+
# @return [String]
|
551
|
+
attr_accessor :context_info
|
552
|
+
|
553
|
+
# Time that the API proxy revision was created in milliseconds since
|
554
|
+
# epoch.
|
555
|
+
# Corresponds to the JSON property `createdAt`
|
556
|
+
# @return [Fixnum]
|
557
|
+
attr_accessor :created_at
|
558
|
+
|
559
|
+
# Description of the API proxy revision.
|
560
|
+
# Corresponds to the JSON property `description`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :description
|
563
|
+
|
564
|
+
# Human-readable name of the API proxy.
|
565
|
+
# Corresponds to the JSON property `displayName`
|
566
|
+
# @return [String]
|
567
|
+
attr_accessor :display_name
|
568
|
+
|
569
|
+
# Metadata describing the API proxy revision as a key-value map.
|
570
|
+
# Corresponds to the JSON property `entityMetaDataAsProperties`
|
571
|
+
# @return [Hash<String,String>]
|
572
|
+
attr_accessor :entity_meta_data_as_properties
|
573
|
+
|
574
|
+
# Time that the API proxy revision was last modified in
|
575
|
+
# milliseconds since epoch.
|
576
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
577
|
+
# @return [Fixnum]
|
578
|
+
attr_accessor :last_modified_at
|
579
|
+
|
580
|
+
# Name of the API proxy.
|
581
|
+
# Corresponds to the JSON property `name`
|
582
|
+
# @return [String]
|
583
|
+
attr_accessor :name
|
584
|
+
|
585
|
+
# List of policy names included in the API proxy revision..
|
586
|
+
# Corresponds to the JSON property `policies`
|
587
|
+
# @return [Array<String>]
|
588
|
+
attr_accessor :policies
|
589
|
+
|
590
|
+
# List of proxy names included in the API proxy revision.
|
591
|
+
# Corresponds to the JSON property `proxies`
|
592
|
+
# @return [Array<String>]
|
593
|
+
attr_accessor :proxies
|
594
|
+
|
595
|
+
# List of ProxyEndpoints in the `/proxies` directory of the API proxy.
|
596
|
+
# Typically, this element is included only when the API proxy was created
|
597
|
+
# using the Edge UI. This is a 'manifest' setting designed to
|
598
|
+
# provide visibility into the contents of the API proxy.
|
599
|
+
# Corresponds to the JSON property `proxyEndpoints`
|
600
|
+
# @return [Array<String>]
|
601
|
+
attr_accessor :proxy_endpoints
|
602
|
+
|
603
|
+
# List of resource files.
|
604
|
+
# Corresponds to the JSON property `resourceFiles`
|
605
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFiles]
|
606
|
+
attr_accessor :resource_files
|
607
|
+
|
608
|
+
# List of the resources included in the API proxy revision formatted as
|
609
|
+
# "`type`://`name`".
|
610
|
+
# Corresponds to the JSON property `resources`
|
611
|
+
# @return [Array<String>]
|
612
|
+
attr_accessor :resources
|
613
|
+
|
614
|
+
# API proxy revision.
|
615
|
+
# Corresponds to the JSON property `revision`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :revision
|
618
|
+
|
619
|
+
# List of the shared flows included in the API proxy revision.
|
620
|
+
# Corresponds to the JSON property `sharedFlows`
|
621
|
+
# @return [Array<String>]
|
622
|
+
attr_accessor :shared_flows
|
623
|
+
|
624
|
+
# OpenAPI Specification that is associated with the API proxy.
|
625
|
+
# The value is set to a URL or to a path in the specification store.
|
626
|
+
# Corresponds to the JSON property `spec`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :spec
|
629
|
+
|
630
|
+
# List of TargetEndpoints in the `/targets` directory of the API proxy.
|
631
|
+
# Typically, this element is included only when the API proxy was created
|
632
|
+
# using the Edge UI. This is a 'manifest' setting designed to
|
633
|
+
# provide visibility into the contents of the API proxy.
|
634
|
+
# Corresponds to the JSON property `targetEndpoints`
|
635
|
+
# @return [Array<String>]
|
636
|
+
attr_accessor :target_endpoints
|
637
|
+
|
638
|
+
# List of TargetServers referenced in any TargetEndpoint in the API
|
639
|
+
# proxy. Typically, you will see this element only when the API proxy was
|
640
|
+
# created using the Edge UI. This is a 'manifest' setting
|
641
|
+
# designed to provide visibility into the contents of the API proxy.
|
642
|
+
# Corresponds to the JSON property `targetServers`
|
643
|
+
# @return [Array<String>]
|
644
|
+
attr_accessor :target_servers
|
645
|
+
|
646
|
+
# List of the targets included in the API proxy revision.
|
647
|
+
# Corresponds to the JSON property `targets`
|
648
|
+
# @return [Array<String>]
|
649
|
+
attr_accessor :targets
|
650
|
+
|
651
|
+
# List of the teams included in the API proxy revision.
|
652
|
+
# Corresponds to the JSON property `teams`
|
653
|
+
# @return [Array<String>]
|
654
|
+
attr_accessor :teams
|
655
|
+
|
656
|
+
# Type. Set to `Application`. Maintained for compatibility with
|
657
|
+
# the Apigee Edge API.
|
658
|
+
# Corresponds to the JSON property `type`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :type
|
661
|
+
|
662
|
+
def initialize(**args)
|
663
|
+
update!(**args)
|
664
|
+
end
|
665
|
+
|
666
|
+
# Update properties of this object
|
667
|
+
def update!(**args)
|
668
|
+
@basepaths = args[:basepaths] if args.key?(:basepaths)
|
669
|
+
@configuration_version = args[:configuration_version] if args.key?(:configuration_version)
|
670
|
+
@context_info = args[:context_info] if args.key?(:context_info)
|
671
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
672
|
+
@description = args[:description] if args.key?(:description)
|
673
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
674
|
+
@entity_meta_data_as_properties = args[:entity_meta_data_as_properties] if args.key?(:entity_meta_data_as_properties)
|
675
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
676
|
+
@name = args[:name] if args.key?(:name)
|
677
|
+
@policies = args[:policies] if args.key?(:policies)
|
678
|
+
@proxies = args[:proxies] if args.key?(:proxies)
|
679
|
+
@proxy_endpoints = args[:proxy_endpoints] if args.key?(:proxy_endpoints)
|
680
|
+
@resource_files = args[:resource_files] if args.key?(:resource_files)
|
681
|
+
@resources = args[:resources] if args.key?(:resources)
|
682
|
+
@revision = args[:revision] if args.key?(:revision)
|
683
|
+
@shared_flows = args[:shared_flows] if args.key?(:shared_flows)
|
684
|
+
@spec = args[:spec] if args.key?(:spec)
|
685
|
+
@target_endpoints = args[:target_endpoints] if args.key?(:target_endpoints)
|
686
|
+
@target_servers = args[:target_servers] if args.key?(:target_servers)
|
687
|
+
@targets = args[:targets] if args.key?(:targets)
|
688
|
+
@teams = args[:teams] if args.key?(:teams)
|
689
|
+
@type = args[:type] if args.key?(:type)
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
#
|
694
|
+
class GoogleCloudApigeeV1App
|
695
|
+
include Google::Apis::Core::Hashable
|
696
|
+
|
697
|
+
# List of API products associated with the app.
|
698
|
+
# Corresponds to the JSON property `apiProducts`
|
699
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductRef>]
|
700
|
+
attr_accessor :api_products
|
701
|
+
|
702
|
+
# ID of the app.
|
703
|
+
# Corresponds to the JSON property `appId`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :app_id
|
706
|
+
|
707
|
+
# List of attributes.
|
708
|
+
# Corresponds to the JSON property `attributes`
|
709
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
710
|
+
attr_accessor :attributes
|
711
|
+
|
712
|
+
# Callback URL used by OAuth 2.0 authorization servers to communicate
|
713
|
+
# authorization codes back to apps.
|
714
|
+
# Corresponds to the JSON property `callbackUrl`
|
715
|
+
# @return [String]
|
716
|
+
attr_accessor :callback_url
|
717
|
+
|
718
|
+
# Name of the company that owns the app.
|
719
|
+
# Corresponds to the JSON property `companyName`
|
720
|
+
# @return [String]
|
721
|
+
attr_accessor :company_name
|
722
|
+
|
723
|
+
# Output only. Unix time when the app was created.
|
724
|
+
# Corresponds to the JSON property `createdAt`
|
725
|
+
# @return [Fixnum]
|
726
|
+
attr_accessor :created_at
|
727
|
+
|
728
|
+
# Output only. Set of credentials for the app. Credentials are API
|
729
|
+
# key/secret pairs associated with API products.
|
730
|
+
# Corresponds to the JSON property `credentials`
|
731
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential>]
|
732
|
+
attr_accessor :credentials
|
733
|
+
|
734
|
+
# ID of the developer.
|
735
|
+
# Corresponds to the JSON property `developerId`
|
736
|
+
# @return [String]
|
737
|
+
attr_accessor :developer_id
|
738
|
+
|
739
|
+
# Duration, in milliseconds, of the consumer key that will
|
740
|
+
# be generated for the app. The default value, -1, indicates an
|
741
|
+
# infinite validity period. Once set, the expiration can't be updated.
|
742
|
+
# json key: keyExpiresIn
|
743
|
+
# Corresponds to the JSON property `keyExpiresIn`
|
744
|
+
# @return [Fixnum]
|
745
|
+
attr_accessor :key_expires_in
|
746
|
+
|
747
|
+
# Output only. Last modified time as milliseconds since epoch.
|
748
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
749
|
+
# @return [Fixnum]
|
750
|
+
attr_accessor :last_modified_at
|
751
|
+
|
752
|
+
# Name of the app.
|
753
|
+
# Corresponds to the JSON property `name`
|
754
|
+
# @return [String]
|
755
|
+
attr_accessor :name
|
756
|
+
|
757
|
+
# Scopes to apply to the app. The specified scope names must already
|
758
|
+
# exist on the API product that you associate with the app.
|
759
|
+
# Corresponds to the JSON property `scopes`
|
760
|
+
# @return [Array<String>]
|
761
|
+
attr_accessor :scopes
|
762
|
+
|
763
|
+
# Status of the credential.
|
764
|
+
# Corresponds to the JSON property `status`
|
765
|
+
# @return [String]
|
766
|
+
attr_accessor :status
|
767
|
+
|
768
|
+
def initialize(**args)
|
769
|
+
update!(**args)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Update properties of this object
|
773
|
+
def update!(**args)
|
774
|
+
@api_products = args[:api_products] if args.key?(:api_products)
|
775
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
776
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
777
|
+
@callback_url = args[:callback_url] if args.key?(:callback_url)
|
778
|
+
@company_name = args[:company_name] if args.key?(:company_name)
|
779
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
780
|
+
@credentials = args[:credentials] if args.key?(:credentials)
|
781
|
+
@developer_id = args[:developer_id] if args.key?(:developer_id)
|
782
|
+
@key_expires_in = args[:key_expires_in] if args.key?(:key_expires_in)
|
783
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
784
|
+
@name = args[:name] if args.key?(:name)
|
785
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
786
|
+
@status = args[:status] if args.key?(:status)
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
#
|
791
|
+
class GoogleCloudApigeeV1AsyncQuery
|
792
|
+
include Google::Apis::Core::Hashable
|
793
|
+
|
794
|
+
# Creation time of the query
|
795
|
+
# Corresponds to the JSON property `created`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :created
|
798
|
+
|
799
|
+
# Error is set when query fails
|
800
|
+
# Corresponds to the JSON property `error`
|
801
|
+
# @return [String]
|
802
|
+
attr_accessor :error
|
803
|
+
|
804
|
+
# ExecutionTime is available only after the query is completed
|
805
|
+
# Corresponds to the JSON property `executionTime`
|
806
|
+
# @return [String]
|
807
|
+
attr_accessor :execution_time
|
808
|
+
|
809
|
+
# Asynchronous Query Name.
|
810
|
+
# Corresponds to the JSON property `name`
|
811
|
+
# @return [String]
|
812
|
+
attr_accessor :name
|
813
|
+
|
814
|
+
# Contains information like metrics, dimenstions etc
|
815
|
+
# of the AsyncQuery
|
816
|
+
# Corresponds to the JSON property `queryParams`
|
817
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
|
818
|
+
attr_accessor :query_params
|
819
|
+
|
820
|
+
# Asynchronous Report ID.
|
821
|
+
# Corresponds to the JSON property `reportDefinitionId`
|
822
|
+
# @return [String]
|
823
|
+
attr_accessor :report_definition_id
|
824
|
+
|
825
|
+
# Result is available only after the query is completed
|
826
|
+
# Corresponds to the JSON property `result`
|
827
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult]
|
828
|
+
attr_accessor :result
|
829
|
+
|
830
|
+
# ResultFileSize is available only after the query is completed
|
831
|
+
# Corresponds to the JSON property `resultFileSize`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :result_file_size
|
834
|
+
|
835
|
+
# ResultRows is available only after the query is completed
|
836
|
+
# Corresponds to the JSON property `resultRows`
|
837
|
+
# @return [Fixnum]
|
838
|
+
attr_accessor :result_rows
|
839
|
+
|
840
|
+
# Self link of the query
|
841
|
+
# Example:
|
842
|
+
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
|
843
|
+
# 318d0cb961bd`
|
844
|
+
# Corresponds to the JSON property `self`
|
845
|
+
# @return [String]
|
846
|
+
attr_accessor :self
|
847
|
+
|
848
|
+
# Query state could be "enqueued", "running", "completed",
|
849
|
+
# "failed"
|
850
|
+
# Corresponds to the JSON property `state`
|
851
|
+
# @return [String]
|
852
|
+
attr_accessor :state
|
853
|
+
|
854
|
+
# Last updated timestamp for the query
|
855
|
+
# Corresponds to the JSON property `updated`
|
856
|
+
# @return [String]
|
857
|
+
attr_accessor :updated
|
858
|
+
|
859
|
+
def initialize(**args)
|
860
|
+
update!(**args)
|
861
|
+
end
|
862
|
+
|
863
|
+
# Update properties of this object
|
864
|
+
def update!(**args)
|
865
|
+
@created = args[:created] if args.key?(:created)
|
866
|
+
@error = args[:error] if args.key?(:error)
|
867
|
+
@execution_time = args[:execution_time] if args.key?(:execution_time)
|
868
|
+
@name = args[:name] if args.key?(:name)
|
869
|
+
@query_params = args[:query_params] if args.key?(:query_params)
|
870
|
+
@report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
|
871
|
+
@result = args[:result] if args.key?(:result)
|
872
|
+
@result_file_size = args[:result_file_size] if args.key?(:result_file_size)
|
873
|
+
@result_rows = args[:result_rows] if args.key?(:result_rows)
|
874
|
+
@self = args[:self] if args.key?(:self)
|
875
|
+
@state = args[:state] if args.key?(:state)
|
876
|
+
@updated = args[:updated] if args.key?(:updated)
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
#
|
881
|
+
class GoogleCloudApigeeV1AsyncQueryResult
|
882
|
+
include Google::Apis::Core::Hashable
|
883
|
+
|
884
|
+
# Query result will be unaccessable after this time.
|
885
|
+
# Corresponds to the JSON property `expires`
|
886
|
+
# @return [String]
|
887
|
+
attr_accessor :expires
|
888
|
+
|
889
|
+
# Self link of the query results
|
890
|
+
# Example:
|
891
|
+
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
|
892
|
+
# 318d0cb961bd/result`
|
893
|
+
# Corresponds to the JSON property `self`
|
894
|
+
# @return [String]
|
895
|
+
attr_accessor :self
|
896
|
+
|
897
|
+
def initialize(**args)
|
898
|
+
update!(**args)
|
899
|
+
end
|
900
|
+
|
901
|
+
# Update properties of this object
|
902
|
+
def update!(**args)
|
903
|
+
@expires = args[:expires] if args.key?(:expires)
|
904
|
+
@self = args[:self] if args.key?(:self)
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
# Key-value pair to store extra metadata.
|
909
|
+
class GoogleCloudApigeeV1Attribute
|
910
|
+
include Google::Apis::Core::Hashable
|
911
|
+
|
912
|
+
# API key of the attribute.
|
913
|
+
# Corresponds to the JSON property `name`
|
914
|
+
# @return [String]
|
915
|
+
attr_accessor :name
|
916
|
+
|
917
|
+
# Value of the attribute.
|
918
|
+
# Corresponds to the JSON property `value`
|
919
|
+
# @return [String]
|
920
|
+
attr_accessor :value
|
921
|
+
|
922
|
+
def initialize(**args)
|
923
|
+
update!(**args)
|
924
|
+
end
|
925
|
+
|
926
|
+
# Update properties of this object
|
927
|
+
def update!(**args)
|
928
|
+
@name = args[:name] if args.key?(:name)
|
929
|
+
@value = args[:value] if args.key?(:value)
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
#
|
934
|
+
class GoogleCloudApigeeV1Attributes
|
935
|
+
include Google::Apis::Core::Hashable
|
936
|
+
|
937
|
+
# List of attributes.
|
938
|
+
# Corresponds to the JSON property `attribute`
|
939
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
940
|
+
attr_accessor :attribute
|
941
|
+
|
942
|
+
def initialize(**args)
|
943
|
+
update!(**args)
|
944
|
+
end
|
945
|
+
|
946
|
+
# Update properties of this object
|
947
|
+
def update!(**args)
|
948
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
952
|
+
# An X.509 certificate as defined in RFC 5280.
|
953
|
+
class GoogleCloudApigeeV1CertInfo
|
954
|
+
include Google::Apis::Core::Hashable
|
955
|
+
|
956
|
+
# The X.509 basic constraints extension.
|
957
|
+
# Corresponds to the JSON property `basicConstraints`
|
958
|
+
# @return [String]
|
959
|
+
attr_accessor :basic_constraints
|
960
|
+
|
961
|
+
# The X.509 validity / notAfter in milliseconds since the epoch.
|
962
|
+
# Corresponds to the JSON property `expiryDate`
|
963
|
+
# @return [Fixnum]
|
964
|
+
attr_accessor :expiry_date
|
965
|
+
|
966
|
+
# "Yes" if certificate is valid, "No" if expired and "Not yet"
|
967
|
+
# if not yet valid.
|
968
|
+
# Corresponds to the JSON property `isValid`
|
969
|
+
# @return [String]
|
970
|
+
attr_accessor :is_valid
|
971
|
+
|
972
|
+
# The X.509 issuer.
|
973
|
+
# Corresponds to the JSON property `issuer`
|
974
|
+
# @return [String]
|
975
|
+
attr_accessor :issuer
|
976
|
+
|
977
|
+
# The public key component of the X.509 subject public key info.
|
978
|
+
# Corresponds to the JSON property `publicKey`
|
979
|
+
# @return [String]
|
980
|
+
attr_accessor :public_key
|
981
|
+
|
982
|
+
# The X.509 serial number.
|
983
|
+
# Corresponds to the JSON property `serialNumber`
|
984
|
+
# @return [String]
|
985
|
+
attr_accessor :serial_number
|
986
|
+
|
987
|
+
# The X.509 signatureAlgorithm.
|
988
|
+
# Corresponds to the JSON property `sigAlgName`
|
989
|
+
# @return [String]
|
990
|
+
attr_accessor :sig_alg_name
|
991
|
+
|
992
|
+
# The X.509 subject.
|
993
|
+
# Corresponds to the JSON property `subject`
|
994
|
+
# @return [String]
|
995
|
+
attr_accessor :subject
|
996
|
+
|
997
|
+
# The X.509 subject alternative names (SANs) extension.
|
998
|
+
# Corresponds to the JSON property `subjectAlternativeNames`
|
999
|
+
# @return [Array<String>]
|
1000
|
+
attr_accessor :subject_alternative_names
|
1001
|
+
|
1002
|
+
# The X.509 validity / notBefore in milliseconds since the
|
1003
|
+
# epoch.
|
1004
|
+
# Corresponds to the JSON property `validFrom`
|
1005
|
+
# @return [Fixnum]
|
1006
|
+
attr_accessor :valid_from
|
1007
|
+
|
1008
|
+
# The X.509 version.
|
1009
|
+
# Corresponds to the JSON property `version`
|
1010
|
+
# @return [Fixnum]
|
1011
|
+
attr_accessor :version
|
1012
|
+
|
1013
|
+
def initialize(**args)
|
1014
|
+
update!(**args)
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# Update properties of this object
|
1018
|
+
def update!(**args)
|
1019
|
+
@basic_constraints = args[:basic_constraints] if args.key?(:basic_constraints)
|
1020
|
+
@expiry_date = args[:expiry_date] if args.key?(:expiry_date)
|
1021
|
+
@is_valid = args[:is_valid] if args.key?(:is_valid)
|
1022
|
+
@issuer = args[:issuer] if args.key?(:issuer)
|
1023
|
+
@public_key = args[:public_key] if args.key?(:public_key)
|
1024
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
1025
|
+
@sig_alg_name = args[:sig_alg_name] if args.key?(:sig_alg_name)
|
1026
|
+
@subject = args[:subject] if args.key?(:subject)
|
1027
|
+
@subject_alternative_names = args[:subject_alternative_names] if args.key?(:subject_alternative_names)
|
1028
|
+
@valid_from = args[:valid_from] if args.key?(:valid_from)
|
1029
|
+
@version = args[:version] if args.key?(:version)
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
#
|
1034
|
+
class GoogleCloudApigeeV1Certificate
|
1035
|
+
include Google::Apis::Core::Hashable
|
1036
|
+
|
1037
|
+
# The chain of certificates under this name.
|
1038
|
+
# Corresponds to the JSON property `certInfo`
|
1039
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CertInfo>]
|
1040
|
+
attr_accessor :cert_info
|
1041
|
+
|
1042
|
+
def initialize(**args)
|
1043
|
+
update!(**args)
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# Update properties of this object
|
1047
|
+
def update!(**args)
|
1048
|
+
@cert_info = args[:cert_info] if args.key?(:cert_info)
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
#
|
1053
|
+
class GoogleCloudApigeeV1CommonNameConfig
|
1054
|
+
include Google::Apis::Core::Hashable
|
1055
|
+
|
1056
|
+
#
|
1057
|
+
# Corresponds to the JSON property `matchWildCards`
|
1058
|
+
# @return [Boolean]
|
1059
|
+
attr_accessor :match_wild_cards
|
1060
|
+
alias_method :match_wild_cards?, :match_wild_cards
|
1061
|
+
|
1062
|
+
#
|
1063
|
+
# Corresponds to the JSON property `name`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :name
|
1066
|
+
|
1067
|
+
def initialize(**args)
|
1068
|
+
update!(**args)
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# Update properties of this object
|
1072
|
+
def update!(**args)
|
1073
|
+
@match_wild_cards = args[:match_wild_cards] if args.key?(:match_wild_cards)
|
1074
|
+
@name = args[:name] if args.key?(:name)
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# Version of the API proxy configuration schema. Currently, only 4.0 is
|
1079
|
+
# supported.
|
1080
|
+
class GoogleCloudApigeeV1ConfigVersion
|
1081
|
+
include Google::Apis::Core::Hashable
|
1082
|
+
|
1083
|
+
# Major version of the API proxy configuration schema.
|
1084
|
+
# Corresponds to the JSON property `majorVersion`
|
1085
|
+
# @return [Fixnum]
|
1086
|
+
attr_accessor :major_version
|
1087
|
+
|
1088
|
+
# Minor version of the API proxy configuration schema.
|
1089
|
+
# Corresponds to the JSON property `minorVersion`
|
1090
|
+
# @return [Fixnum]
|
1091
|
+
attr_accessor :minor_version
|
1092
|
+
|
1093
|
+
def initialize(**args)
|
1094
|
+
update!(**args)
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# Update properties of this object
|
1098
|
+
def update!(**args)
|
1099
|
+
@major_version = args[:major_version] if args.key?(:major_version)
|
1100
|
+
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
#
|
1105
|
+
class GoogleCloudApigeeV1Credential
|
1106
|
+
include Google::Apis::Core::Hashable
|
1107
|
+
|
1108
|
+
# List of API products this credential can be used for.
|
1109
|
+
# Corresponds to the JSON property `apiProducts`
|
1110
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductRef>]
|
1111
|
+
attr_accessor :api_products
|
1112
|
+
|
1113
|
+
# List of attributes associated with this credential.
|
1114
|
+
# Corresponds to the JSON property `attributes`
|
1115
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1116
|
+
attr_accessor :attributes
|
1117
|
+
|
1118
|
+
# Consumer key.
|
1119
|
+
# Corresponds to the JSON property `consumerKey`
|
1120
|
+
# @return [String]
|
1121
|
+
attr_accessor :consumer_key
|
1122
|
+
|
1123
|
+
# Secret key.
|
1124
|
+
# Corresponds to the JSON property `consumerSecret`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :consumer_secret
|
1127
|
+
|
1128
|
+
# Time the credential will expire in milliseconds since epoch.
|
1129
|
+
# Corresponds to the JSON property `expiresAt`
|
1130
|
+
# @return [Fixnum]
|
1131
|
+
attr_accessor :expires_at
|
1132
|
+
|
1133
|
+
# Time the credential was issued in milliseconds since epoch.
|
1134
|
+
# Corresponds to the JSON property `issuedAt`
|
1135
|
+
# @return [Fixnum]
|
1136
|
+
attr_accessor :issued_at
|
1137
|
+
|
1138
|
+
# List of scopes to apply to the app. Specified scopes must already
|
1139
|
+
# exist on the API product that you associate with the app.
|
1140
|
+
# Corresponds to the JSON property `scopes`
|
1141
|
+
# @return [Array<String>]
|
1142
|
+
attr_accessor :scopes
|
1143
|
+
|
1144
|
+
# Status of the credential.
|
1145
|
+
# Corresponds to the JSON property `status`
|
1146
|
+
# @return [String]
|
1147
|
+
attr_accessor :status
|
1148
|
+
|
1149
|
+
def initialize(**args)
|
1150
|
+
update!(**args)
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Update properties of this object
|
1154
|
+
def update!(**args)
|
1155
|
+
@api_products = args[:api_products] if args.key?(:api_products)
|
1156
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1157
|
+
@consumer_key = args[:consumer_key] if args.key?(:consumer_key)
|
1158
|
+
@consumer_secret = args[:consumer_secret] if args.key?(:consumer_secret)
|
1159
|
+
@expires_at = args[:expires_at] if args.key?(:expires_at)
|
1160
|
+
@issued_at = args[:issued_at] if args.key?(:issued_at)
|
1161
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1162
|
+
@status = args[:status] if args.key?(:status)
|
1163
|
+
end
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
#
|
1167
|
+
class GoogleCloudApigeeV1CustomReport
|
1168
|
+
include Google::Apis::Core::Hashable
|
1169
|
+
|
1170
|
+
# This field contains the chart type for the report
|
1171
|
+
# Corresponds to the JSON property `chartType`
|
1172
|
+
# @return [String]
|
1173
|
+
attr_accessor :chart_type
|
1174
|
+
|
1175
|
+
# Legacy field: not used. This field contains a list of comments associated
|
1176
|
+
# with custom report
|
1177
|
+
# Corresponds to the JSON property `comments`
|
1178
|
+
# @return [Array<String>]
|
1179
|
+
attr_accessor :comments
|
1180
|
+
|
1181
|
+
# Output only. Unix time when the app was created
|
1182
|
+
# json key: createdAt
|
1183
|
+
# Corresponds to the JSON property `createdAt`
|
1184
|
+
# @return [Fixnum]
|
1185
|
+
attr_accessor :created_at
|
1186
|
+
|
1187
|
+
# This contains the list of dimensions for the report
|
1188
|
+
# Corresponds to the JSON property `dimensions`
|
1189
|
+
# @return [Array<String>]
|
1190
|
+
attr_accessor :dimensions
|
1191
|
+
|
1192
|
+
# This is the display name for the report
|
1193
|
+
# Corresponds to the JSON property `displayName`
|
1194
|
+
# @return [String]
|
1195
|
+
attr_accessor :display_name
|
1196
|
+
|
1197
|
+
# Output only. Environment name
|
1198
|
+
# Corresponds to the JSON property `environment`
|
1199
|
+
# @return [String]
|
1200
|
+
attr_accessor :environment
|
1201
|
+
|
1202
|
+
# This field contains the filter expression
|
1203
|
+
# Corresponds to the JSON property `filter`
|
1204
|
+
# @return [String]
|
1205
|
+
attr_accessor :filter
|
1206
|
+
|
1207
|
+
# Legacy field: not used. Contains the from time for the report
|
1208
|
+
# Corresponds to the JSON property `fromTime`
|
1209
|
+
# @return [String]
|
1210
|
+
attr_accessor :from_time
|
1211
|
+
|
1212
|
+
# Output only. Modified time of this entity as milliseconds since epoch.
|
1213
|
+
# json key: lastModifiedAt
|
1214
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
1215
|
+
# @return [Fixnum]
|
1216
|
+
attr_accessor :last_modified_at
|
1217
|
+
|
1218
|
+
# Output only. Last viewed time of this entity as milliseconds since epoch
|
1219
|
+
# Corresponds to the JSON property `lastViewedAt`
|
1220
|
+
# @return [Fixnum]
|
1221
|
+
attr_accessor :last_viewed_at
|
1222
|
+
|
1223
|
+
# Legacy field: not used This field contains the limit for the result
|
1224
|
+
# retrieved
|
1225
|
+
# Corresponds to the JSON property `limit`
|
1226
|
+
# @return [String]
|
1227
|
+
attr_accessor :limit
|
1228
|
+
|
1229
|
+
# Required. This contains the list of metrics
|
1230
|
+
# Corresponds to the JSON property `metrics`
|
1231
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReportMetric>]
|
1232
|
+
attr_accessor :metrics
|
1233
|
+
|
1234
|
+
# Required. Unique identifier for the report
|
1235
|
+
# T his is a legacy field used to encode custom report unique id
|
1236
|
+
# Corresponds to the JSON property `name`
|
1237
|
+
# @return [String]
|
1238
|
+
attr_accessor :name
|
1239
|
+
|
1240
|
+
# Legacy field: not used. This field contains the offset for the data
|
1241
|
+
# Corresponds to the JSON property `offset`
|
1242
|
+
# @return [String]
|
1243
|
+
attr_accessor :offset
|
1244
|
+
|
1245
|
+
# Output only. Organization name
|
1246
|
+
# Corresponds to the JSON property `organization`
|
1247
|
+
# @return [String]
|
1248
|
+
attr_accessor :organization
|
1249
|
+
|
1250
|
+
# This field contains report properties such as ui metadata etc.
|
1251
|
+
# Corresponds to the JSON property `properties`
|
1252
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportProperty>]
|
1253
|
+
attr_accessor :properties
|
1254
|
+
|
1255
|
+
# Legacy field: not used much. Contains the list of sort by columns
|
1256
|
+
# Corresponds to the JSON property `sortByCols`
|
1257
|
+
# @return [Array<String>]
|
1258
|
+
attr_accessor :sort_by_cols
|
1259
|
+
|
1260
|
+
# Legacy field: not used much. Contains the sort order for the sort columns
|
1261
|
+
# Corresponds to the JSON property `sortOrder`
|
1262
|
+
# @return [String]
|
1263
|
+
attr_accessor :sort_order
|
1264
|
+
|
1265
|
+
# Legacy field: not used. This field contains a list of tags associated with
|
1266
|
+
# custom report
|
1267
|
+
# Corresponds to the JSON property `tags`
|
1268
|
+
# @return [Array<String>]
|
1269
|
+
attr_accessor :tags
|
1270
|
+
|
1271
|
+
# This field contains the time unit of aggregation for the report
|
1272
|
+
# Corresponds to the JSON property `timeUnit`
|
1273
|
+
# @return [String]
|
1274
|
+
attr_accessor :time_unit
|
1275
|
+
|
1276
|
+
# Legacy field: not used. Contains the end time for the report
|
1277
|
+
# Corresponds to the JSON property `toTime`
|
1278
|
+
# @return [String]
|
1279
|
+
attr_accessor :to_time
|
1280
|
+
|
1281
|
+
# Legacy field: not used. This field contains the top k parameter value
|
1282
|
+
# for restricting the result
|
1283
|
+
# Corresponds to the JSON property `topk`
|
1284
|
+
# @return [String]
|
1285
|
+
attr_accessor :topk
|
1286
|
+
|
1287
|
+
def initialize(**args)
|
1288
|
+
update!(**args)
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# Update properties of this object
|
1292
|
+
def update!(**args)
|
1293
|
+
@chart_type = args[:chart_type] if args.key?(:chart_type)
|
1294
|
+
@comments = args[:comments] if args.key?(:comments)
|
1295
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1296
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1297
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1298
|
+
@environment = args[:environment] if args.key?(:environment)
|
1299
|
+
@filter = args[:filter] if args.key?(:filter)
|
1300
|
+
@from_time = args[:from_time] if args.key?(:from_time)
|
1301
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1302
|
+
@last_viewed_at = args[:last_viewed_at] if args.key?(:last_viewed_at)
|
1303
|
+
@limit = args[:limit] if args.key?(:limit)
|
1304
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
1305
|
+
@name = args[:name] if args.key?(:name)
|
1306
|
+
@offset = args[:offset] if args.key?(:offset)
|
1307
|
+
@organization = args[:organization] if args.key?(:organization)
|
1308
|
+
@properties = args[:properties] if args.key?(:properties)
|
1309
|
+
@sort_by_cols = args[:sort_by_cols] if args.key?(:sort_by_cols)
|
1310
|
+
@sort_order = args[:sort_order] if args.key?(:sort_order)
|
1311
|
+
@tags = args[:tags] if args.key?(:tags)
|
1312
|
+
@time_unit = args[:time_unit] if args.key?(:time_unit)
|
1313
|
+
@to_time = args[:to_time] if args.key?(:to_time)
|
1314
|
+
@topk = args[:topk] if args.key?(:topk)
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# This encapsulates a metric property of the form sum(message_count)
|
1319
|
+
# where name is message_count and function is sum
|
1320
|
+
class GoogleCloudApigeeV1CustomReportMetric
|
1321
|
+
include Google::Apis::Core::Hashable
|
1322
|
+
|
1323
|
+
# aggregate function
|
1324
|
+
# Corresponds to the JSON property `function`
|
1325
|
+
# @return [String]
|
1326
|
+
attr_accessor :function
|
1327
|
+
|
1328
|
+
# name of the metric
|
1329
|
+
# Corresponds to the JSON property `name`
|
1330
|
+
# @return [String]
|
1331
|
+
attr_accessor :name
|
1332
|
+
|
1333
|
+
def initialize(**args)
|
1334
|
+
update!(**args)
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# Update properties of this object
|
1338
|
+
def update!(**args)
|
1339
|
+
@function = args[:function] if args.key?(:function)
|
1340
|
+
@name = args[:name] if args.key?(:name)
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
#
|
1345
|
+
class GoogleCloudApigeeV1DebugMask
|
1346
|
+
include Google::Apis::Core::Hashable
|
1347
|
+
|
1348
|
+
# List of JSON paths that specify the JSON elements to be filtered from JSON
|
1349
|
+
# payloads in error flows.
|
1350
|
+
# Corresponds to the JSON property `faultJSONPaths`
|
1351
|
+
# @return [Array<String>]
|
1352
|
+
attr_accessor :fault_json_paths
|
1353
|
+
|
1354
|
+
# List of XPaths that specify the XML elements to be filtered from XML
|
1355
|
+
# payloads in error flows.
|
1356
|
+
# Corresponds to the JSON property `faultXPaths`
|
1357
|
+
# @return [Array<String>]
|
1358
|
+
attr_accessor :fault_x_paths
|
1359
|
+
|
1360
|
+
# Name of the debug mask.
|
1361
|
+
# Corresponds to the JSON property `name`
|
1362
|
+
# @return [String]
|
1363
|
+
attr_accessor :name
|
1364
|
+
|
1365
|
+
# Map of namespaces to URIs.
|
1366
|
+
# Corresponds to the JSON property `namespaces`
|
1367
|
+
# @return [Hash<String,String>]
|
1368
|
+
attr_accessor :namespaces
|
1369
|
+
|
1370
|
+
# List of JSON paths that specify the JSON elements to be filtered from JSON
|
1371
|
+
# request message payloads.
|
1372
|
+
# Corresponds to the JSON property `requestJSONPaths`
|
1373
|
+
# @return [Array<String>]
|
1374
|
+
attr_accessor :request_json_paths
|
1375
|
+
|
1376
|
+
# List of XPaths that specify the XML elements to be filtered from XML
|
1377
|
+
# request message payloads.
|
1378
|
+
# Corresponds to the JSON property `requestXPaths`
|
1379
|
+
# @return [Array<String>]
|
1380
|
+
attr_accessor :request_x_paths
|
1381
|
+
|
1382
|
+
# List of JSON paths that specify the JSON elements to be filtered from JSON
|
1383
|
+
# response message payloads.
|
1384
|
+
# Corresponds to the JSON property `responseJSONPaths`
|
1385
|
+
# @return [Array<String>]
|
1386
|
+
attr_accessor :response_json_paths
|
1387
|
+
|
1388
|
+
# List of XPaths that specify the XML elements to be filtered from XML
|
1389
|
+
# response message payloads.
|
1390
|
+
# Corresponds to the JSON property `responseXPaths`
|
1391
|
+
# @return [Array<String>]
|
1392
|
+
attr_accessor :response_x_paths
|
1393
|
+
|
1394
|
+
# List of variables that should be masked from the debug output.
|
1395
|
+
# Corresponds to the JSON property `variables`
|
1396
|
+
# @return [Array<String>]
|
1397
|
+
attr_accessor :variables
|
1398
|
+
|
1399
|
+
def initialize(**args)
|
1400
|
+
update!(**args)
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# Update properties of this object
|
1404
|
+
def update!(**args)
|
1405
|
+
@fault_json_paths = args[:fault_json_paths] if args.key?(:fault_json_paths)
|
1406
|
+
@fault_x_paths = args[:fault_x_paths] if args.key?(:fault_x_paths)
|
1407
|
+
@name = args[:name] if args.key?(:name)
|
1408
|
+
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
1409
|
+
@request_json_paths = args[:request_json_paths] if args.key?(:request_json_paths)
|
1410
|
+
@request_x_paths = args[:request_x_paths] if args.key?(:request_x_paths)
|
1411
|
+
@response_json_paths = args[:response_json_paths] if args.key?(:response_json_paths)
|
1412
|
+
@response_x_paths = args[:response_x_paths] if args.key?(:response_x_paths)
|
1413
|
+
@variables = args[:variables] if args.key?(:variables)
|
1414
|
+
end
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
#
|
1418
|
+
class GoogleCloudApigeeV1DebugSession
|
1419
|
+
include Google::Apis::Core::Hashable
|
1420
|
+
|
1421
|
+
# Optional. The number of request to be traced. Min = 1, Max = 15, Default
|
1422
|
+
# = 10.
|
1423
|
+
# Corresponds to the JSON property `count`
|
1424
|
+
# @return [Fixnum]
|
1425
|
+
attr_accessor :count
|
1426
|
+
|
1427
|
+
# Optional. A conditional statement which is evaluated against the request
|
1428
|
+
# message to determine if it should be traced. Syntax matches that of on
|
1429
|
+
# API Proxy bundle flow Condition.
|
1430
|
+
# Corresponds to the JSON property `filter`
|
1431
|
+
# @return [String]
|
1432
|
+
attr_accessor :filter
|
1433
|
+
|
1434
|
+
# A unique ID for this DebugSession.
|
1435
|
+
# Corresponds to the JSON property `name`
|
1436
|
+
# @return [String]
|
1437
|
+
attr_accessor :name
|
1438
|
+
|
1439
|
+
# Optional. The time in seconds after which this DebugSession should end.
|
1440
|
+
# This value will override the value in query param, if both are provided.
|
1441
|
+
# Corresponds to the JSON property `timeout`
|
1442
|
+
# @return [Fixnum]
|
1443
|
+
attr_accessor :timeout
|
1444
|
+
|
1445
|
+
# Optional. The maximum number of bytes captured from the response payload.
|
1446
|
+
# Min = 0, Max = 5120, Default = 5120.
|
1447
|
+
# Corresponds to the JSON property `tracesize`
|
1448
|
+
# @return [Fixnum]
|
1449
|
+
attr_accessor :tracesize
|
1450
|
+
|
1451
|
+
# Optional. The length of time, in seconds, that this debug session is valid,
|
1452
|
+
# starting from when it's received in the control plane. Min = 1, Max = 15,
|
1453
|
+
# Default = 10.
|
1454
|
+
# Corresponds to the JSON property `validity`
|
1455
|
+
# @return [Fixnum]
|
1456
|
+
attr_accessor :validity
|
1457
|
+
|
1458
|
+
def initialize(**args)
|
1459
|
+
update!(**args)
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
# Update properties of this object
|
1463
|
+
def update!(**args)
|
1464
|
+
@count = args[:count] if args.key?(:count)
|
1465
|
+
@filter = args[:filter] if args.key?(:filter)
|
1466
|
+
@name = args[:name] if args.key?(:name)
|
1467
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
1468
|
+
@tracesize = args[:tracesize] if args.key?(:tracesize)
|
1469
|
+
@validity = args[:validity] if args.key?(:validity)
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# A transaction contains all of the debug information of the entire message
|
1474
|
+
# flow of an API call processed by the runtime plane. The information is
|
1475
|
+
# collected and recorded at critical points of the message flow in the runtime
|
1476
|
+
# apiproxy.
|
1477
|
+
class GoogleCloudApigeeV1DebugSessionTransaction
|
1478
|
+
include Google::Apis::Core::Hashable
|
1479
|
+
|
1480
|
+
# Flag indicating whether a transaction is completed or not
|
1481
|
+
# Corresponds to the JSON property `completed`
|
1482
|
+
# @return [Boolean]
|
1483
|
+
attr_accessor :completed
|
1484
|
+
alias_method :completed?, :completed
|
1485
|
+
|
1486
|
+
# List of debug data collected by runtime plane at various defined points in
|
1487
|
+
# the flow.
|
1488
|
+
# Corresponds to the JSON property `point`
|
1489
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Point>]
|
1490
|
+
attr_accessor :point
|
1491
|
+
|
1492
|
+
def initialize(**args)
|
1493
|
+
update!(**args)
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
# Update properties of this object
|
1497
|
+
def update!(**args)
|
1498
|
+
@completed = args[:completed] if args.key?(:completed)
|
1499
|
+
@point = args[:point] if args.key?(:point)
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
#
|
1504
|
+
class GoogleCloudApigeeV1DeleteCustomReportResponse
|
1505
|
+
include Google::Apis::Core::Hashable
|
1506
|
+
|
1507
|
+
# The response contains only a message field.
|
1508
|
+
# Corresponds to the JSON property `message`
|
1509
|
+
# @return [String]
|
1510
|
+
attr_accessor :message
|
1511
|
+
|
1512
|
+
def initialize(**args)
|
1513
|
+
update!(**args)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# Update properties of this object
|
1517
|
+
def update!(**args)
|
1518
|
+
@message = args[:message] if args.key?(:message)
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
#
|
1523
|
+
class GoogleCloudApigeeV1Deployment
|
1524
|
+
include Google::Apis::Core::Hashable
|
1525
|
+
|
1526
|
+
# API proxy.
|
1527
|
+
# Corresponds to the JSON property `apiProxy`
|
1528
|
+
# @return [String]
|
1529
|
+
attr_accessor :api_proxy
|
1530
|
+
|
1531
|
+
# Base path for the deployment.
|
1532
|
+
# Corresponds to the JSON property `basePath`
|
1533
|
+
# @return [String]
|
1534
|
+
attr_accessor :base_path
|
1535
|
+
|
1536
|
+
# Time the API proxy was marked `deployed` in the control plane in
|
1537
|
+
# millisconds since epoch.
|
1538
|
+
# Corresponds to the JSON property `deployStartTime`
|
1539
|
+
# @return [Fixnum]
|
1540
|
+
attr_accessor :deploy_start_time
|
1541
|
+
|
1542
|
+
# Environment.
|
1543
|
+
# Corresponds to the JSON property `environment`
|
1544
|
+
# @return [String]
|
1545
|
+
attr_accessor :environment
|
1546
|
+
|
1547
|
+
# Status reported by runtime pods.
|
1548
|
+
# Corresponds to the JSON property `pods`
|
1549
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
|
1550
|
+
attr_accessor :pods
|
1551
|
+
|
1552
|
+
# API proxy revision.
|
1553
|
+
# Corresponds to the JSON property `revision`
|
1554
|
+
# @return [String]
|
1555
|
+
attr_accessor :revision
|
1556
|
+
|
1557
|
+
def initialize(**args)
|
1558
|
+
update!(**args)
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Update properties of this object
|
1562
|
+
def update!(**args)
|
1563
|
+
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
1564
|
+
@base_path = args[:base_path] if args.key?(:base_path)
|
1565
|
+
@deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
|
1566
|
+
@environment = args[:environment] if args.key?(:environment)
|
1567
|
+
@pods = args[:pods] if args.key?(:pods)
|
1568
|
+
@revision = args[:revision] if args.key?(:revision)
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
#
|
1573
|
+
class GoogleCloudApigeeV1DeploymentConfig
|
1574
|
+
include Google::Apis::Core::Hashable
|
1575
|
+
|
1576
|
+
# Additional key-value metadata about the deployment.
|
1577
|
+
# Corresponds to the JSON property `attributes`
|
1578
|
+
# @return [Hash<String,String>]
|
1579
|
+
attr_accessor :attributes
|
1580
|
+
|
1581
|
+
# Base path where the application needs to be hosted. Default value is
|
1582
|
+
# assumed to be "/".
|
1583
|
+
# Corresponds to the JSON property `basePath`
|
1584
|
+
# @return [String]
|
1585
|
+
attr_accessor :base_path
|
1586
|
+
|
1587
|
+
# The location of the proxy bundle, as a uri.
|
1588
|
+
# Corresponds to the JSON property `location`
|
1589
|
+
# @return [String]
|
1590
|
+
attr_accessor :location
|
1591
|
+
|
1592
|
+
# The name of the API or shared flow revision to be deployed. Must be of the
|
1593
|
+
# form 'organizations/`org`/apis/`api`/revisions/`rev`' or
|
1594
|
+
# 'organizations/`org`/sharedflows/`sf`/revisions/`rev`'.
|
1595
|
+
# Corresponds to the JSON property `name`
|
1596
|
+
# @return [String]
|
1597
|
+
attr_accessor :name
|
1598
|
+
|
1599
|
+
# The uid of the proxy revision.
|
1600
|
+
# Corresponds to the JSON property `proxyUid`
|
1601
|
+
# @return [String]
|
1602
|
+
attr_accessor :proxy_uid
|
1603
|
+
|
1604
|
+
# A unique id that will only change if the deployment is deleted and
|
1605
|
+
# recreated.
|
1606
|
+
# Corresponds to the JSON property `uid`
|
1607
|
+
# @return [String]
|
1608
|
+
attr_accessor :uid
|
1609
|
+
|
1610
|
+
def initialize(**args)
|
1611
|
+
update!(**args)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# Update properties of this object
|
1615
|
+
def update!(**args)
|
1616
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1617
|
+
@base_path = args[:base_path] if args.key?(:base_path)
|
1618
|
+
@location = args[:location] if args.key?(:location)
|
1619
|
+
@name = args[:name] if args.key?(:name)
|
1620
|
+
@proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid)
|
1621
|
+
@uid = args[:uid] if args.key?(:uid)
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
#
|
1626
|
+
class GoogleCloudApigeeV1Developer
|
1627
|
+
include Google::Apis::Core::Hashable
|
1628
|
+
|
1629
|
+
# Access type.
|
1630
|
+
# Corresponds to the JSON property `accessType`
|
1631
|
+
# @return [String]
|
1632
|
+
attr_accessor :access_type
|
1633
|
+
|
1634
|
+
# Developer app family.
|
1635
|
+
# Corresponds to the JSON property `appFamily`
|
1636
|
+
# @return [String]
|
1637
|
+
attr_accessor :app_family
|
1638
|
+
|
1639
|
+
# List of apps associated with the developer.
|
1640
|
+
# Corresponds to the JSON property `apps`
|
1641
|
+
# @return [Array<String>]
|
1642
|
+
attr_accessor :apps
|
1643
|
+
|
1644
|
+
# Optional. Developer attributes (name/value pairs). The custom attribute limit
|
1645
|
+
# is 18.
|
1646
|
+
# Corresponds to the JSON property `attributes`
|
1647
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1648
|
+
attr_accessor :attributes
|
1649
|
+
|
1650
|
+
# List of companies associated with the developer.
|
1651
|
+
# Corresponds to the JSON property `companies`
|
1652
|
+
# @return [Array<String>]
|
1653
|
+
attr_accessor :companies
|
1654
|
+
|
1655
|
+
# Output only. Time at which the developer was created in milliseconds
|
1656
|
+
# since epoch.
|
1657
|
+
# Corresponds to the JSON property `createdAt`
|
1658
|
+
# @return [Fixnum]
|
1659
|
+
attr_accessor :created_at
|
1660
|
+
|
1661
|
+
# ID of the developer.
|
1662
|
+
# **Note**: IDs are generated internally by Apigee and are not
|
1663
|
+
# guaranteed to stay the same over time.
|
1664
|
+
# Corresponds to the JSON property `developerId`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :developer_id
|
1667
|
+
|
1668
|
+
# Required. Email address of the developer. This value is used to uniquely
|
1669
|
+
# identify
|
1670
|
+
# the developer in Apigee hybrid.
|
1671
|
+
# Corresponds to the JSON property `email`
|
1672
|
+
# @return [String]
|
1673
|
+
attr_accessor :email
|
1674
|
+
|
1675
|
+
# Required. First name of the developer.
|
1676
|
+
# Corresponds to the JSON property `firstName`
|
1677
|
+
# @return [String]
|
1678
|
+
attr_accessor :first_name
|
1679
|
+
|
1680
|
+
# Output only. Time at which the developer was last modified in
|
1681
|
+
# milliseconds since epoch.
|
1682
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
1683
|
+
# @return [Fixnum]
|
1684
|
+
attr_accessor :last_modified_at
|
1685
|
+
|
1686
|
+
# Required. Last name of the developer.
|
1687
|
+
# Corresponds to the JSON property `lastName`
|
1688
|
+
# @return [String]
|
1689
|
+
attr_accessor :last_name
|
1690
|
+
|
1691
|
+
# Output only. Name of the Apigee organization in which the developer resides.
|
1692
|
+
# Corresponds to the JSON property `organizationName`
|
1693
|
+
# @return [String]
|
1694
|
+
attr_accessor :organization_name
|
1695
|
+
|
1696
|
+
# Output only. Status of the developer. Valid values are `active` and `inactive`.
|
1697
|
+
# Corresponds to the JSON property `status`
|
1698
|
+
# @return [String]
|
1699
|
+
attr_accessor :status
|
1700
|
+
|
1701
|
+
# Required. User name of the developer. Not used by Apigee hybrid.
|
1702
|
+
# Corresponds to the JSON property `userName`
|
1703
|
+
# @return [String]
|
1704
|
+
attr_accessor :user_name
|
1705
|
+
|
1706
|
+
def initialize(**args)
|
1707
|
+
update!(**args)
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
# Update properties of this object
|
1711
|
+
def update!(**args)
|
1712
|
+
@access_type = args[:access_type] if args.key?(:access_type)
|
1713
|
+
@app_family = args[:app_family] if args.key?(:app_family)
|
1714
|
+
@apps = args[:apps] if args.key?(:apps)
|
1715
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1716
|
+
@companies = args[:companies] if args.key?(:companies)
|
1717
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1718
|
+
@developer_id = args[:developer_id] if args.key?(:developer_id)
|
1719
|
+
@email = args[:email] if args.key?(:email)
|
1720
|
+
@first_name = args[:first_name] if args.key?(:first_name)
|
1721
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1722
|
+
@last_name = args[:last_name] if args.key?(:last_name)
|
1723
|
+
@organization_name = args[:organization_name] if args.key?(:organization_name)
|
1724
|
+
@status = args[:status] if args.key?(:status)
|
1725
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
#
|
1730
|
+
class GoogleCloudApigeeV1DeveloperApp
|
1731
|
+
include Google::Apis::Core::Hashable
|
1732
|
+
|
1733
|
+
# List of API products associated with the developer app.
|
1734
|
+
# Corresponds to the JSON property `apiProducts`
|
1735
|
+
# @return [Array<String>]
|
1736
|
+
attr_accessor :api_products
|
1737
|
+
|
1738
|
+
# Developer app family.
|
1739
|
+
# Corresponds to the JSON property `appFamily`
|
1740
|
+
# @return [String]
|
1741
|
+
attr_accessor :app_family
|
1742
|
+
|
1743
|
+
# ID of the developer app.
|
1744
|
+
# Corresponds to the JSON property `appId`
|
1745
|
+
# @return [String]
|
1746
|
+
attr_accessor :app_id
|
1747
|
+
|
1748
|
+
# List of attributes for the developer app.
|
1749
|
+
# Corresponds to the JSON property `attributes`
|
1750
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1751
|
+
attr_accessor :attributes
|
1752
|
+
|
1753
|
+
# Callback URL used by OAuth 2.0 authorization servers to communicate
|
1754
|
+
# authorization codes back to developer apps.
|
1755
|
+
# Corresponds to the JSON property `callbackUrl`
|
1756
|
+
# @return [String]
|
1757
|
+
attr_accessor :callback_url
|
1758
|
+
|
1759
|
+
# Output only. Time the developer app was created in milliseconds since epoch.
|
1760
|
+
# Corresponds to the JSON property `createdAt`
|
1761
|
+
# @return [Fixnum]
|
1762
|
+
attr_accessor :created_at
|
1763
|
+
|
1764
|
+
# Output only. Set of credentials for the developer app consisting of the
|
1765
|
+
# consumer key/secret pairs associated with the API products.
|
1766
|
+
# Corresponds to the JSON property `credentials`
|
1767
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential>]
|
1768
|
+
attr_accessor :credentials
|
1769
|
+
|
1770
|
+
# ID of the developer.
|
1771
|
+
# Corresponds to the JSON property `developerId`
|
1772
|
+
# @return [String]
|
1773
|
+
attr_accessor :developer_id
|
1774
|
+
|
1775
|
+
# Expiration time, in milliseconds, for the consumer key that
|
1776
|
+
# is generated for the developer app. If not set or left to the default
|
1777
|
+
# value of `-1`, the API key never expires.
|
1778
|
+
# The expiration time can't be updated after it is set.
|
1779
|
+
# Corresponds to the JSON property `keyExpiresIn`
|
1780
|
+
# @return [Fixnum]
|
1781
|
+
attr_accessor :key_expires_in
|
1782
|
+
|
1783
|
+
# Output only. Time the developer app was modified in milliseconds since epoch.
|
1784
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
1785
|
+
# @return [Fixnum]
|
1786
|
+
attr_accessor :last_modified_at
|
1787
|
+
|
1788
|
+
# Name of the developer app.
|
1789
|
+
# Corresponds to the JSON property `name`
|
1790
|
+
# @return [String]
|
1791
|
+
attr_accessor :name
|
1792
|
+
|
1793
|
+
# Scopes to apply to the developer app. The specified scopes must
|
1794
|
+
# already exist for the API product that you associate with the developer
|
1795
|
+
# app.
|
1796
|
+
# Corresponds to the JSON property `scopes`
|
1797
|
+
# @return [Array<String>]
|
1798
|
+
attr_accessor :scopes
|
1799
|
+
|
1800
|
+
# Status of the credential. Valid values include `approved` or `revoked`.
|
1801
|
+
# Corresponds to the JSON property `status`
|
1802
|
+
# @return [String]
|
1803
|
+
attr_accessor :status
|
1804
|
+
|
1805
|
+
def initialize(**args)
|
1806
|
+
update!(**args)
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
# Update properties of this object
|
1810
|
+
def update!(**args)
|
1811
|
+
@api_products = args[:api_products] if args.key?(:api_products)
|
1812
|
+
@app_family = args[:app_family] if args.key?(:app_family)
|
1813
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
1814
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1815
|
+
@callback_url = args[:callback_url] if args.key?(:callback_url)
|
1816
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1817
|
+
@credentials = args[:credentials] if args.key?(:credentials)
|
1818
|
+
@developer_id = args[:developer_id] if args.key?(:developer_id)
|
1819
|
+
@key_expires_in = args[:key_expires_in] if args.key?(:key_expires_in)
|
1820
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1821
|
+
@name = args[:name] if args.key?(:name)
|
1822
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1823
|
+
@status = args[:status] if args.key?(:status)
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
#
|
1828
|
+
class GoogleCloudApigeeV1DeveloperAppKey
|
1829
|
+
include Google::Apis::Core::Hashable
|
1830
|
+
|
1831
|
+
# List of API products for which the credential can be used.
|
1832
|
+
# **Note**: Do not specify the list of API products when creating a consumer
|
1833
|
+
# key and secret for a developer app. Instead, use the
|
1834
|
+
# UpdateDeveloperAppKey API to
|
1835
|
+
# make the association after the consumer key and secret are created.
|
1836
|
+
# Corresponds to the JSON property `apiProducts`
|
1837
|
+
# @return [Array<Object>]
|
1838
|
+
attr_accessor :api_products
|
1839
|
+
|
1840
|
+
# List of attributes associated with the credential.
|
1841
|
+
# Corresponds to the JSON property `attributes`
|
1842
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1843
|
+
attr_accessor :attributes
|
1844
|
+
|
1845
|
+
# Consumer key.
|
1846
|
+
# Corresponds to the JSON property `consumerKey`
|
1847
|
+
# @return [String]
|
1848
|
+
attr_accessor :consumer_key
|
1849
|
+
|
1850
|
+
# Secret key.
|
1851
|
+
# Corresponds to the JSON property `consumerSecret`
|
1852
|
+
# @return [String]
|
1853
|
+
attr_accessor :consumer_secret
|
1854
|
+
|
1855
|
+
# Time the developer app expires in milliseconds since epoch.
|
1856
|
+
# Corresponds to the JSON property `expiresAt`
|
1857
|
+
# @return [Fixnum]
|
1858
|
+
attr_accessor :expires_at
|
1859
|
+
|
1860
|
+
# Time the developer app was created in milliseconds since epoch.
|
1861
|
+
# Corresponds to the JSON property `issuedAt`
|
1862
|
+
# @return [Fixnum]
|
1863
|
+
attr_accessor :issued_at
|
1864
|
+
|
1865
|
+
# Scopes to apply to the app. The specified scope names must already
|
1866
|
+
# be defined for the API product that you associate with the app.
|
1867
|
+
# Corresponds to the JSON property `scopes`
|
1868
|
+
# @return [Array<String>]
|
1869
|
+
attr_accessor :scopes
|
1870
|
+
|
1871
|
+
# Status of the credential. Valid values include `approved` or `revoked`.
|
1872
|
+
# Corresponds to the JSON property `status`
|
1873
|
+
# @return [String]
|
1874
|
+
attr_accessor :status
|
1875
|
+
|
1876
|
+
def initialize(**args)
|
1877
|
+
update!(**args)
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
# Update properties of this object
|
1881
|
+
def update!(**args)
|
1882
|
+
@api_products = args[:api_products] if args.key?(:api_products)
|
1883
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1884
|
+
@consumer_key = args[:consumer_key] if args.key?(:consumer_key)
|
1885
|
+
@consumer_secret = args[:consumer_secret] if args.key?(:consumer_secret)
|
1886
|
+
@expires_at = args[:expires_at] if args.key?(:expires_at)
|
1887
|
+
@issued_at = args[:issued_at] if args.key?(:issued_at)
|
1888
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1889
|
+
@status = args[:status] if args.key?(:status)
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# This message type encapsulates a metric grouped by dimension
|
1894
|
+
class GoogleCloudApigeeV1DimensionMetric
|
1895
|
+
include Google::Apis::Core::Hashable
|
1896
|
+
|
1897
|
+
# This field contains a list of metrics
|
1898
|
+
# Corresponds to the JSON property `metrics`
|
1899
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
1900
|
+
attr_accessor :metrics
|
1901
|
+
|
1902
|
+
# This field contains the name of the dimension
|
1903
|
+
# Corresponds to the JSON property `name`
|
1904
|
+
# @return [String]
|
1905
|
+
attr_accessor :name
|
1906
|
+
|
1907
|
+
def initialize(**args)
|
1908
|
+
update!(**args)
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# Update properties of this object
|
1912
|
+
def update!(**args)
|
1913
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
1914
|
+
@name = args[:name] if args.key?(:name)
|
1915
|
+
end
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# Metadata common to many entities in this API.
|
1919
|
+
class GoogleCloudApigeeV1EntityMetadata
|
1920
|
+
include Google::Apis::Core::Hashable
|
1921
|
+
|
1922
|
+
# Time at which the API proxy was created, in milliseconds since epoch.
|
1923
|
+
# Corresponds to the JSON property `createdAt`
|
1924
|
+
# @return [Fixnum]
|
1925
|
+
attr_accessor :created_at
|
1926
|
+
|
1927
|
+
# Time at which the API proxy was most recently modified, in milliseconds
|
1928
|
+
# since epoch.
|
1929
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
1930
|
+
# @return [Fixnum]
|
1931
|
+
attr_accessor :last_modified_at
|
1932
|
+
|
1933
|
+
# The type of entity described
|
1934
|
+
# Corresponds to the JSON property `subType`
|
1935
|
+
# @return [String]
|
1936
|
+
attr_accessor :sub_type
|
1937
|
+
|
1938
|
+
def initialize(**args)
|
1939
|
+
update!(**args)
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# Update properties of this object
|
1943
|
+
def update!(**args)
|
1944
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1945
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1946
|
+
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
#
|
1951
|
+
class GoogleCloudApigeeV1Environment
|
1952
|
+
include Google::Apis::Core::Hashable
|
1953
|
+
|
1954
|
+
# Output only. Creation time of this environment as milliseconds since epoch.
|
1955
|
+
# Corresponds to the JSON property `createdAt`
|
1956
|
+
# @return [Fixnum]
|
1957
|
+
attr_accessor :created_at
|
1958
|
+
|
1959
|
+
# Optional. Description of the environment.
|
1960
|
+
# Corresponds to the JSON property `description`
|
1961
|
+
# @return [String]
|
1962
|
+
attr_accessor :description
|
1963
|
+
|
1964
|
+
# Optional. Display name for this environment.
|
1965
|
+
# Corresponds to the JSON property `displayName`
|
1966
|
+
# @return [String]
|
1967
|
+
attr_accessor :display_name
|
1968
|
+
|
1969
|
+
# Output only. Last modification time of this environment as milliseconds
|
1970
|
+
# since epoch.
|
1971
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
1972
|
+
# @return [Fixnum]
|
1973
|
+
attr_accessor :last_modified_at
|
1974
|
+
|
1975
|
+
# Required. Name of the environment. Values must match the
|
1976
|
+
# regular expression `^[.\\p`Alnum`-_]`1,255`$`
|
1977
|
+
# Corresponds to the JSON property `name`
|
1978
|
+
# @return [String]
|
1979
|
+
attr_accessor :name
|
1980
|
+
|
1981
|
+
# Message for compatibility with legacy Edge specification for Java Properties
|
1982
|
+
# object in JSON.
|
1983
|
+
# Corresponds to the JSON property `properties`
|
1984
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties]
|
1985
|
+
attr_accessor :properties
|
1986
|
+
|
1987
|
+
def initialize(**args)
|
1988
|
+
update!(**args)
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
# Update properties of this object
|
1992
|
+
def update!(**args)
|
1993
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
1994
|
+
@description = args[:description] if args.key?(:description)
|
1995
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1996
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1997
|
+
@name = args[:name] if args.key?(:name)
|
1998
|
+
@properties = args[:properties] if args.key?(:properties)
|
1999
|
+
end
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
#
|
2003
|
+
class GoogleCloudApigeeV1EnvironmentConfig
|
2004
|
+
include Google::Apis::Core::Hashable
|
2005
|
+
|
2006
|
+
# The time at which this environment config was created.
|
2007
|
+
# Corresponds to the JSON property `createTime`
|
2008
|
+
# @return [String]
|
2009
|
+
attr_accessor :create_time
|
2010
|
+
|
2011
|
+
# Debug mask that applies to all deployments in the environment.
|
2012
|
+
# Corresponds to the JSON property `debugMask`
|
2013
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
|
2014
|
+
attr_accessor :debug_mask
|
2015
|
+
|
2016
|
+
# A list of deployments in the environment
|
2017
|
+
# Corresponds to the JSON property `deployments`
|
2018
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig>]
|
2019
|
+
attr_accessor :deployments
|
2020
|
+
|
2021
|
+
# Feature flags inherited from the org and environment parents.
|
2022
|
+
# Corresponds to the JSON property `featureFlags`
|
2023
|
+
# @return [Hash<String,String>]
|
2024
|
+
attr_accessor :feature_flags
|
2025
|
+
|
2026
|
+
# A list of flow hooks in the environment.
|
2027
|
+
# Corresponds to the JSON property `flowhooks`
|
2028
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>]
|
2029
|
+
attr_accessor :flowhooks
|
2030
|
+
|
2031
|
+
# A list of keystores in the environment.
|
2032
|
+
# Corresponds to the JSON property `keystores`
|
2033
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig>]
|
2034
|
+
attr_accessor :keystores
|
2035
|
+
|
2036
|
+
# The name of the environment config. Must be of the form
|
2037
|
+
# 'organizations/`org`/environments/`env`/configs/`config_id`
|
2038
|
+
# Corresponds to the JSON property `name`
|
2039
|
+
# @return [String]
|
2040
|
+
attr_accessor :name
|
2041
|
+
|
2042
|
+
# This field can be used by the control plane to add some context
|
2043
|
+
# information about itself. This information could help detect the source of
|
2044
|
+
# the document during diagnostics and debugging.
|
2045
|
+
# Corresponds to the JSON property `provider`
|
2046
|
+
# @return [String]
|
2047
|
+
attr_accessor :provider
|
2048
|
+
|
2049
|
+
# Name of the pubsub topic for this environment.
|
2050
|
+
# Corresponds to the JSON property `pubsubTopic`
|
2051
|
+
# @return [String]
|
2052
|
+
attr_accessor :pubsub_topic
|
2053
|
+
|
2054
|
+
# A list of resource references in the environment.
|
2055
|
+
# Corresponds to the JSON property `resourceReferences`
|
2056
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReferenceConfig>]
|
2057
|
+
attr_accessor :resource_references
|
2058
|
+
|
2059
|
+
# A list of resource versions in the environment.
|
2060
|
+
# Corresponds to the JSON property `resources`
|
2061
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig>]
|
2062
|
+
attr_accessor :resources
|
2063
|
+
|
2064
|
+
# Revision id that defines the ordering on the environment config.
|
2065
|
+
# The higher the revision, the more recently the configuration
|
2066
|
+
# was deployed.
|
2067
|
+
# Corresponds to the JSON property `revisionId`
|
2068
|
+
# @return [Fixnum]
|
2069
|
+
attr_accessor :revision_id
|
2070
|
+
|
2071
|
+
# DEPRECATED: use revision_id
|
2072
|
+
# Corresponds to the JSON property `sequenceNumber`
|
2073
|
+
# @return [Fixnum]
|
2074
|
+
attr_accessor :sequence_number
|
2075
|
+
|
2076
|
+
# A list of target servers in the environment. Disabled target servers are
|
2077
|
+
# not included.
|
2078
|
+
# Corresponds to the JSON property `targets`
|
2079
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
|
2080
|
+
attr_accessor :targets
|
2081
|
+
|
2082
|
+
# A unique id for the environment config that will only change if the
|
2083
|
+
# environment is deleted and recreated.
|
2084
|
+
# Corresponds to the JSON property `uid`
|
2085
|
+
# @return [String]
|
2086
|
+
attr_accessor :uid
|
2087
|
+
|
2088
|
+
def initialize(**args)
|
2089
|
+
update!(**args)
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
# Update properties of this object
|
2093
|
+
def update!(**args)
|
2094
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2095
|
+
@debug_mask = args[:debug_mask] if args.key?(:debug_mask)
|
2096
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
2097
|
+
@feature_flags = args[:feature_flags] if args.key?(:feature_flags)
|
2098
|
+
@flowhooks = args[:flowhooks] if args.key?(:flowhooks)
|
2099
|
+
@keystores = args[:keystores] if args.key?(:keystores)
|
2100
|
+
@name = args[:name] if args.key?(:name)
|
2101
|
+
@provider = args[:provider] if args.key?(:provider)
|
2102
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
2103
|
+
@resource_references = args[:resource_references] if args.key?(:resource_references)
|
2104
|
+
@resources = args[:resources] if args.key?(:resources)
|
2105
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
2106
|
+
@sequence_number = args[:sequence_number] if args.key?(:sequence_number)
|
2107
|
+
@targets = args[:targets] if args.key?(:targets)
|
2108
|
+
@uid = args[:uid] if args.key?(:uid)
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
#
|
2113
|
+
class GoogleCloudApigeeV1FlowHook
|
2114
|
+
include Google::Apis::Core::Hashable
|
2115
|
+
|
2116
|
+
# Optional. Flag that specifies whether execution should continue if the flow
|
2117
|
+
# hook
|
2118
|
+
# throws an exception. Set to `true` to continue execution. Set to
|
2119
|
+
# `false` to stop execution if the flow hook throws an exception.Defaults
|
2120
|
+
# to `true`.
|
2121
|
+
# Corresponds to the JSON property `continueOnError`
|
2122
|
+
# @return [Boolean]
|
2123
|
+
attr_accessor :continue_on_error
|
2124
|
+
alias_method :continue_on_error?, :continue_on_error
|
2125
|
+
|
2126
|
+
# Description of the flow hook.
|
2127
|
+
# Corresponds to the JSON property `description`
|
2128
|
+
# @return [String]
|
2129
|
+
attr_accessor :description
|
2130
|
+
|
2131
|
+
# Output only. Where in the API call flow the flow hook is invoked. Must be one
|
2132
|
+
# of
|
2133
|
+
# `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or
|
2134
|
+
# `PostTargetFlowHook`.
|
2135
|
+
# Corresponds to the JSON property `flowHookPoint`
|
2136
|
+
# @return [String]
|
2137
|
+
attr_accessor :flow_hook_point
|
2138
|
+
|
2139
|
+
# Shared flow attached to this flow hook, or empty if there is none attached.
|
2140
|
+
# Corresponds to the JSON property `sharedFlow`
|
2141
|
+
# @return [String]
|
2142
|
+
attr_accessor :shared_flow
|
2143
|
+
|
2144
|
+
def initialize(**args)
|
2145
|
+
update!(**args)
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# Update properties of this object
|
2149
|
+
def update!(**args)
|
2150
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
2151
|
+
@description = args[:description] if args.key?(:description)
|
2152
|
+
@flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
|
2153
|
+
@shared_flow = args[:shared_flow] if args.key?(:shared_flow)
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
#
|
2158
|
+
class GoogleCloudApigeeV1FlowHookConfig
|
2159
|
+
include Google::Apis::Core::Hashable
|
2160
|
+
|
2161
|
+
# Should the flow abort after an error in the flow hook.
|
2162
|
+
# Should default to true if unset.
|
2163
|
+
# Corresponds to the JSON property `continueOnError`
|
2164
|
+
# @return [Boolean]
|
2165
|
+
attr_accessor :continue_on_error
|
2166
|
+
alias_method :continue_on_error?, :continue_on_error
|
2167
|
+
|
2168
|
+
# The name of the flow hook. Must be of the form
|
2169
|
+
# 'organizations/`org`/environments/`env`/flowhooks/`point`''.
|
2170
|
+
# Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
|
2171
|
+
# and PostTargetFlowHook
|
2172
|
+
# Corresponds to the JSON property `name`
|
2173
|
+
# @return [String]
|
2174
|
+
attr_accessor :name
|
2175
|
+
|
2176
|
+
# The name of the shared flow to invoke. Must be of the form
|
2177
|
+
# 'organizations/`org`/sharedflows/`sharedflow`'.
|
2178
|
+
# Corresponds to the JSON property `sharedFlowName`
|
2179
|
+
# @return [String]
|
2180
|
+
attr_accessor :shared_flow_name
|
2181
|
+
|
2182
|
+
def initialize(**args)
|
2183
|
+
update!(**args)
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
# Update properties of this object
|
2187
|
+
def update!(**args)
|
2188
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
2189
|
+
@name = args[:name] if args.key?(:name)
|
2190
|
+
@shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
# Request for
|
2195
|
+
# GetSyncAuthorization.
|
2196
|
+
class GoogleCloudApigeeV1GetSyncAuthorizationRequest
|
2197
|
+
include Google::Apis::Core::Hashable
|
2198
|
+
|
2199
|
+
def initialize(**args)
|
2200
|
+
update!(**args)
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# Update properties of this object
|
2204
|
+
def update!(**args)
|
2205
|
+
end
|
2206
|
+
end
|
2207
|
+
|
2208
|
+
#
|
2209
|
+
class GoogleCloudApigeeV1KeyAliasReference
|
2210
|
+
include Google::Apis::Core::Hashable
|
2211
|
+
|
2212
|
+
# The alias id. Must exist in the keystore referred to by reference.
|
2213
|
+
# Corresponds to the JSON property `aliasId`
|
2214
|
+
# @return [String]
|
2215
|
+
attr_accessor :alias_id
|
2216
|
+
|
2217
|
+
# The reference name. Must be of the form:
|
2218
|
+
# organizations/`org`/environments/`env`/references/`ref`.
|
2219
|
+
# Corresponds to the JSON property `reference`
|
2220
|
+
# @return [String]
|
2221
|
+
attr_accessor :reference
|
2222
|
+
|
2223
|
+
def initialize(**args)
|
2224
|
+
update!(**args)
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
# Update properties of this object
|
2228
|
+
def update!(**args)
|
2229
|
+
@alias_id = args[:alias_id] if args.key?(:alias_id)
|
2230
|
+
@reference = args[:reference] if args.key?(:reference)
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# A collection of key, value string pairs
|
2235
|
+
class GoogleCloudApigeeV1KeyValueMap
|
2236
|
+
include Google::Apis::Core::Hashable
|
2237
|
+
|
2238
|
+
# Optional. If `true` entry values will be encrypted.
|
2239
|
+
# Corresponds to the JSON property `encrypted`
|
2240
|
+
# @return [Boolean]
|
2241
|
+
attr_accessor :encrypted
|
2242
|
+
alias_method :encrypted?, :encrypted
|
2243
|
+
|
2244
|
+
# Required. The id of the key value map.
|
2245
|
+
# Corresponds to the JSON property `name`
|
2246
|
+
# @return [String]
|
2247
|
+
attr_accessor :name
|
2248
|
+
|
2249
|
+
def initialize(**args)
|
2250
|
+
update!(**args)
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# Update properties of this object
|
2254
|
+
def update!(**args)
|
2255
|
+
@encrypted = args[:encrypted] if args.key?(:encrypted)
|
2256
|
+
@name = args[:name] if args.key?(:name)
|
2257
|
+
end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# A datastore for Certificates and Aliases
|
2261
|
+
class GoogleCloudApigeeV1Keystore
|
2262
|
+
include Google::Apis::Core::Hashable
|
2263
|
+
|
2264
|
+
# Output only. The aliases in this keystore.
|
2265
|
+
# Corresponds to the JSON property `aliases`
|
2266
|
+
# @return [Array<String>]
|
2267
|
+
attr_accessor :aliases
|
2268
|
+
|
2269
|
+
# Required. The resource ID for this keystore. Values must match the
|
2270
|
+
# regular expression `[\w[:space:]-.]`1,255``.
|
2271
|
+
# Corresponds to the JSON property `name`
|
2272
|
+
# @return [String]
|
2273
|
+
attr_accessor :name
|
2274
|
+
|
2275
|
+
def initialize(**args)
|
2276
|
+
update!(**args)
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
# Update properties of this object
|
2280
|
+
def update!(**args)
|
2281
|
+
@aliases = args[:aliases] if args.key?(:aliases)
|
2282
|
+
@name = args[:name] if args.key?(:name)
|
2283
|
+
end
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
#
|
2287
|
+
class GoogleCloudApigeeV1KeystoreConfig
|
2288
|
+
include Google::Apis::Core::Hashable
|
2289
|
+
|
2290
|
+
# Aliases in the keystore.
|
2291
|
+
# Corresponds to the JSON property `aliases`
|
2292
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AliasRevisionConfig>]
|
2293
|
+
attr_accessor :aliases
|
2294
|
+
|
2295
|
+
# The resource name. Must be of the
|
2296
|
+
# form:
|
2297
|
+
# 'organizations/`org`/environments/`env`/keystores/`keystore`'.
|
2298
|
+
# Corresponds to the JSON property `name`
|
2299
|
+
# @return [String]
|
2300
|
+
attr_accessor :name
|
2301
|
+
|
2302
|
+
def initialize(**args)
|
2303
|
+
update!(**args)
|
2304
|
+
end
|
2305
|
+
|
2306
|
+
# Update properties of this object
|
2307
|
+
def update!(**args)
|
2308
|
+
@aliases = args[:aliases] if args.key?(:aliases)
|
2309
|
+
@name = args[:name] if args.key?(:name)
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
#
|
2314
|
+
class GoogleCloudApigeeV1ListApiProductsResponse
|
2315
|
+
include Google::Apis::Core::Hashable
|
2316
|
+
|
2317
|
+
# Lists all API product names defined for an organization.
|
2318
|
+
# Corresponds to the JSON property `apiProduct`
|
2319
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct>]
|
2320
|
+
attr_accessor :api_product
|
2321
|
+
|
2322
|
+
def initialize(**args)
|
2323
|
+
update!(**args)
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
# Update properties of this object
|
2327
|
+
def update!(**args)
|
2328
|
+
@api_product = args[:api_product] if args.key?(:api_product)
|
2329
|
+
end
|
2330
|
+
end
|
2331
|
+
|
2332
|
+
#
|
2333
|
+
class GoogleCloudApigeeV1ListApiProxiesResponse
|
2334
|
+
include Google::Apis::Core::Hashable
|
2335
|
+
|
2336
|
+
#
|
2337
|
+
# Corresponds to the JSON property `proxies`
|
2338
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy>]
|
2339
|
+
attr_accessor :proxies
|
2340
|
+
|
2341
|
+
def initialize(**args)
|
2342
|
+
update!(**args)
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
# Update properties of this object
|
2346
|
+
def update!(**args)
|
2347
|
+
@proxies = args[:proxies] if args.key?(:proxies)
|
2348
|
+
end
|
2349
|
+
end
|
2350
|
+
|
2351
|
+
#
|
2352
|
+
class GoogleCloudApigeeV1ListAppsResponse
|
2353
|
+
include Google::Apis::Core::Hashable
|
2354
|
+
|
2355
|
+
#
|
2356
|
+
# Corresponds to the JSON property `app`
|
2357
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1App>]
|
2358
|
+
attr_accessor :app
|
2359
|
+
|
2360
|
+
def initialize(**args)
|
2361
|
+
update!(**args)
|
2362
|
+
end
|
2363
|
+
|
2364
|
+
# Update properties of this object
|
2365
|
+
def update!(**args)
|
2366
|
+
@app = args[:app] if args.key?(:app)
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
# The response for ListAsyncQueries
|
2371
|
+
class GoogleCloudApigeeV1ListAsyncQueriesResponse
|
2372
|
+
include Google::Apis::Core::Hashable
|
2373
|
+
|
2374
|
+
# The asynchronous queries belong to requested organization and environment
|
2375
|
+
# Corresponds to the JSON property `queries`
|
2376
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery>]
|
2377
|
+
attr_accessor :queries
|
2378
|
+
|
2379
|
+
def initialize(**args)
|
2380
|
+
update!(**args)
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
# Update properties of this object
|
2384
|
+
def update!(**args)
|
2385
|
+
@queries = args[:queries] if args.key?(:queries)
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
# This message encapsulates a list of custom report definitions
|
2390
|
+
class GoogleCloudApigeeV1ListCustomReportsResponse
|
2391
|
+
include Google::Apis::Core::Hashable
|
2392
|
+
|
2393
|
+
#
|
2394
|
+
# Corresponds to the JSON property `qualifier`
|
2395
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReport>]
|
2396
|
+
attr_accessor :qualifier
|
2397
|
+
|
2398
|
+
def initialize(**args)
|
2399
|
+
update!(**args)
|
2400
|
+
end
|
2401
|
+
|
2402
|
+
# Update properties of this object
|
2403
|
+
def update!(**args)
|
2404
|
+
@qualifier = args[:qualifier] if args.key?(:qualifier)
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
#
|
2409
|
+
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
2410
|
+
include Google::Apis::Core::Hashable
|
2411
|
+
|
2412
|
+
# Page token that you can include in a ListDebugSessionsRequest to
|
2413
|
+
# retrieve the next page. If omitted, no subsequent pages exist.
|
2414
|
+
# Corresponds to the JSON property `nextPageToken`
|
2415
|
+
# @return [String]
|
2416
|
+
attr_accessor :next_page_token
|
2417
|
+
|
2418
|
+
# Session info that includes debug session ID and the first transaction
|
2419
|
+
# creation timestamp.
|
2420
|
+
# Corresponds to the JSON property `sessions`
|
2421
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session>]
|
2422
|
+
attr_accessor :sessions
|
2423
|
+
|
2424
|
+
def initialize(**args)
|
2425
|
+
update!(**args)
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
# Update properties of this object
|
2429
|
+
def update!(**args)
|
2430
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2431
|
+
@sessions = args[:sessions] if args.key?(:sessions)
|
2432
|
+
end
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
#
|
2436
|
+
class GoogleCloudApigeeV1ListDeploymentsResponse
|
2437
|
+
include Google::Apis::Core::Hashable
|
2438
|
+
|
2439
|
+
# List of deployments.
|
2440
|
+
# Corresponds to the JSON property `deployments`
|
2441
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment>]
|
2442
|
+
attr_accessor :deployments
|
2443
|
+
|
2444
|
+
def initialize(**args)
|
2445
|
+
update!(**args)
|
2446
|
+
end
|
2447
|
+
|
2448
|
+
# Update properties of this object
|
2449
|
+
def update!(**args)
|
2450
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
2451
|
+
end
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
#
|
2455
|
+
class GoogleCloudApigeeV1ListDeveloperAppsResponse
|
2456
|
+
include Google::Apis::Core::Hashable
|
2457
|
+
|
2458
|
+
# List of developer apps and their credentials.
|
2459
|
+
# Corresponds to the JSON property `app`
|
2460
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp>]
|
2461
|
+
attr_accessor :app
|
2462
|
+
|
2463
|
+
def initialize(**args)
|
2464
|
+
update!(**args)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Update properties of this object
|
2468
|
+
def update!(**args)
|
2469
|
+
@app = args[:app] if args.key?(:app)
|
2470
|
+
end
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
# Response for
|
2474
|
+
# ListEnvironmentResources
|
2475
|
+
class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
|
2476
|
+
include Google::Apis::Core::Hashable
|
2477
|
+
|
2478
|
+
# List of resources files.
|
2479
|
+
# Corresponds to the JSON property `resourceFile`
|
2480
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
|
2481
|
+
attr_accessor :resource_file
|
2482
|
+
|
2483
|
+
def initialize(**args)
|
2484
|
+
update!(**args)
|
2485
|
+
end
|
2486
|
+
|
2487
|
+
# Update properties of this object
|
2488
|
+
def update!(**args)
|
2489
|
+
@resource_file = args[:resource_file] if args.key?(:resource_file)
|
2490
|
+
end
|
2491
|
+
end
|
2492
|
+
|
2493
|
+
#
|
2494
|
+
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
2495
|
+
include Google::Apis::Core::Hashable
|
2496
|
+
|
2497
|
+
# Lists of hybrid services and its trusted issuer email ids.
|
2498
|
+
# Corresponds to the JSON property `issuers`
|
2499
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ServiceIssuersMapping>]
|
2500
|
+
attr_accessor :issuers
|
2501
|
+
|
2502
|
+
def initialize(**args)
|
2503
|
+
update!(**args)
|
2504
|
+
end
|
2505
|
+
|
2506
|
+
# Update properties of this object
|
2507
|
+
def update!(**args)
|
2508
|
+
@issuers = args[:issuers] if args.key?(:issuers)
|
2509
|
+
end
|
2510
|
+
end
|
2511
|
+
|
2512
|
+
#
|
2513
|
+
class GoogleCloudApigeeV1ListOfDevelopersResponse
|
2514
|
+
include Google::Apis::Core::Hashable
|
2515
|
+
|
2516
|
+
# List of developers.
|
2517
|
+
# Corresponds to the JSON property `developer`
|
2518
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer>]
|
2519
|
+
attr_accessor :developer
|
2520
|
+
|
2521
|
+
def initialize(**args)
|
2522
|
+
update!(**args)
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# Update properties of this object
|
2526
|
+
def update!(**args)
|
2527
|
+
@developer = args[:developer] if args.key?(:developer)
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
#
|
2532
|
+
class GoogleCloudApigeeV1ListOrganizationsResponse
|
2533
|
+
include Google::Apis::Core::Hashable
|
2534
|
+
|
2535
|
+
# List of Apigee organizations and associated GCP projects.
|
2536
|
+
# Corresponds to the JSON property `organizations`
|
2537
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping>]
|
2538
|
+
attr_accessor :organizations
|
2539
|
+
|
2540
|
+
def initialize(**args)
|
2541
|
+
update!(**args)
|
2542
|
+
end
|
2543
|
+
|
2544
|
+
# Update properties of this object
|
2545
|
+
def update!(**args)
|
2546
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
2547
|
+
end
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
#
|
2551
|
+
class GoogleCloudApigeeV1ListSharedFlowsResponse
|
2552
|
+
include Google::Apis::Core::Hashable
|
2553
|
+
|
2554
|
+
#
|
2555
|
+
# Corresponds to the JSON property `sharedFlows`
|
2556
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SharedFlow>]
|
2557
|
+
attr_accessor :shared_flows
|
2558
|
+
|
2559
|
+
def initialize(**args)
|
2560
|
+
update!(**args)
|
2561
|
+
end
|
2562
|
+
|
2563
|
+
# Update properties of this object
|
2564
|
+
def update!(**args)
|
2565
|
+
@shared_flows = args[:shared_flows] if args.key?(:shared_flows)
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
# This message type encapsulates additional information about query execution
|
2570
|
+
class GoogleCloudApigeeV1Metadata
|
2571
|
+
include Google::Apis::Core::Hashable
|
2572
|
+
|
2573
|
+
# List of error messages as strings
|
2574
|
+
# Corresponds to the JSON property `errors`
|
2575
|
+
# @return [Array<String>]
|
2576
|
+
attr_accessor :errors
|
2577
|
+
|
2578
|
+
# List of additional information such as data source, if result was
|
2579
|
+
# truncated etc.
|
2580
|
+
# E.g
|
2581
|
+
# "notices": [
|
2582
|
+
# "Source:Postgres",
|
2583
|
+
# "PG Host:uappg0rw.e2e.apigeeks.net",
|
2584
|
+
# "query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed",
|
2585
|
+
# "Table used: edge.api.uapgroup2.agg_api"
|
2586
|
+
# ]
|
2587
|
+
# Corresponds to the JSON property `notices`
|
2588
|
+
# @return [Array<String>]
|
2589
|
+
attr_accessor :notices
|
2590
|
+
|
2591
|
+
def initialize(**args)
|
2592
|
+
update!(**args)
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# Update properties of this object
|
2596
|
+
def update!(**args)
|
2597
|
+
@errors = args[:errors] if args.key?(:errors)
|
2598
|
+
@notices = args[:notices] if args.key?(:notices)
|
2599
|
+
end
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
# This message type encapsulates the metric data point
|
2603
|
+
# Example
|
2604
|
+
# `
|
2605
|
+
# "name": "sum(message_count)",
|
2606
|
+
# "values" : [ `
|
2607
|
+
# "timestamp": 1549004400000,
|
2608
|
+
# "value": "39.0"
|
2609
|
+
# `,
|
2610
|
+
# `
|
2611
|
+
# "timestamp" : 1548997200000,
|
2612
|
+
# "value" : "0.0"
|
2613
|
+
# ` ]
|
2614
|
+
# `
|
2615
|
+
# or
|
2616
|
+
# `
|
2617
|
+
# "name": "sum(message_count)",
|
2618
|
+
# "values" : ["39.0"]
|
2619
|
+
# `
|
2620
|
+
class GoogleCloudApigeeV1Metric
|
2621
|
+
include Google::Apis::Core::Hashable
|
2622
|
+
|
2623
|
+
# This field contains the metric name
|
2624
|
+
# Corresponds to the JSON property `name`
|
2625
|
+
# @return [String]
|
2626
|
+
attr_accessor :name
|
2627
|
+
|
2628
|
+
# List of metric values
|
2629
|
+
# Possible value format
|
2630
|
+
# "values":["39.0"] or
|
2631
|
+
# "values":[ ` "value": "39.0", "timestamp": 1232434354` ]
|
2632
|
+
# Corresponds to the JSON property `values`
|
2633
|
+
# @return [Array<Object>]
|
2634
|
+
attr_accessor :values
|
2635
|
+
|
2636
|
+
def initialize(**args)
|
2637
|
+
update!(**args)
|
2638
|
+
end
|
2639
|
+
|
2640
|
+
# Update properties of this object
|
2641
|
+
def update!(**args)
|
2642
|
+
@name = args[:name] if args.key?(:name)
|
2643
|
+
@values = args[:values] if args.key?(:values)
|
2644
|
+
end
|
2645
|
+
end
|
2646
|
+
|
2647
|
+
# Metadata describing an Operation.
|
2648
|
+
class GoogleCloudApigeeV1OperationMetadata
|
2649
|
+
include Google::Apis::Core::Hashable
|
2650
|
+
|
2651
|
+
#
|
2652
|
+
# Corresponds to the JSON property `operationType`
|
2653
|
+
# @return [String]
|
2654
|
+
attr_accessor :operation_type
|
2655
|
+
|
2656
|
+
#
|
2657
|
+
# Corresponds to the JSON property `state`
|
2658
|
+
# @return [String]
|
2659
|
+
attr_accessor :state
|
2660
|
+
|
2661
|
+
# Name of the resource for which the operation is operating on.
|
2662
|
+
# Corresponds to the JSON property `targetResourceName`
|
2663
|
+
# @return [String]
|
2664
|
+
attr_accessor :target_resource_name
|
2665
|
+
|
2666
|
+
def initialize(**args)
|
2667
|
+
update!(**args)
|
2668
|
+
end
|
2669
|
+
|
2670
|
+
# Update properties of this object
|
2671
|
+
def update!(**args)
|
2672
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
2673
|
+
@state = args[:state] if args.key?(:state)
|
2674
|
+
@target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
|
2675
|
+
end
|
2676
|
+
end
|
2677
|
+
|
2678
|
+
#
|
2679
|
+
class GoogleCloudApigeeV1OptimizedStats
|
2680
|
+
include Google::Apis::Core::Hashable
|
2681
|
+
|
2682
|
+
# This message type encapsulates a response format for Js Optimized Scenario
|
2683
|
+
# Corresponds to the JSON property `Response`
|
2684
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse]
|
2685
|
+
attr_accessor :response
|
2686
|
+
|
2687
|
+
def initialize(**args)
|
2688
|
+
update!(**args)
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
# Update properties of this object
|
2692
|
+
def update!(**args)
|
2693
|
+
@response = args[:response] if args.key?(:response)
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2697
|
+
#
|
2698
|
+
class GoogleCloudApigeeV1OptimizedStatsNode
|
2699
|
+
include Google::Apis::Core::Hashable
|
2700
|
+
|
2701
|
+
#
|
2702
|
+
# Corresponds to the JSON property `data`
|
2703
|
+
# @return [Array<Object>]
|
2704
|
+
attr_accessor :data
|
2705
|
+
|
2706
|
+
def initialize(**args)
|
2707
|
+
update!(**args)
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
# Update properties of this object
|
2711
|
+
def update!(**args)
|
2712
|
+
@data = args[:data] if args.key?(:data)
|
2713
|
+
end
|
2714
|
+
end
|
2715
|
+
|
2716
|
+
# This message type encapsulates a response format for Js Optimized Scenario
|
2717
|
+
class GoogleCloudApigeeV1OptimizedStatsResponse
|
2718
|
+
include Google::Apis::Core::Hashable
|
2719
|
+
|
2720
|
+
# This field contains a list of time unit values. Time unit refers to
|
2721
|
+
# an epoch timestamp value.
|
2722
|
+
# Corresponds to the JSON property `TimeUnit`
|
2723
|
+
# @return [Array<Fixnum>]
|
2724
|
+
attr_accessor :time_unit
|
2725
|
+
|
2726
|
+
# This message type encapsulates additional information about query execution
|
2727
|
+
# Corresponds to the JSON property `metaData`
|
2728
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
|
2729
|
+
attr_accessor :meta_data
|
2730
|
+
|
2731
|
+
# This ia a boolean field to indicate if the results were truncated
|
2732
|
+
# based on the limit parameter.
|
2733
|
+
# Corresponds to the JSON property `resultTruncated`
|
2734
|
+
# @return [Boolean]
|
2735
|
+
attr_accessor :result_truncated
|
2736
|
+
alias_method :result_truncated?, :result_truncated
|
2737
|
+
|
2738
|
+
# This field contains a stats results
|
2739
|
+
# Corresponds to the JSON property `stats`
|
2740
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
|
2741
|
+
attr_accessor :stats
|
2742
|
+
|
2743
|
+
def initialize(**args)
|
2744
|
+
update!(**args)
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
# Update properties of this object
|
2748
|
+
def update!(**args)
|
2749
|
+
@time_unit = args[:time_unit] if args.key?(:time_unit)
|
2750
|
+
@meta_data = args[:meta_data] if args.key?(:meta_data)
|
2751
|
+
@result_truncated = args[:result_truncated] if args.key?(:result_truncated)
|
2752
|
+
@stats = args[:stats] if args.key?(:stats)
|
2753
|
+
end
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
#
|
2757
|
+
class GoogleCloudApigeeV1Organization
|
2758
|
+
include Google::Apis::Core::Hashable
|
2759
|
+
|
2760
|
+
# Required. Primary GCP region for analytics data storage. For valid values, see
|
2761
|
+
# [Create an
|
2762
|
+
# organization](https://docs.apigee.com/hybrid/latest/precog-provision).
|
2763
|
+
# Corresponds to the JSON property `analyticsRegion`
|
2764
|
+
# @return [String]
|
2765
|
+
attr_accessor :analytics_region
|
2766
|
+
|
2767
|
+
# Not used by Apigee.
|
2768
|
+
# Corresponds to the JSON property `attributes`
|
2769
|
+
# @return [Array<String>]
|
2770
|
+
attr_accessor :attributes
|
2771
|
+
|
2772
|
+
# Output only. Time that the Apigee organization was created in milliseconds
|
2773
|
+
# since epoch.
|
2774
|
+
# Corresponds to the JSON property `createdAt`
|
2775
|
+
# @return [Fixnum]
|
2776
|
+
attr_accessor :created_at
|
2777
|
+
|
2778
|
+
# Not used by Apigee.
|
2779
|
+
# Corresponds to the JSON property `customerName`
|
2780
|
+
# @return [String]
|
2781
|
+
attr_accessor :customer_name
|
2782
|
+
|
2783
|
+
# Description of the Apigee organization.
|
2784
|
+
# Corresponds to the JSON property `description`
|
2785
|
+
# @return [String]
|
2786
|
+
attr_accessor :description
|
2787
|
+
|
2788
|
+
#
|
2789
|
+
# Corresponds to the JSON property `displayName`
|
2790
|
+
# @return [String]
|
2791
|
+
attr_accessor :display_name
|
2792
|
+
|
2793
|
+
# Output only. List of environments in the Apigee organization.
|
2794
|
+
# Corresponds to the JSON property `environments`
|
2795
|
+
# @return [Array<String>]
|
2796
|
+
attr_accessor :environments
|
2797
|
+
|
2798
|
+
# Output only. Time that the Apigee organization was last modified in
|
2799
|
+
# milliseconds
|
2800
|
+
# since epoch.
|
2801
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
2802
|
+
# @return [Fixnum]
|
2803
|
+
attr_accessor :last_modified_at
|
2804
|
+
|
2805
|
+
# Output only. Name of the Apigee organization.
|
2806
|
+
# Corresponds to the JSON property `name`
|
2807
|
+
# @return [String]
|
2808
|
+
attr_accessor :name
|
2809
|
+
|
2810
|
+
# Message for compatibility with legacy Edge specification for Java Properties
|
2811
|
+
# object in JSON.
|
2812
|
+
# Corresponds to the JSON property `properties`
|
2813
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties]
|
2814
|
+
attr_accessor :properties
|
2815
|
+
|
2816
|
+
# Output only. Runtime type of the Apigee organization based on the Apigee
|
2817
|
+
# subscription
|
2818
|
+
# purchased.
|
2819
|
+
# Corresponds to the JSON property `runtimeType`
|
2820
|
+
# @return [String]
|
2821
|
+
attr_accessor :runtime_type
|
2822
|
+
|
2823
|
+
# Output only. Subscription type of the Apigee organization. Valid values
|
2824
|
+
# include trial
|
2825
|
+
# (free, limited, and for evaluation purposes only) or paid (full
|
2826
|
+
# subscription has been purchased). See
|
2827
|
+
# [Apigee pricing](https://cloud.google.com/apigee/pricing/).
|
2828
|
+
# Corresponds to the JSON property `subscriptionType`
|
2829
|
+
# @return [String]
|
2830
|
+
attr_accessor :subscription_type
|
2831
|
+
|
2832
|
+
# Not used by Apigee.
|
2833
|
+
# Corresponds to the JSON property `type`
|
2834
|
+
# @return [String]
|
2835
|
+
attr_accessor :type
|
2836
|
+
|
2837
|
+
def initialize(**args)
|
2838
|
+
update!(**args)
|
2839
|
+
end
|
2840
|
+
|
2841
|
+
# Update properties of this object
|
2842
|
+
def update!(**args)
|
2843
|
+
@analytics_region = args[:analytics_region] if args.key?(:analytics_region)
|
2844
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
2845
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
2846
|
+
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
2847
|
+
@description = args[:description] if args.key?(:description)
|
2848
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2849
|
+
@environments = args[:environments] if args.key?(:environments)
|
2850
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
2851
|
+
@name = args[:name] if args.key?(:name)
|
2852
|
+
@properties = args[:properties] if args.key?(:properties)
|
2853
|
+
@runtime_type = args[:runtime_type] if args.key?(:runtime_type)
|
2854
|
+
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
2855
|
+
@type = args[:type] if args.key?(:type)
|
2856
|
+
end
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
#
|
2860
|
+
class GoogleCloudApigeeV1OrganizationProjectMapping
|
2861
|
+
include Google::Apis::Core::Hashable
|
2862
|
+
|
2863
|
+
# Name of the Apigee organization.
|
2864
|
+
# Corresponds to the JSON property `organization`
|
2865
|
+
# @return [String]
|
2866
|
+
attr_accessor :organization
|
2867
|
+
|
2868
|
+
# List of GCP projects associated with the Apigee organization.
|
2869
|
+
# Corresponds to the JSON property `projectIds`
|
2870
|
+
# @return [Array<String>]
|
2871
|
+
attr_accessor :project_ids
|
2872
|
+
|
2873
|
+
def initialize(**args)
|
2874
|
+
update!(**args)
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# Update properties of this object
|
2878
|
+
def update!(**args)
|
2879
|
+
@organization = args[:organization] if args.key?(:organization)
|
2880
|
+
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
2881
|
+
end
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
#
|
2885
|
+
class GoogleCloudApigeeV1PodStatus
|
2886
|
+
include Google::Apis::Core::Hashable
|
2887
|
+
|
2888
|
+
# Version of the application running in the pod.
|
2889
|
+
# Corresponds to the JSON property `appVersion`
|
2890
|
+
# @return [String]
|
2891
|
+
attr_accessor :app_version
|
2892
|
+
|
2893
|
+
# Status of the deployment. Valid values
|
2894
|
+
# include:
|
2895
|
+
# - `deployed`: Successful.
|
2896
|
+
# - `error` : Failed.
|
2897
|
+
# - `pending` : Pod has not yet reported on the deployment.
|
2898
|
+
# Corresponds to the JSON property `deploymentStatus`
|
2899
|
+
# @return [String]
|
2900
|
+
attr_accessor :deployment_status
|
2901
|
+
|
2902
|
+
# Time the deployment status was reported in milliseconds since epoch.
|
2903
|
+
# Corresponds to the JSON property `deploymentStatusTime`
|
2904
|
+
# @return [Fixnum]
|
2905
|
+
attr_accessor :deployment_status_time
|
2906
|
+
|
2907
|
+
# Time the proxy was deployed in milliseconds since epoch.
|
2908
|
+
# Corresponds to the JSON property `deploymentTime`
|
2909
|
+
# @return [Fixnum]
|
2910
|
+
attr_accessor :deployment_time
|
2911
|
+
|
2912
|
+
# Name of the pod which is reporting the status.
|
2913
|
+
# Corresponds to the JSON property `podName`
|
2914
|
+
# @return [String]
|
2915
|
+
attr_accessor :pod_name
|
2916
|
+
|
2917
|
+
# Overall status of the pod (not this specific deployment). Valid values
|
2918
|
+
# include:
|
2919
|
+
# - `active`: Up to date.
|
2920
|
+
# - `stale` : Recently out of date.
|
2921
|
+
# Pods that have not reported status in a
|
2922
|
+
# long time are excluded from the output.
|
2923
|
+
# Corresponds to the JSON property `podStatus`
|
2924
|
+
# @return [String]
|
2925
|
+
attr_accessor :pod_status
|
2926
|
+
|
2927
|
+
# Time the pod status was reported in milliseconds since epoch.
|
2928
|
+
# Corresponds to the JSON property `podStatusTime`
|
2929
|
+
# @return [Fixnum]
|
2930
|
+
attr_accessor :pod_status_time
|
2931
|
+
|
2932
|
+
# Code associated with the deployment status.
|
2933
|
+
# Corresponds to the JSON property `statusCode`
|
2934
|
+
# @return [String]
|
2935
|
+
attr_accessor :status_code
|
2936
|
+
|
2937
|
+
# Human-readable message associated with the status code.
|
2938
|
+
# Corresponds to the JSON property `statusCodeDetails`
|
2939
|
+
# @return [String]
|
2940
|
+
attr_accessor :status_code_details
|
2941
|
+
|
2942
|
+
def initialize(**args)
|
2943
|
+
update!(**args)
|
2944
|
+
end
|
2945
|
+
|
2946
|
+
# Update properties of this object
|
2947
|
+
def update!(**args)
|
2948
|
+
@app_version = args[:app_version] if args.key?(:app_version)
|
2949
|
+
@deployment_status = args[:deployment_status] if args.key?(:deployment_status)
|
2950
|
+
@deployment_status_time = args[:deployment_status_time] if args.key?(:deployment_status_time)
|
2951
|
+
@deployment_time = args[:deployment_time] if args.key?(:deployment_time)
|
2952
|
+
@pod_name = args[:pod_name] if args.key?(:pod_name)
|
2953
|
+
@pod_status = args[:pod_status] if args.key?(:pod_status)
|
2954
|
+
@pod_status_time = args[:pod_status_time] if args.key?(:pod_status_time)
|
2955
|
+
@status_code = args[:status_code] if args.key?(:status_code)
|
2956
|
+
@status_code_details = args[:status_code_details] if args.key?(:status_code_details)
|
2957
|
+
end
|
2958
|
+
end
|
2959
|
+
|
2960
|
+
# Point is a group of information collected by runtime plane at critical points
|
2961
|
+
# of the message flow of the processed API request.
|
2962
|
+
# This is a list of supported point IDs, categorized to three major buckets.
|
2963
|
+
# For each category, debug points that we are currently supporting are listed
|
2964
|
+
# below:
|
2965
|
+
# - Flow status debug points:
|
2966
|
+
# StateChange
|
2967
|
+
# FlowInfo
|
2968
|
+
# Condition
|
2969
|
+
# Execution
|
2970
|
+
# DebugMask
|
2971
|
+
# Error
|
2972
|
+
# - Flow control debug points:
|
2973
|
+
# FlowCallout
|
2974
|
+
# Paused
|
2975
|
+
# Resumed
|
2976
|
+
# FlowReturn
|
2977
|
+
# BreakFlow
|
2978
|
+
# Error
|
2979
|
+
# - Runtime debug points:
|
2980
|
+
# ScriptExecutor
|
2981
|
+
# FlowCalloutStepDefinition
|
2982
|
+
# CustomTarget
|
2983
|
+
# StepDefinition
|
2984
|
+
# Oauth2ServicePoint
|
2985
|
+
# RaiseFault
|
2986
|
+
# NodeJS
|
2987
|
+
# The detail information of the given debug point is stored in a list of
|
2988
|
+
# results.
|
2989
|
+
class GoogleCloudApigeeV1Point
|
2990
|
+
include Google::Apis::Core::Hashable
|
2991
|
+
|
2992
|
+
# Name of a step in the transaction.
|
2993
|
+
# Corresponds to the JSON property `id`
|
2994
|
+
# @return [String]
|
2995
|
+
attr_accessor :id
|
2996
|
+
|
2997
|
+
# List of results extracted from a given debug point.
|
2998
|
+
# Corresponds to the JSON property `results`
|
2999
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Result>]
|
3000
|
+
attr_accessor :results
|
3001
|
+
|
3002
|
+
def initialize(**args)
|
3003
|
+
update!(**args)
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
# Update properties of this object
|
3007
|
+
def update!(**args)
|
3008
|
+
@id = args[:id] if args.key?(:id)
|
3009
|
+
@results = args[:results] if args.key?(:results)
|
3010
|
+
end
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# Message for compatibility with legacy Edge specification for Java Properties
|
3014
|
+
# object in JSON.
|
3015
|
+
class GoogleCloudApigeeV1Properties
|
3016
|
+
include Google::Apis::Core::Hashable
|
3017
|
+
|
3018
|
+
# List of all properties in the object
|
3019
|
+
# Corresponds to the JSON property `property`
|
3020
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Property>]
|
3021
|
+
attr_accessor :property
|
3022
|
+
|
3023
|
+
def initialize(**args)
|
3024
|
+
update!(**args)
|
3025
|
+
end
|
3026
|
+
|
3027
|
+
# Update properties of this object
|
3028
|
+
def update!(**args)
|
3029
|
+
@property = args[:property] if args.key?(:property)
|
3030
|
+
end
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# A single property entry in the Properties message.
|
3034
|
+
class GoogleCloudApigeeV1Property
|
3035
|
+
include Google::Apis::Core::Hashable
|
3036
|
+
|
3037
|
+
# The property key
|
3038
|
+
# Corresponds to the JSON property `name`
|
3039
|
+
# @return [String]
|
3040
|
+
attr_accessor :name
|
3041
|
+
|
3042
|
+
# The property value
|
3043
|
+
# Corresponds to the JSON property `value`
|
3044
|
+
# @return [String]
|
3045
|
+
attr_accessor :value
|
3046
|
+
|
3047
|
+
def initialize(**args)
|
3048
|
+
update!(**args)
|
3049
|
+
end
|
3050
|
+
|
3051
|
+
# Update properties of this object
|
3052
|
+
def update!(**args)
|
3053
|
+
@name = args[:name] if args.key?(:name)
|
3054
|
+
@value = args[:value] if args.key?(:value)
|
3055
|
+
end
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
#
|
3059
|
+
class GoogleCloudApigeeV1Query
|
3060
|
+
include Google::Apis::Core::Hashable
|
3061
|
+
|
3062
|
+
# Delimiter used in the CSV file, if `outputFormat` is set
|
3063
|
+
# to `csv`. Defaults to the `,` (comma) character.
|
3064
|
+
# Supported delimiter characters include comma (`,`), pipe (`|`),
|
3065
|
+
# and tab (`\t`).
|
3066
|
+
# Corresponds to the JSON property `csvDelimiter`
|
3067
|
+
# @return [String]
|
3068
|
+
attr_accessor :csv_delimiter
|
3069
|
+
|
3070
|
+
# A list of dimensions
|
3071
|
+
# https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions
|
3072
|
+
# Corresponds to the JSON property `dimensions`
|
3073
|
+
# @return [Array<String>]
|
3074
|
+
attr_accessor :dimensions
|
3075
|
+
|
3076
|
+
# Boolean expression that can be used to filter data.
|
3077
|
+
# Filter expressions can be combined using AND/OR terms and should be fully
|
3078
|
+
# parenthesized to avoid ambiguity. See Analytics metrics, dimensions, and
|
3079
|
+
# filters reference
|
3080
|
+
# https://docs.apigee.com/api-platform/analytics/analytics-reference
|
3081
|
+
# for more information on the fields available to filter
|
3082
|
+
# on. For more information on the tokens that you use to build filter
|
3083
|
+
# expressions, see Filter expression syntax.
|
3084
|
+
# https://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-
|
3085
|
+
# expression-syntax
|
3086
|
+
# Corresponds to the JSON property `filter`
|
3087
|
+
# @return [String]
|
3088
|
+
attr_accessor :filter
|
3089
|
+
|
3090
|
+
# Time unit used to group the result set.
|
3091
|
+
# Valid values include: second, minute, hour, day, week, or month.
|
3092
|
+
# If a query includes groupByTimeUnit, then the result is an aggregation
|
3093
|
+
# based on the specified time unit and the resultant timestamp does not
|
3094
|
+
# include milliseconds precision.
|
3095
|
+
# If a query omits groupByTimeUnit, then the resultant timestamp includes
|
3096
|
+
# milliseconds precision.
|
3097
|
+
# Corresponds to the JSON property `groupByTimeUnit`
|
3098
|
+
# @return [String]
|
3099
|
+
attr_accessor :group_by_time_unit
|
3100
|
+
|
3101
|
+
# Maximum number of rows that can be returned in the result.
|
3102
|
+
# Corresponds to the JSON property `limit`
|
3103
|
+
# @return [Fixnum]
|
3104
|
+
attr_accessor :limit
|
3105
|
+
|
3106
|
+
# A list of Metrics
|
3107
|
+
# Corresponds to the JSON property `metrics`
|
3108
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetric>]
|
3109
|
+
attr_accessor :metrics
|
3110
|
+
|
3111
|
+
# Asynchronous Query Name.
|
3112
|
+
# Corresponds to the JSON property `name`
|
3113
|
+
# @return [String]
|
3114
|
+
attr_accessor :name
|
3115
|
+
|
3116
|
+
# Valid values include: `csv` or `json`. Defaults to `json`.
|
3117
|
+
# Note: Configure the delimiter for CSV output using the csvDelimiter
|
3118
|
+
# property.
|
3119
|
+
# Corresponds to the JSON property `outputFormat`
|
3120
|
+
# @return [String]
|
3121
|
+
attr_accessor :output_format
|
3122
|
+
|
3123
|
+
# Asynchronous Report ID.
|
3124
|
+
# Corresponds to the JSON property `reportDefinitionId`
|
3125
|
+
# @return [String]
|
3126
|
+
attr_accessor :report_definition_id
|
3127
|
+
|
3128
|
+
# Required. Time range for the query.
|
3129
|
+
# Can use the following predefined strings to specify the time range:
|
3130
|
+
# `last60minutes`
|
3131
|
+
# `last24hours`
|
3132
|
+
# `last7days`
|
3133
|
+
# Or, specify the timeRange as a structure describing start and end
|
3134
|
+
# timestamps in the ISO format: yyyy-mm-ddThh:mm:ssZ.
|
3135
|
+
# Example:
|
3136
|
+
# "timeRange": `
|
3137
|
+
# "start": "2018-07-29T00:13:00Z",
|
3138
|
+
# "end": "2018-08-01T00:18:00Z"
|
3139
|
+
# `
|
3140
|
+
# Corresponds to the JSON property `timeRange`
|
3141
|
+
# @return [Object]
|
3142
|
+
attr_accessor :time_range
|
3143
|
+
|
3144
|
+
def initialize(**args)
|
3145
|
+
update!(**args)
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
# Update properties of this object
|
3149
|
+
def update!(**args)
|
3150
|
+
@csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
|
3151
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3152
|
+
@filter = args[:filter] if args.key?(:filter)
|
3153
|
+
@group_by_time_unit = args[:group_by_time_unit] if args.key?(:group_by_time_unit)
|
3154
|
+
@limit = args[:limit] if args.key?(:limit)
|
3155
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
3156
|
+
@name = args[:name] if args.key?(:name)
|
3157
|
+
@output_format = args[:output_format] if args.key?(:output_format)
|
3158
|
+
@report_definition_id = args[:report_definition_id] if args.key?(:report_definition_id)
|
3159
|
+
@time_range = args[:time_range] if args.key?(:time_range)
|
3160
|
+
end
|
3161
|
+
end
|
3162
|
+
|
3163
|
+
#
|
3164
|
+
class GoogleCloudApigeeV1QueryMetadata
|
3165
|
+
include Google::Apis::Core::Hashable
|
3166
|
+
|
3167
|
+
# Dimensions of the AsyncQuery.
|
3168
|
+
# Corresponds to the JSON property `dimensions`
|
3169
|
+
# @return [Array<String>]
|
3170
|
+
attr_accessor :dimensions
|
3171
|
+
|
3172
|
+
# End timestamp of the query range.
|
3173
|
+
# Corresponds to the JSON property `endTimestamp`
|
3174
|
+
# @return [String]
|
3175
|
+
attr_accessor :end_timestamp
|
3176
|
+
|
3177
|
+
# Metrics of the AsyncQuery.
|
3178
|
+
# Example: ["name:message_count,func:sum,alias:sum_message_count"]
|
3179
|
+
# Corresponds to the JSON property `metrics`
|
3180
|
+
# @return [Array<String>]
|
3181
|
+
attr_accessor :metrics
|
3182
|
+
|
3183
|
+
# Output format.
|
3184
|
+
# Corresponds to the JSON property `outputFormat`
|
3185
|
+
# @return [String]
|
3186
|
+
attr_accessor :output_format
|
3187
|
+
|
3188
|
+
# Start timestamp of the query range.
|
3189
|
+
# Corresponds to the JSON property `startTimestamp`
|
3190
|
+
# @return [String]
|
3191
|
+
attr_accessor :start_timestamp
|
3192
|
+
|
3193
|
+
# Query GroupBy time unit.
|
3194
|
+
# Corresponds to the JSON property `timeUnit`
|
3195
|
+
# @return [String]
|
3196
|
+
attr_accessor :time_unit
|
3197
|
+
|
3198
|
+
def initialize(**args)
|
3199
|
+
update!(**args)
|
3200
|
+
end
|
3201
|
+
|
3202
|
+
# Update properties of this object
|
3203
|
+
def update!(**args)
|
3204
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3205
|
+
@end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
|
3206
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
3207
|
+
@output_format = args[:output_format] if args.key?(:output_format)
|
3208
|
+
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
3209
|
+
@time_unit = args[:time_unit] if args.key?(:time_unit)
|
3210
|
+
end
|
3211
|
+
end
|
3212
|
+
|
3213
|
+
# More info about Metric:
|
3214
|
+
# https://docs.apigee.com/api-platform/analytics/analytics-reference#metrics
|
3215
|
+
class GoogleCloudApigeeV1QueryMetric
|
3216
|
+
include Google::Apis::Core::Hashable
|
3217
|
+
|
3218
|
+
# Alias for the metric. Alias will be used to replace metric name
|
3219
|
+
# in query results.
|
3220
|
+
# Corresponds to the JSON property `alias`
|
3221
|
+
# @return [String]
|
3222
|
+
attr_accessor :alias
|
3223
|
+
|
3224
|
+
# Aggregation function: avg, min, max, or sum
|
3225
|
+
# Corresponds to the JSON property `function`
|
3226
|
+
# @return [String]
|
3227
|
+
attr_accessor :function
|
3228
|
+
|
3229
|
+
# Required. Metric name
|
3230
|
+
# Corresponds to the JSON property `name`
|
3231
|
+
# @return [String]
|
3232
|
+
attr_accessor :name
|
3233
|
+
|
3234
|
+
# One of `+`, `-`, `/`, `%`, `*`
|
3235
|
+
# Corresponds to the JSON property `operator`
|
3236
|
+
# @return [String]
|
3237
|
+
attr_accessor :operator
|
3238
|
+
|
3239
|
+
# Operand value should be provided when operator is set.
|
3240
|
+
# Corresponds to the JSON property `value`
|
3241
|
+
# @return [String]
|
3242
|
+
attr_accessor :value
|
3243
|
+
|
3244
|
+
def initialize(**args)
|
3245
|
+
update!(**args)
|
3246
|
+
end
|
3247
|
+
|
3248
|
+
# Update properties of this object
|
3249
|
+
def update!(**args)
|
3250
|
+
@alias = args[:alias] if args.key?(:alias)
|
3251
|
+
@function = args[:function] if args.key?(:function)
|
3252
|
+
@name = args[:name] if args.key?(:name)
|
3253
|
+
@operator = args[:operator] if args.key?(:operator)
|
3254
|
+
@value = args[:value] if args.key?(:value)
|
3255
|
+
end
|
3256
|
+
end
|
3257
|
+
|
3258
|
+
# A Reference configuration. References must refer to a keystore
|
3259
|
+
# that also exists in the parent environment.
|
3260
|
+
class GoogleCloudApigeeV1Reference
|
3261
|
+
include Google::Apis::Core::Hashable
|
3262
|
+
|
3263
|
+
# Optional. A human-readable description of this reference.
|
3264
|
+
# Corresponds to the JSON property `description`
|
3265
|
+
# @return [String]
|
3266
|
+
attr_accessor :description
|
3267
|
+
|
3268
|
+
# Required. The resource id of this reference. Values must match the
|
3269
|
+
# regular expression [\w\s\-.]+.
|
3270
|
+
# Corresponds to the JSON property `name`
|
3271
|
+
# @return [String]
|
3272
|
+
attr_accessor :name
|
3273
|
+
|
3274
|
+
# Required. The id of the resource to which this reference refers.
|
3275
|
+
# Must be the id of a resource that exists in the parent environment and is
|
3276
|
+
# of the given resource_type.
|
3277
|
+
# Corresponds to the JSON property `refers`
|
3278
|
+
# @return [String]
|
3279
|
+
attr_accessor :refers
|
3280
|
+
|
3281
|
+
# The type of resource referred to by this reference. Valid values
|
3282
|
+
# are 'KeyStore' or 'TrustStore'.
|
3283
|
+
# Corresponds to the JSON property `resourceType`
|
3284
|
+
# @return [String]
|
3285
|
+
attr_accessor :resource_type
|
3286
|
+
|
3287
|
+
def initialize(**args)
|
3288
|
+
update!(**args)
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# Update properties of this object
|
3292
|
+
def update!(**args)
|
3293
|
+
@description = args[:description] if args.key?(:description)
|
3294
|
+
@name = args[:name] if args.key?(:name)
|
3295
|
+
@refers = args[:refers] if args.key?(:refers)
|
3296
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
3297
|
+
end
|
3298
|
+
end
|
3299
|
+
|
3300
|
+
#
|
3301
|
+
class GoogleCloudApigeeV1ReferenceConfig
|
3302
|
+
include Google::Apis::Core::Hashable
|
3303
|
+
|
3304
|
+
# The name of the reference. Must be of the form
|
3305
|
+
# 'organizations/`org`/environments/`env`/references/`ref`'.
|
3306
|
+
# Corresponds to the JSON property `name`
|
3307
|
+
# @return [String]
|
3308
|
+
attr_accessor :name
|
3309
|
+
|
3310
|
+
# The name of the referred resource. Only references to keystore resources
|
3311
|
+
# are supported. Must be of the form
|
3312
|
+
# 'organizations/`org`/environments/`env`/keystores/`ks`'.
|
3313
|
+
# Corresponds to the JSON property `resourceName`
|
3314
|
+
# @return [String]
|
3315
|
+
attr_accessor :resource_name
|
3316
|
+
|
3317
|
+
def initialize(**args)
|
3318
|
+
update!(**args)
|
3319
|
+
end
|
3320
|
+
|
3321
|
+
# Update properties of this object
|
3322
|
+
def update!(**args)
|
3323
|
+
@name = args[:name] if args.key?(:name)
|
3324
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
|
3328
|
+
#
|
3329
|
+
class GoogleCloudApigeeV1ReportProperty
|
3330
|
+
include Google::Apis::Core::Hashable
|
3331
|
+
|
3332
|
+
# name of the property
|
3333
|
+
# Corresponds to the JSON property `property`
|
3334
|
+
# @return [String]
|
3335
|
+
attr_accessor :property
|
3336
|
+
|
3337
|
+
# property values
|
3338
|
+
# Corresponds to the JSON property `value`
|
3339
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
3340
|
+
attr_accessor :value
|
3341
|
+
|
3342
|
+
def initialize(**args)
|
3343
|
+
update!(**args)
|
3344
|
+
end
|
3345
|
+
|
3346
|
+
# Update properties of this object
|
3347
|
+
def update!(**args)
|
3348
|
+
@property = args[:property] if args.key?(:property)
|
3349
|
+
@value = args[:value] if args.key?(:value)
|
3350
|
+
end
|
3351
|
+
end
|
3352
|
+
|
3353
|
+
#
|
3354
|
+
class GoogleCloudApigeeV1ResourceConfig
|
3355
|
+
include Google::Apis::Core::Hashable
|
3356
|
+
|
3357
|
+
# The location of the resource as a URI.
|
3358
|
+
# Corresponds to the JSON property `location`
|
3359
|
+
# @return [String]
|
3360
|
+
attr_accessor :location
|
3361
|
+
|
3362
|
+
# The resource name. Only environment-scoped resource files are supported.
|
3363
|
+
# Must be of the form
|
3364
|
+
# 'organizations/`org`/environments/`env`/resourcefiles/`type`/`file`/revisions/`
|
3365
|
+
# rev`'.
|
3366
|
+
# Corresponds to the JSON property `name`
|
3367
|
+
# @return [String]
|
3368
|
+
attr_accessor :name
|
3369
|
+
|
3370
|
+
def initialize(**args)
|
3371
|
+
update!(**args)
|
3372
|
+
end
|
3373
|
+
|
3374
|
+
# Update properties of this object
|
3375
|
+
def update!(**args)
|
3376
|
+
@location = args[:location] if args.key?(:location)
|
3377
|
+
@name = args[:name] if args.key?(:name)
|
3378
|
+
end
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
# Metadata about a resource file.
|
3382
|
+
class GoogleCloudApigeeV1ResourceFile
|
3383
|
+
include Google::Apis::Core::Hashable
|
3384
|
+
|
3385
|
+
# ID of the resource file.
|
3386
|
+
# Corresponds to the JSON property `name`
|
3387
|
+
# @return [String]
|
3388
|
+
attr_accessor :name
|
3389
|
+
|
3390
|
+
# Resource file type. `` resource_file_type ``
|
3391
|
+
# Corresponds to the JSON property `type`
|
3392
|
+
# @return [String]
|
3393
|
+
attr_accessor :type
|
3394
|
+
|
3395
|
+
def initialize(**args)
|
3396
|
+
update!(**args)
|
3397
|
+
end
|
3398
|
+
|
3399
|
+
# Update properties of this object
|
3400
|
+
def update!(**args)
|
3401
|
+
@name = args[:name] if args.key?(:name)
|
3402
|
+
@type = args[:type] if args.key?(:type)
|
3403
|
+
end
|
3404
|
+
end
|
3405
|
+
|
3406
|
+
# List of resource files.
|
3407
|
+
class GoogleCloudApigeeV1ResourceFiles
|
3408
|
+
include Google::Apis::Core::Hashable
|
3409
|
+
|
3410
|
+
# List of resource files.
|
3411
|
+
# Corresponds to the JSON property `resourceFile`
|
3412
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
|
3413
|
+
attr_accessor :resource_file
|
3414
|
+
|
3415
|
+
def initialize(**args)
|
3416
|
+
update!(**args)
|
3417
|
+
end
|
3418
|
+
|
3419
|
+
# Update properties of this object
|
3420
|
+
def update!(**args)
|
3421
|
+
@resource_file = args[:resource_file] if args.key?(:resource_file)
|
3422
|
+
end
|
3423
|
+
end
|
3424
|
+
|
3425
|
+
# Result is short for "action result", could be different types identified by
|
3426
|
+
# "action_result" field. Supported types:
|
3427
|
+
# 1. DebugInfo : generic debug info collected by runtime recorded as a list of
|
3428
|
+
# properties. For example, the contents could be virtual host info, state
|
3429
|
+
# change result, or execution metadata. Required fields : properties, timestamp
|
3430
|
+
# 2. RequestMessage: information of a http request. Contains headers, request
|
3431
|
+
# URI and http methods type.Required fields : headers, uri, verb
|
3432
|
+
# 3. ResponseMessage: information of a http response. Contains headers, reason
|
3433
|
+
# phrase and http status code. Required fields : headers, reasonPhrase,
|
3434
|
+
# statusCode
|
3435
|
+
# 4. ErrorMessage: information of a http error message. Contains detail error
|
3436
|
+
# message, reason phrase and status code. Required fields : content, headers,
|
3437
|
+
# reasonPhrase, statusCode
|
3438
|
+
# 5. VariableAccess: a list of variable access actions, can be Get, Set and
|
3439
|
+
# Remove. Required fields : accessList
|
3440
|
+
class GoogleCloudApigeeV1Result
|
3441
|
+
include Google::Apis::Core::Hashable
|
3442
|
+
|
3443
|
+
# Type of the action result. Can be one of the five: DebugInfo,
|
3444
|
+
# RequestMessage, ResponseMessage, ErrorMessage, VariableAccess
|
3445
|
+
# Corresponds to the JSON property `ActionResult`
|
3446
|
+
# @return [String]
|
3447
|
+
attr_accessor :action_result
|
3448
|
+
|
3449
|
+
# A list of variable access actions agaist the api proxy.
|
3450
|
+
# Supported values: Get, Set, Remove.
|
3451
|
+
# Corresponds to the JSON property `accessList`
|
3452
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Access>]
|
3453
|
+
attr_accessor :access_list
|
3454
|
+
|
3455
|
+
# Error message content. for example,
|
3456
|
+
# "content" : "`\"fault\":`\"faultstring\":\"API timed
|
3457
|
+
# out\",\"detail\":`\"errorcode\":\"flow.APITimedOut\"```"
|
3458
|
+
# Corresponds to the JSON property `content`
|
3459
|
+
# @return [String]
|
3460
|
+
attr_accessor :content
|
3461
|
+
|
3462
|
+
# A list of HTTP headers.
|
3463
|
+
# for example,
|
3464
|
+
# '"headers" : [ `
|
3465
|
+
# "name" : "Content-Length",
|
3466
|
+
# "value" : "83"
|
3467
|
+
# `, `
|
3468
|
+
# "name" : "Content-Type",
|
3469
|
+
# "value" : "application/json"
|
3470
|
+
# ` ]'
|
3471
|
+
# Corresponds to the JSON property `headers`
|
3472
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Property>]
|
3473
|
+
attr_accessor :headers
|
3474
|
+
|
3475
|
+
# Message for compatibility with legacy Edge specification for Java Properties
|
3476
|
+
# object in JSON.
|
3477
|
+
# Corresponds to the JSON property `properties`
|
3478
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties]
|
3479
|
+
attr_accessor :properties
|
3480
|
+
|
3481
|
+
# HTTP response phrase
|
3482
|
+
# Corresponds to the JSON property `reasonPhrase`
|
3483
|
+
# @return [String]
|
3484
|
+
attr_accessor :reason_phrase
|
3485
|
+
|
3486
|
+
# HTTP response code
|
3487
|
+
# Corresponds to the JSON property `statusCode`
|
3488
|
+
# @return [String]
|
3489
|
+
attr_accessor :status_code
|
3490
|
+
|
3491
|
+
# Timestamp of when the result is recorded. Its format is dd-mm-yy
|
3492
|
+
# hh:mm:ss:xxx. For example, `"timestamp" : "12-08-19 00:31:59:960"`
|
3493
|
+
# Corresponds to the JSON property `timestamp`
|
3494
|
+
# @return [String]
|
3495
|
+
attr_accessor :timestamp
|
3496
|
+
|
3497
|
+
# The relative path of the api proxy.
|
3498
|
+
# for example, `"uRI" : "/iloveapis"`
|
3499
|
+
# Corresponds to the JSON property `uRI`
|
3500
|
+
# @return [String]
|
3501
|
+
attr_accessor :u_ri
|
3502
|
+
|
3503
|
+
# HTTP method verb
|
3504
|
+
# Corresponds to the JSON property `verb`
|
3505
|
+
# @return [String]
|
3506
|
+
attr_accessor :verb
|
3507
|
+
|
3508
|
+
def initialize(**args)
|
3509
|
+
update!(**args)
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
# Update properties of this object
|
3513
|
+
def update!(**args)
|
3514
|
+
@action_result = args[:action_result] if args.key?(:action_result)
|
3515
|
+
@access_list = args[:access_list] if args.key?(:access_list)
|
3516
|
+
@content = args[:content] if args.key?(:content)
|
3517
|
+
@headers = args[:headers] if args.key?(:headers)
|
3518
|
+
@properties = args[:properties] if args.key?(:properties)
|
3519
|
+
@reason_phrase = args[:reason_phrase] if args.key?(:reason_phrase)
|
3520
|
+
@status_code = args[:status_code] if args.key?(:status_code)
|
3521
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
3522
|
+
@u_ri = args[:u_ri] if args.key?(:u_ri)
|
3523
|
+
@verb = args[:verb] if args.key?(:verb)
|
3524
|
+
end
|
3525
|
+
end
|
3526
|
+
|
3527
|
+
# Response for Schema call
|
3528
|
+
class GoogleCloudApigeeV1Schema
|
3529
|
+
include Google::Apis::Core::Hashable
|
3530
|
+
|
3531
|
+
# List of schema fiels grouped as dimensions.
|
3532
|
+
# Corresponds to the JSON property `dimensions`
|
3533
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
|
3534
|
+
attr_accessor :dimensions
|
3535
|
+
|
3536
|
+
# Additional metadata associated with schema. This is
|
3537
|
+
# a legacy field and usually consists of an empty array of strings.
|
3538
|
+
# Corresponds to the JSON property `meta`
|
3539
|
+
# @return [Array<String>]
|
3540
|
+
attr_accessor :meta
|
3541
|
+
|
3542
|
+
# List of schema fields grouped as dimensions. These are fields
|
3543
|
+
# that can be used with an aggregate function such as sum, avg, min, max.
|
3544
|
+
# Corresponds to the JSON property `metrics`
|
3545
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
|
3546
|
+
attr_accessor :metrics
|
3547
|
+
|
3548
|
+
def initialize(**args)
|
3549
|
+
update!(**args)
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# Update properties of this object
|
3553
|
+
def update!(**args)
|
3554
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3555
|
+
@meta = args[:meta] if args.key?(:meta)
|
3556
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
3557
|
+
end
|
3558
|
+
end
|
3559
|
+
|
3560
|
+
# Message type for the schema element
|
3561
|
+
class GoogleCloudApigeeV1SchemaSchemaElement
|
3562
|
+
include Google::Apis::Core::Hashable
|
3563
|
+
|
3564
|
+
# Name of the field
|
3565
|
+
# Corresponds to the JSON property `name`
|
3566
|
+
# @return [String]
|
3567
|
+
attr_accessor :name
|
3568
|
+
|
3569
|
+
# Message type for schema property
|
3570
|
+
# Corresponds to the JSON property `properties`
|
3571
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaProperty]
|
3572
|
+
attr_accessor :properties
|
3573
|
+
|
3574
|
+
def initialize(**args)
|
3575
|
+
update!(**args)
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
# Update properties of this object
|
3579
|
+
def update!(**args)
|
3580
|
+
@name = args[:name] if args.key?(:name)
|
3581
|
+
@properties = args[:properties] if args.key?(:properties)
|
3582
|
+
end
|
3583
|
+
end
|
3584
|
+
|
3585
|
+
# Message type for schema property
|
3586
|
+
class GoogleCloudApigeeV1SchemaSchemaProperty
|
3587
|
+
include Google::Apis::Core::Hashable
|
3588
|
+
|
3589
|
+
# Creation time of the field
|
3590
|
+
# Corresponds to the JSON property `createTime`
|
3591
|
+
# @return [String]
|
3592
|
+
attr_accessor :create_time
|
3593
|
+
|
3594
|
+
# Custom is a flag signifying if the field was provided as
|
3595
|
+
# part of the standard dataset or a custom field created by the customer
|
3596
|
+
# Corresponds to the JSON property `custom`
|
3597
|
+
# @return [String]
|
3598
|
+
attr_accessor :custom
|
3599
|
+
|
3600
|
+
# Data type of the field.
|
3601
|
+
# Corresponds to the JSON property `type`
|
3602
|
+
# @return [String]
|
3603
|
+
attr_accessor :type
|
3604
|
+
|
3605
|
+
def initialize(**args)
|
3606
|
+
update!(**args)
|
3607
|
+
end
|
3608
|
+
|
3609
|
+
# Update properties of this object
|
3610
|
+
def update!(**args)
|
3611
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3612
|
+
@custom = args[:custom] if args.key?(:custom)
|
3613
|
+
@type = args[:type] if args.key?(:type)
|
3614
|
+
end
|
3615
|
+
end
|
3616
|
+
|
3617
|
+
#
|
3618
|
+
class GoogleCloudApigeeV1ServiceIssuersMapping
|
3619
|
+
include Google::Apis::Core::Hashable
|
3620
|
+
|
3621
|
+
# List of trusted issuer email ids.
|
3622
|
+
# Corresponds to the JSON property `emailIds`
|
3623
|
+
# @return [Array<String>]
|
3624
|
+
attr_accessor :email_ids
|
3625
|
+
|
3626
|
+
# String indicating the Apigee service name.
|
3627
|
+
# Corresponds to the JSON property `service`
|
3628
|
+
# @return [String]
|
3629
|
+
attr_accessor :service
|
3630
|
+
|
3631
|
+
def initialize(**args)
|
3632
|
+
update!(**args)
|
3633
|
+
end
|
3634
|
+
|
3635
|
+
# Update properties of this object
|
3636
|
+
def update!(**args)
|
3637
|
+
@email_ids = args[:email_ids] if args.key?(:email_ids)
|
3638
|
+
@service = args[:service] if args.key?(:service)
|
3639
|
+
end
|
3640
|
+
end
|
3641
|
+
|
3642
|
+
# Session carries the debug session id and its creation time.
|
3643
|
+
class GoogleCloudApigeeV1Session
|
3644
|
+
include Google::Apis::Core::Hashable
|
3645
|
+
|
3646
|
+
# The debug session ID.
|
3647
|
+
# Corresponds to the JSON property `id`
|
3648
|
+
# @return [String]
|
3649
|
+
attr_accessor :id
|
3650
|
+
|
3651
|
+
# The first transaction creation timestamp in millisecond, recoreded by UAP.
|
3652
|
+
# Corresponds to the JSON property `timestampMs`
|
3653
|
+
# @return [Fixnum]
|
3654
|
+
attr_accessor :timestamp_ms
|
3655
|
+
|
3656
|
+
def initialize(**args)
|
3657
|
+
update!(**args)
|
3658
|
+
end
|
3659
|
+
|
3660
|
+
# Update properties of this object
|
3661
|
+
def update!(**args)
|
3662
|
+
@id = args[:id] if args.key?(:id)
|
3663
|
+
@timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
|
3664
|
+
end
|
3665
|
+
end
|
3666
|
+
|
3667
|
+
# The metadata describing a shared flow
|
3668
|
+
class GoogleCloudApigeeV1SharedFlow
|
3669
|
+
include Google::Apis::Core::Hashable
|
3670
|
+
|
3671
|
+
# The id of the most recently created revision for this shared flow.
|
3672
|
+
# Corresponds to the JSON property `latestRevisionId`
|
3673
|
+
# @return [String]
|
3674
|
+
attr_accessor :latest_revision_id
|
3675
|
+
|
3676
|
+
# Metadata common to many entities in this API.
|
3677
|
+
# Corresponds to the JSON property `metaData`
|
3678
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata]
|
3679
|
+
attr_accessor :meta_data
|
3680
|
+
|
3681
|
+
# The ID of the shared flow.
|
3682
|
+
# Corresponds to the JSON property `name`
|
3683
|
+
# @return [String]
|
3684
|
+
attr_accessor :name
|
3685
|
+
|
3686
|
+
# A list of revisions of this shared flow.
|
3687
|
+
# Corresponds to the JSON property `revision`
|
3688
|
+
# @return [Array<String>]
|
3689
|
+
attr_accessor :revision
|
3690
|
+
|
3691
|
+
def initialize(**args)
|
3692
|
+
update!(**args)
|
3693
|
+
end
|
3694
|
+
|
3695
|
+
# Update properties of this object
|
3696
|
+
def update!(**args)
|
3697
|
+
@latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
|
3698
|
+
@meta_data = args[:meta_data] if args.key?(:meta_data)
|
3699
|
+
@name = args[:name] if args.key?(:name)
|
3700
|
+
@revision = args[:revision] if args.key?(:revision)
|
3701
|
+
end
|
3702
|
+
end
|
3703
|
+
|
3704
|
+
# The metadata describing a shared flow revision.
|
3705
|
+
class GoogleCloudApigeeV1SharedFlowRevision
|
3706
|
+
include Google::Apis::Core::Hashable
|
3707
|
+
|
3708
|
+
# Version of the API proxy configuration schema. Currently, only 4.0 is
|
3709
|
+
# supported.
|
3710
|
+
# Corresponds to the JSON property `configurationVersion`
|
3711
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion]
|
3712
|
+
attr_accessor :configuration_version
|
3713
|
+
|
3714
|
+
# A textual description of the shared flow revision.
|
3715
|
+
# Corresponds to the JSON property `contextInfo`
|
3716
|
+
# @return [String]
|
3717
|
+
attr_accessor :context_info
|
3718
|
+
|
3719
|
+
# Time at which this shared flow revision was created, in milliseconds since
|
3720
|
+
# epoch.
|
3721
|
+
# Corresponds to the JSON property `createdAt`
|
3722
|
+
# @return [Fixnum]
|
3723
|
+
attr_accessor :created_at
|
3724
|
+
|
3725
|
+
# Description of the shared flow revision.
|
3726
|
+
# Corresponds to the JSON property `description`
|
3727
|
+
# @return [String]
|
3728
|
+
attr_accessor :description
|
3729
|
+
|
3730
|
+
# The human readable name of this shared flow.
|
3731
|
+
# Corresponds to the JSON property `displayName`
|
3732
|
+
# @return [String]
|
3733
|
+
attr_accessor :display_name
|
3734
|
+
|
3735
|
+
# A Key-Value map of metadata about this shared flow revision.
|
3736
|
+
# Corresponds to the JSON property `entityMetaDataAsProperties`
|
3737
|
+
# @return [Hash<String,String>]
|
3738
|
+
attr_accessor :entity_meta_data_as_properties
|
3739
|
+
|
3740
|
+
# Time at which this shared flow revision was most recently modified, in
|
3741
|
+
# milliseconds since epoch.
|
3742
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
3743
|
+
# @return [Fixnum]
|
3744
|
+
attr_accessor :last_modified_at
|
3745
|
+
|
3746
|
+
# The resource ID of the parent shared flow.
|
3747
|
+
# Corresponds to the JSON property `name`
|
3748
|
+
# @return [String]
|
3749
|
+
attr_accessor :name
|
3750
|
+
|
3751
|
+
# A list of policy names included in this shared flow revision.
|
3752
|
+
# Corresponds to the JSON property `policies`
|
3753
|
+
# @return [Array<String>]
|
3754
|
+
attr_accessor :policies
|
3755
|
+
|
3756
|
+
# List of resource files.
|
3757
|
+
# Corresponds to the JSON property `resourceFiles`
|
3758
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFiles]
|
3759
|
+
attr_accessor :resource_files
|
3760
|
+
|
3761
|
+
# A list of the resources included in this shared flow revision formatted as
|
3762
|
+
# "`type`://`name`".
|
3763
|
+
# Corresponds to the JSON property `resources`
|
3764
|
+
# @return [Array<String>]
|
3765
|
+
attr_accessor :resources
|
3766
|
+
|
3767
|
+
# The resource ID of this revision.
|
3768
|
+
# Corresponds to the JSON property `revision`
|
3769
|
+
# @return [String]
|
3770
|
+
attr_accessor :revision
|
3771
|
+
|
3772
|
+
# A list of the shared flow names included in this shared flow revision.
|
3773
|
+
# Corresponds to the JSON property `sharedFlows`
|
3774
|
+
# @return [Array<String>]
|
3775
|
+
attr_accessor :shared_flows
|
3776
|
+
|
3777
|
+
# The string "Application"
|
3778
|
+
# Corresponds to the JSON property `type`
|
3779
|
+
# @return [String]
|
3780
|
+
attr_accessor :type
|
3781
|
+
|
3782
|
+
def initialize(**args)
|
3783
|
+
update!(**args)
|
3784
|
+
end
|
3785
|
+
|
3786
|
+
# Update properties of this object
|
3787
|
+
def update!(**args)
|
3788
|
+
@configuration_version = args[:configuration_version] if args.key?(:configuration_version)
|
3789
|
+
@context_info = args[:context_info] if args.key?(:context_info)
|
3790
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
3791
|
+
@description = args[:description] if args.key?(:description)
|
3792
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3793
|
+
@entity_meta_data_as_properties = args[:entity_meta_data_as_properties] if args.key?(:entity_meta_data_as_properties)
|
3794
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
3795
|
+
@name = args[:name] if args.key?(:name)
|
3796
|
+
@policies = args[:policies] if args.key?(:policies)
|
3797
|
+
@resource_files = args[:resource_files] if args.key?(:resource_files)
|
3798
|
+
@resources = args[:resources] if args.key?(:resources)
|
3799
|
+
@revision = args[:revision] if args.key?(:revision)
|
3800
|
+
@shared_flows = args[:shared_flows] if args.key?(:shared_flows)
|
3801
|
+
@type = args[:type] if args.key?(:type)
|
3802
|
+
end
|
3803
|
+
end
|
3804
|
+
|
3805
|
+
# This message type encapsulates a stats response
|
3806
|
+
class GoogleCloudApigeeV1Stats
|
3807
|
+
include Google::Apis::Core::Hashable
|
3808
|
+
|
3809
|
+
#
|
3810
|
+
# Corresponds to the JSON property `environments`
|
3811
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
|
3812
|
+
attr_accessor :environments
|
3813
|
+
|
3814
|
+
# This message type encapsulates additional information about query execution
|
3815
|
+
# Corresponds to the JSON property `metaData`
|
3816
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
|
3817
|
+
attr_accessor :meta_data
|
3818
|
+
|
3819
|
+
def initialize(**args)
|
3820
|
+
update!(**args)
|
3821
|
+
end
|
3822
|
+
|
3823
|
+
# Update properties of this object
|
3824
|
+
def update!(**args)
|
3825
|
+
@environments = args[:environments] if args.key?(:environments)
|
3826
|
+
@meta_data = args[:meta_data] if args.key?(:meta_data)
|
3827
|
+
end
|
3828
|
+
end
|
3829
|
+
|
3830
|
+
# This message type encapsulates the environment wrapper
|
3831
|
+
# "environments": [
|
3832
|
+
# `
|
3833
|
+
# "metrics": [
|
3834
|
+
# `
|
3835
|
+
# "name": "sum(message_count)",
|
3836
|
+
# "values": [
|
3837
|
+
# "2.52056245E8"
|
3838
|
+
# ]
|
3839
|
+
# `
|
3840
|
+
# ],
|
3841
|
+
# "name": "prod"
|
3842
|
+
# `
|
3843
|
+
# ]
|
3844
|
+
class GoogleCloudApigeeV1StatsEnvironmentStats
|
3845
|
+
include Google::Apis::Core::Hashable
|
3846
|
+
|
3847
|
+
# This field contains the list of metrics grouped under dimensions
|
3848
|
+
# Corresponds to the JSON property `dimensions`
|
3849
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
|
3850
|
+
attr_accessor :dimensions
|
3851
|
+
|
3852
|
+
# In the final response, only one of the following fields will be present
|
3853
|
+
# based on the dimensions provided. If no dimensions are provided, then
|
3854
|
+
# only a top level metrics is provided. If dimensions are included, then
|
3855
|
+
# there will be a top level dimensions field under environments which will
|
3856
|
+
# contain metrics values and the dimension name.
|
3857
|
+
# Example:
|
3858
|
+
# "environments": [
|
3859
|
+
# `
|
3860
|
+
# "dimensions": [
|
3861
|
+
# `
|
3862
|
+
# "metrics": [
|
3863
|
+
# `
|
3864
|
+
# "name": "sum(message_count)",
|
3865
|
+
# "values": [
|
3866
|
+
# "2.14049521E8"
|
3867
|
+
# ]
|
3868
|
+
# `
|
3869
|
+
# ],
|
3870
|
+
# "name": "nit_proxy"
|
3871
|
+
# `
|
3872
|
+
# ],
|
3873
|
+
# "name": "prod"
|
3874
|
+
# `
|
3875
|
+
# ]
|
3876
|
+
# OR
|
3877
|
+
# "environments": [
|
3878
|
+
# `
|
3879
|
+
# "metrics": [
|
3880
|
+
# `
|
3881
|
+
# "name": "sum(message_count)",
|
3882
|
+
# "values": [
|
3883
|
+
# "2.19026331E8"
|
3884
|
+
# ]
|
3885
|
+
# `
|
3886
|
+
# ],
|
3887
|
+
# "name": "prod"
|
3888
|
+
# `
|
3889
|
+
# ]
|
3890
|
+
# This field contains the list of metric values
|
3891
|
+
# Corresponds to the JSON property `metrics`
|
3892
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
3893
|
+
attr_accessor :metrics
|
3894
|
+
|
3895
|
+
#
|
3896
|
+
# Corresponds to the JSON property `name`
|
3897
|
+
# @return [String]
|
3898
|
+
attr_accessor :name
|
3899
|
+
|
3900
|
+
def initialize(**args)
|
3901
|
+
update!(**args)
|
3902
|
+
end
|
3903
|
+
|
3904
|
+
# Update properties of this object
|
3905
|
+
def update!(**args)
|
3906
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3907
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
3908
|
+
@name = args[:name] if args.key?(:name)
|
3909
|
+
end
|
3910
|
+
end
|
3911
|
+
|
3912
|
+
# Pub/Sub subscription of an environment.
|
3913
|
+
class GoogleCloudApigeeV1Subscription
|
3914
|
+
include Google::Apis::Core::Hashable
|
3915
|
+
|
3916
|
+
# Full name of the Pub/Sub subcription. Use the following structure in your
|
3917
|
+
# request:
|
3918
|
+
# `subscription "projects/foo/subscription/bar"`
|
3919
|
+
# Corresponds to the JSON property `name`
|
3920
|
+
# @return [String]
|
3921
|
+
attr_accessor :name
|
3922
|
+
|
3923
|
+
def initialize(**args)
|
3924
|
+
update!(**args)
|
3925
|
+
end
|
3926
|
+
|
3927
|
+
# Update properties of this object
|
3928
|
+
def update!(**args)
|
3929
|
+
@name = args[:name] if args.key?(:name)
|
3930
|
+
end
|
3931
|
+
end
|
3932
|
+
|
3933
|
+
#
|
3934
|
+
class GoogleCloudApigeeV1SyncAuthorization
|
3935
|
+
include Google::Apis::Core::Hashable
|
3936
|
+
|
3937
|
+
# Entity tag (ETag) used for optimistic concurrency control as a way to help
|
3938
|
+
# prevent simultaneous updates from overwriting each other.
|
3939
|
+
# For example, when you call [getSyncAuthorization](getSyncAuthorization)
|
3940
|
+
# an ETag is returned in the response. Pass that ETag when calling
|
3941
|
+
# the [setSyncAuthorization](setSyncAuthorization) to ensure
|
3942
|
+
# that you are updating the correct version. If you don't pass the
|
3943
|
+
# ETag in the call to `setSyncAuthorization`, then the
|
3944
|
+
# existing authorization is overwritten indiscriminately.
|
3945
|
+
# **Note**: We strongly recommend that you use the ETag in the
|
3946
|
+
# read-modify-write cycle to avoid race conditions.
|
3947
|
+
# Corresponds to the JSON property `etag`
|
3948
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3949
|
+
# @return [String]
|
3950
|
+
attr_accessor :etag
|
3951
|
+
|
3952
|
+
# Required. Array of service accounts to grant access to control plane
|
3953
|
+
# resources, each specified using the following
|
3954
|
+
# format: `serviceAccount:`<var>service-account-name</var>.
|
3955
|
+
# The <var>service-account-name</var> is formatted like an email address. For
|
3956
|
+
# example:
|
3957
|
+
# `my-synchronizer-manager-service_account@my_project_id.iam.gserviceaccount.com`
|
3958
|
+
# You might specify multiple service accounts, for example, if you have
|
3959
|
+
# multiple environments and wish to assign a unique service account to each
|
3960
|
+
# one.
|
3961
|
+
# The service accounts must have **Apigee Synchronizer Manager** role.
|
3962
|
+
# See also [Create service
|
3963
|
+
# accounts](https://docs.apigee.com/hybrid/latest/sa-about#create-the-service-
|
3964
|
+
# accounts).
|
3965
|
+
# Corresponds to the JSON property `identities`
|
3966
|
+
# @return [Array<String>]
|
3967
|
+
attr_accessor :identities
|
3968
|
+
|
3969
|
+
def initialize(**args)
|
3970
|
+
update!(**args)
|
3971
|
+
end
|
3972
|
+
|
3973
|
+
# Update properties of this object
|
3974
|
+
def update!(**args)
|
3975
|
+
@etag = args[:etag] if args.key?(:etag)
|
3976
|
+
@identities = args[:identities] if args.key?(:identities)
|
3977
|
+
end
|
3978
|
+
end
|
3979
|
+
|
3980
|
+
# TargetServer configuration. TargetServers are used to decouple a proxy's
|
3981
|
+
# TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.
|
3982
|
+
class GoogleCloudApigeeV1TargetServer
|
3983
|
+
include Google::Apis::Core::Hashable
|
3984
|
+
|
3985
|
+
# Optional. A human-readable description of this TargetServer.
|
3986
|
+
# Corresponds to the JSON property `description`
|
3987
|
+
# @return [String]
|
3988
|
+
attr_accessor :description
|
3989
|
+
|
3990
|
+
# Required. The host name this target connects to. Value must be a valid
|
3991
|
+
# hostname as described by RFC-1123.
|
3992
|
+
# Corresponds to the JSON property `host`
|
3993
|
+
# @return [String]
|
3994
|
+
attr_accessor :host
|
3995
|
+
|
3996
|
+
# Optional. Enabling/disabling a TargetServer is useful when TargetServers
|
3997
|
+
# are used in load balancing configurations, and one or more TargetServers
|
3998
|
+
# need to taken out of rotation periodically. Defaults to true.
|
3999
|
+
# Corresponds to the JSON property `isEnabled`
|
4000
|
+
# @return [Boolean]
|
4001
|
+
attr_accessor :is_enabled
|
4002
|
+
alias_method :is_enabled?, :is_enabled
|
4003
|
+
|
4004
|
+
# Required. The resource id of this target server. Values must match the
|
4005
|
+
# regular expression
|
4006
|
+
# Corresponds to the JSON property `name`
|
4007
|
+
# @return [String]
|
4008
|
+
attr_accessor :name
|
4009
|
+
|
4010
|
+
# Required. The port number this target connects to on the given host. Value
|
4011
|
+
# must be between 1 and 65535, inclusive.
|
4012
|
+
# Corresponds to the JSON property `port`
|
4013
|
+
# @return [Fixnum]
|
4014
|
+
attr_accessor :port
|
4015
|
+
|
4016
|
+
# TLS configuration information for
|
4017
|
+
# VirtualHosts and
|
4018
|
+
# TargetServers.
|
4019
|
+
# Corresponds to the JSON property `sSLInfo`
|
4020
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
|
4021
|
+
attr_accessor :s_sl_info
|
4022
|
+
|
4023
|
+
def initialize(**args)
|
4024
|
+
update!(**args)
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
# Update properties of this object
|
4028
|
+
def update!(**args)
|
4029
|
+
@description = args[:description] if args.key?(:description)
|
4030
|
+
@host = args[:host] if args.key?(:host)
|
4031
|
+
@is_enabled = args[:is_enabled] if args.key?(:is_enabled)
|
4032
|
+
@name = args[:name] if args.key?(:name)
|
4033
|
+
@port = args[:port] if args.key?(:port)
|
4034
|
+
@s_sl_info = args[:s_sl_info] if args.key?(:s_sl_info)
|
4035
|
+
end
|
4036
|
+
end
|
4037
|
+
|
4038
|
+
#
|
4039
|
+
class GoogleCloudApigeeV1TargetServerConfig
|
4040
|
+
include Google::Apis::Core::Hashable
|
4041
|
+
|
4042
|
+
# Target host name.
|
4043
|
+
# Corresponds to the JSON property `host`
|
4044
|
+
# @return [String]
|
4045
|
+
attr_accessor :host
|
4046
|
+
|
4047
|
+
# The target server revision name. Must be of the form
|
4048
|
+
# 'organizations/`org`/environments/`env`/targetservers/`ts_id`/revisions/`rev`'.
|
4049
|
+
# Corresponds to the JSON property `name`
|
4050
|
+
# @return [String]
|
4051
|
+
attr_accessor :name
|
4052
|
+
|
4053
|
+
# Target port.
|
4054
|
+
# Corresponds to the JSON property `port`
|
4055
|
+
# @return [Fixnum]
|
4056
|
+
attr_accessor :port
|
4057
|
+
|
4058
|
+
# TLS settings for the target.
|
4059
|
+
# Corresponds to the JSON property `tlsInfo`
|
4060
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoConfig]
|
4061
|
+
attr_accessor :tls_info
|
4062
|
+
|
4063
|
+
def initialize(**args)
|
4064
|
+
update!(**args)
|
4065
|
+
end
|
4066
|
+
|
4067
|
+
# Update properties of this object
|
4068
|
+
def update!(**args)
|
4069
|
+
@host = args[:host] if args.key?(:host)
|
4070
|
+
@name = args[:name] if args.key?(:name)
|
4071
|
+
@port = args[:port] if args.key?(:port)
|
4072
|
+
@tls_info = args[:tls_info] if args.key?(:tls_info)
|
4073
|
+
end
|
4074
|
+
end
|
4075
|
+
|
4076
|
+
# TLS configuration information for
|
4077
|
+
# VirtualHosts and
|
4078
|
+
# TargetServers.
|
4079
|
+
class GoogleCloudApigeeV1TlsInfo
|
4080
|
+
include Google::Apis::Core::Hashable
|
4081
|
+
|
4082
|
+
# The SSL/TLS cipher suites to be used. Must be one of the cipher suite names
|
4083
|
+
# listed in:
|
4084
|
+
# http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.
|
4085
|
+
# html#ciphersuites
|
4086
|
+
# Corresponds to the JSON property `ciphers`
|
4087
|
+
# @return [Array<String>]
|
4088
|
+
attr_accessor :ciphers
|
4089
|
+
|
4090
|
+
# Optional. Enables two-way TLS.
|
4091
|
+
# Corresponds to the JSON property `clientAuthEnabled`
|
4092
|
+
# @return [Boolean]
|
4093
|
+
attr_accessor :client_auth_enabled
|
4094
|
+
alias_method :client_auth_enabled?, :client_auth_enabled
|
4095
|
+
|
4096
|
+
# The TLS Common Name of the certificate.
|
4097
|
+
# Corresponds to the JSON property `commonName`
|
4098
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName]
|
4099
|
+
attr_accessor :common_name
|
4100
|
+
|
4101
|
+
# Required. Enables one-way TLS.
|
4102
|
+
# Corresponds to the JSON property `enabled`
|
4103
|
+
# @return [Boolean]
|
4104
|
+
attr_accessor :enabled
|
4105
|
+
alias_method :enabled?, :enabled
|
4106
|
+
|
4107
|
+
# If true, Edge ignores TLS certificate errors. Valid when configuring TLS
|
4108
|
+
# for target servers and target endpoints, and when configuring virtual hosts
|
4109
|
+
# that use 2-way TLS.
|
4110
|
+
# When used with a target endpoint/target server, if the backend system uses
|
4111
|
+
# SNI and returns a cert with a subject Distinguished Name (DN) that does not
|
4112
|
+
# match the hostname, there is no way to ignore the error and the connection
|
4113
|
+
# fails.
|
4114
|
+
# Corresponds to the JSON property `ignoreValidationErrors`
|
4115
|
+
# @return [Boolean]
|
4116
|
+
attr_accessor :ignore_validation_errors
|
4117
|
+
alias_method :ignore_validation_errors?, :ignore_validation_errors
|
4118
|
+
|
4119
|
+
# Required if `client_auth_enabled` is true. The resource ID for the
|
4120
|
+
# alias containing the private key and cert.
|
4121
|
+
# Corresponds to the JSON property `keyAlias`
|
4122
|
+
# @return [String]
|
4123
|
+
attr_accessor :key_alias
|
4124
|
+
|
4125
|
+
# Required if `client_auth_enabled` is true. The resource ID of the
|
4126
|
+
# keystore. References not yet supported.
|
4127
|
+
# Corresponds to the JSON property `keyStore`
|
4128
|
+
# @return [String]
|
4129
|
+
attr_accessor :key_store
|
4130
|
+
|
4131
|
+
# The TLS versioins to be used.
|
4132
|
+
# Corresponds to the JSON property `protocols`
|
4133
|
+
# @return [Array<String>]
|
4134
|
+
attr_accessor :protocols
|
4135
|
+
|
4136
|
+
# The resource ID of the truststore.
|
4137
|
+
# References not yet supported.
|
4138
|
+
# Corresponds to the JSON property `trustStore`
|
4139
|
+
# @return [String]
|
4140
|
+
attr_accessor :trust_store
|
4141
|
+
|
4142
|
+
def initialize(**args)
|
4143
|
+
update!(**args)
|
4144
|
+
end
|
4145
|
+
|
4146
|
+
# Update properties of this object
|
4147
|
+
def update!(**args)
|
4148
|
+
@ciphers = args[:ciphers] if args.key?(:ciphers)
|
4149
|
+
@client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
|
4150
|
+
@common_name = args[:common_name] if args.key?(:common_name)
|
4151
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4152
|
+
@ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
|
4153
|
+
@key_alias = args[:key_alias] if args.key?(:key_alias)
|
4154
|
+
@key_store = args[:key_store] if args.key?(:key_store)
|
4155
|
+
@protocols = args[:protocols] if args.key?(:protocols)
|
4156
|
+
@trust_store = args[:trust_store] if args.key?(:trust_store)
|
4157
|
+
end
|
4158
|
+
end
|
4159
|
+
|
4160
|
+
#
|
4161
|
+
class GoogleCloudApigeeV1TlsInfoCommonName
|
4162
|
+
include Google::Apis::Core::Hashable
|
4163
|
+
|
4164
|
+
# The TLS Common Name string of the certificate.
|
4165
|
+
# Corresponds to the JSON property `value`
|
4166
|
+
# @return [String]
|
4167
|
+
attr_accessor :value
|
4168
|
+
|
4169
|
+
# Indicates whether the cert should be matched against as a wildcard cert.
|
4170
|
+
# Corresponds to the JSON property `wildcardMatch`
|
4171
|
+
# @return [Boolean]
|
4172
|
+
attr_accessor :wildcard_match
|
4173
|
+
alias_method :wildcard_match?, :wildcard_match
|
4174
|
+
|
4175
|
+
def initialize(**args)
|
4176
|
+
update!(**args)
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
# Update properties of this object
|
4180
|
+
def update!(**args)
|
4181
|
+
@value = args[:value] if args.key?(:value)
|
4182
|
+
@wildcard_match = args[:wildcard_match] if args.key?(:wildcard_match)
|
4183
|
+
end
|
4184
|
+
end
|
4185
|
+
|
4186
|
+
#
|
4187
|
+
class GoogleCloudApigeeV1TlsInfoConfig
|
4188
|
+
include Google::Apis::Core::Hashable
|
4189
|
+
|
4190
|
+
# Whitelist of supported ciphers.
|
4191
|
+
# Corresponds to the JSON property `ciphers`
|
4192
|
+
# @return [Array<String>]
|
4193
|
+
attr_accessor :ciphers
|
4194
|
+
|
4195
|
+
# Indicates if client auth is enabled for the target. Enables two-way TLS.
|
4196
|
+
# Corresponds to the JSON property `clientAuthEnabled`
|
4197
|
+
# @return [Boolean]
|
4198
|
+
attr_accessor :client_auth_enabled
|
4199
|
+
alias_method :client_auth_enabled?, :client_auth_enabled
|
4200
|
+
|
4201
|
+
# Common name to validate the target against.
|
4202
|
+
# Corresponds to the JSON property `commonName`
|
4203
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CommonNameConfig]
|
4204
|
+
attr_accessor :common_name
|
4205
|
+
|
4206
|
+
# Enables one-way TLS.
|
4207
|
+
# Corresponds to the JSON property `enabled`
|
4208
|
+
# @return [Boolean]
|
4209
|
+
attr_accessor :enabled
|
4210
|
+
alias_method :enabled?, :enabled
|
4211
|
+
|
4212
|
+
# If true, ignore TLS certificate validation errors.
|
4213
|
+
# Corresponds to the JSON property `ignoreValidationErrors`
|
4214
|
+
# @return [Boolean]
|
4215
|
+
attr_accessor :ignore_validation_errors
|
4216
|
+
alias_method :ignore_validation_errors?, :ignore_validation_errors
|
4217
|
+
|
4218
|
+
# The name of the Alias used for client side auth. It must be of the form:
|
4219
|
+
# organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias`
|
4220
|
+
# Corresponds to the JSON property `keyAlias`
|
4221
|
+
# @return [String]
|
4222
|
+
attr_accessor :key_alias
|
4223
|
+
|
4224
|
+
# A pair of reference name and alias to use for client side auth.
|
4225
|
+
# Corresponds to the JSON property `keyAliasReference`
|
4226
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference]
|
4227
|
+
attr_accessor :key_alias_reference
|
4228
|
+
|
4229
|
+
# Whitelist of supported TLS protocols.
|
4230
|
+
# Corresponds to the JSON property `protocols`
|
4231
|
+
# @return [Array<String>]
|
4232
|
+
attr_accessor :protocols
|
4233
|
+
|
4234
|
+
# The name of the Keystore or keystore reference containing trusted
|
4235
|
+
# certificates for the server. It must be of either the form
|
4236
|
+
# organizations/`org`/environments/`env`/keystores/`keystore` or
|
4237
|
+
# organizations/`org`/environments/`env`/references/`reference`.
|
4238
|
+
# Corresponds to the JSON property `trustStore`
|
4239
|
+
# @return [String]
|
4240
|
+
attr_accessor :trust_store
|
4241
|
+
|
4242
|
+
def initialize(**args)
|
4243
|
+
update!(**args)
|
4244
|
+
end
|
4245
|
+
|
4246
|
+
# Update properties of this object
|
4247
|
+
def update!(**args)
|
4248
|
+
@ciphers = args[:ciphers] if args.key?(:ciphers)
|
4249
|
+
@client_auth_enabled = args[:client_auth_enabled] if args.key?(:client_auth_enabled)
|
4250
|
+
@common_name = args[:common_name] if args.key?(:common_name)
|
4251
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4252
|
+
@ignore_validation_errors = args[:ignore_validation_errors] if args.key?(:ignore_validation_errors)
|
4253
|
+
@key_alias = args[:key_alias] if args.key?(:key_alias)
|
4254
|
+
@key_alias_reference = args[:key_alias_reference] if args.key?(:key_alias_reference)
|
4255
|
+
@protocols = args[:protocols] if args.key?(:protocols)
|
4256
|
+
@trust_store = args[:trust_store] if args.key?(:trust_store)
|
4257
|
+
end
|
4258
|
+
end
|
4259
|
+
|
4260
|
+
# Specifies the audit configuration for a service.
|
4261
|
+
# The configuration determines which permission types are logged, and what
|
4262
|
+
# identities, if any, are exempted from logging.
|
4263
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
4264
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
4265
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
4266
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
4267
|
+
# AuditLogConfig are exempted.
|
4268
|
+
# Example Policy with multiple AuditConfigs:
|
4269
|
+
# `
|
4270
|
+
# "audit_configs": [
|
4271
|
+
# `
|
4272
|
+
# "service": "allServices"
|
4273
|
+
# "audit_log_configs": [
|
4274
|
+
# `
|
4275
|
+
# "log_type": "DATA_READ",
|
4276
|
+
# "exempted_members": [
|
4277
|
+
# "user:jose@example.com"
|
4278
|
+
# ]
|
4279
|
+
# `,
|
4280
|
+
# `
|
4281
|
+
# "log_type": "DATA_WRITE",
|
4282
|
+
# `,
|
4283
|
+
# `
|
4284
|
+
# "log_type": "ADMIN_READ",
|
4285
|
+
# `
|
4286
|
+
# ]
|
4287
|
+
# `,
|
4288
|
+
# `
|
4289
|
+
# "service": "sampleservice.googleapis.com"
|
4290
|
+
# "audit_log_configs": [
|
4291
|
+
# `
|
4292
|
+
# "log_type": "DATA_READ",
|
4293
|
+
# `,
|
4294
|
+
# `
|
4295
|
+
# "log_type": "DATA_WRITE",
|
4296
|
+
# "exempted_members": [
|
4297
|
+
# "user:aliya@example.com"
|
4298
|
+
# ]
|
4299
|
+
# `
|
4300
|
+
# ]
|
4301
|
+
# `
|
4302
|
+
# ]
|
4303
|
+
# `
|
4304
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
4305
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
4306
|
+
# aliya@example.com from DATA_WRITE logging.
|
4307
|
+
class GoogleIamV1AuditConfig
|
4308
|
+
include Google::Apis::Core::Hashable
|
4309
|
+
|
4310
|
+
# The configuration for logging of each type of permission.
|
4311
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
4312
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1AuditLogConfig>]
|
4313
|
+
attr_accessor :audit_log_configs
|
4314
|
+
|
4315
|
+
# Specifies a service that will be enabled for audit logging.
|
4316
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
4317
|
+
# `allServices` is a special value that covers all services.
|
4318
|
+
# Corresponds to the JSON property `service`
|
4319
|
+
# @return [String]
|
4320
|
+
attr_accessor :service
|
4321
|
+
|
4322
|
+
def initialize(**args)
|
4323
|
+
update!(**args)
|
4324
|
+
end
|
4325
|
+
|
4326
|
+
# Update properties of this object
|
4327
|
+
def update!(**args)
|
4328
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
4329
|
+
@service = args[:service] if args.key?(:service)
|
4330
|
+
end
|
4331
|
+
end
|
4332
|
+
|
4333
|
+
# Provides the configuration for logging a type of permissions.
|
4334
|
+
# Example:
|
4335
|
+
# `
|
4336
|
+
# "audit_log_configs": [
|
4337
|
+
# `
|
4338
|
+
# "log_type": "DATA_READ",
|
4339
|
+
# "exempted_members": [
|
4340
|
+
# "user:jose@example.com"
|
4341
|
+
# ]
|
4342
|
+
# `,
|
4343
|
+
# `
|
4344
|
+
# "log_type": "DATA_WRITE",
|
4345
|
+
# `
|
4346
|
+
# ]
|
4347
|
+
# `
|
4348
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
4349
|
+
# jose@example.com from DATA_READ logging.
|
4350
|
+
class GoogleIamV1AuditLogConfig
|
4351
|
+
include Google::Apis::Core::Hashable
|
4352
|
+
|
4353
|
+
# Specifies the identities that do not cause logging for this type of
|
4354
|
+
# permission.
|
4355
|
+
# Follows the same format of Binding.members.
|
4356
|
+
# Corresponds to the JSON property `exemptedMembers`
|
4357
|
+
# @return [Array<String>]
|
4358
|
+
attr_accessor :exempted_members
|
4359
|
+
|
4360
|
+
# The log type that this config enables.
|
4361
|
+
# Corresponds to the JSON property `logType`
|
4362
|
+
# @return [String]
|
4363
|
+
attr_accessor :log_type
|
4364
|
+
|
4365
|
+
def initialize(**args)
|
4366
|
+
update!(**args)
|
4367
|
+
end
|
4368
|
+
|
4369
|
+
# Update properties of this object
|
4370
|
+
def update!(**args)
|
4371
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
4372
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
4373
|
+
end
|
4374
|
+
end
|
4375
|
+
|
4376
|
+
# Associates `members` with a `role`.
|
4377
|
+
class GoogleIamV1Binding
|
4378
|
+
include Google::Apis::Core::Hashable
|
4379
|
+
|
4380
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
4381
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
4382
|
+
# are documented at https://github.com/google/cel-spec.
|
4383
|
+
# Example (Comparison):
|
4384
|
+
# title: "Summary size limit"
|
4385
|
+
# description: "Determines if a summary is less than 100 chars"
|
4386
|
+
# expression: "document.summary.size() < 100"
|
4387
|
+
# Example (Equality):
|
4388
|
+
# title: "Requestor is owner"
|
4389
|
+
# description: "Determines if requestor is the document owner"
|
4390
|
+
# expression: "document.owner == request.auth.claims.email"
|
4391
|
+
# Example (Logic):
|
4392
|
+
# title: "Public documents"
|
4393
|
+
# description: "Determine whether the document should be publicly visible"
|
4394
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
4395
|
+
# Example (Data Manipulation):
|
4396
|
+
# title: "Notification string"
|
4397
|
+
# description: "Create a notification string with a timestamp."
|
4398
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
4399
|
+
# The exact variables and functions that may be referenced within an expression
|
4400
|
+
# are determined by the service that evaluates it. See the service
|
4401
|
+
# documentation for additional information.
|
4402
|
+
# Corresponds to the JSON property `condition`
|
4403
|
+
# @return [Google::Apis::ApigeeV1::GoogleTypeExpr]
|
4404
|
+
attr_accessor :condition
|
4405
|
+
|
4406
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
4407
|
+
# `members` can have the following values:
|
4408
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
4409
|
+
# on the internet; with or without a Google account.
|
4410
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
4411
|
+
# who is authenticated with a Google account or a service account.
|
4412
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
4413
|
+
# account. For example, `alice@example.com` .
|
4414
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
4415
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
4416
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
4417
|
+
# For example, `admins@example.com`.
|
4418
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
4419
|
+
# identifier) representing a user that has been recently deleted. For
|
4420
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
4421
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
4422
|
+
# retains the role in the binding.
|
4423
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
4424
|
+
# unique identifier) representing a service account that has been recently
|
4425
|
+
# deleted. For example,
|
4426
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
4427
|
+
# If the service account is undeleted, this value reverts to
|
4428
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
4429
|
+
# role in the binding.
|
4430
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
4431
|
+
# identifier) representing a Google group that has been recently
|
4432
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
4433
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
4434
|
+
# recovered group retains the role in the binding.
|
4435
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
4436
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
4437
|
+
# Corresponds to the JSON property `members`
|
4438
|
+
# @return [Array<String>]
|
4439
|
+
attr_accessor :members
|
4440
|
+
|
4441
|
+
# Role that is assigned to `members`.
|
4442
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
4443
|
+
# Corresponds to the JSON property `role`
|
4444
|
+
# @return [String]
|
4445
|
+
attr_accessor :role
|
4446
|
+
|
4447
|
+
def initialize(**args)
|
4448
|
+
update!(**args)
|
4449
|
+
end
|
4450
|
+
|
4451
|
+
# Update properties of this object
|
4452
|
+
def update!(**args)
|
4453
|
+
@condition = args[:condition] if args.key?(:condition)
|
4454
|
+
@members = args[:members] if args.key?(:members)
|
4455
|
+
@role = args[:role] if args.key?(:role)
|
4456
|
+
end
|
4457
|
+
end
|
4458
|
+
|
4459
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
4460
|
+
# controls for Google Cloud resources.
|
4461
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
4462
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
4463
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
4464
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
4465
|
+
# custom role.
|
4466
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
4467
|
+
# `condition`, which is a logical expression that allows access to a resource
|
4468
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
4469
|
+
# based on attributes of the request, the resource, or both. To learn which
|
4470
|
+
# resources support conditions in their IAM policies, see the
|
4471
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4472
|
+
# policies).
|
4473
|
+
# **JSON example:**
|
4474
|
+
# `
|
4475
|
+
# "bindings": [
|
4476
|
+
# `
|
4477
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
4478
|
+
# "members": [
|
4479
|
+
# "user:mike@example.com",
|
4480
|
+
# "group:admins@example.com",
|
4481
|
+
# "domain:google.com",
|
4482
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
4483
|
+
# ]
|
4484
|
+
# `,
|
4485
|
+
# `
|
4486
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
4487
|
+
# "members": [
|
4488
|
+
# "user:eve@example.com"
|
4489
|
+
# ],
|
4490
|
+
# "condition": `
|
4491
|
+
# "title": "expirable access",
|
4492
|
+
# "description": "Does not grant access after Sep 2020",
|
4493
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4494
|
+
# ",
|
4495
|
+
# `
|
4496
|
+
# `
|
4497
|
+
# ],
|
4498
|
+
# "etag": "BwWWja0YfJA=",
|
4499
|
+
# "version": 3
|
4500
|
+
# `
|
4501
|
+
# **YAML example:**
|
4502
|
+
# bindings:
|
4503
|
+
# - members:
|
4504
|
+
# - user:mike@example.com
|
4505
|
+
# - group:admins@example.com
|
4506
|
+
# - domain:google.com
|
4507
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4508
|
+
# role: roles/resourcemanager.organizationAdmin
|
4509
|
+
# - members:
|
4510
|
+
# - user:eve@example.com
|
4511
|
+
# role: roles/resourcemanager.organizationViewer
|
4512
|
+
# condition:
|
4513
|
+
# title: expirable access
|
4514
|
+
# description: Does not grant access after Sep 2020
|
4515
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4516
|
+
# - etag: BwWWja0YfJA=
|
4517
|
+
# - version: 3
|
4518
|
+
# For a description of IAM and its features, see the
|
4519
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
4520
|
+
class GoogleIamV1Policy
|
4521
|
+
include Google::Apis::Core::Hashable
|
4522
|
+
|
4523
|
+
# Specifies cloud audit logging configuration for this policy.
|
4524
|
+
# Corresponds to the JSON property `auditConfigs`
|
4525
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1AuditConfig>]
|
4526
|
+
attr_accessor :audit_configs
|
4527
|
+
|
4528
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
4529
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
4530
|
+
# of the `bindings` must contain at least one member.
|
4531
|
+
# Corresponds to the JSON property `bindings`
|
4532
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1Binding>]
|
4533
|
+
attr_accessor :bindings
|
4534
|
+
|
4535
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
4536
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
4537
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
4538
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
4539
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
4540
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
4541
|
+
# ensure that their change will be applied to the same version of the policy.
|
4542
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
4543
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
4544
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
4545
|
+
# the conditions in the version `3` policy are lost.
|
4546
|
+
# Corresponds to the JSON property `etag`
|
4547
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4548
|
+
# @return [String]
|
4549
|
+
attr_accessor :etag
|
4550
|
+
|
4551
|
+
# Specifies the format of the policy.
|
4552
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
4553
|
+
# are rejected.
|
4554
|
+
# Any operation that affects conditional role bindings must specify version
|
4555
|
+
# `3`. This requirement applies to the following operations:
|
4556
|
+
# * Getting a policy that includes a conditional role binding
|
4557
|
+
# * Adding a conditional role binding to a policy
|
4558
|
+
# * Changing a conditional role binding in a policy
|
4559
|
+
# * Removing any role binding, with or without a condition, from a policy
|
4560
|
+
# that includes conditions
|
4561
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
4562
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
4563
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
4564
|
+
# the conditions in the version `3` policy are lost.
|
4565
|
+
# If a policy does not include any conditions, operations on that policy may
|
4566
|
+
# specify any valid version or leave the field unset.
|
4567
|
+
# To learn which resources support conditions in their IAM policies, see the
|
4568
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4569
|
+
# policies).
|
4570
|
+
# Corresponds to the JSON property `version`
|
4571
|
+
# @return [Fixnum]
|
4572
|
+
attr_accessor :version
|
4573
|
+
|
4574
|
+
def initialize(**args)
|
4575
|
+
update!(**args)
|
4576
|
+
end
|
4577
|
+
|
4578
|
+
# Update properties of this object
|
4579
|
+
def update!(**args)
|
4580
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
4581
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
4582
|
+
@etag = args[:etag] if args.key?(:etag)
|
4583
|
+
@version = args[:version] if args.key?(:version)
|
4584
|
+
end
|
4585
|
+
end
|
4586
|
+
|
4587
|
+
# Request message for `SetIamPolicy` method.
|
4588
|
+
class GoogleIamV1SetIamPolicyRequest
|
4589
|
+
include Google::Apis::Core::Hashable
|
4590
|
+
|
4591
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
4592
|
+
# controls for Google Cloud resources.
|
4593
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
4594
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
4595
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
4596
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
4597
|
+
# custom role.
|
4598
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
4599
|
+
# `condition`, which is a logical expression that allows access to a resource
|
4600
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
4601
|
+
# based on attributes of the request, the resource, or both. To learn which
|
4602
|
+
# resources support conditions in their IAM policies, see the
|
4603
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4604
|
+
# policies).
|
4605
|
+
# **JSON example:**
|
4606
|
+
# `
|
4607
|
+
# "bindings": [
|
4608
|
+
# `
|
4609
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
4610
|
+
# "members": [
|
4611
|
+
# "user:mike@example.com",
|
4612
|
+
# "group:admins@example.com",
|
4613
|
+
# "domain:google.com",
|
4614
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
4615
|
+
# ]
|
4616
|
+
# `,
|
4617
|
+
# `
|
4618
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
4619
|
+
# "members": [
|
4620
|
+
# "user:eve@example.com"
|
4621
|
+
# ],
|
4622
|
+
# "condition": `
|
4623
|
+
# "title": "expirable access",
|
4624
|
+
# "description": "Does not grant access after Sep 2020",
|
4625
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4626
|
+
# ",
|
4627
|
+
# `
|
4628
|
+
# `
|
4629
|
+
# ],
|
4630
|
+
# "etag": "BwWWja0YfJA=",
|
4631
|
+
# "version": 3
|
4632
|
+
# `
|
4633
|
+
# **YAML example:**
|
4634
|
+
# bindings:
|
4635
|
+
# - members:
|
4636
|
+
# - user:mike@example.com
|
4637
|
+
# - group:admins@example.com
|
4638
|
+
# - domain:google.com
|
4639
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4640
|
+
# role: roles/resourcemanager.organizationAdmin
|
4641
|
+
# - members:
|
4642
|
+
# - user:eve@example.com
|
4643
|
+
# role: roles/resourcemanager.organizationViewer
|
4644
|
+
# condition:
|
4645
|
+
# title: expirable access
|
4646
|
+
# description: Does not grant access after Sep 2020
|
4647
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
4648
|
+
# - etag: BwWWja0YfJA=
|
4649
|
+
# - version: 3
|
4650
|
+
# For a description of IAM and its features, see the
|
4651
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
4652
|
+
# Corresponds to the JSON property `policy`
|
4653
|
+
# @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
|
4654
|
+
attr_accessor :policy
|
4655
|
+
|
4656
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
4657
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
4658
|
+
# following default mask is used:
|
4659
|
+
# `paths: "bindings, etag"`
|
4660
|
+
# Corresponds to the JSON property `updateMask`
|
4661
|
+
# @return [String]
|
4662
|
+
attr_accessor :update_mask
|
4663
|
+
|
4664
|
+
def initialize(**args)
|
4665
|
+
update!(**args)
|
4666
|
+
end
|
4667
|
+
|
4668
|
+
# Update properties of this object
|
4669
|
+
def update!(**args)
|
4670
|
+
@policy = args[:policy] if args.key?(:policy)
|
4671
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
4672
|
+
end
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
# Request message for `TestIamPermissions` method.
|
4676
|
+
class GoogleIamV1TestIamPermissionsRequest
|
4677
|
+
include Google::Apis::Core::Hashable
|
4678
|
+
|
4679
|
+
# The set of permissions to check for the `resource`. Permissions with
|
4680
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
4681
|
+
# information see
|
4682
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
4683
|
+
# Corresponds to the JSON property `permissions`
|
4684
|
+
# @return [Array<String>]
|
4685
|
+
attr_accessor :permissions
|
4686
|
+
|
4687
|
+
def initialize(**args)
|
4688
|
+
update!(**args)
|
4689
|
+
end
|
4690
|
+
|
4691
|
+
# Update properties of this object
|
4692
|
+
def update!(**args)
|
4693
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
4694
|
+
end
|
4695
|
+
end
|
4696
|
+
|
4697
|
+
# Response message for `TestIamPermissions` method.
|
4698
|
+
class GoogleIamV1TestIamPermissionsResponse
|
4699
|
+
include Google::Apis::Core::Hashable
|
4700
|
+
|
4701
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
4702
|
+
# allowed.
|
4703
|
+
# Corresponds to the JSON property `permissions`
|
4704
|
+
# @return [Array<String>]
|
4705
|
+
attr_accessor :permissions
|
4706
|
+
|
4707
|
+
def initialize(**args)
|
4708
|
+
update!(**args)
|
4709
|
+
end
|
4710
|
+
|
4711
|
+
# Update properties of this object
|
4712
|
+
def update!(**args)
|
4713
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
4714
|
+
end
|
4715
|
+
end
|
4716
|
+
|
4717
|
+
# The response message for Operations.ListOperations.
|
4718
|
+
class GoogleLongrunningListOperationsResponse
|
4719
|
+
include Google::Apis::Core::Hashable
|
4720
|
+
|
4721
|
+
# The standard List next-page token.
|
4722
|
+
# Corresponds to the JSON property `nextPageToken`
|
4723
|
+
# @return [String]
|
4724
|
+
attr_accessor :next_page_token
|
4725
|
+
|
4726
|
+
# A list of operations that matches the specified filter in the request.
|
4727
|
+
# Corresponds to the JSON property `operations`
|
4728
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleLongrunningOperation>]
|
4729
|
+
attr_accessor :operations
|
4730
|
+
|
4731
|
+
def initialize(**args)
|
4732
|
+
update!(**args)
|
4733
|
+
end
|
4734
|
+
|
4735
|
+
# Update properties of this object
|
4736
|
+
def update!(**args)
|
4737
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4738
|
+
@operations = args[:operations] if args.key?(:operations)
|
4739
|
+
end
|
4740
|
+
end
|
4741
|
+
|
4742
|
+
# This resource represents a long-running operation that is the result of a
|
4743
|
+
# network API call.
|
4744
|
+
class GoogleLongrunningOperation
|
4745
|
+
include Google::Apis::Core::Hashable
|
4746
|
+
|
4747
|
+
# If the value is `false`, it means the operation is still in progress.
|
4748
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
4749
|
+
# available.
|
4750
|
+
# Corresponds to the JSON property `done`
|
4751
|
+
# @return [Boolean]
|
4752
|
+
attr_accessor :done
|
4753
|
+
alias_method :done?, :done
|
4754
|
+
|
4755
|
+
# The `Status` type defines a logical error model that is suitable for
|
4756
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
4757
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4758
|
+
# three pieces of data: error code, error message, and error details.
|
4759
|
+
# You can find out more about this error model and how to work with it in the
|
4760
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4761
|
+
# Corresponds to the JSON property `error`
|
4762
|
+
# @return [Google::Apis::ApigeeV1::GoogleRpcStatus]
|
4763
|
+
attr_accessor :error
|
4764
|
+
|
4765
|
+
# Service-specific metadata associated with the operation. It typically
|
4766
|
+
# contains progress information and common metadata such as create time.
|
4767
|
+
# Some services might not provide such metadata. Any method that returns a
|
4768
|
+
# long-running operation should document the metadata type, if any.
|
4769
|
+
# Corresponds to the JSON property `metadata`
|
4770
|
+
# @return [Hash<String,Object>]
|
4771
|
+
attr_accessor :metadata
|
4772
|
+
|
4773
|
+
# The server-assigned name, which is only unique within the same service that
|
4774
|
+
# originally returns it. If you use the default HTTP mapping, the
|
4775
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
4776
|
+
# Corresponds to the JSON property `name`
|
4777
|
+
# @return [String]
|
4778
|
+
attr_accessor :name
|
4779
|
+
|
4780
|
+
# The normal response of the operation in case of success. If the original
|
4781
|
+
# method returns no data on success, such as `Delete`, the response is
|
4782
|
+
# `google.protobuf.Empty`. If the original method is standard
|
4783
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
4784
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
4785
|
+
# is the original method name. For example, if the original method name
|
4786
|
+
# is `TakeSnapshot()`, the inferred response type is
|
4787
|
+
# `TakeSnapshotResponse`.
|
4788
|
+
# Corresponds to the JSON property `response`
|
4789
|
+
# @return [Hash<String,Object>]
|
4790
|
+
attr_accessor :response
|
4791
|
+
|
4792
|
+
def initialize(**args)
|
4793
|
+
update!(**args)
|
4794
|
+
end
|
4795
|
+
|
4796
|
+
# Update properties of this object
|
4797
|
+
def update!(**args)
|
4798
|
+
@done = args[:done] if args.key?(:done)
|
4799
|
+
@error = args[:error] if args.key?(:error)
|
4800
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4801
|
+
@name = args[:name] if args.key?(:name)
|
4802
|
+
@response = args[:response] if args.key?(:response)
|
4803
|
+
end
|
4804
|
+
end
|
4805
|
+
|
4806
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
4807
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
4808
|
+
# or the response type of an API method. For instance:
|
4809
|
+
# service Foo `
|
4810
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
4811
|
+
# `
|
4812
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
4813
|
+
class GoogleProtobufEmpty
|
4814
|
+
include Google::Apis::Core::Hashable
|
4815
|
+
|
4816
|
+
def initialize(**args)
|
4817
|
+
update!(**args)
|
4818
|
+
end
|
4819
|
+
|
4820
|
+
# Update properties of this object
|
4821
|
+
def update!(**args)
|
4822
|
+
end
|
4823
|
+
end
|
4824
|
+
|
4825
|
+
# The `Status` type defines a logical error model that is suitable for
|
4826
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
4827
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4828
|
+
# three pieces of data: error code, error message, and error details.
|
4829
|
+
# You can find out more about this error model and how to work with it in the
|
4830
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4831
|
+
class GoogleRpcStatus
|
4832
|
+
include Google::Apis::Core::Hashable
|
4833
|
+
|
4834
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
4835
|
+
# Corresponds to the JSON property `code`
|
4836
|
+
# @return [Fixnum]
|
4837
|
+
attr_accessor :code
|
4838
|
+
|
4839
|
+
# A list of messages that carry the error details. There is a common set of
|
4840
|
+
# message types for APIs to use.
|
4841
|
+
# Corresponds to the JSON property `details`
|
4842
|
+
# @return [Array<Hash<String,Object>>]
|
4843
|
+
attr_accessor :details
|
4844
|
+
|
4845
|
+
# A developer-facing error message, which should be in English. Any
|
4846
|
+
# user-facing error message should be localized and sent in the
|
4847
|
+
# google.rpc.Status.details field, or localized by the client.
|
4848
|
+
# Corresponds to the JSON property `message`
|
4849
|
+
# @return [String]
|
4850
|
+
attr_accessor :message
|
4851
|
+
|
4852
|
+
def initialize(**args)
|
4853
|
+
update!(**args)
|
4854
|
+
end
|
4855
|
+
|
4856
|
+
# Update properties of this object
|
4857
|
+
def update!(**args)
|
4858
|
+
@code = args[:code] if args.key?(:code)
|
4859
|
+
@details = args[:details] if args.key?(:details)
|
4860
|
+
@message = args[:message] if args.key?(:message)
|
4861
|
+
end
|
4862
|
+
end
|
4863
|
+
|
4864
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
4865
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
4866
|
+
# are documented at https://github.com/google/cel-spec.
|
4867
|
+
# Example (Comparison):
|
4868
|
+
# title: "Summary size limit"
|
4869
|
+
# description: "Determines if a summary is less than 100 chars"
|
4870
|
+
# expression: "document.summary.size() < 100"
|
4871
|
+
# Example (Equality):
|
4872
|
+
# title: "Requestor is owner"
|
4873
|
+
# description: "Determines if requestor is the document owner"
|
4874
|
+
# expression: "document.owner == request.auth.claims.email"
|
4875
|
+
# Example (Logic):
|
4876
|
+
# title: "Public documents"
|
4877
|
+
# description: "Determine whether the document should be publicly visible"
|
4878
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
4879
|
+
# Example (Data Manipulation):
|
4880
|
+
# title: "Notification string"
|
4881
|
+
# description: "Create a notification string with a timestamp."
|
4882
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
4883
|
+
# The exact variables and functions that may be referenced within an expression
|
4884
|
+
# are determined by the service that evaluates it. See the service
|
4885
|
+
# documentation for additional information.
|
4886
|
+
class GoogleTypeExpr
|
4887
|
+
include Google::Apis::Core::Hashable
|
4888
|
+
|
4889
|
+
# Optional. Description of the expression. This is a longer text which
|
4890
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
4891
|
+
# Corresponds to the JSON property `description`
|
4892
|
+
# @return [String]
|
4893
|
+
attr_accessor :description
|
4894
|
+
|
4895
|
+
# Textual representation of an expression in Common Expression Language
|
4896
|
+
# syntax.
|
4897
|
+
# Corresponds to the JSON property `expression`
|
4898
|
+
# @return [String]
|
4899
|
+
attr_accessor :expression
|
4900
|
+
|
4901
|
+
# Optional. String indicating the location of the expression for error
|
4902
|
+
# reporting, e.g. a file name and a position in the file.
|
4903
|
+
# Corresponds to the JSON property `location`
|
4904
|
+
# @return [String]
|
4905
|
+
attr_accessor :location
|
4906
|
+
|
4907
|
+
# Optional. Title for the expression, i.e. a short string describing
|
4908
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
4909
|
+
# expression.
|
4910
|
+
# Corresponds to the JSON property `title`
|
4911
|
+
# @return [String]
|
4912
|
+
attr_accessor :title
|
4913
|
+
|
4914
|
+
def initialize(**args)
|
4915
|
+
update!(**args)
|
4916
|
+
end
|
4917
|
+
|
4918
|
+
# Update properties of this object
|
4919
|
+
def update!(**args)
|
4920
|
+
@description = args[:description] if args.key?(:description)
|
4921
|
+
@expression = args[:expression] if args.key?(:expression)
|
4922
|
+
@location = args[:location] if args.key?(:location)
|
4923
|
+
@title = args[:title] if args.key?(:title)
|
4924
|
+
end
|
4925
|
+
end
|
4926
|
+
end
|
4927
|
+
end
|
4928
|
+
end
|