google-api-client 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -21,17 +21,16 @@ module Google
|
|
|
21
21
|
# Apigee API
|
|
22
22
|
#
|
|
23
23
|
# The Apigee API lets you programmatically manage Apigee hybrid with a set of
|
|
24
|
-
# RESTful operations, including
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
# available as a free trial for a time period of 60 days.
|
|
24
|
+
# RESTful operations, including: - Create, edit, and delete API proxies - Manage
|
|
25
|
+
# users - Deploy and undeploy proxy revisions - Configure environments For
|
|
26
|
+
# information on using the APIs described in this section, see Get started using
|
|
27
|
+
# the APIs. *Note:* This product is available as a free trial for a time period
|
|
28
|
+
# of 60 days.
|
|
30
29
|
#
|
|
31
30
|
# @see https://cloud.google.com/apigee-api-management/
|
|
32
31
|
module ApigeeV1
|
|
33
32
|
VERSION = 'V1'
|
|
34
|
-
REVISION = '
|
|
33
|
+
REVISION = '20200801'
|
|
35
34
|
|
|
36
35
|
# View and manage your data across Google Cloud Platform services
|
|
37
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -23,34 +23,21 @@ module Google
|
|
|
23
23
|
module ApigeeV1
|
|
24
24
|
|
|
25
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
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
# request
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
# google.api.HttpBody
|
|
39
|
-
#
|
|
40
|
-
#
|
|
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.
|
|
26
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
|
27
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
|
28
|
+
# methods in the request as well as the response. It can be used as a top-level
|
|
29
|
+
# request field, which is convenient if one wants to extract parameters from
|
|
30
|
+
# either the URL or HTTP template into the request fields and also want access
|
|
31
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
|
32
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
|
33
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
|
34
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
|
35
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
|
36
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
|
37
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
|
38
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
|
39
|
+
# only changes how the request and response bodies are handled, all other
|
|
40
|
+
# features will continue to work unchanged.
|
|
54
41
|
class GoogleApiHttpBody
|
|
55
42
|
include Google::Apis::Core::Hashable
|
|
56
43
|
|
|
@@ -65,8 +52,8 @@ module Google
|
|
|
65
52
|
# @return [String]
|
|
66
53
|
attr_accessor :data
|
|
67
54
|
|
|
68
|
-
# Application specific response metadata. Must be set in the first response
|
|
69
|
-
#
|
|
55
|
+
# Application specific response metadata. Must be set in the first response for
|
|
56
|
+
# streaming APIs.
|
|
70
57
|
# Corresponds to the JSON property `extensions`
|
|
71
58
|
# @return [Array<Hash<String,Object>>]
|
|
72
59
|
attr_accessor :extensions
|
|
@@ -87,30 +74,20 @@ module Google
|
|
|
87
74
|
class GoogleCloudApigeeV1Access
|
|
88
75
|
include Google::Apis::Core::Hashable
|
|
89
76
|
|
|
90
|
-
# Get action. For example,
|
|
91
|
-
# "Get" : `
|
|
92
|
-
# "name" : "target.name",
|
|
93
|
-
# "value" : "default"
|
|
77
|
+
# Get action. For example, "Get" : ` "name" : "target.name", "value" : "default"
|
|
94
78
|
# `
|
|
95
79
|
# Corresponds to the JSON property `Get`
|
|
96
80
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessGet]
|
|
97
81
|
attr_accessor :get
|
|
98
82
|
|
|
99
|
-
# Remove action. For example,
|
|
100
|
-
#
|
|
101
|
-
# "name" : "target.name",
|
|
102
|
-
# "success" : true
|
|
103
|
-
# `
|
|
83
|
+
# Remove action. For example, "Remove" : ` "name" : "target.name", "success" :
|
|
84
|
+
# true `
|
|
104
85
|
# Corresponds to the JSON property `Remove`
|
|
105
86
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessRemove]
|
|
106
87
|
attr_accessor :remove
|
|
107
88
|
|
|
108
|
-
# Set action. For example,
|
|
109
|
-
# "
|
|
110
|
-
# "name" : "target.name",
|
|
111
|
-
# "success" : true,
|
|
112
|
-
# "value" : "default"
|
|
113
|
-
# `
|
|
89
|
+
# Set action. For example, "Set" : ` "name" : "target.name", "success" : true, "
|
|
90
|
+
# value" : "default" `
|
|
114
91
|
# Corresponds to the JSON property `Set`
|
|
115
92
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AccessSet]
|
|
116
93
|
attr_accessor :set
|
|
@@ -127,10 +104,7 @@ module Google
|
|
|
127
104
|
end
|
|
128
105
|
end
|
|
129
106
|
|
|
130
|
-
# Get action. For example,
|
|
131
|
-
# "Get" : `
|
|
132
|
-
# "name" : "target.name",
|
|
133
|
-
# "value" : "default"
|
|
107
|
+
# Get action. For example, "Get" : ` "name" : "target.name", "value" : "default"
|
|
134
108
|
# `
|
|
135
109
|
class GoogleCloudApigeeV1AccessGet
|
|
136
110
|
include Google::Apis::Core::Hashable
|
|
@@ -156,11 +130,8 @@ module Google
|
|
|
156
130
|
end
|
|
157
131
|
end
|
|
158
132
|
|
|
159
|
-
# Remove action. For example,
|
|
160
|
-
#
|
|
161
|
-
# "name" : "target.name",
|
|
162
|
-
# "success" : true
|
|
163
|
-
# `
|
|
133
|
+
# Remove action. For example, "Remove" : ` "name" : "target.name", "success" :
|
|
134
|
+
# true `
|
|
164
135
|
class GoogleCloudApigeeV1AccessRemove
|
|
165
136
|
include Google::Apis::Core::Hashable
|
|
166
137
|
|
|
@@ -186,12 +157,8 @@ module Google
|
|
|
186
157
|
end
|
|
187
158
|
end
|
|
188
159
|
|
|
189
|
-
# Set action. For example,
|
|
190
|
-
# "
|
|
191
|
-
# "name" : "target.name",
|
|
192
|
-
# "success" : true,
|
|
193
|
-
# "value" : "default"
|
|
194
|
-
# `
|
|
160
|
+
# Set action. For example, "Set" : ` "name" : "target.name", "success" : true, "
|
|
161
|
+
# value" : "default" `
|
|
195
162
|
class GoogleCloudApigeeV1AccessSet
|
|
196
163
|
include Google::Apis::Core::Hashable
|
|
197
164
|
|
|
@@ -227,8 +194,8 @@ module Google
|
|
|
227
194
|
class GoogleCloudApigeeV1Alias
|
|
228
195
|
include Google::Apis::Core::Hashable
|
|
229
196
|
|
|
230
|
-
# The resource ID for this alias. Values must match regular expression
|
|
231
|
-
#
|
|
197
|
+
# The resource ID for this alias. Values must match regular expression `[^/]`1,
|
|
198
|
+
# 255``.
|
|
232
199
|
# Corresponds to the JSON property `alias`
|
|
233
200
|
# @return [String]
|
|
234
201
|
attr_accessor :alias
|
|
@@ -264,9 +231,8 @@ module Google
|
|
|
264
231
|
# @return [String]
|
|
265
232
|
attr_accessor :location
|
|
266
233
|
|
|
267
|
-
# The name of the alias revision included in the keystore. Must be of the
|
|
268
|
-
#
|
|
269
|
-
# 'organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias`/
|
|
234
|
+
# The name of the alias revision included in the keystore. Must be of the form: '
|
|
235
|
+
# organizations/`org`/environments/`env`/keystores/`keystore`/aliases/`alias`/
|
|
270
236
|
# revisions/`rev`'.
|
|
271
237
|
# Corresponds to the JSON property `name`
|
|
272
238
|
# @return [String]
|
|
@@ -293,83 +259,58 @@ module Google
|
|
|
293
259
|
class GoogleCloudApigeeV1ApiProduct
|
|
294
260
|
include Google::Apis::Core::Hashable
|
|
295
261
|
|
|
296
|
-
# Comma-separated list of API resources to be bundled in the API Product.
|
|
297
|
-
#
|
|
298
|
-
# variable.
|
|
262
|
+
# Comma-separated list of API resources to be bundled in the API Product. By
|
|
263
|
+
# default, the resource paths are mapped from the `proxy.pathsuffix` variable.
|
|
299
264
|
# The proxy path suffix is defined as the URI fragment following the
|
|
300
|
-
# ProxyEndpoint base path.
|
|
301
|
-
#
|
|
302
|
-
# `/forecastrss`
|
|
303
|
-
# `/weather`, then only requests to `/weather/forecastrss` are permitted by
|
|
304
|
-
# the API product.
|
|
265
|
+
# ProxyEndpoint base path. For example, if the `apiResources` element is defined
|
|
266
|
+
# to be `/forecastrss` and the base path defined for the API proxy is `/weather`,
|
|
267
|
+
# then only requests to `/weather/forecastrss` are permitted by the API product.
|
|
305
268
|
# You can select a specific path, or you can select all subpaths with the
|
|
306
|
-
# following wildcard:
|
|
307
|
-
#
|
|
308
|
-
#
|
|
309
|
-
#
|
|
310
|
-
#
|
|
311
|
-
#
|
|
312
|
-
#
|
|
313
|
-
#
|
|
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>
|
|
269
|
+
# following wildcard: - /**: Indicates that all sub-URIs are included. - /* :
|
|
270
|
+
# Indicates that only URIs one level down are included. By default, / supports
|
|
271
|
+
# the same resources as /** as well as the base path defined by the API proxy.
|
|
272
|
+
# For example, if the base path of the API proxy is `/v1/weatherapikey`, then
|
|
273
|
+
# the API product supports requests to `/v1/weatherapikey` and to any sub-URIs,
|
|
274
|
+
# such as `/v1/weatherapikey/forecastrss`, `/v1/weatherapikey/region/CA`, and so
|
|
275
|
+
# on. For more information, see: - Manage API products - Managing a transaction
|
|
276
|
+
# recording policy using the API
|
|
322
277
|
# Corresponds to the JSON property `apiResources`
|
|
323
278
|
# @return [Array<String>]
|
|
324
279
|
attr_accessor :api_resources
|
|
325
280
|
|
|
326
281
|
# Specifies how API keys are approved to access the APIs defined by the API
|
|
327
|
-
# product.
|
|
328
|
-
#
|
|
329
|
-
#
|
|
330
|
-
#
|
|
331
|
-
#
|
|
332
|
-
#
|
|
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>
|
|
282
|
+
# product. If set to `manual`, the consumer key is generated and returned in "
|
|
283
|
+
# pending" state. In this case, the API keys won't work until they have been
|
|
284
|
+
# explicitly approved. If set to `auto`, the consumer key is generated and
|
|
285
|
+
# returned in "approved" state and can be used immediately. *NOTE:* Typically, `
|
|
286
|
+
# auto` is used to provide access to free or trial API products that provide
|
|
287
|
+
# limited quota or capabilities.
|
|
336
288
|
# Corresponds to the JSON property `approvalType`
|
|
337
289
|
# @return [String]
|
|
338
290
|
attr_accessor :approval_type
|
|
339
291
|
|
|
340
|
-
# Array of attributes that may be used to extend the default API product
|
|
341
|
-
#
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
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>.
|
|
292
|
+
# Array of attributes that may be used to extend the default API product profile
|
|
293
|
+
# with customer-specific metadata. You can specify a maximum of 18 attributes.
|
|
294
|
+
# Use this property to specify the access level of the API product as either `
|
|
295
|
+
# public`, `private`, or `internal`. Only products marked `public` are available
|
|
296
|
+
# to developers in the Apigee developer portal. For example, you can set a
|
|
297
|
+
# product to `internal` while it is in development and then change access to `
|
|
298
|
+
# public` when it is ready to release on the portal. API products marked as `
|
|
299
|
+
# private` do not appear on the portal but can be accessed by external
|
|
300
|
+
# developers. For monetization, you can use the attributes field to: - Specify
|
|
301
|
+
# transaction success criteria - Specify custom attributes on which you base
|
|
302
|
+
# rate plan charges.
|
|
361
303
|
# Corresponds to the JSON property `attributes`
|
|
362
304
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
|
363
305
|
attr_accessor :attributes
|
|
364
306
|
|
|
365
|
-
# Response only. Creation time of this environment as milliseconds since
|
|
366
|
-
# epoch.
|
|
307
|
+
# Response only. Creation time of this environment as milliseconds since epoch.
|
|
367
308
|
# Corresponds to the JSON property `createdAt`
|
|
368
309
|
# @return [Fixnum]
|
|
369
310
|
attr_accessor :created_at
|
|
370
311
|
|
|
371
|
-
# An overview of the API product. Include key information about the API
|
|
372
|
-
#
|
|
312
|
+
# An overview of the API product. Include key information about the API product
|
|
313
|
+
# that is not captured by other fields.
|
|
373
314
|
# Corresponds to the JSON property `description`
|
|
374
315
|
# @return [String]
|
|
375
316
|
attr_accessor :description
|
|
@@ -380,49 +321,43 @@ module Google
|
|
|
380
321
|
# @return [String]
|
|
381
322
|
attr_accessor :display_name
|
|
382
323
|
|
|
383
|
-
# A comma-separated list of environment names to which the API product is
|
|
384
|
-
#
|
|
385
|
-
#
|
|
386
|
-
#
|
|
387
|
-
#
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
# API proxies in 'prod' from being accessed by API proxies deployed in
|
|
391
|
-
# 'test'.
|
|
324
|
+
# A comma-separated list of environment names to which the API product is bound.
|
|
325
|
+
# Requests to environments that are not listed are rejected. By specifying one
|
|
326
|
+
# or more environments, you can bind the resources listed in the API product to
|
|
327
|
+
# a specific environment, preventing developers from accessing those resources
|
|
328
|
+
# through API proxies deployed in another environment. This setting is used, for
|
|
329
|
+
# example, to prevent resources associated with API proxies in 'prod' from being
|
|
330
|
+
# accessed by API proxies deployed in 'test'.
|
|
392
331
|
# Corresponds to the JSON property `environments`
|
|
393
332
|
# @return [Array<String>]
|
|
394
333
|
attr_accessor :environments
|
|
395
334
|
|
|
396
|
-
# Response only. Modified time of this environment as milliseconds since
|
|
397
|
-
# epoch.
|
|
335
|
+
# Response only. Modified time of this environment as milliseconds since epoch.
|
|
398
336
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
399
337
|
# @return [Fixnum]
|
|
400
338
|
attr_accessor :last_modified_at
|
|
401
339
|
|
|
402
|
-
# The internal name of the API Product. Characters you can use in the name
|
|
403
|
-
#
|
|
404
|
-
#
|
|
405
|
-
# edited when updating the API product.</aside>
|
|
340
|
+
# The internal name of the API Product. Characters you can use in the name are
|
|
341
|
+
# restricted to: A-Z0-9._\-$ %. *NOTE:* The internal name cannot be edited when
|
|
342
|
+
# updating the API product.
|
|
406
343
|
# Corresponds to the JSON property `name`
|
|
407
344
|
# @return [String]
|
|
408
345
|
attr_accessor :name
|
|
409
346
|
|
|
410
|
-
# A comma-separated list of API proxy names to which this API product is
|
|
411
|
-
#
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
#
|
|
415
|
-
#
|
|
416
|
-
# exist in the specified environment as they will be validated upon
|
|
417
|
-
# creation.</aside>
|
|
347
|
+
# A comma-separated list of API proxy names to which this API product is bound.
|
|
348
|
+
# By specifying API proxies, you can associate resources in the API product with
|
|
349
|
+
# specific API proxies, preventing developers from accessing those resources
|
|
350
|
+
# through other API proxies. Edge rejects requests to API proxies that are not
|
|
351
|
+
# listed. *NOTE:* The API proxy names must already exist in the specified
|
|
352
|
+
# environment as they will be validated upon creation.
|
|
418
353
|
# Corresponds to the JSON property `proxies`
|
|
419
354
|
# @return [Array<String>]
|
|
420
355
|
attr_accessor :proxies
|
|
421
356
|
|
|
422
|
-
# The number of request messages permitted per app by this API product for
|
|
423
|
-
#
|
|
424
|
-
#
|
|
425
|
-
#
|
|
357
|
+
# The number of request messages permitted per app by this API product for the
|
|
358
|
+
# specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50,
|
|
359
|
+
# for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests
|
|
360
|
+
# are allowed every 12 hours.
|
|
426
361
|
# Corresponds to the JSON property `quota`
|
|
427
362
|
# @return [String]
|
|
428
363
|
attr_accessor :quota
|
|
@@ -438,9 +373,9 @@ module Google
|
|
|
438
373
|
# @return [String]
|
|
439
374
|
attr_accessor :quota_time_unit
|
|
440
375
|
|
|
441
|
-
# A comma-separated list of OAuth scopes that are validated at runtime.
|
|
442
|
-
#
|
|
443
|
-
#
|
|
376
|
+
# A comma-separated list of OAuth scopes that are validated at runtime. Edge
|
|
377
|
+
# validates that the scopes in any access token presented match the scopes
|
|
378
|
+
# defined in the OAuth policy assoicated with the API product.
|
|
444
379
|
# Corresponds to the JSON property `scopes`
|
|
445
380
|
# @return [Array<String>]
|
|
446
381
|
attr_accessor :scopes
|
|
@@ -550,8 +485,7 @@ module Google
|
|
|
550
485
|
# @return [String]
|
|
551
486
|
attr_accessor :context_info
|
|
552
487
|
|
|
553
|
-
# Time that the API proxy revision was created in milliseconds since
|
|
554
|
-
# epoch.
|
|
488
|
+
# Time that the API proxy revision was created in milliseconds since epoch.
|
|
555
489
|
# Corresponds to the JSON property `createdAt`
|
|
556
490
|
# @return [Fixnum]
|
|
557
491
|
attr_accessor :created_at
|
|
@@ -571,8 +505,7 @@ module Google
|
|
|
571
505
|
# @return [Hash<String,String>]
|
|
572
506
|
attr_accessor :entity_meta_data_as_properties
|
|
573
507
|
|
|
574
|
-
# Time that the API proxy revision was last modified in
|
|
575
|
-
# milliseconds since epoch.
|
|
508
|
+
# Time that the API proxy revision was last modified in milliseconds since epoch.
|
|
576
509
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
577
510
|
# @return [Fixnum]
|
|
578
511
|
attr_accessor :last_modified_at
|
|
@@ -592,10 +525,10 @@ module Google
|
|
|
592
525
|
# @return [Array<String>]
|
|
593
526
|
attr_accessor :proxies
|
|
594
527
|
|
|
595
|
-
# List of ProxyEndpoints in the `/proxies` directory of the API proxy.
|
|
596
|
-
#
|
|
597
|
-
#
|
|
598
|
-
#
|
|
528
|
+
# List of ProxyEndpoints in the `/proxies` directory of the API proxy. Typically,
|
|
529
|
+
# this element is included only when the API proxy was created using the Edge
|
|
530
|
+
# UI. This is a 'manifest' setting designed to provide visibility into the
|
|
531
|
+
# contents of the API proxy.
|
|
599
532
|
# Corresponds to the JSON property `proxyEndpoints`
|
|
600
533
|
# @return [Array<String>]
|
|
601
534
|
attr_accessor :proxy_endpoints
|
|
@@ -605,8 +538,8 @@ module Google
|
|
|
605
538
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFiles]
|
|
606
539
|
attr_accessor :resource_files
|
|
607
540
|
|
|
608
|
-
# List of the resources included in the API proxy revision formatted as
|
|
609
|
-
#
|
|
541
|
+
# List of the resources included in the API proxy revision formatted as "`type`:/
|
|
542
|
+
# /`name`".
|
|
610
543
|
# Corresponds to the JSON property `resources`
|
|
611
544
|
# @return [Array<String>]
|
|
612
545
|
attr_accessor :resources
|
|
@@ -621,24 +554,24 @@ module Google
|
|
|
621
554
|
# @return [Array<String>]
|
|
622
555
|
attr_accessor :shared_flows
|
|
623
556
|
|
|
624
|
-
# OpenAPI Specification that is associated with the API proxy.
|
|
625
|
-
#
|
|
557
|
+
# OpenAPI Specification that is associated with the API proxy. The value is set
|
|
558
|
+
# to a URL or to a path in the specification store.
|
|
626
559
|
# Corresponds to the JSON property `spec`
|
|
627
560
|
# @return [String]
|
|
628
561
|
attr_accessor :spec
|
|
629
562
|
|
|
630
563
|
# 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
|
-
#
|
|
633
|
-
#
|
|
564
|
+
# Typically, this element is included only when the API proxy was created using
|
|
565
|
+
# the Edge UI. This is a 'manifest' setting designed to provide visibility into
|
|
566
|
+
# the contents of the API proxy.
|
|
634
567
|
# Corresponds to the JSON property `targetEndpoints`
|
|
635
568
|
# @return [Array<String>]
|
|
636
569
|
attr_accessor :target_endpoints
|
|
637
570
|
|
|
638
|
-
# List of TargetServers referenced in any TargetEndpoint in the API
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
#
|
|
571
|
+
# List of TargetServers referenced in any TargetEndpoint in the API proxy.
|
|
572
|
+
# Typically, you will see this element only when the API proxy was created using
|
|
573
|
+
# the Edge UI. This is a 'manifest' setting designed to provide visibility into
|
|
574
|
+
# the contents of the API proxy.
|
|
642
575
|
# Corresponds to the JSON property `targetServers`
|
|
643
576
|
# @return [Array<String>]
|
|
644
577
|
attr_accessor :target_servers
|
|
@@ -653,8 +586,8 @@ module Google
|
|
|
653
586
|
# @return [Array<String>]
|
|
654
587
|
attr_accessor :teams
|
|
655
588
|
|
|
656
|
-
# Type. Set to `Application`. Maintained for compatibility with
|
|
657
|
-
#
|
|
589
|
+
# Type. Set to `Application`. Maintained for compatibility with the Apigee Edge
|
|
590
|
+
# API.
|
|
658
591
|
# Corresponds to the JSON property `type`
|
|
659
592
|
# @return [String]
|
|
660
593
|
attr_accessor :type
|
|
@@ -725,21 +658,20 @@ module Google
|
|
|
725
658
|
# @return [Fixnum]
|
|
726
659
|
attr_accessor :created_at
|
|
727
660
|
|
|
728
|
-
# Output only. Set of credentials for the app. Credentials are API
|
|
729
|
-
#
|
|
661
|
+
# Output only. Set of credentials for the app. Credentials are API key/secret
|
|
662
|
+
# pairs associated with API products.
|
|
730
663
|
# Corresponds to the JSON property `credentials`
|
|
731
664
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential>]
|
|
732
665
|
attr_accessor :credentials
|
|
733
666
|
|
|
734
|
-
# ID
|
|
667
|
+
# ID of the developer.
|
|
735
668
|
# Corresponds to the JSON property `developerId`
|
|
736
669
|
# @return [String]
|
|
737
670
|
attr_accessor :developer_id
|
|
738
671
|
|
|
739
|
-
# Duration, in milliseconds, of the consumer key that will
|
|
740
|
-
#
|
|
741
|
-
#
|
|
742
|
-
# json key: keyExpiresIn
|
|
672
|
+
# Duration, in milliseconds, of the consumer key that will be generated for the
|
|
673
|
+
# app. The default value, -1, indicates an infinite validity period. Once set,
|
|
674
|
+
# the expiration can't be updated. json key: keyExpiresIn
|
|
743
675
|
# Corresponds to the JSON property `keyExpiresIn`
|
|
744
676
|
# @return [Fixnum]
|
|
745
677
|
attr_accessor :key_expires_in
|
|
@@ -754,8 +686,8 @@ module Google
|
|
|
754
686
|
# @return [String]
|
|
755
687
|
attr_accessor :name
|
|
756
688
|
|
|
757
|
-
# Scopes to apply to the app. The specified scope names must already
|
|
758
|
-
#
|
|
689
|
+
# Scopes to apply to the app. The specified scope names must already exist on
|
|
690
|
+
# the API product that you associate with the app.
|
|
759
691
|
# Corresponds to the JSON property `scopes`
|
|
760
692
|
# @return [Array<String>]
|
|
761
693
|
attr_accessor :scopes
|
|
@@ -836,10 +768,8 @@ module Google
|
|
|
836
768
|
# @return [Fixnum]
|
|
837
769
|
attr_accessor :result_rows
|
|
838
770
|
|
|
839
|
-
# Self link of the query.
|
|
840
|
-
#
|
|
841
|
-
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
|
|
842
|
-
# 318d0cb961bd`
|
|
771
|
+
# Self link of the query. Example: `/organizations/myorg/environments/myenv/
|
|
772
|
+
# queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`
|
|
843
773
|
# Corresponds to the JSON property `self`
|
|
844
774
|
# @return [String]
|
|
845
775
|
attr_accessor :self
|
|
@@ -884,10 +814,8 @@ module Google
|
|
|
884
814
|
# @return [String]
|
|
885
815
|
attr_accessor :expires
|
|
886
816
|
|
|
887
|
-
# Self link of the query results.
|
|
888
|
-
#
|
|
889
|
-
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
|
|
890
|
-
# 318d0cb961bd/result`
|
|
817
|
+
# Self link of the query results. Example: `/organizations/myorg/environments/
|
|
818
|
+
# myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`
|
|
891
819
|
# Corresponds to the JSON property `self`
|
|
892
820
|
# @return [String]
|
|
893
821
|
attr_accessor :self
|
|
@@ -961,8 +889,7 @@ module Google
|
|
|
961
889
|
# @return [Fixnum]
|
|
962
890
|
attr_accessor :expiry_date
|
|
963
891
|
|
|
964
|
-
# "Yes" if certificate is valid, "No" if expired and "Not yet"
|
|
965
|
-
# if not yet valid.
|
|
892
|
+
# "Yes" if certificate is valid, "No" if expired and "Not yet" if not yet valid.
|
|
966
893
|
# Corresponds to the JSON property `isValid`
|
|
967
894
|
# @return [String]
|
|
968
895
|
attr_accessor :is_valid
|
|
@@ -997,8 +924,7 @@ module Google
|
|
|
997
924
|
# @return [Array<String>]
|
|
998
925
|
attr_accessor :subject_alternative_names
|
|
999
926
|
|
|
1000
|
-
# The X.509 validity / notBefore in milliseconds since the
|
|
1001
|
-
# epoch.
|
|
927
|
+
# The X.509 validity / notBefore in milliseconds since the epoch.
|
|
1002
928
|
# Corresponds to the JSON property `validFrom`
|
|
1003
929
|
# @return [Fixnum]
|
|
1004
930
|
attr_accessor :valid_from
|
|
@@ -1133,8 +1059,8 @@ module Google
|
|
|
1133
1059
|
# @return [Fixnum]
|
|
1134
1060
|
attr_accessor :issued_at
|
|
1135
1061
|
|
|
1136
|
-
# List of scopes to apply to the app. Specified scopes must already
|
|
1137
|
-
#
|
|
1062
|
+
# List of scopes to apply to the app. Specified scopes must already exist on the
|
|
1063
|
+
# API product that you associate with the app.
|
|
1138
1064
|
# Corresponds to the JSON property `scopes`
|
|
1139
1065
|
# @return [Array<String>]
|
|
1140
1066
|
attr_accessor :scopes
|
|
@@ -1170,14 +1096,13 @@ module Google
|
|
|
1170
1096
|
# @return [String]
|
|
1171
1097
|
attr_accessor :chart_type
|
|
1172
1098
|
|
|
1173
|
-
# Legacy field: not used. This field contains a list of comments associated
|
|
1174
|
-
#
|
|
1099
|
+
# Legacy field: not used. This field contains a list of comments associated with
|
|
1100
|
+
# custom report
|
|
1175
1101
|
# Corresponds to the JSON property `comments`
|
|
1176
1102
|
# @return [Array<String>]
|
|
1177
1103
|
attr_accessor :comments
|
|
1178
1104
|
|
|
1179
|
-
# Output only. Unix time when the app was created
|
|
1180
|
-
# json key: createdAt
|
|
1105
|
+
# Output only. Unix time when the app was created json key: createdAt
|
|
1181
1106
|
# Corresponds to the JSON property `createdAt`
|
|
1182
1107
|
# @return [Fixnum]
|
|
1183
1108
|
attr_accessor :created_at
|
|
@@ -1207,8 +1132,8 @@ module Google
|
|
|
1207
1132
|
# @return [String]
|
|
1208
1133
|
attr_accessor :from_time
|
|
1209
1134
|
|
|
1210
|
-
# Output only. Modified time of this entity as milliseconds since epoch.
|
|
1211
|
-
#
|
|
1135
|
+
# Output only. Modified time of this entity as milliseconds since epoch. json
|
|
1136
|
+
# key: lastModifiedAt
|
|
1212
1137
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
1213
1138
|
# @return [Fixnum]
|
|
1214
1139
|
attr_accessor :last_modified_at
|
|
@@ -1218,8 +1143,7 @@ module Google
|
|
|
1218
1143
|
# @return [Fixnum]
|
|
1219
1144
|
attr_accessor :last_viewed_at
|
|
1220
1145
|
|
|
1221
|
-
# Legacy field: not used This field contains the limit for the result
|
|
1222
|
-
# retrieved
|
|
1146
|
+
# Legacy field: not used This field contains the limit for the result retrieved
|
|
1223
1147
|
# Corresponds to the JSON property `limit`
|
|
1224
1148
|
# @return [String]
|
|
1225
1149
|
attr_accessor :limit
|
|
@@ -1229,8 +1153,8 @@ module Google
|
|
|
1229
1153
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReportMetric>]
|
|
1230
1154
|
attr_accessor :metrics
|
|
1231
1155
|
|
|
1232
|
-
# Required. Unique identifier for the report
|
|
1233
|
-
#
|
|
1156
|
+
# Required. Unique identifier for the report T his is a legacy field used to
|
|
1157
|
+
# encode custom report unique id
|
|
1234
1158
|
# Corresponds to the JSON property `name`
|
|
1235
1159
|
# @return [String]
|
|
1236
1160
|
attr_accessor :name
|
|
@@ -1276,8 +1200,8 @@ module Google
|
|
|
1276
1200
|
# @return [String]
|
|
1277
1201
|
attr_accessor :to_time
|
|
1278
1202
|
|
|
1279
|
-
# Legacy field: not used. This field contains the top k parameter value
|
|
1280
|
-
#
|
|
1203
|
+
# Legacy field: not used. This field contains the top k parameter value for
|
|
1204
|
+
# restricting the result
|
|
1281
1205
|
# Corresponds to the JSON property `topk`
|
|
1282
1206
|
# @return [String]
|
|
1283
1207
|
attr_accessor :topk
|
|
@@ -1313,8 +1237,8 @@ module Google
|
|
|
1313
1237
|
end
|
|
1314
1238
|
end
|
|
1315
1239
|
|
|
1316
|
-
# This encapsulates a metric property of the form sum(message_count)
|
|
1317
|
-
#
|
|
1240
|
+
# This encapsulates a metric property of the form sum(message_count) where name
|
|
1241
|
+
# is message_count and function is sum
|
|
1318
1242
|
class GoogleCloudApigeeV1CustomReportMetric
|
|
1319
1243
|
include Google::Apis::Core::Hashable
|
|
1320
1244
|
|
|
@@ -1343,8 +1267,8 @@ module Google
|
|
|
1343
1267
|
class GoogleCloudApigeeV1DataCollectorConfig
|
|
1344
1268
|
include Google::Apis::Core::Hashable
|
|
1345
1269
|
|
|
1346
|
-
# The name of the data collector. Must be of the form
|
|
1347
|
-
#
|
|
1270
|
+
# The name of the data collector. Must be of the form 'organizations/`org`/
|
|
1271
|
+
# datacollectors/`dc`'.
|
|
1348
1272
|
# Corresponds to the JSON property `name`
|
|
1349
1273
|
# @return [String]
|
|
1350
1274
|
attr_accessor :name
|
|
@@ -1365,6 +1289,136 @@ module Google
|
|
|
1365
1289
|
end
|
|
1366
1290
|
end
|
|
1367
1291
|
|
|
1292
|
+
# The data store defines the connection to export data repository (Cloud Storage,
|
|
1293
|
+
# BigQuery), including the credentials used to access the data repository.
|
|
1294
|
+
class GoogleCloudApigeeV1Datastore
|
|
1295
|
+
include Google::Apis::Core::Hashable
|
|
1296
|
+
|
|
1297
|
+
# Output only. Datastore create time, in milliseconds since the epoch of 1970-01-
|
|
1298
|
+
# 01T00:00:00Z
|
|
1299
|
+
# Corresponds to the JSON property `createTime`
|
|
1300
|
+
# @return [Fixnum]
|
|
1301
|
+
attr_accessor :create_time
|
|
1302
|
+
|
|
1303
|
+
# Configuration detail for datastore
|
|
1304
|
+
# Corresponds to the JSON property `datastoreConfig`
|
|
1305
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig]
|
|
1306
|
+
attr_accessor :datastore_config
|
|
1307
|
+
|
|
1308
|
+
# Required. Display name in UI
|
|
1309
|
+
# Corresponds to the JSON property `displayName`
|
|
1310
|
+
# @return [String]
|
|
1311
|
+
attr_accessor :display_name
|
|
1312
|
+
|
|
1313
|
+
# Output only. Datastore last update time, in milliseconds since the epoch of
|
|
1314
|
+
# 1970-01-01T00:00:00Z
|
|
1315
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
|
1316
|
+
# @return [Fixnum]
|
|
1317
|
+
attr_accessor :last_update_time
|
|
1318
|
+
|
|
1319
|
+
# Output only. Organization that the datastore belongs to
|
|
1320
|
+
# Corresponds to the JSON property `org`
|
|
1321
|
+
# @return [String]
|
|
1322
|
+
attr_accessor :org
|
|
1323
|
+
|
|
1324
|
+
# Output only. Resource link of Datastore. Example: `/organizations/`org`/
|
|
1325
|
+
# analytics/datastores/`uuid``
|
|
1326
|
+
# Corresponds to the JSON property `self`
|
|
1327
|
+
# @return [String]
|
|
1328
|
+
attr_accessor :self
|
|
1329
|
+
|
|
1330
|
+
# Destination storage type. Supported types `gcs` or `bigquery`.
|
|
1331
|
+
# Corresponds to the JSON property `targetType`
|
|
1332
|
+
# @return [String]
|
|
1333
|
+
attr_accessor :target_type
|
|
1334
|
+
|
|
1335
|
+
def initialize(**args)
|
|
1336
|
+
update!(**args)
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
# Update properties of this object
|
|
1340
|
+
def update!(**args)
|
|
1341
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1342
|
+
@datastore_config = args[:datastore_config] if args.key?(:datastore_config)
|
|
1343
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1344
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
|
1345
|
+
@org = args[:org] if args.key?(:org)
|
|
1346
|
+
@self = args[:self] if args.key?(:self)
|
|
1347
|
+
@target_type = args[:target_type] if args.key?(:target_type)
|
|
1348
|
+
end
|
|
1349
|
+
end
|
|
1350
|
+
|
|
1351
|
+
# Configuration detail for datastore
|
|
1352
|
+
class GoogleCloudApigeeV1DatastoreConfig
|
|
1353
|
+
include Google::Apis::Core::Hashable
|
|
1354
|
+
|
|
1355
|
+
# Name of the Cloud Storage bucket. Required for `gcs` target_type.
|
|
1356
|
+
# Corresponds to the JSON property `bucketName`
|
|
1357
|
+
# @return [String]
|
|
1358
|
+
attr_accessor :bucket_name
|
|
1359
|
+
|
|
1360
|
+
# BigQuery dataset name Required for `bigquery` target_type.
|
|
1361
|
+
# Corresponds to the JSON property `datasetName`
|
|
1362
|
+
# @return [String]
|
|
1363
|
+
attr_accessor :dataset_name
|
|
1364
|
+
|
|
1365
|
+
# Path of Cloud Storage bucket Required for `gcs` target_type.
|
|
1366
|
+
# Corresponds to the JSON property `path`
|
|
1367
|
+
# @return [String]
|
|
1368
|
+
attr_accessor :path
|
|
1369
|
+
|
|
1370
|
+
# Required. GCP project in which the datastore exists
|
|
1371
|
+
# Corresponds to the JSON property `projectId`
|
|
1372
|
+
# @return [String]
|
|
1373
|
+
attr_accessor :project_id
|
|
1374
|
+
|
|
1375
|
+
# Prefix of BigQuery table Required for `bigquery` target_type.
|
|
1376
|
+
# Corresponds to the JSON property `tablePrefix`
|
|
1377
|
+
# @return [String]
|
|
1378
|
+
attr_accessor :table_prefix
|
|
1379
|
+
|
|
1380
|
+
def initialize(**args)
|
|
1381
|
+
update!(**args)
|
|
1382
|
+
end
|
|
1383
|
+
|
|
1384
|
+
# Update properties of this object
|
|
1385
|
+
def update!(**args)
|
|
1386
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
|
1387
|
+
@dataset_name = args[:dataset_name] if args.key?(:dataset_name)
|
|
1388
|
+
@path = args[:path] if args.key?(:path)
|
|
1389
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
1390
|
+
@table_prefix = args[:table_prefix] if args.key?(:table_prefix)
|
|
1391
|
+
end
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1394
|
+
# Date range of the data to export.
|
|
1395
|
+
class GoogleCloudApigeeV1DateRange
|
|
1396
|
+
include Google::Apis::Core::Hashable
|
|
1397
|
+
|
|
1398
|
+
# Required. End date (exclusive) of the data to export in the format `yyyy-mm-dd`
|
|
1399
|
+
# . The date range ends at 00:00:00 UTC on the end date- which will not be in
|
|
1400
|
+
# the output.
|
|
1401
|
+
# Corresponds to the JSON property `end`
|
|
1402
|
+
# @return [String]
|
|
1403
|
+
attr_accessor :end
|
|
1404
|
+
|
|
1405
|
+
# Required. Start date of the data to export in the format `yyyy-mm-dd`. The
|
|
1406
|
+
# date range begins at 00:00:00 UTC on the start date.
|
|
1407
|
+
# Corresponds to the JSON property `start`
|
|
1408
|
+
# @return [String]
|
|
1409
|
+
attr_accessor :start
|
|
1410
|
+
|
|
1411
|
+
def initialize(**args)
|
|
1412
|
+
update!(**args)
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
# Update properties of this object
|
|
1416
|
+
def update!(**args)
|
|
1417
|
+
@end = args[:end] if args.key?(:end)
|
|
1418
|
+
@start = args[:start] if args.key?(:start)
|
|
1419
|
+
end
|
|
1420
|
+
end
|
|
1421
|
+
|
|
1368
1422
|
#
|
|
1369
1423
|
class GoogleCloudApigeeV1DebugMask
|
|
1370
1424
|
include Google::Apis::Core::Hashable
|
|
@@ -1375,8 +1429,8 @@ module Google
|
|
|
1375
1429
|
# @return [Array<String>]
|
|
1376
1430
|
attr_accessor :fault_json_paths
|
|
1377
1431
|
|
|
1378
|
-
# List of XPaths that specify the XML elements to be filtered from XML
|
|
1379
|
-
#
|
|
1432
|
+
# List of XPaths that specify the XML elements to be filtered from XML payloads
|
|
1433
|
+
# in error flows.
|
|
1380
1434
|
# Corresponds to the JSON property `faultXPaths`
|
|
1381
1435
|
# @return [Array<String>]
|
|
1382
1436
|
attr_accessor :fault_x_paths
|
|
@@ -1397,8 +1451,8 @@ module Google
|
|
|
1397
1451
|
# @return [Array<String>]
|
|
1398
1452
|
attr_accessor :request_json_paths
|
|
1399
1453
|
|
|
1400
|
-
# List of XPaths that specify the XML elements to be filtered from XML
|
|
1401
|
-
#
|
|
1454
|
+
# List of XPaths that specify the XML elements to be filtered from XML request
|
|
1455
|
+
# message payloads.
|
|
1402
1456
|
# Corresponds to the JSON property `requestXPaths`
|
|
1403
1457
|
# @return [Array<String>]
|
|
1404
1458
|
attr_accessor :request_x_paths
|
|
@@ -1409,8 +1463,8 @@ module Google
|
|
|
1409
1463
|
# @return [Array<String>]
|
|
1410
1464
|
attr_accessor :response_json_paths
|
|
1411
1465
|
|
|
1412
|
-
# List of XPaths that specify the XML elements to be filtered from XML
|
|
1413
|
-
#
|
|
1466
|
+
# List of XPaths that specify the XML elements to be filtered from XML response
|
|
1467
|
+
# message payloads.
|
|
1414
1468
|
# Corresponds to the JSON property `responseXPaths`
|
|
1415
1469
|
# @return [Array<String>]
|
|
1416
1470
|
attr_accessor :response_x_paths
|
|
@@ -1442,15 +1496,14 @@ module Google
|
|
|
1442
1496
|
class GoogleCloudApigeeV1DebugSession
|
|
1443
1497
|
include Google::Apis::Core::Hashable
|
|
1444
1498
|
|
|
1445
|
-
# Optional. The number of request to be traced. Min = 1, Max = 15, Default
|
|
1446
|
-
# = 10.
|
|
1499
|
+
# Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.
|
|
1447
1500
|
# Corresponds to the JSON property `count`
|
|
1448
1501
|
# @return [Fixnum]
|
|
1449
1502
|
attr_accessor :count
|
|
1450
1503
|
|
|
1451
1504
|
# Optional. A conditional statement which is evaluated against the request
|
|
1452
|
-
# message to determine if it should be traced. Syntax matches that of on
|
|
1453
|
-
#
|
|
1505
|
+
# message to determine if it should be traced. Syntax matches that of on API
|
|
1506
|
+
# Proxy bundle flow Condition.
|
|
1454
1507
|
# Corresponds to the JSON property `filter`
|
|
1455
1508
|
# @return [String]
|
|
1456
1509
|
attr_accessor :filter
|
|
@@ -1460,14 +1513,14 @@ module Google
|
|
|
1460
1513
|
# @return [String]
|
|
1461
1514
|
attr_accessor :name
|
|
1462
1515
|
|
|
1463
|
-
# Optional. The time in seconds after which this DebugSession should end.
|
|
1464
|
-
#
|
|
1516
|
+
# Optional. The time in seconds after which this DebugSession should end. This
|
|
1517
|
+
# value will override the value in query param, if both are provided.
|
|
1465
1518
|
# Corresponds to the JSON property `timeout`
|
|
1466
1519
|
# @return [Fixnum]
|
|
1467
1520
|
attr_accessor :timeout
|
|
1468
1521
|
|
|
1469
|
-
# Optional. The maximum number of bytes captured from the response payload.
|
|
1470
|
-
#
|
|
1522
|
+
# Optional. The maximum number of bytes captured from the response payload. Min =
|
|
1523
|
+
# 0, Max = 5120, Default = 5120.
|
|
1471
1524
|
# Corresponds to the JSON property `tracesize`
|
|
1472
1525
|
# @return [Fixnum]
|
|
1473
1526
|
attr_accessor :tracesize
|
|
@@ -1494,10 +1547,9 @@ module Google
|
|
|
1494
1547
|
end
|
|
1495
1548
|
end
|
|
1496
1549
|
|
|
1497
|
-
# A transaction contains all of the debug information of the entire message
|
|
1498
|
-
#
|
|
1499
|
-
#
|
|
1500
|
-
# apiproxy.
|
|
1550
|
+
# A transaction contains all of the debug information of the entire message flow
|
|
1551
|
+
# of an API call processed by the runtime plane. The information is collected
|
|
1552
|
+
# and recorded at critical points of the message flow in the runtime apiproxy.
|
|
1501
1553
|
class GoogleCloudApigeeV1DebugSessionTransaction
|
|
1502
1554
|
include Google::Apis::Core::Hashable
|
|
1503
1555
|
|
|
@@ -1507,8 +1559,8 @@ module Google
|
|
|
1507
1559
|
attr_accessor :completed
|
|
1508
1560
|
alias_method :completed?, :completed
|
|
1509
1561
|
|
|
1510
|
-
# List of debug data collected by runtime plane at various defined points in
|
|
1511
|
-
#
|
|
1562
|
+
# List of debug data collected by runtime plane at various defined points in the
|
|
1563
|
+
# flow.
|
|
1512
1564
|
# Corresponds to the JSON property `point`
|
|
1513
1565
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Point>]
|
|
1514
1566
|
attr_accessor :point
|
|
@@ -1557,8 +1609,8 @@ module Google
|
|
|
1557
1609
|
# @return [String]
|
|
1558
1610
|
attr_accessor :base_path
|
|
1559
1611
|
|
|
1560
|
-
# Time the API proxy was marked `deployed` in the control plane in
|
|
1561
|
-
#
|
|
1612
|
+
# Time the API proxy was marked `deployed` in the control plane in millisconds
|
|
1613
|
+
# since epoch.
|
|
1562
1614
|
# Corresponds to the JSON property `deployStartTime`
|
|
1563
1615
|
# @return [Fixnum]
|
|
1564
1616
|
attr_accessor :deploy_start_time
|
|
@@ -1568,7 +1620,19 @@ module Google
|
|
|
1568
1620
|
# @return [String]
|
|
1569
1621
|
attr_accessor :environment
|
|
1570
1622
|
|
|
1571
|
-
#
|
|
1623
|
+
# Errors reported for this deployment. Populated only when state == ERROR. This
|
|
1624
|
+
# field is not populated in List APIs.
|
|
1625
|
+
# Corresponds to the JSON property `errors`
|
|
1626
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleRpcStatus>]
|
|
1627
|
+
attr_accessor :errors
|
|
1628
|
+
|
|
1629
|
+
# Status reported by each runtime instance. This field is not populated in List
|
|
1630
|
+
# APIs.
|
|
1631
|
+
# Corresponds to the JSON property `instances`
|
|
1632
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus>]
|
|
1633
|
+
attr_accessor :instances
|
|
1634
|
+
|
|
1635
|
+
# Status reported by runtime pods. This field is not populated for List APIs.
|
|
1572
1636
|
# Corresponds to the JSON property `pods`
|
|
1573
1637
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
|
|
1574
1638
|
attr_accessor :pods
|
|
@@ -1578,6 +1642,21 @@ module Google
|
|
|
1578
1642
|
# @return [String]
|
|
1579
1643
|
attr_accessor :revision
|
|
1580
1644
|
|
|
1645
|
+
# Conflicts in the desired state routing configuration. The presence of
|
|
1646
|
+
# conflicts does not cause the state to be ERROR, but it will mean that some of
|
|
1647
|
+
# the deployments basepaths are not routed to its environment. If the conflicts
|
|
1648
|
+
# change, the state will transition to PROGRESSING until the latest
|
|
1649
|
+
# configuration is rolled out to all instances. This field is not populated in
|
|
1650
|
+
# List APIs.
|
|
1651
|
+
# Corresponds to the JSON property `routeConflicts`
|
|
1652
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
|
|
1653
|
+
attr_accessor :route_conflicts
|
|
1654
|
+
|
|
1655
|
+
# Current state of the deployment. This field is not populated in List APIs.
|
|
1656
|
+
# Corresponds to the JSON property `state`
|
|
1657
|
+
# @return [String]
|
|
1658
|
+
attr_accessor :state
|
|
1659
|
+
|
|
1581
1660
|
def initialize(**args)
|
|
1582
1661
|
update!(**args)
|
|
1583
1662
|
end
|
|
@@ -1588,8 +1667,172 @@ module Google
|
|
|
1588
1667
|
@base_path = args[:base_path] if args.key?(:base_path)
|
|
1589
1668
|
@deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
|
|
1590
1669
|
@environment = args[:environment] if args.key?(:environment)
|
|
1670
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1671
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
1591
1672
|
@pods = args[:pods] if args.key?(:pods)
|
|
1592
1673
|
@revision = args[:revision] if args.key?(:revision)
|
|
1674
|
+
@route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts)
|
|
1675
|
+
@state = args[:state] if args.key?(:state)
|
|
1676
|
+
end
|
|
1677
|
+
end
|
|
1678
|
+
|
|
1679
|
+
# Response for GenerateDeployChangeReport and GenerateUndeployChangeReport. This
|
|
1680
|
+
# report contains any validation failures that would cause the deployment to be
|
|
1681
|
+
# rejected, as well changes and conflicts in routing that may occur due to the
|
|
1682
|
+
# new deployment. The existence of a routing warning does not necessarily imply
|
|
1683
|
+
# that the deployment request is bad, if the desired state of the deployment
|
|
1684
|
+
# request is to effect a routing change. The primary purposes of the routing
|
|
1685
|
+
# messages are: 1) To inform users of routing changes that may have an effect on
|
|
1686
|
+
# traffic currently being routed to other existing deployments. 2) To warn users
|
|
1687
|
+
# if some basepath in the proxy will not receive traffic due to an existing
|
|
1688
|
+
# deployment having already claimed that basepath. The presence of routing
|
|
1689
|
+
# conflicts/changes will not cause non-dry-run DeployApiProxy/UndeployApiProxy
|
|
1690
|
+
# requests to be rejected.
|
|
1691
|
+
class GoogleCloudApigeeV1DeploymentChangeReport
|
|
1692
|
+
include Google::Apis::Core::Hashable
|
|
1693
|
+
|
|
1694
|
+
# All routing changes that may result from a deployment request.
|
|
1695
|
+
# Corresponds to the JSON property `routingChanges`
|
|
1696
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange>]
|
|
1697
|
+
attr_accessor :routing_changes
|
|
1698
|
+
|
|
1699
|
+
# All basepath conflicts detected for a deployment request.
|
|
1700
|
+
# Corresponds to the JSON property `routingConflicts`
|
|
1701
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
|
|
1702
|
+
attr_accessor :routing_conflicts
|
|
1703
|
+
|
|
1704
|
+
# Describes what preconditions have failed. For example, if an RPC failed
|
|
1705
|
+
# because it required the Terms of Service to be acknowledged, it could list the
|
|
1706
|
+
# terms of service violation in the PreconditionFailure message.
|
|
1707
|
+
# Corresponds to the JSON property `validationErrors`
|
|
1708
|
+
# @return [Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure]
|
|
1709
|
+
attr_accessor :validation_errors
|
|
1710
|
+
|
|
1711
|
+
def initialize(**args)
|
|
1712
|
+
update!(**args)
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
# Update properties of this object
|
|
1716
|
+
def update!(**args)
|
|
1717
|
+
@routing_changes = args[:routing_changes] if args.key?(:routing_changes)
|
|
1718
|
+
@routing_conflicts = args[:routing_conflicts] if args.key?(:routing_conflicts)
|
|
1719
|
+
@validation_errors = args[:validation_errors] if args.key?(:validation_errors)
|
|
1720
|
+
end
|
|
1721
|
+
end
|
|
1722
|
+
|
|
1723
|
+
# Describes a potential routing change that may occur as a result of some
|
|
1724
|
+
# deployment operation.
|
|
1725
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
|
|
1726
|
+
include Google::Apis::Core::Hashable
|
|
1727
|
+
|
|
1728
|
+
# A human-readable description of this routing change.
|
|
1729
|
+
# Corresponds to the JSON property `description`
|
|
1730
|
+
# @return [String]
|
|
1731
|
+
attr_accessor :description
|
|
1732
|
+
|
|
1733
|
+
# The name of the environment group affected by this routing change.
|
|
1734
|
+
# Corresponds to the JSON property `environmentGroup`
|
|
1735
|
+
# @return [String]
|
|
1736
|
+
attr_accessor :environment_group
|
|
1737
|
+
|
|
1738
|
+
# A tuple representing a basepath and the deployment containing it.
|
|
1739
|
+
# Corresponds to the JSON property `fromDeployment`
|
|
1740
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
|
1741
|
+
attr_accessor :from_deployment
|
|
1742
|
+
|
|
1743
|
+
# True if using sequenced rollout would make this routing change safer. Note:
|
|
1744
|
+
# this does not necessarily imply that automated sequenced rollout mode is
|
|
1745
|
+
# supported for the operation.
|
|
1746
|
+
# Corresponds to the JSON property `shouldSequenceRollout`
|
|
1747
|
+
# @return [Boolean]
|
|
1748
|
+
attr_accessor :should_sequence_rollout
|
|
1749
|
+
alias_method :should_sequence_rollout?, :should_sequence_rollout
|
|
1750
|
+
|
|
1751
|
+
# A tuple representing a basepath and the deployment containing it.
|
|
1752
|
+
# Corresponds to the JSON property `toDeployment`
|
|
1753
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
|
1754
|
+
attr_accessor :to_deployment
|
|
1755
|
+
|
|
1756
|
+
def initialize(**args)
|
|
1757
|
+
update!(**args)
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
# Update properties of this object
|
|
1761
|
+
def update!(**args)
|
|
1762
|
+
@description = args[:description] if args.key?(:description)
|
|
1763
|
+
@environment_group = args[:environment_group] if args.key?(:environment_group)
|
|
1764
|
+
@from_deployment = args[:from_deployment] if args.key?(:from_deployment)
|
|
1765
|
+
@should_sequence_rollout = args[:should_sequence_rollout] if args.key?(:should_sequence_rollout)
|
|
1766
|
+
@to_deployment = args[:to_deployment] if args.key?(:to_deployment)
|
|
1767
|
+
end
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# Describes a routing conflict that may cause a deployment not to receive
|
|
1771
|
+
# traffic at some basepath.
|
|
1772
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict
|
|
1773
|
+
include Google::Apis::Core::Hashable
|
|
1774
|
+
|
|
1775
|
+
# A tuple representing a basepath and the deployment containing it.
|
|
1776
|
+
# Corresponds to the JSON property `conflictingDeployment`
|
|
1777
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
|
1778
|
+
attr_accessor :conflicting_deployment
|
|
1779
|
+
|
|
1780
|
+
# A human-readable description of this conflict.
|
|
1781
|
+
# Corresponds to the JSON property `description`
|
|
1782
|
+
# @return [String]
|
|
1783
|
+
attr_accessor :description
|
|
1784
|
+
|
|
1785
|
+
# The name of the environment group in which this conflict exists.
|
|
1786
|
+
# Corresponds to the JSON property `environmentGroup`
|
|
1787
|
+
# @return [String]
|
|
1788
|
+
attr_accessor :environment_group
|
|
1789
|
+
|
|
1790
|
+
def initialize(**args)
|
|
1791
|
+
update!(**args)
|
|
1792
|
+
end
|
|
1793
|
+
|
|
1794
|
+
# Update properties of this object
|
|
1795
|
+
def update!(**args)
|
|
1796
|
+
@conflicting_deployment = args[:conflicting_deployment] if args.key?(:conflicting_deployment)
|
|
1797
|
+
@description = args[:description] if args.key?(:description)
|
|
1798
|
+
@environment_group = args[:environment_group] if args.key?(:environment_group)
|
|
1799
|
+
end
|
|
1800
|
+
end
|
|
1801
|
+
|
|
1802
|
+
# A tuple representing a basepath and the deployment containing it.
|
|
1803
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
|
|
1804
|
+
include Google::Apis::Core::Hashable
|
|
1805
|
+
|
|
1806
|
+
# The name of the deployed proxy revision containing the basepath.
|
|
1807
|
+
# Corresponds to the JSON property `apiProxy`
|
|
1808
|
+
# @return [String]
|
|
1809
|
+
attr_accessor :api_proxy
|
|
1810
|
+
|
|
1811
|
+
# The basepath receiving traffic.
|
|
1812
|
+
# Corresponds to the JSON property `basepath`
|
|
1813
|
+
# @return [String]
|
|
1814
|
+
attr_accessor :basepath
|
|
1815
|
+
|
|
1816
|
+
# The name of the environment in which the proxy is deployed.
|
|
1817
|
+
# Corresponds to the JSON property `environment`
|
|
1818
|
+
# @return [String]
|
|
1819
|
+
attr_accessor :environment
|
|
1820
|
+
|
|
1821
|
+
# The name of the deployed proxy revision containing the basepath.
|
|
1822
|
+
# Corresponds to the JSON property `revision`
|
|
1823
|
+
# @return [String]
|
|
1824
|
+
attr_accessor :revision
|
|
1825
|
+
|
|
1826
|
+
def initialize(**args)
|
|
1827
|
+
update!(**args)
|
|
1828
|
+
end
|
|
1829
|
+
|
|
1830
|
+
# Update properties of this object
|
|
1831
|
+
def update!(**args)
|
|
1832
|
+
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
|
1833
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
|
1834
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
1835
|
+
@revision = args[:revision] if args.key?(:revision)
|
|
1593
1836
|
end
|
|
1594
1837
|
end
|
|
1595
1838
|
|
|
@@ -1602,8 +1845,8 @@ module Google
|
|
|
1602
1845
|
# @return [Hash<String,String>]
|
|
1603
1846
|
attr_accessor :attributes
|
|
1604
1847
|
|
|
1605
|
-
# Base path where the application needs to be hosted. Default value is
|
|
1606
|
-
#
|
|
1848
|
+
# Base path where the application needs to be hosted. Default value is assumed
|
|
1849
|
+
# to be "/".
|
|
1607
1850
|
# Corresponds to the JSON property `basePath`
|
|
1608
1851
|
# @return [String]
|
|
1609
1852
|
attr_accessor :base_path
|
|
@@ -1614,8 +1857,8 @@ module Google
|
|
|
1614
1857
|
attr_accessor :location
|
|
1615
1858
|
|
|
1616
1859
|
# The name of the API or shared flow revision to be deployed. Must be of the
|
|
1617
|
-
# form 'organizations/`org`/apis/`api`/revisions/`rev`' or
|
|
1618
|
-
#
|
|
1860
|
+
# form 'organizations/`org`/apis/`api`/revisions/`rev`' or 'organizations/`org`/
|
|
1861
|
+
# sharedflows/`sf`/revisions/`rev`'.
|
|
1619
1862
|
# Corresponds to the JSON property `name`
|
|
1620
1863
|
# @return [String]
|
|
1621
1864
|
attr_accessor :name
|
|
@@ -1625,8 +1868,7 @@ module Google
|
|
|
1625
1868
|
# @return [String]
|
|
1626
1869
|
attr_accessor :proxy_uid
|
|
1627
1870
|
|
|
1628
|
-
# A unique id that will only change if the deployment is deleted and
|
|
1629
|
-
# recreated.
|
|
1871
|
+
# A unique id that will only change if the deployment is deleted and recreated.
|
|
1630
1872
|
# Corresponds to the JSON property `uid`
|
|
1631
1873
|
# @return [String]
|
|
1632
1874
|
attr_accessor :uid
|
|
@@ -1676,22 +1918,20 @@ module Google
|
|
|
1676
1918
|
# @return [Array<String>]
|
|
1677
1919
|
attr_accessor :companies
|
|
1678
1920
|
|
|
1679
|
-
# Output only. Time at which the developer was created in milliseconds
|
|
1680
|
-
#
|
|
1921
|
+
# Output only. Time at which the developer was created in milliseconds since
|
|
1922
|
+
# epoch.
|
|
1681
1923
|
# Corresponds to the JSON property `createdAt`
|
|
1682
1924
|
# @return [Fixnum]
|
|
1683
1925
|
attr_accessor :created_at
|
|
1684
1926
|
|
|
1685
|
-
# ID of the developer.
|
|
1686
|
-
#
|
|
1687
|
-
# guaranteed to stay the same over time.
|
|
1927
|
+
# ID of the developer. **Note**: IDs are generated internally by Apigee and are
|
|
1928
|
+
# not guaranteed to stay the same over time.
|
|
1688
1929
|
# Corresponds to the JSON property `developerId`
|
|
1689
1930
|
# @return [String]
|
|
1690
1931
|
attr_accessor :developer_id
|
|
1691
1932
|
|
|
1692
1933
|
# Required. Email address of the developer. This value is used to uniquely
|
|
1693
|
-
# identify
|
|
1694
|
-
# the developer in Apigee hybrid.
|
|
1934
|
+
# identify the developer in Apigee hybrid.
|
|
1695
1935
|
# Corresponds to the JSON property `email`
|
|
1696
1936
|
# @return [String]
|
|
1697
1937
|
attr_accessor :email
|
|
@@ -1701,8 +1941,8 @@ module Google
|
|
|
1701
1941
|
# @return [String]
|
|
1702
1942
|
attr_accessor :first_name
|
|
1703
1943
|
|
|
1704
|
-
# Output only. Time at which the developer was last modified in
|
|
1705
|
-
#
|
|
1944
|
+
# Output only. Time at which the developer was last modified in milliseconds
|
|
1945
|
+
# since epoch.
|
|
1706
1946
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
1707
1947
|
# @return [Fixnum]
|
|
1708
1948
|
attr_accessor :last_modified_at
|
|
@@ -1796,10 +2036,9 @@ module Google
|
|
|
1796
2036
|
# @return [String]
|
|
1797
2037
|
attr_accessor :developer_id
|
|
1798
2038
|
|
|
1799
|
-
# Expiration time, in milliseconds, for the consumer key that
|
|
1800
|
-
#
|
|
1801
|
-
#
|
|
1802
|
-
# The expiration time can't be updated after it is set.
|
|
2039
|
+
# Expiration time, in milliseconds, for the consumer key that is generated for
|
|
2040
|
+
# the developer app. If not set or left to the default value of `-1`, the API
|
|
2041
|
+
# key never expires. The expiration time can't be updated after it is set.
|
|
1803
2042
|
# Corresponds to the JSON property `keyExpiresIn`
|
|
1804
2043
|
# @return [Fixnum]
|
|
1805
2044
|
attr_accessor :key_expires_in
|
|
@@ -1814,9 +2053,8 @@ module Google
|
|
|
1814
2053
|
# @return [String]
|
|
1815
2054
|
attr_accessor :name
|
|
1816
2055
|
|
|
1817
|
-
# Scopes to apply to the developer app. The specified scopes must
|
|
1818
|
-
#
|
|
1819
|
-
# app.
|
|
2056
|
+
# Scopes to apply to the developer app. The specified scopes must already exist
|
|
2057
|
+
# for the API product that you associate with the developer app.
|
|
1820
2058
|
# Corresponds to the JSON property `scopes`
|
|
1821
2059
|
# @return [Array<String>]
|
|
1822
2060
|
attr_accessor :scopes
|
|
@@ -1852,11 +2090,10 @@ module Google
|
|
|
1852
2090
|
class GoogleCloudApigeeV1DeveloperAppKey
|
|
1853
2091
|
include Google::Apis::Core::Hashable
|
|
1854
2092
|
|
|
1855
|
-
# List of API products for which the credential can be used.
|
|
1856
|
-
#
|
|
1857
|
-
#
|
|
1858
|
-
#
|
|
1859
|
-
# make the association after the consumer key and secret are created.
|
|
2093
|
+
# List of API products for which the credential can be used. **Note**: Do not
|
|
2094
|
+
# specify the list of API products when creating a consumer key and secret for a
|
|
2095
|
+
# developer app. Instead, use the UpdateDeveloperAppKey API to make the
|
|
2096
|
+
# association after the consumer key and secret are created.
|
|
1860
2097
|
# Corresponds to the JSON property `apiProducts`
|
|
1861
2098
|
# @return [Array<Object>]
|
|
1862
2099
|
attr_accessor :api_products
|
|
@@ -1886,8 +2123,8 @@ module Google
|
|
|
1886
2123
|
# @return [Fixnum]
|
|
1887
2124
|
attr_accessor :issued_at
|
|
1888
2125
|
|
|
1889
|
-
# Scopes to apply to the app. The specified scope names must already
|
|
1890
|
-
#
|
|
2126
|
+
# Scopes to apply to the app. The specified scope names must already be defined
|
|
2127
|
+
# for the API product that you associate with the app.
|
|
1891
2128
|
# Corresponds to the JSON property `scopes`
|
|
1892
2129
|
# @return [Array<String>]
|
|
1893
2130
|
attr_accessor :scopes
|
|
@@ -1948,8 +2185,8 @@ module Google
|
|
|
1948
2185
|
# @return [Fixnum]
|
|
1949
2186
|
attr_accessor :created_at
|
|
1950
2187
|
|
|
1951
|
-
# Time at which the API proxy was most recently modified, in milliseconds
|
|
1952
|
-
#
|
|
2188
|
+
# Time at which the API proxy was most recently modified, in milliseconds since
|
|
2189
|
+
# epoch.
|
|
1953
2190
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
1954
2191
|
# @return [Fixnum]
|
|
1955
2192
|
attr_accessor :last_modified_at
|
|
@@ -1990,14 +2227,14 @@ module Google
|
|
|
1990
2227
|
# @return [String]
|
|
1991
2228
|
attr_accessor :display_name
|
|
1992
2229
|
|
|
1993
|
-
# Output only. Last modification time of this environment as milliseconds
|
|
1994
|
-
#
|
|
2230
|
+
# Output only. Last modification time of this environment as milliseconds since
|
|
2231
|
+
# epoch.
|
|
1995
2232
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
1996
2233
|
# @return [Fixnum]
|
|
1997
2234
|
attr_accessor :last_modified_at
|
|
1998
2235
|
|
|
1999
|
-
# Required. Name of the environment. Values must match the
|
|
2000
|
-
#
|
|
2236
|
+
# Required. Name of the environment. Values must match the regular expression `^[
|
|
2237
|
+
# .\\p`Alnum`-_]`1,255`$`
|
|
2001
2238
|
# Corresponds to the JSON property `name`
|
|
2002
2239
|
# @return [String]
|
|
2003
2240
|
attr_accessor :name
|
|
@@ -2062,15 +2299,15 @@ module Google
|
|
|
2062
2299
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig>]
|
|
2063
2300
|
attr_accessor :keystores
|
|
2064
2301
|
|
|
2065
|
-
# The name of the environment config. Must be of the form
|
|
2066
|
-
#
|
|
2302
|
+
# The name of the environment config. Must be of the form 'organizations/`org`/
|
|
2303
|
+
# environments/`env`/configs/`config_id`
|
|
2067
2304
|
# Corresponds to the JSON property `name`
|
|
2068
2305
|
# @return [String]
|
|
2069
2306
|
attr_accessor :name
|
|
2070
2307
|
|
|
2071
|
-
# This field can be used by the control plane to add some context
|
|
2072
|
-
#
|
|
2073
|
-
#
|
|
2308
|
+
# This field can be used by the control plane to add some context information
|
|
2309
|
+
# about itself. This information could help detect the source of the document
|
|
2310
|
+
# during diagnostics and debugging.
|
|
2074
2311
|
# Corresponds to the JSON property `provider`
|
|
2075
2312
|
# @return [String]
|
|
2076
2313
|
attr_accessor :provider
|
|
@@ -2090,9 +2327,8 @@ module Google
|
|
|
2090
2327
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig>]
|
|
2091
2328
|
attr_accessor :resources
|
|
2092
2329
|
|
|
2093
|
-
# Revision id that defines the ordering on the environment config.
|
|
2094
|
-
#
|
|
2095
|
-
# was deployed.
|
|
2330
|
+
# Revision id that defines the ordering on the environment config. The higher
|
|
2331
|
+
# the revision, the more recently the configuration was deployed.
|
|
2096
2332
|
# Corresponds to the JSON property `revisionId`
|
|
2097
2333
|
# @return [Fixnum]
|
|
2098
2334
|
attr_accessor :revision_id
|
|
@@ -2102,8 +2338,8 @@ module Google
|
|
|
2102
2338
|
# @return [Fixnum]
|
|
2103
2339
|
attr_accessor :sequence_number
|
|
2104
2340
|
|
|
2105
|
-
# A list of target servers in the environment. Disabled target servers are
|
|
2106
|
-
#
|
|
2341
|
+
# A list of target servers in the environment. Disabled target servers are not
|
|
2342
|
+
# included.
|
|
2107
2343
|
# Corresponds to the JSON property `targets`
|
|
2108
2344
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
|
|
2109
2345
|
attr_accessor :targets
|
|
@@ -2139,37 +2375,32 @@ module Google
|
|
|
2139
2375
|
end
|
|
2140
2376
|
end
|
|
2141
2377
|
|
|
2142
|
-
#
|
|
2143
|
-
|
|
2378
|
+
# EnvironmentGroup configuration. An environment group is used to group one or
|
|
2379
|
+
# more Apigee environments under a single host name.
|
|
2380
|
+
class GoogleCloudApigeeV1EnvironmentGroup
|
|
2144
2381
|
include Google::Apis::Core::Hashable
|
|
2145
2382
|
|
|
2146
|
-
#
|
|
2147
|
-
#
|
|
2148
|
-
#
|
|
2149
|
-
#
|
|
2150
|
-
|
|
2151
|
-
# Corresponds to the JSON property `continueOnError`
|
|
2152
|
-
# @return [Boolean]
|
|
2153
|
-
attr_accessor :continue_on_error
|
|
2154
|
-
alias_method :continue_on_error?, :continue_on_error
|
|
2383
|
+
# Output only. The time at which the environment group was created as
|
|
2384
|
+
# milliseconds since epoch.
|
|
2385
|
+
# Corresponds to the JSON property `createdAt`
|
|
2386
|
+
# @return [Fixnum]
|
|
2387
|
+
attr_accessor :created_at
|
|
2155
2388
|
|
|
2156
|
-
#
|
|
2157
|
-
# Corresponds to the JSON property `
|
|
2158
|
-
# @return [String]
|
|
2159
|
-
attr_accessor :
|
|
2389
|
+
# Required. Host names for this environment group.
|
|
2390
|
+
# Corresponds to the JSON property `hostnames`
|
|
2391
|
+
# @return [Array<String>]
|
|
2392
|
+
attr_accessor :hostnames
|
|
2160
2393
|
|
|
2161
|
-
# Output only.
|
|
2162
|
-
#
|
|
2163
|
-
#
|
|
2164
|
-
#
|
|
2165
|
-
|
|
2166
|
-
# @return [String]
|
|
2167
|
-
attr_accessor :flow_hook_point
|
|
2394
|
+
# Output only. The time at which the environment group was last updated as
|
|
2395
|
+
# milliseconds since epoch.
|
|
2396
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
|
2397
|
+
# @return [Fixnum]
|
|
2398
|
+
attr_accessor :last_modified_at
|
|
2168
2399
|
|
|
2169
|
-
#
|
|
2170
|
-
# Corresponds to the JSON property `
|
|
2400
|
+
# ID of the environment group.
|
|
2401
|
+
# Corresponds to the JSON property `name`
|
|
2171
2402
|
# @return [String]
|
|
2172
|
-
attr_accessor :
|
|
2403
|
+
attr_accessor :name
|
|
2173
2404
|
|
|
2174
2405
|
def initialize(**args)
|
|
2175
2406
|
update!(**args)
|
|
@@ -2177,37 +2408,33 @@ module Google
|
|
|
2177
2408
|
|
|
2178
2409
|
# Update properties of this object
|
|
2179
2410
|
def update!(**args)
|
|
2180
|
-
@
|
|
2181
|
-
@
|
|
2182
|
-
@
|
|
2183
|
-
@
|
|
2411
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2412
|
+
@hostnames = args[:hostnames] if args.key?(:hostnames)
|
|
2413
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
|
2414
|
+
@name = args[:name] if args.key?(:name)
|
|
2184
2415
|
end
|
|
2185
2416
|
end
|
|
2186
2417
|
|
|
2187
|
-
#
|
|
2188
|
-
|
|
2418
|
+
# EnvironmentGroupAttachment is a resource which defines an attachment of an
|
|
2419
|
+
# environment to an environment group.
|
|
2420
|
+
class GoogleCloudApigeeV1EnvironmentGroupAttachment
|
|
2189
2421
|
include Google::Apis::Core::Hashable
|
|
2190
2422
|
|
|
2191
|
-
#
|
|
2192
|
-
#
|
|
2193
|
-
# Corresponds to the JSON property `
|
|
2194
|
-
# @return [
|
|
2195
|
-
attr_accessor :
|
|
2196
|
-
alias_method :continue_on_error?, :continue_on_error
|
|
2423
|
+
# Output only. The time at which the environment group attachment was created as
|
|
2424
|
+
# milliseconds since epoch.
|
|
2425
|
+
# Corresponds to the JSON property `createdAt`
|
|
2426
|
+
# @return [Fixnum]
|
|
2427
|
+
attr_accessor :created_at
|
|
2197
2428
|
|
|
2198
|
-
#
|
|
2199
|
-
#
|
|
2200
|
-
# Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
|
|
2201
|
-
# and PostTargetFlowHook
|
|
2202
|
-
# Corresponds to the JSON property `name`
|
|
2429
|
+
# Required. ID of the attached environment.
|
|
2430
|
+
# Corresponds to the JSON property `environment`
|
|
2203
2431
|
# @return [String]
|
|
2204
|
-
attr_accessor :
|
|
2432
|
+
attr_accessor :environment
|
|
2205
2433
|
|
|
2206
|
-
#
|
|
2207
|
-
#
|
|
2208
|
-
# Corresponds to the JSON property `sharedFlowName`
|
|
2434
|
+
# ID of the environment group attachment.
|
|
2435
|
+
# Corresponds to the JSON property `name`
|
|
2209
2436
|
# @return [String]
|
|
2210
|
-
attr_accessor :
|
|
2437
|
+
attr_accessor :name
|
|
2211
2438
|
|
|
2212
2439
|
def initialize(**args)
|
|
2213
2440
|
update!(**args)
|
|
@@ -2215,23 +2442,516 @@ module Google
|
|
|
2215
2442
|
|
|
2216
2443
|
# Update properties of this object
|
|
2217
2444
|
def update!(**args)
|
|
2218
|
-
@
|
|
2445
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2446
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
2219
2447
|
@name = args[:name] if args.key?(:name)
|
|
2220
|
-
@shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
|
|
2221
2448
|
end
|
|
2222
2449
|
end
|
|
2223
2450
|
|
|
2224
|
-
#
|
|
2225
|
-
#
|
|
2226
|
-
class
|
|
2451
|
+
# EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and its
|
|
2452
|
+
# associated routing rules.
|
|
2453
|
+
class GoogleCloudApigeeV1EnvironmentGroupConfig
|
|
2227
2454
|
include Google::Apis::Core::Hashable
|
|
2228
2455
|
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2456
|
+
# Host names for the environment group.
|
|
2457
|
+
# Corresponds to the JSON property `hostnames`
|
|
2458
|
+
# @return [Array<String>]
|
|
2459
|
+
attr_accessor :hostnames
|
|
2232
2460
|
|
|
2233
|
-
#
|
|
2461
|
+
# Name of the environment group in the following format: `organizations/`org`/
|
|
2462
|
+
# envgroups/`envgroup``.
|
|
2463
|
+
# Corresponds to the JSON property `name`
|
|
2464
|
+
# @return [String]
|
|
2465
|
+
attr_accessor :name
|
|
2466
|
+
|
|
2467
|
+
# Revision id that defines the ordering of the EnvironmentGroupConfig resource.
|
|
2468
|
+
# The higher the revision, the more recently the configuration was deployed.
|
|
2469
|
+
# Corresponds to the JSON property `revisionId`
|
|
2470
|
+
# @return [Fixnum]
|
|
2471
|
+
attr_accessor :revision_id
|
|
2472
|
+
|
|
2473
|
+
# Ordered list of routing rules defining how traffic to this environment group's
|
|
2474
|
+
# hostnames should be routed to different environments.
|
|
2475
|
+
# Corresponds to the JSON property `routingRules`
|
|
2476
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule>]
|
|
2477
|
+
attr_accessor :routing_rules
|
|
2478
|
+
|
|
2479
|
+
# A unique id for the environment group config that will only change if the
|
|
2480
|
+
# environment group is deleted and recreated.
|
|
2481
|
+
# Corresponds to the JSON property `uid`
|
|
2482
|
+
# @return [String]
|
|
2483
|
+
attr_accessor :uid
|
|
2484
|
+
|
|
2485
|
+
def initialize(**args)
|
|
2486
|
+
update!(**args)
|
|
2487
|
+
end
|
|
2488
|
+
|
|
2489
|
+
# Update properties of this object
|
|
2234
2490
|
def update!(**args)
|
|
2491
|
+
@hostnames = args[:hostnames] if args.key?(:hostnames)
|
|
2492
|
+
@name = args[:name] if args.key?(:name)
|
|
2493
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
2494
|
+
@routing_rules = args[:routing_rules] if args.key?(:routing_rules)
|
|
2495
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
2496
|
+
end
|
|
2497
|
+
end
|
|
2498
|
+
|
|
2499
|
+
# Details of an export job.
|
|
2500
|
+
class GoogleCloudApigeeV1Export
|
|
2501
|
+
include Google::Apis::Core::Hashable
|
|
2502
|
+
|
|
2503
|
+
# Output only. Time the export job was created.
|
|
2504
|
+
# Corresponds to the JSON property `created`
|
|
2505
|
+
# @return [String]
|
|
2506
|
+
attr_accessor :created
|
|
2507
|
+
|
|
2508
|
+
# Name of the datastore that is the destination of the export job [datastore]
|
|
2509
|
+
# Corresponds to the JSON property `datastoreName`
|
|
2510
|
+
# @return [String]
|
|
2511
|
+
attr_accessor :datastore_name
|
|
2512
|
+
|
|
2513
|
+
# Description of the export job.
|
|
2514
|
+
# Corresponds to the JSON property `description`
|
|
2515
|
+
# @return [String]
|
|
2516
|
+
attr_accessor :description
|
|
2517
|
+
|
|
2518
|
+
# Output only. Error is set when export fails
|
|
2519
|
+
# Corresponds to the JSON property `error`
|
|
2520
|
+
# @return [String]
|
|
2521
|
+
attr_accessor :error
|
|
2522
|
+
|
|
2523
|
+
# Output only. Execution time for this export job. If the job is still in
|
|
2524
|
+
# progress, it will be set to the amount of time that has elapsed since`created`,
|
|
2525
|
+
# in seconds. Else, it will set to (`updated` - `created`), in seconds.
|
|
2526
|
+
# Corresponds to the JSON property `executionTime`
|
|
2527
|
+
# @return [String]
|
|
2528
|
+
attr_accessor :execution_time
|
|
2529
|
+
|
|
2530
|
+
# Display name of the export job.
|
|
2531
|
+
# Corresponds to the JSON property `name`
|
|
2532
|
+
# @return [String]
|
|
2533
|
+
attr_accessor :name
|
|
2534
|
+
|
|
2535
|
+
# Output only. Self link of the export job. A URI that can be used to retrieve
|
|
2536
|
+
# the status of an export job. Example: `/organizations/myorg/environments/myenv/
|
|
2537
|
+
# analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`
|
|
2538
|
+
# Corresponds to the JSON property `self`
|
|
2539
|
+
# @return [String]
|
|
2540
|
+
attr_accessor :self
|
|
2541
|
+
|
|
2542
|
+
# Output only. Status of the export job. Valid values include `enqueued`, `
|
|
2543
|
+
# running`, `completed`, and `failed`.
|
|
2544
|
+
# Corresponds to the JSON property `state`
|
|
2545
|
+
# @return [String]
|
|
2546
|
+
attr_accessor :state
|
|
2547
|
+
|
|
2548
|
+
# Output only. Time the export job was last updated.
|
|
2549
|
+
# Corresponds to the JSON property `updated`
|
|
2550
|
+
# @return [String]
|
|
2551
|
+
attr_accessor :updated
|
|
2552
|
+
|
|
2553
|
+
def initialize(**args)
|
|
2554
|
+
update!(**args)
|
|
2555
|
+
end
|
|
2556
|
+
|
|
2557
|
+
# Update properties of this object
|
|
2558
|
+
def update!(**args)
|
|
2559
|
+
@created = args[:created] if args.key?(:created)
|
|
2560
|
+
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
|
2561
|
+
@description = args[:description] if args.key?(:description)
|
|
2562
|
+
@error = args[:error] if args.key?(:error)
|
|
2563
|
+
@execution_time = args[:execution_time] if args.key?(:execution_time)
|
|
2564
|
+
@name = args[:name] if args.key?(:name)
|
|
2565
|
+
@self = args[:self] if args.key?(:self)
|
|
2566
|
+
@state = args[:state] if args.key?(:state)
|
|
2567
|
+
@updated = args[:updated] if args.key?(:updated)
|
|
2568
|
+
end
|
|
2569
|
+
end
|
|
2570
|
+
|
|
2571
|
+
# Request body for [CreateExportRequest]
|
|
2572
|
+
class GoogleCloudApigeeV1ExportRequest
|
|
2573
|
+
include Google::Apis::Core::Hashable
|
|
2574
|
+
|
|
2575
|
+
# Optional. Delimiter used in the CSV file, if `outputFormat` is set to `csv`.
|
|
2576
|
+
# Defaults to the `,` (comma) character. Supported delimiter characters include
|
|
2577
|
+
# comma (`,`), pipe (`|`), and tab (`\t`).
|
|
2578
|
+
# Corresponds to the JSON property `csvDelimiter`
|
|
2579
|
+
# @return [String]
|
|
2580
|
+
attr_accessor :csv_delimiter
|
|
2581
|
+
|
|
2582
|
+
# Required. Name of the preconfigured datastore.
|
|
2583
|
+
# Corresponds to the JSON property `datastoreName`
|
|
2584
|
+
# @return [String]
|
|
2585
|
+
attr_accessor :datastore_name
|
|
2586
|
+
|
|
2587
|
+
# Date range of the data to export.
|
|
2588
|
+
# Corresponds to the JSON property `dateRange`
|
|
2589
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange]
|
|
2590
|
+
attr_accessor :date_range
|
|
2591
|
+
|
|
2592
|
+
# Optional. Description of the export job.
|
|
2593
|
+
# Corresponds to the JSON property `description`
|
|
2594
|
+
# @return [String]
|
|
2595
|
+
attr_accessor :description
|
|
2596
|
+
|
|
2597
|
+
# Required. Display name of the export job.
|
|
2598
|
+
# Corresponds to the JSON property `name`
|
|
2599
|
+
# @return [String]
|
|
2600
|
+
attr_accessor :name
|
|
2601
|
+
|
|
2602
|
+
# Optional. Output format of the export. Valid values include: `csv` or `json`.
|
|
2603
|
+
# Defaults to `json`. Note: Configure the delimiter for CSV output using the `
|
|
2604
|
+
# csvDelimiter` property.
|
|
2605
|
+
# Corresponds to the JSON property `outputFormat`
|
|
2606
|
+
# @return [String]
|
|
2607
|
+
attr_accessor :output_format
|
|
2608
|
+
|
|
2609
|
+
def initialize(**args)
|
|
2610
|
+
update!(**args)
|
|
2611
|
+
end
|
|
2612
|
+
|
|
2613
|
+
# Update properties of this object
|
|
2614
|
+
def update!(**args)
|
|
2615
|
+
@csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
|
|
2616
|
+
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
|
2617
|
+
@date_range = args[:date_range] if args.key?(:date_range)
|
|
2618
|
+
@description = args[:description] if args.key?(:description)
|
|
2619
|
+
@name = args[:name] if args.key?(:name)
|
|
2620
|
+
@output_format = args[:output_format] if args.key?(:output_format)
|
|
2621
|
+
end
|
|
2622
|
+
end
|
|
2623
|
+
|
|
2624
|
+
#
|
|
2625
|
+
class GoogleCloudApigeeV1FlowHook
|
|
2626
|
+
include Google::Apis::Core::Hashable
|
|
2627
|
+
|
|
2628
|
+
# Optional. Flag that specifies whether execution should continue if the flow
|
|
2629
|
+
# hook throws an exception. Set to `true` to continue execution. Set to `false`
|
|
2630
|
+
# to stop execution if the flow hook throws an exception.Defaults to `true`.
|
|
2631
|
+
# Corresponds to the JSON property `continueOnError`
|
|
2632
|
+
# @return [Boolean]
|
|
2633
|
+
attr_accessor :continue_on_error
|
|
2634
|
+
alias_method :continue_on_error?, :continue_on_error
|
|
2635
|
+
|
|
2636
|
+
# Description of the flow hook.
|
|
2637
|
+
# Corresponds to the JSON property `description`
|
|
2638
|
+
# @return [String]
|
|
2639
|
+
attr_accessor :description
|
|
2640
|
+
|
|
2641
|
+
# Output only. Where in the API call flow the flow hook is invoked. Must be one
|
|
2642
|
+
# of `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or `
|
|
2643
|
+
# PostTargetFlowHook`.
|
|
2644
|
+
# Corresponds to the JSON property `flowHookPoint`
|
|
2645
|
+
# @return [String]
|
|
2646
|
+
attr_accessor :flow_hook_point
|
|
2647
|
+
|
|
2648
|
+
# Shared flow attached to this flow hook, or empty if there is none attached.
|
|
2649
|
+
# Corresponds to the JSON property `sharedFlow`
|
|
2650
|
+
# @return [String]
|
|
2651
|
+
attr_accessor :shared_flow
|
|
2652
|
+
|
|
2653
|
+
def initialize(**args)
|
|
2654
|
+
update!(**args)
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2657
|
+
# Update properties of this object
|
|
2658
|
+
def update!(**args)
|
|
2659
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
|
2660
|
+
@description = args[:description] if args.key?(:description)
|
|
2661
|
+
@flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
|
|
2662
|
+
@shared_flow = args[:shared_flow] if args.key?(:shared_flow)
|
|
2663
|
+
end
|
|
2664
|
+
end
|
|
2665
|
+
|
|
2666
|
+
#
|
|
2667
|
+
class GoogleCloudApigeeV1FlowHookConfig
|
|
2668
|
+
include Google::Apis::Core::Hashable
|
|
2669
|
+
|
|
2670
|
+
# Should the flow abort after an error in the flow hook. Should default to true
|
|
2671
|
+
# if unset.
|
|
2672
|
+
# Corresponds to the JSON property `continueOnError`
|
|
2673
|
+
# @return [Boolean]
|
|
2674
|
+
attr_accessor :continue_on_error
|
|
2675
|
+
alias_method :continue_on_error?, :continue_on_error
|
|
2676
|
+
|
|
2677
|
+
# The name of the flow hook. Must be of the form 'organizations/`org`/
|
|
2678
|
+
# environments/`env`/flowhooks/`point`'. Known points are PreProxyFlowHook,
|
|
2679
|
+
# PostProxyFlowHook, PreTargetFlowHook, and PostTargetFlowHook
|
|
2680
|
+
# Corresponds to the JSON property `name`
|
|
2681
|
+
# @return [String]
|
|
2682
|
+
attr_accessor :name
|
|
2683
|
+
|
|
2684
|
+
# The name of the shared flow to invoke. Must be of the form 'organizations/`org`
|
|
2685
|
+
# /sharedflows/`sharedflow`'.
|
|
2686
|
+
# Corresponds to the JSON property `sharedFlowName`
|
|
2687
|
+
# @return [String]
|
|
2688
|
+
attr_accessor :shared_flow_name
|
|
2689
|
+
|
|
2690
|
+
def initialize(**args)
|
|
2691
|
+
update!(**args)
|
|
2692
|
+
end
|
|
2693
|
+
|
|
2694
|
+
# Update properties of this object
|
|
2695
|
+
def update!(**args)
|
|
2696
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
|
2697
|
+
@name = args[:name] if args.key?(:name)
|
|
2698
|
+
@shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
|
|
2699
|
+
end
|
|
2700
|
+
end
|
|
2701
|
+
|
|
2702
|
+
# Request for GetSyncAuthorization.
|
|
2703
|
+
class GoogleCloudApigeeV1GetSyncAuthorizationRequest
|
|
2704
|
+
include Google::Apis::Core::Hashable
|
|
2705
|
+
|
|
2706
|
+
def initialize(**args)
|
|
2707
|
+
update!(**args)
|
|
2708
|
+
end
|
|
2709
|
+
|
|
2710
|
+
# Update properties of this object
|
|
2711
|
+
def update!(**args)
|
|
2712
|
+
end
|
|
2713
|
+
end
|
|
2714
|
+
|
|
2715
|
+
#
|
|
2716
|
+
class GoogleCloudApigeeV1IngressConfig
|
|
2717
|
+
include Google::Apis::Core::Hashable
|
|
2718
|
+
|
|
2719
|
+
# List of environment groups in the organization.
|
|
2720
|
+
# Corresponds to the JSON property `environmentGroups`
|
|
2721
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
|
|
2722
|
+
attr_accessor :environment_groups
|
|
2723
|
+
|
|
2724
|
+
# Name of the resource in the following format: `organizations/`org`/
|
|
2725
|
+
# deployedIngressConfig`.
|
|
2726
|
+
# Corresponds to the JSON property `name`
|
|
2727
|
+
# @return [String]
|
|
2728
|
+
attr_accessor :name
|
|
2729
|
+
|
|
2730
|
+
# Time at which the IngressConfig revision was created.
|
|
2731
|
+
# Corresponds to the JSON property `revisionCreateTime`
|
|
2732
|
+
# @return [String]
|
|
2733
|
+
attr_accessor :revision_create_time
|
|
2734
|
+
|
|
2735
|
+
# Revision id that defines the ordering on IngressConfig resources. The higher
|
|
2736
|
+
# the revision, the more recently the configuration was deployed.
|
|
2737
|
+
# Corresponds to the JSON property `revisionId`
|
|
2738
|
+
# @return [Fixnum]
|
|
2739
|
+
attr_accessor :revision_id
|
|
2740
|
+
|
|
2741
|
+
# A unique id for the ingress config that will only change if the organization
|
|
2742
|
+
# is deleted and recreated.
|
|
2743
|
+
# Corresponds to the JSON property `uid`
|
|
2744
|
+
# @return [String]
|
|
2745
|
+
attr_accessor :uid
|
|
2746
|
+
|
|
2747
|
+
def initialize(**args)
|
|
2748
|
+
update!(**args)
|
|
2749
|
+
end
|
|
2750
|
+
|
|
2751
|
+
# Update properties of this object
|
|
2752
|
+
def update!(**args)
|
|
2753
|
+
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
|
2754
|
+
@name = args[:name] if args.key?(:name)
|
|
2755
|
+
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
|
2756
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
2757
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
2758
|
+
end
|
|
2759
|
+
end
|
|
2760
|
+
|
|
2761
|
+
# Apigee runtime instance.
|
|
2762
|
+
class GoogleCloudApigeeV1Instance
|
|
2763
|
+
include Google::Apis::Core::Hashable
|
|
2764
|
+
|
|
2765
|
+
# Output only. Time the instance was created in milliseconds since epoch.
|
|
2766
|
+
# Corresponds to the JSON property `createdAt`
|
|
2767
|
+
# @return [Fixnum]
|
|
2768
|
+
attr_accessor :created_at
|
|
2769
|
+
|
|
2770
|
+
# Optional. Description of the instance.
|
|
2771
|
+
# Corresponds to the JSON property `description`
|
|
2772
|
+
# @return [String]
|
|
2773
|
+
attr_accessor :description
|
|
2774
|
+
|
|
2775
|
+
# Optional. Customer Managed Encryption Key (CMEK) used for disk & volume
|
|
2776
|
+
# encryption.
|
|
2777
|
+
# Corresponds to the JSON property `diskEncryptionKeyName`
|
|
2778
|
+
# @return [String]
|
|
2779
|
+
attr_accessor :disk_encryption_key_name
|
|
2780
|
+
|
|
2781
|
+
# Optional. Display name for the instance.
|
|
2782
|
+
# Corresponds to the JSON property `displayName`
|
|
2783
|
+
# @return [String]
|
|
2784
|
+
attr_accessor :display_name
|
|
2785
|
+
|
|
2786
|
+
# Output only. Hostname or IP address of the exposed Apigee endpoint used by
|
|
2787
|
+
# clients to connect to the service.
|
|
2788
|
+
# Corresponds to the JSON property `host`
|
|
2789
|
+
# @return [String]
|
|
2790
|
+
attr_accessor :host
|
|
2791
|
+
|
|
2792
|
+
# Output only. Time the instance was last modified in milliseconds since epoch.
|
|
2793
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
|
2794
|
+
# @return [Fixnum]
|
|
2795
|
+
attr_accessor :last_modified_at
|
|
2796
|
+
|
|
2797
|
+
# Required. Compute Engine location where the instance resides.
|
|
2798
|
+
# Corresponds to the JSON property `location`
|
|
2799
|
+
# @return [String]
|
|
2800
|
+
attr_accessor :location
|
|
2801
|
+
|
|
2802
|
+
# Required. Resource ID of the instance. Values must match the regular
|
|
2803
|
+
# expression `^a-z`0,30`[a-z\d]$`.
|
|
2804
|
+
# Corresponds to the JSON property `name`
|
|
2805
|
+
# @return [String]
|
|
2806
|
+
attr_accessor :name
|
|
2807
|
+
|
|
2808
|
+
# Output only. Port number of the exposed Apigee endpoint.
|
|
2809
|
+
# Corresponds to the JSON property `port`
|
|
2810
|
+
# @return [String]
|
|
2811
|
+
attr_accessor :port
|
|
2812
|
+
|
|
2813
|
+
def initialize(**args)
|
|
2814
|
+
update!(**args)
|
|
2815
|
+
end
|
|
2816
|
+
|
|
2817
|
+
# Update properties of this object
|
|
2818
|
+
def update!(**args)
|
|
2819
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2820
|
+
@description = args[:description] if args.key?(:description)
|
|
2821
|
+
@disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
|
|
2822
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2823
|
+
@host = args[:host] if args.key?(:host)
|
|
2824
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
|
2825
|
+
@location = args[:location] if args.key?(:location)
|
|
2826
|
+
@name = args[:name] if args.key?(:name)
|
|
2827
|
+
@port = args[:port] if args.key?(:port)
|
|
2828
|
+
end
|
|
2829
|
+
end
|
|
2830
|
+
|
|
2831
|
+
# InstanceAttachment represents the installation of an environment onto an
|
|
2832
|
+
# instance.
|
|
2833
|
+
class GoogleCloudApigeeV1InstanceAttachment
|
|
2834
|
+
include Google::Apis::Core::Hashable
|
|
2835
|
+
|
|
2836
|
+
# Output only. Time the attachment was created in milliseconds since epoch.
|
|
2837
|
+
# Corresponds to the JSON property `createdAt`
|
|
2838
|
+
# @return [Fixnum]
|
|
2839
|
+
attr_accessor :created_at
|
|
2840
|
+
|
|
2841
|
+
# ID of the attached environment.
|
|
2842
|
+
# Corresponds to the JSON property `environment`
|
|
2843
|
+
# @return [String]
|
|
2844
|
+
attr_accessor :environment
|
|
2845
|
+
|
|
2846
|
+
# Output only. ID of the attachment.
|
|
2847
|
+
# Corresponds to the JSON property `name`
|
|
2848
|
+
# @return [String]
|
|
2849
|
+
attr_accessor :name
|
|
2850
|
+
|
|
2851
|
+
def initialize(**args)
|
|
2852
|
+
update!(**args)
|
|
2853
|
+
end
|
|
2854
|
+
|
|
2855
|
+
# Update properties of this object
|
|
2856
|
+
def update!(**args)
|
|
2857
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2858
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
2859
|
+
@name = args[:name] if args.key?(:name)
|
|
2860
|
+
end
|
|
2861
|
+
end
|
|
2862
|
+
|
|
2863
|
+
# The status of a deployment as reported by a single instance.
|
|
2864
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatus
|
|
2865
|
+
include Google::Apis::Core::Hashable
|
|
2866
|
+
|
|
2867
|
+
# Revisions currently deployed in MPs.
|
|
2868
|
+
# Corresponds to the JSON property `deployedRevisions`
|
|
2869
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision>]
|
|
2870
|
+
attr_accessor :deployed_revisions
|
|
2871
|
+
|
|
2872
|
+
# The current routes deployed in the ingress routing table. A route which is
|
|
2873
|
+
# missing will be shown with no destination environment.
|
|
2874
|
+
# Corresponds to the JSON property `deployedRoutes`
|
|
2875
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>]
|
|
2876
|
+
attr_accessor :deployed_routes
|
|
2877
|
+
|
|
2878
|
+
# ID of the instance reporting the status.
|
|
2879
|
+
# Corresponds to the JSON property `instance`
|
|
2880
|
+
# @return [String]
|
|
2881
|
+
attr_accessor :instance
|
|
2882
|
+
|
|
2883
|
+
def initialize(**args)
|
|
2884
|
+
update!(**args)
|
|
2885
|
+
end
|
|
2886
|
+
|
|
2887
|
+
# Update properties of this object
|
|
2888
|
+
def update!(**args)
|
|
2889
|
+
@deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions)
|
|
2890
|
+
@deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes)
|
|
2891
|
+
@instance = args[:instance] if args.key?(:instance)
|
|
2892
|
+
end
|
|
2893
|
+
end
|
|
2894
|
+
|
|
2895
|
+
# Revisions deployed in the MPs.
|
|
2896
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision
|
|
2897
|
+
include Google::Apis::Core::Hashable
|
|
2898
|
+
|
|
2899
|
+
# The percentage of MP replicas reporting this revision
|
|
2900
|
+
# Corresponds to the JSON property `percentage`
|
|
2901
|
+
# @return [Fixnum]
|
|
2902
|
+
attr_accessor :percentage
|
|
2903
|
+
|
|
2904
|
+
# The proxy revision reported as deployed.
|
|
2905
|
+
# Corresponds to the JSON property `revision`
|
|
2906
|
+
# @return [String]
|
|
2907
|
+
attr_accessor :revision
|
|
2908
|
+
|
|
2909
|
+
def initialize(**args)
|
|
2910
|
+
update!(**args)
|
|
2911
|
+
end
|
|
2912
|
+
|
|
2913
|
+
# Update properties of this object
|
|
2914
|
+
def update!(**args)
|
|
2915
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
|
2916
|
+
@revision = args[:revision] if args.key?(:revision)
|
|
2917
|
+
end
|
|
2918
|
+
end
|
|
2919
|
+
|
|
2920
|
+
# A route deployed in the ingress routing table.
|
|
2921
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute
|
|
2922
|
+
include Google::Apis::Core::Hashable
|
|
2923
|
+
|
|
2924
|
+
# The basepath in the routing table.
|
|
2925
|
+
# Corresponds to the JSON property `basepath`
|
|
2926
|
+
# @return [String]
|
|
2927
|
+
attr_accessor :basepath
|
|
2928
|
+
|
|
2929
|
+
# The envgroup where this route is installed.
|
|
2930
|
+
# Corresponds to the JSON property `envgroup`
|
|
2931
|
+
# @return [String]
|
|
2932
|
+
attr_accessor :envgroup
|
|
2933
|
+
|
|
2934
|
+
# The destination environment. This will be empty if the route is not yet
|
|
2935
|
+
# reported.
|
|
2936
|
+
# Corresponds to the JSON property `environment`
|
|
2937
|
+
# @return [String]
|
|
2938
|
+
attr_accessor :environment
|
|
2939
|
+
|
|
2940
|
+
# The percentage of ingress replicas reporting this route.
|
|
2941
|
+
# Corresponds to the JSON property `percentage`
|
|
2942
|
+
# @return [Fixnum]
|
|
2943
|
+
attr_accessor :percentage
|
|
2944
|
+
|
|
2945
|
+
def initialize(**args)
|
|
2946
|
+
update!(**args)
|
|
2947
|
+
end
|
|
2948
|
+
|
|
2949
|
+
# Update properties of this object
|
|
2950
|
+
def update!(**args)
|
|
2951
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
|
2952
|
+
@envgroup = args[:envgroup] if args.key?(:envgroup)
|
|
2953
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
2954
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
|
2235
2955
|
end
|
|
2236
2956
|
end
|
|
2237
2957
|
|
|
@@ -2244,8 +2964,8 @@ module Google
|
|
|
2244
2964
|
# @return [String]
|
|
2245
2965
|
attr_accessor :alias_id
|
|
2246
2966
|
|
|
2247
|
-
# The reference name. Must be of the form:
|
|
2248
|
-
#
|
|
2967
|
+
# The reference name. Must be of the form: organizations/`org`/environments/`env`
|
|
2968
|
+
# /references/`ref`.
|
|
2249
2969
|
# Corresponds to the JSON property `reference`
|
|
2250
2970
|
# @return [String]
|
|
2251
2971
|
attr_accessor :reference
|
|
@@ -2296,8 +3016,8 @@ module Google
|
|
|
2296
3016
|
# @return [Array<String>]
|
|
2297
3017
|
attr_accessor :aliases
|
|
2298
3018
|
|
|
2299
|
-
# Required. The resource ID for this keystore.
|
|
2300
|
-
#
|
|
3019
|
+
# Required. The resource ID for this keystore. Values must match the regular
|
|
3020
|
+
# expression `[\w[:space:]-.]`1,255``.
|
|
2301
3021
|
# Corresponds to the JSON property `name`
|
|
2302
3022
|
# @return [String]
|
|
2303
3023
|
attr_accessor :name
|
|
@@ -2322,9 +3042,8 @@ module Google
|
|
|
2322
3042
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AliasRevisionConfig>]
|
|
2323
3043
|
attr_accessor :aliases
|
|
2324
3044
|
|
|
2325
|
-
# The resource name. Must be of the
|
|
2326
|
-
#
|
|
2327
|
-
# 'organizations/`org`/environments/`env`/keystores/`keystore`'.
|
|
3045
|
+
# The resource name. Must be of the form: 'organizations/`org`/environments/`env`
|
|
3046
|
+
# /keystores/`keystore`'.
|
|
2328
3047
|
# Corresponds to the JSON property `name`
|
|
2329
3048
|
# @return [String]
|
|
2330
3049
|
attr_accessor :name
|
|
@@ -2435,18 +3154,37 @@ module Google
|
|
|
2435
3154
|
end
|
|
2436
3155
|
end
|
|
2437
3156
|
|
|
3157
|
+
# The response for ListDatastores
|
|
3158
|
+
class GoogleCloudApigeeV1ListDatastoresResponse
|
|
3159
|
+
include Google::Apis::Core::Hashable
|
|
3160
|
+
|
|
3161
|
+
# A list of datastores
|
|
3162
|
+
# Corresponds to the JSON property `datastores`
|
|
3163
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore>]
|
|
3164
|
+
attr_accessor :datastores
|
|
3165
|
+
|
|
3166
|
+
def initialize(**args)
|
|
3167
|
+
update!(**args)
|
|
3168
|
+
end
|
|
3169
|
+
|
|
3170
|
+
# Update properties of this object
|
|
3171
|
+
def update!(**args)
|
|
3172
|
+
@datastores = args[:datastores] if args.key?(:datastores)
|
|
3173
|
+
end
|
|
3174
|
+
end
|
|
3175
|
+
|
|
2438
3176
|
#
|
|
2439
3177
|
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
|
2440
3178
|
include Google::Apis::Core::Hashable
|
|
2441
3179
|
|
|
2442
|
-
# Page token that you can include in a ListDebugSessionsRequest to
|
|
2443
|
-
#
|
|
3180
|
+
# Page token that you can include in a ListDebugSessionsRequest to retrieve the
|
|
3181
|
+
# next page. If omitted, no subsequent pages exist.
|
|
2444
3182
|
# Corresponds to the JSON property `nextPageToken`
|
|
2445
3183
|
# @return [String]
|
|
2446
3184
|
attr_accessor :next_page_token
|
|
2447
3185
|
|
|
2448
|
-
# Session info that includes debug session ID and the first transaction
|
|
2449
|
-
#
|
|
3186
|
+
# Session info that includes debug session ID and the first transaction creation
|
|
3187
|
+
# timestamp.
|
|
2450
3188
|
# Corresponds to the JSON property `sessions`
|
|
2451
3189
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session>]
|
|
2452
3190
|
attr_accessor :sessions
|
|
@@ -2500,8 +3238,59 @@ module Google
|
|
|
2500
3238
|
end
|
|
2501
3239
|
end
|
|
2502
3240
|
|
|
2503
|
-
# Response for
|
|
2504
|
-
|
|
3241
|
+
# Response for ListEnvironmentGroupAttachments.
|
|
3242
|
+
class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
|
|
3243
|
+
include Google::Apis::Core::Hashable
|
|
3244
|
+
|
|
3245
|
+
# EnvironmentGroupAttachments for the specified environment group.
|
|
3246
|
+
# Corresponds to the JSON property `environmentGroupAttachments`
|
|
3247
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment>]
|
|
3248
|
+
attr_accessor :environment_group_attachments
|
|
3249
|
+
|
|
3250
|
+
# Page token that you can include in a ListEnvironmentGroupAttachments request
|
|
3251
|
+
# to retrieve the next page. If omitted, no subsequent pages exist.
|
|
3252
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3253
|
+
# @return [String]
|
|
3254
|
+
attr_accessor :next_page_token
|
|
3255
|
+
|
|
3256
|
+
def initialize(**args)
|
|
3257
|
+
update!(**args)
|
|
3258
|
+
end
|
|
3259
|
+
|
|
3260
|
+
# Update properties of this object
|
|
3261
|
+
def update!(**args)
|
|
3262
|
+
@environment_group_attachments = args[:environment_group_attachments] if args.key?(:environment_group_attachments)
|
|
3263
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3264
|
+
end
|
|
3265
|
+
end
|
|
3266
|
+
|
|
3267
|
+
# Response for ListEnvironmentGroups.
|
|
3268
|
+
class GoogleCloudApigeeV1ListEnvironmentGroupsResponse
|
|
3269
|
+
include Google::Apis::Core::Hashable
|
|
3270
|
+
|
|
3271
|
+
# EnvironmentGroups in the specified organization.
|
|
3272
|
+
# Corresponds to the JSON property `environmentGroups`
|
|
3273
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup>]
|
|
3274
|
+
attr_accessor :environment_groups
|
|
3275
|
+
|
|
3276
|
+
# Page token that you can include in a ListEnvironmentGroups request to retrieve
|
|
3277
|
+
# the next page. If omitted, no subsequent pages exist.
|
|
3278
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3279
|
+
# @return [String]
|
|
3280
|
+
attr_accessor :next_page_token
|
|
3281
|
+
|
|
3282
|
+
def initialize(**args)
|
|
3283
|
+
update!(**args)
|
|
3284
|
+
end
|
|
3285
|
+
|
|
3286
|
+
# Update properties of this object
|
|
3287
|
+
def update!(**args)
|
|
3288
|
+
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
|
3289
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3290
|
+
end
|
|
3291
|
+
end
|
|
3292
|
+
|
|
3293
|
+
# Response for ListEnvironmentResources
|
|
2505
3294
|
class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
|
|
2506
3295
|
include Google::Apis::Core::Hashable
|
|
2507
3296
|
|
|
@@ -2520,6 +3309,25 @@ module Google
|
|
|
2520
3309
|
end
|
|
2521
3310
|
end
|
|
2522
3311
|
|
|
3312
|
+
# The response for ListExports
|
|
3313
|
+
class GoogleCloudApigeeV1ListExportsResponse
|
|
3314
|
+
include Google::Apis::Core::Hashable
|
|
3315
|
+
|
|
3316
|
+
# Details of the export jobs.
|
|
3317
|
+
# Corresponds to the JSON property `exports`
|
|
3318
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export>]
|
|
3319
|
+
attr_accessor :exports
|
|
3320
|
+
|
|
3321
|
+
def initialize(**args)
|
|
3322
|
+
update!(**args)
|
|
3323
|
+
end
|
|
3324
|
+
|
|
3325
|
+
# Update properties of this object
|
|
3326
|
+
def update!(**args)
|
|
3327
|
+
@exports = args[:exports] if args.key?(:exports)
|
|
3328
|
+
end
|
|
3329
|
+
end
|
|
3330
|
+
|
|
2523
3331
|
#
|
|
2524
3332
|
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
|
2525
3333
|
include Google::Apis::Core::Hashable
|
|
@@ -2535,7 +3343,59 @@ module Google
|
|
|
2535
3343
|
|
|
2536
3344
|
# Update properties of this object
|
|
2537
3345
|
def update!(**args)
|
|
2538
|
-
@issuers = args[:issuers] if args.key?(:issuers)
|
|
3346
|
+
@issuers = args[:issuers] if args.key?(:issuers)
|
|
3347
|
+
end
|
|
3348
|
+
end
|
|
3349
|
+
|
|
3350
|
+
# Response for ListInstanceAttachments.
|
|
3351
|
+
class GoogleCloudApigeeV1ListInstanceAttachmentsResponse
|
|
3352
|
+
include Google::Apis::Core::Hashable
|
|
3353
|
+
|
|
3354
|
+
# Attachments for the instance.
|
|
3355
|
+
# Corresponds to the JSON property `attachments`
|
|
3356
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment>]
|
|
3357
|
+
attr_accessor :attachments
|
|
3358
|
+
|
|
3359
|
+
# Page token that you can include in a ListInstanceAttachments request to
|
|
3360
|
+
# retrieve the next page of content. If omitted, no subsequent pages exist.
|
|
3361
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3362
|
+
# @return [String]
|
|
3363
|
+
attr_accessor :next_page_token
|
|
3364
|
+
|
|
3365
|
+
def initialize(**args)
|
|
3366
|
+
update!(**args)
|
|
3367
|
+
end
|
|
3368
|
+
|
|
3369
|
+
# Update properties of this object
|
|
3370
|
+
def update!(**args)
|
|
3371
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
|
3372
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3373
|
+
end
|
|
3374
|
+
end
|
|
3375
|
+
|
|
3376
|
+
# Response for ListInstances.
|
|
3377
|
+
class GoogleCloudApigeeV1ListInstancesResponse
|
|
3378
|
+
include Google::Apis::Core::Hashable
|
|
3379
|
+
|
|
3380
|
+
# Instances in the specified organization.
|
|
3381
|
+
# Corresponds to the JSON property `instances`
|
|
3382
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance>]
|
|
3383
|
+
attr_accessor :instances
|
|
3384
|
+
|
|
3385
|
+
# Page token that you can include in a ListInstance request to retrieve the next
|
|
3386
|
+
# page of content. If omitted, no subsequent pages exist.
|
|
3387
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3388
|
+
# @return [String]
|
|
3389
|
+
attr_accessor :next_page_token
|
|
3390
|
+
|
|
3391
|
+
def initialize(**args)
|
|
3392
|
+
update!(**args)
|
|
3393
|
+
end
|
|
3394
|
+
|
|
3395
|
+
# Update properties of this object
|
|
3396
|
+
def update!(**args)
|
|
3397
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
3398
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2539
3399
|
end
|
|
2540
3400
|
end
|
|
2541
3401
|
|
|
@@ -2605,15 +3465,10 @@ module Google
|
|
|
2605
3465
|
# @return [Array<String>]
|
|
2606
3466
|
attr_accessor :errors
|
|
2607
3467
|
|
|
2608
|
-
# List of additional information such as data source, if result was
|
|
2609
|
-
#
|
|
2610
|
-
#
|
|
2611
|
-
# "
|
|
2612
|
-
# "Source:Postgres",
|
|
2613
|
-
# "PG Host:uappg0rw.e2e.apigeeks.net",
|
|
2614
|
-
# "query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed",
|
|
2615
|
-
# "Table used: edge.api.uapgroup2.agg_api"
|
|
2616
|
-
# ]
|
|
3468
|
+
# List of additional information such as data source, if result was truncated
|
|
3469
|
+
# etc. E.g "notices": [ "Source:Postgres", "PG Host:uappg0rw.e2e.apigeeks.net", "
|
|
3470
|
+
# query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed", "Table used: edge.api.
|
|
3471
|
+
# uapgroup2.agg_api" ]
|
|
2617
3472
|
# Corresponds to the JSON property `notices`
|
|
2618
3473
|
# @return [Array<String>]
|
|
2619
3474
|
attr_accessor :notices
|
|
@@ -2629,24 +3484,10 @@ module Google
|
|
|
2629
3484
|
end
|
|
2630
3485
|
end
|
|
2631
3486
|
|
|
2632
|
-
# This message type encapsulates the metric data point.
|
|
2633
|
-
#
|
|
2634
|
-
# `
|
|
2635
|
-
# "
|
|
2636
|
-
# "values" : [ `
|
|
2637
|
-
# "timestamp": 1549004400000,
|
|
2638
|
-
# "value": "39.0"
|
|
2639
|
-
# `,
|
|
2640
|
-
# `
|
|
2641
|
-
# "timestamp" : 1548997200000,
|
|
2642
|
-
# "value" : "0.0"
|
|
2643
|
-
# ` ]
|
|
2644
|
-
# `
|
|
2645
|
-
# or
|
|
2646
|
-
# `
|
|
2647
|
-
# "name": "sum(message_count)",
|
|
2648
|
-
# "values" : ["39.0"]
|
|
2649
|
-
# `
|
|
3487
|
+
# This message type encapsulates the metric data point. Example: ` "name": "sum(
|
|
3488
|
+
# message_count)", "values" : [ ` "timestamp": 1549004400000, "value": "39.0" `,
|
|
3489
|
+
# ` "timestamp" : 1548997200000, "value" : "0.0" ` ] ` or ` "name": "sum(
|
|
3490
|
+
# message_count)", "values" : ["39.0"] `
|
|
2650
3491
|
class GoogleCloudApigeeV1Metric
|
|
2651
3492
|
include Google::Apis::Core::Hashable
|
|
2652
3493
|
|
|
@@ -2655,10 +3496,8 @@ module Google
|
|
|
2655
3496
|
# @return [String]
|
|
2656
3497
|
attr_accessor :name
|
|
2657
3498
|
|
|
2658
|
-
# List of metric values.
|
|
2659
|
-
#
|
|
2660
|
-
# "values":["39.0"] or
|
|
2661
|
-
# "values":[ ` "value": "39.0", "timestamp": 1232434354` ]
|
|
3499
|
+
# List of metric values. Possible value format: "values":["39.0"] or "values":[ `
|
|
3500
|
+
# "value": "39.0", "timestamp": 1232434354` ]
|
|
2662
3501
|
# Corresponds to the JSON property `values`
|
|
2663
3502
|
# @return [Array<Object>]
|
|
2664
3503
|
attr_accessor :values
|
|
@@ -2724,37 +3563,12 @@ module Google
|
|
|
2724
3563
|
end
|
|
2725
3564
|
end
|
|
2726
3565
|
|
|
2727
|
-
# This message type encapsulates a data node as represented below:
|
|
2728
|
-
# `
|
|
2729
|
-
# "
|
|
2730
|
-
# "
|
|
2731
|
-
#
|
|
2732
|
-
#
|
|
2733
|
-
# "values": [
|
|
2734
|
-
# "sirjee"
|
|
2735
|
-
# ]
|
|
2736
|
-
# `,
|
|
2737
|
-
# "metric": [
|
|
2738
|
-
# `
|
|
2739
|
-
# "env": "prod",
|
|
2740
|
-
# "name": "sum(message_count)",
|
|
2741
|
-
# "values": [
|
|
2742
|
-
# 36.0
|
|
2743
|
-
# ]
|
|
2744
|
-
# `
|
|
2745
|
-
# ]
|
|
2746
|
-
# `
|
|
2747
|
-
# OR
|
|
2748
|
-
# `
|
|
2749
|
-
# "env": "prod",
|
|
2750
|
-
# "name": "sum(message_count)",
|
|
2751
|
-
# "values": [
|
|
2752
|
-
# 36.0
|
|
2753
|
-
# ]
|
|
2754
|
-
# `
|
|
2755
|
-
# Depending on whether a dimension is present in the query or not
|
|
2756
|
-
# the data node type can be a simple metric value or dimension identifier
|
|
2757
|
-
# with list of metrics.
|
|
3566
|
+
# This message type encapsulates a data node as represented below: ` "identifier"
|
|
3567
|
+
# : ` "names": [ "apiproxy" ], "values": [ "sirjee" ] `, "metric": [ ` "env": "
|
|
3568
|
+
# prod", "name": "sum(message_count)", "values": [ 36.0 ] ` ] ` OR ` "env": "
|
|
3569
|
+
# prod", "name": "sum(message_count)", "values": [ 36.0 ] ` Depending on whether
|
|
3570
|
+
# a dimension is present in the query or not the data node type can be a simple
|
|
3571
|
+
# metric value or dimension identifier with list of metrics.
|
|
2758
3572
|
class GoogleCloudApigeeV1OptimizedStatsNode
|
|
2759
3573
|
include Google::Apis::Core::Hashable
|
|
2760
3574
|
|
|
@@ -2777,8 +3591,8 @@ module Google
|
|
|
2777
3591
|
class GoogleCloudApigeeV1OptimizedStatsResponse
|
|
2778
3592
|
include Google::Apis::Core::Hashable
|
|
2779
3593
|
|
|
2780
|
-
# This field contains a list of time unit values. Time unit refers to
|
|
2781
|
-
#
|
|
3594
|
+
# This field contains a list of time unit values. Time unit refers to an epoch
|
|
3595
|
+
# timestamp value.
|
|
2782
3596
|
# Corresponds to the JSON property `TimeUnit`
|
|
2783
3597
|
# @return [Array<Fixnum>]
|
|
2784
3598
|
attr_accessor :time_unit
|
|
@@ -2788,44 +3602,19 @@ module Google
|
|
|
2788
3602
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
|
|
2789
3603
|
attr_accessor :meta_data
|
|
2790
3604
|
|
|
2791
|
-
# This ia a boolean field to indicate if the results were truncated
|
|
2792
|
-
#
|
|
3605
|
+
# This ia a boolean field to indicate if the results were truncated based on the
|
|
3606
|
+
# limit parameter.
|
|
2793
3607
|
# Corresponds to the JSON property `resultTruncated`
|
|
2794
3608
|
# @return [Boolean]
|
|
2795
3609
|
attr_accessor :result_truncated
|
|
2796
3610
|
alias_method :result_truncated?, :result_truncated
|
|
2797
3611
|
|
|
2798
|
-
# This message type encapsulates a data node as represented below:
|
|
2799
|
-
# `
|
|
2800
|
-
# "
|
|
2801
|
-
# "
|
|
2802
|
-
#
|
|
2803
|
-
#
|
|
2804
|
-
# "values": [
|
|
2805
|
-
# "sirjee"
|
|
2806
|
-
# ]
|
|
2807
|
-
# `,
|
|
2808
|
-
# "metric": [
|
|
2809
|
-
# `
|
|
2810
|
-
# "env": "prod",
|
|
2811
|
-
# "name": "sum(message_count)",
|
|
2812
|
-
# "values": [
|
|
2813
|
-
# 36.0
|
|
2814
|
-
# ]
|
|
2815
|
-
# `
|
|
2816
|
-
# ]
|
|
2817
|
-
# `
|
|
2818
|
-
# OR
|
|
2819
|
-
# `
|
|
2820
|
-
# "env": "prod",
|
|
2821
|
-
# "name": "sum(message_count)",
|
|
2822
|
-
# "values": [
|
|
2823
|
-
# 36.0
|
|
2824
|
-
# ]
|
|
2825
|
-
# `
|
|
2826
|
-
# Depending on whether a dimension is present in the query or not
|
|
2827
|
-
# the data node type can be a simple metric value or dimension identifier
|
|
2828
|
-
# with list of metrics.
|
|
3612
|
+
# This message type encapsulates a data node as represented below: ` "identifier"
|
|
3613
|
+
# : ` "names": [ "apiproxy" ], "values": [ "sirjee" ] `, "metric": [ ` "env": "
|
|
3614
|
+
# prod", "name": "sum(message_count)", "values": [ 36.0 ] ` ] ` OR ` "env": "
|
|
3615
|
+
# prod", "name": "sum(message_count)", "values": [ 36.0 ] ` Depending on whether
|
|
3616
|
+
# a dimension is present in the query or not the data node type can be a simple
|
|
3617
|
+
# metric value or dimension identifier with list of metrics.
|
|
2829
3618
|
# Corresponds to the JSON property `stats`
|
|
2830
3619
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
|
|
2831
3620
|
attr_accessor :stats
|
|
@@ -2848,8 +3637,8 @@ module Google
|
|
|
2848
3637
|
include Google::Apis::Core::Hashable
|
|
2849
3638
|
|
|
2850
3639
|
# Required. Primary GCP region for analytics data storage. For valid values, see
|
|
2851
|
-
# [Create an
|
|
2852
|
-
#
|
|
3640
|
+
# [Create an organization](https://docs.apigee.com/hybrid/latest/precog-
|
|
3641
|
+
# provision).
|
|
2853
3642
|
# Corresponds to the JSON property `analyticsRegion`
|
|
2854
3643
|
# @return [String]
|
|
2855
3644
|
attr_accessor :analytics_region
|
|
@@ -2859,6 +3648,23 @@ module Google
|
|
|
2859
3648
|
# @return [Array<String>]
|
|
2860
3649
|
attr_accessor :attributes
|
|
2861
3650
|
|
|
3651
|
+
# Compute Engine network used for ServiceNetworking to be peered with Apigee
|
|
3652
|
+
# runtime instances. See [Getting started with the Service Networking API](https:
|
|
3653
|
+
# //cloud.google.com/service-infrastructure/docs/service-networking/getting-
|
|
3654
|
+
# started). Valid only when [RuntimeType] is set to CLOUD. The value can be
|
|
3655
|
+
# updated only when there are no runtime instances. For example: "default". **
|
|
3656
|
+
# Note:** Not supported for Apigee hybrid.
|
|
3657
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
|
3658
|
+
# @return [String]
|
|
3659
|
+
attr_accessor :authorized_network
|
|
3660
|
+
|
|
3661
|
+
# Output only. Base64-encoded public certificate for the root CA of the Apigee
|
|
3662
|
+
# organization. Valid only when [RuntimeType] is CLOUD.
|
|
3663
|
+
# Corresponds to the JSON property `caCertificate`
|
|
3664
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
3665
|
+
# @return [String]
|
|
3666
|
+
attr_accessor :ca_certificate
|
|
3667
|
+
|
|
2862
3668
|
# Output only. Time that the Apigee organization was created in milliseconds
|
|
2863
3669
|
# since epoch.
|
|
2864
3670
|
# Corresponds to the JSON property `createdAt`
|
|
@@ -2886,8 +3692,7 @@ module Google
|
|
|
2886
3692
|
attr_accessor :environments
|
|
2887
3693
|
|
|
2888
3694
|
# Output only. Time that the Apigee organization was last modified in
|
|
2889
|
-
# milliseconds
|
|
2890
|
-
# since epoch.
|
|
3695
|
+
# milliseconds since epoch.
|
|
2891
3696
|
# Corresponds to the JSON property `lastModifiedAt`
|
|
2892
3697
|
# @return [Fixnum]
|
|
2893
3698
|
attr_accessor :last_modified_at
|
|
@@ -2909,17 +3714,15 @@ module Google
|
|
|
2909
3714
|
attr_accessor :properties
|
|
2910
3715
|
|
|
2911
3716
|
# Output only. Runtime type of the Apigee organization based on the Apigee
|
|
2912
|
-
# subscription
|
|
2913
|
-
# purchased.
|
|
3717
|
+
# subscription purchased.
|
|
2914
3718
|
# Corresponds to the JSON property `runtimeType`
|
|
2915
3719
|
# @return [String]
|
|
2916
3720
|
attr_accessor :runtime_type
|
|
2917
3721
|
|
|
2918
3722
|
# Output only. Subscription type of the Apigee organization. Valid values
|
|
2919
|
-
# include trial
|
|
2920
|
-
#
|
|
2921
|
-
#
|
|
2922
|
-
# [Apigee pricing](https://cloud.google.com/apigee/pricing/).
|
|
3723
|
+
# include trial (free, limited, and for evaluation purposes only) or paid (full
|
|
3724
|
+
# subscription has been purchased). See [Apigee pricing](https://cloud.google.
|
|
3725
|
+
# com/apigee/pricing/).
|
|
2923
3726
|
# Corresponds to the JSON property `subscriptionType`
|
|
2924
3727
|
# @return [String]
|
|
2925
3728
|
attr_accessor :subscription_type
|
|
@@ -2937,6 +3740,8 @@ module Google
|
|
|
2937
3740
|
def update!(**args)
|
|
2938
3741
|
@analytics_region = args[:analytics_region] if args.key?(:analytics_region)
|
|
2939
3742
|
@attributes = args[:attributes] if args.key?(:attributes)
|
|
3743
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
|
3744
|
+
@ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
|
|
2940
3745
|
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2941
3746
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
|
2942
3747
|
@description = args[:description] if args.key?(:description)
|
|
@@ -2986,11 +3791,8 @@ module Google
|
|
|
2986
3791
|
# @return [String]
|
|
2987
3792
|
attr_accessor :app_version
|
|
2988
3793
|
|
|
2989
|
-
# Status of the deployment. Valid values
|
|
2990
|
-
#
|
|
2991
|
-
# - `deployed`: Successful.
|
|
2992
|
-
# - `error` : Failed.
|
|
2993
|
-
# - `pending` : Pod has not yet reported on the deployment.
|
|
3794
|
+
# Status of the deployment. Valid values include: - `deployed`: Successful. - `
|
|
3795
|
+
# error` : Failed. - `pending` : Pod has not yet reported on the deployment.
|
|
2994
3796
|
# Corresponds to the JSON property `deploymentStatus`
|
|
2995
3797
|
# @return [String]
|
|
2996
3798
|
attr_accessor :deployment_status
|
|
@@ -3010,12 +3812,9 @@ module Google
|
|
|
3010
3812
|
# @return [String]
|
|
3011
3813
|
attr_accessor :pod_name
|
|
3012
3814
|
|
|
3013
|
-
# Overall status of the pod (not this specific deployment). Valid values
|
|
3014
|
-
#
|
|
3015
|
-
#
|
|
3016
|
-
# - `stale` : Recently out of date.
|
|
3017
|
-
# Pods that have not reported status in a
|
|
3018
|
-
# long time are excluded from the output.
|
|
3815
|
+
# Overall status of the pod (not this specific deployment). Valid values include:
|
|
3816
|
+
# - `active`: Up to date. - `stale` : Recently out of date. Pods that have not
|
|
3817
|
+
# reported status in a long time are excluded from the output.
|
|
3019
3818
|
# Corresponds to the JSON property `podStatus`
|
|
3020
3819
|
# @return [String]
|
|
3021
3820
|
attr_accessor :pod_status
|
|
@@ -3054,34 +3853,14 @@ module Google
|
|
|
3054
3853
|
end
|
|
3055
3854
|
|
|
3056
3855
|
# Point is a group of information collected by runtime plane at critical points
|
|
3057
|
-
# of the message flow of the processed API request.
|
|
3058
|
-
#
|
|
3059
|
-
#
|
|
3060
|
-
#
|
|
3061
|
-
# -
|
|
3062
|
-
#
|
|
3063
|
-
#
|
|
3064
|
-
#
|
|
3065
|
-
# Execution
|
|
3066
|
-
# DebugMask
|
|
3067
|
-
# Error
|
|
3068
|
-
# - Flow control debug points:
|
|
3069
|
-
# FlowCallout
|
|
3070
|
-
# Paused
|
|
3071
|
-
# Resumed
|
|
3072
|
-
# FlowReturn
|
|
3073
|
-
# BreakFlow
|
|
3074
|
-
# Error
|
|
3075
|
-
# - Runtime debug points:
|
|
3076
|
-
# ScriptExecutor
|
|
3077
|
-
# FlowCalloutStepDefinition
|
|
3078
|
-
# CustomTarget
|
|
3079
|
-
# StepDefinition
|
|
3080
|
-
# Oauth2ServicePoint
|
|
3081
|
-
# RaiseFault
|
|
3082
|
-
# NodeJS
|
|
3083
|
-
# The detail information of the given debug point is stored in a list of
|
|
3084
|
-
# results.
|
|
3856
|
+
# of the message flow of the processed API request. This is a list of supported
|
|
3857
|
+
# point IDs, categorized to three major buckets. For each category, debug points
|
|
3858
|
+
# that we are currently supporting are listed below: - Flow status debug points:
|
|
3859
|
+
# StateChange FlowInfo Condition Execution DebugMask Error - Flow control debug
|
|
3860
|
+
# points: FlowCallout Paused Resumed FlowReturn BreakFlow Error - Runtime debug
|
|
3861
|
+
# points: ScriptExecutor FlowCalloutStepDefinition CustomTarget StepDefinition
|
|
3862
|
+
# Oauth2ServicePoint RaiseFault NodeJS The detail information of the given debug
|
|
3863
|
+
# point is stored in a list of results.
|
|
3085
3864
|
class GoogleCloudApigeeV1Point
|
|
3086
3865
|
include Google::Apis::Core::Hashable
|
|
3087
3866
|
|
|
@@ -3155,41 +3934,36 @@ module Google
|
|
|
3155
3934
|
class GoogleCloudApigeeV1Query
|
|
3156
3935
|
include Google::Apis::Core::Hashable
|
|
3157
3936
|
|
|
3158
|
-
# Delimiter used in the CSV file, if `outputFormat` is set
|
|
3159
|
-
#
|
|
3160
|
-
#
|
|
3161
|
-
# and tab (`\t`).
|
|
3937
|
+
# Delimiter used in the CSV file, if `outputFormat` is set to `csv`. Defaults to
|
|
3938
|
+
# the `,` (comma) character. Supported delimiter characters include comma (`,`),
|
|
3939
|
+
# pipe (`|`), and tab (`\t`).
|
|
3162
3940
|
# Corresponds to the JSON property `csvDelimiter`
|
|
3163
3941
|
# @return [String]
|
|
3164
3942
|
attr_accessor :csv_delimiter
|
|
3165
3943
|
|
|
3166
|
-
# A list of dimensions.
|
|
3167
|
-
#
|
|
3944
|
+
# A list of dimensions. https://docs.apigee.com/api-platform/analytics/analytics-
|
|
3945
|
+
# reference#dimensions
|
|
3168
3946
|
# Corresponds to the JSON property `dimensions`
|
|
3169
3947
|
# @return [Array<String>]
|
|
3170
3948
|
attr_accessor :dimensions
|
|
3171
3949
|
|
|
3172
|
-
# Boolean expression that can be used to filter data.
|
|
3173
|
-
#
|
|
3174
|
-
#
|
|
3175
|
-
#
|
|
3176
|
-
#
|
|
3177
|
-
#
|
|
3178
|
-
# on. For more information on the tokens that you use to build filter
|
|
3179
|
-
# expressions, see Filter expression syntax.
|
|
3950
|
+
# Boolean expression that can be used to filter data. Filter expressions can be
|
|
3951
|
+
# combined using AND/OR terms and should be fully parenthesized to avoid
|
|
3952
|
+
# ambiguity. See Analytics metrics, dimensions, and filters reference https://
|
|
3953
|
+
# docs.apigee.com/api-platform/analytics/analytics-reference for more
|
|
3954
|
+
# information on the fields available to filter on. For more information on the
|
|
3955
|
+
# tokens that you use to build filter expressions, see Filter expression syntax.
|
|
3180
3956
|
# https://docs.apigee.com/api-platform/analytics/asynch-reports-api#filter-
|
|
3181
3957
|
# expression-syntax
|
|
3182
3958
|
# Corresponds to the JSON property `filter`
|
|
3183
3959
|
# @return [String]
|
|
3184
3960
|
attr_accessor :filter
|
|
3185
3961
|
|
|
3186
|
-
# Time unit used to group the result set.
|
|
3187
|
-
#
|
|
3188
|
-
#
|
|
3189
|
-
#
|
|
3190
|
-
#
|
|
3191
|
-
# If a query omits groupByTimeUnit, then the resultant timestamp includes
|
|
3192
|
-
# milliseconds precision.
|
|
3962
|
+
# Time unit used to group the result set. Valid values include: second, minute,
|
|
3963
|
+
# hour, day, week, or month. If a query includes groupByTimeUnit, then the
|
|
3964
|
+
# result is an aggregation based on the specified time unit and the resultant
|
|
3965
|
+
# timestamp does not include milliseconds precision. If a query omits
|
|
3966
|
+
# groupByTimeUnit, then the resultant timestamp includes milliseconds precision.
|
|
3193
3967
|
# Corresponds to the JSON property `groupByTimeUnit`
|
|
3194
3968
|
# @return [String]
|
|
3195
3969
|
attr_accessor :group_by_time_unit
|
|
@@ -3209,9 +3983,8 @@ module Google
|
|
|
3209
3983
|
# @return [String]
|
|
3210
3984
|
attr_accessor :name
|
|
3211
3985
|
|
|
3212
|
-
# Valid values include: `csv` or `json`. Defaults to `json`.
|
|
3213
|
-
#
|
|
3214
|
-
# property.
|
|
3986
|
+
# Valid values include: `csv` or `json`. Defaults to `json`. Note: Configure the
|
|
3987
|
+
# delimiter for CSV output using the csvDelimiter property.
|
|
3215
3988
|
# Corresponds to the JSON property `outputFormat`
|
|
3216
3989
|
# @return [String]
|
|
3217
3990
|
attr_accessor :output_format
|
|
@@ -3221,18 +3994,11 @@ module Google
|
|
|
3221
3994
|
# @return [String]
|
|
3222
3995
|
attr_accessor :report_definition_id
|
|
3223
3996
|
|
|
3224
|
-
# Required. Time range for the query.
|
|
3225
|
-
#
|
|
3226
|
-
#
|
|
3227
|
-
# `
|
|
3228
|
-
# `
|
|
3229
|
-
# Or, specify the timeRange as a structure describing start and end
|
|
3230
|
-
# timestamps in the ISO format: yyyy-mm-ddThh:mm:ssZ.
|
|
3231
|
-
# Example:
|
|
3232
|
-
# "timeRange": `
|
|
3233
|
-
# "start": "2018-07-29T00:13:00Z",
|
|
3234
|
-
# "end": "2018-08-01T00:18:00Z"
|
|
3235
|
-
# `
|
|
3997
|
+
# Required. Time range for the query. Can use the following predefined strings
|
|
3998
|
+
# to specify the time range: `last60minutes` `last24hours` `last7days` Or,
|
|
3999
|
+
# specify the timeRange as a structure describing start and end timestamps in
|
|
4000
|
+
# the ISO format: yyyy-mm-ddThh:mm:ssZ. Example: "timeRange": ` "start": "2018-
|
|
4001
|
+
# 07-29T00:13:00Z", "end": "2018-08-01T00:18:00Z" `
|
|
3236
4002
|
# Corresponds to the JSON property `timeRange`
|
|
3237
4003
|
# @return [Object]
|
|
3238
4004
|
attr_accessor :time_range
|
|
@@ -3270,8 +4036,8 @@ module Google
|
|
|
3270
4036
|
# @return [String]
|
|
3271
4037
|
attr_accessor :end_timestamp
|
|
3272
4038
|
|
|
3273
|
-
# Metrics of the AsyncQuery.
|
|
3274
|
-
#
|
|
4039
|
+
# Metrics of the AsyncQuery. Example: ["name:message_count,func:sum,alias:
|
|
4040
|
+
# sum_message_count"]
|
|
3275
4041
|
# Corresponds to the JSON property `metrics`
|
|
3276
4042
|
# @return [Array<String>]
|
|
3277
4043
|
attr_accessor :metrics
|
|
@@ -3306,13 +4072,13 @@ module Google
|
|
|
3306
4072
|
end
|
|
3307
4073
|
end
|
|
3308
4074
|
|
|
3309
|
-
# More info about Metric:
|
|
3310
|
-
#
|
|
4075
|
+
# More info about Metric: https://docs.apigee.com/api-platform/analytics/
|
|
4076
|
+
# analytics-reference#metrics
|
|
3311
4077
|
class GoogleCloudApigeeV1QueryMetric
|
|
3312
4078
|
include Google::Apis::Core::Hashable
|
|
3313
4079
|
|
|
3314
|
-
# Alias for the metric. Alias will be used to replace metric name
|
|
3315
|
-
#
|
|
4080
|
+
# Alias for the metric. Alias will be used to replace metric name in query
|
|
4081
|
+
# results.
|
|
3316
4082
|
# Corresponds to the JSON property `alias`
|
|
3317
4083
|
# @return [String]
|
|
3318
4084
|
attr_accessor :alias
|
|
@@ -3351,8 +4117,8 @@ module Google
|
|
|
3351
4117
|
end
|
|
3352
4118
|
end
|
|
3353
4119
|
|
|
3354
|
-
# A Reference configuration. References must refer to a keystore
|
|
3355
|
-
#
|
|
4120
|
+
# A Reference configuration. References must refer to a keystore that also
|
|
4121
|
+
# exists in the parent environment.
|
|
3356
4122
|
class GoogleCloudApigeeV1Reference
|
|
3357
4123
|
include Google::Apis::Core::Hashable
|
|
3358
4124
|
|
|
@@ -3361,21 +4127,21 @@ module Google
|
|
|
3361
4127
|
# @return [String]
|
|
3362
4128
|
attr_accessor :description
|
|
3363
4129
|
|
|
3364
|
-
# Required. The resource id of this reference. Values must match the
|
|
3365
|
-
#
|
|
4130
|
+
# Required. The resource id of this reference. Values must match the regular
|
|
4131
|
+
# expression [\w\s\-.]+.
|
|
3366
4132
|
# Corresponds to the JSON property `name`
|
|
3367
4133
|
# @return [String]
|
|
3368
4134
|
attr_accessor :name
|
|
3369
4135
|
|
|
3370
|
-
# Required. The id of the resource to which this reference refers.
|
|
3371
|
-
#
|
|
3372
|
-
#
|
|
4136
|
+
# Required. The id of the resource to which this reference refers. Must be the
|
|
4137
|
+
# id of a resource that exists in the parent environment and is of the given
|
|
4138
|
+
# resource_type.
|
|
3373
4139
|
# Corresponds to the JSON property `refers`
|
|
3374
4140
|
# @return [String]
|
|
3375
4141
|
attr_accessor :refers
|
|
3376
4142
|
|
|
3377
|
-
# The type of resource referred to by this reference. Valid values
|
|
3378
|
-
#
|
|
4143
|
+
# The type of resource referred to by this reference. Valid values are 'KeyStore'
|
|
4144
|
+
# or 'TrustStore'.
|
|
3379
4145
|
# Corresponds to the JSON property `resourceType`
|
|
3380
4146
|
# @return [String]
|
|
3381
4147
|
attr_accessor :resource_type
|
|
@@ -3397,15 +4163,15 @@ module Google
|
|
|
3397
4163
|
class GoogleCloudApigeeV1ReferenceConfig
|
|
3398
4164
|
include Google::Apis::Core::Hashable
|
|
3399
4165
|
|
|
3400
|
-
# The name of the reference. Must be of the form
|
|
3401
|
-
#
|
|
4166
|
+
# The name of the reference. Must be of the form 'organizations/`org`/
|
|
4167
|
+
# environments/`env`/references/`ref`'.
|
|
3402
4168
|
# Corresponds to the JSON property `name`
|
|
3403
4169
|
# @return [String]
|
|
3404
4170
|
attr_accessor :name
|
|
3405
4171
|
|
|
3406
|
-
# The name of the referred resource. Only references to keystore resources
|
|
3407
|
-
#
|
|
3408
|
-
#
|
|
4172
|
+
# The name of the referred resource. Only references to keystore resources are
|
|
4173
|
+
# supported. Must be of the form 'organizations/`org`/environments/`env`/
|
|
4174
|
+
# keystores/`ks`'.
|
|
3409
4175
|
# Corresponds to the JSON property `resourceName`
|
|
3410
4176
|
# @return [String]
|
|
3411
4177
|
attr_accessor :resource_name
|
|
@@ -3421,6 +4187,53 @@ module Google
|
|
|
3421
4187
|
end
|
|
3422
4188
|
end
|
|
3423
4189
|
|
|
4190
|
+
# Request for ReportInstanceStatus.
|
|
4191
|
+
class GoogleCloudApigeeV1ReportInstanceStatusRequest
|
|
4192
|
+
include Google::Apis::Core::Hashable
|
|
4193
|
+
|
|
4194
|
+
# A unique ID for the instance which is guaranteed to be unique in case the user
|
|
4195
|
+
# installs multiple hybrid runtimes with the same instance ID.
|
|
4196
|
+
# Corresponds to the JSON property `instanceUid`
|
|
4197
|
+
# @return [String]
|
|
4198
|
+
attr_accessor :instance_uid
|
|
4199
|
+
|
|
4200
|
+
# The time the report was generated in the runtime. Used to prevent an old
|
|
4201
|
+
# status from overwriting a newer one. An instance should space out it's status
|
|
4202
|
+
# reports so that clock skew does not play a factor.
|
|
4203
|
+
# Corresponds to the JSON property `reportTime`
|
|
4204
|
+
# @return [String]
|
|
4205
|
+
attr_accessor :report_time
|
|
4206
|
+
|
|
4207
|
+
# Status for config resources
|
|
4208
|
+
# Corresponds to the JSON property `resources`
|
|
4209
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>]
|
|
4210
|
+
attr_accessor :resources
|
|
4211
|
+
|
|
4212
|
+
def initialize(**args)
|
|
4213
|
+
update!(**args)
|
|
4214
|
+
end
|
|
4215
|
+
|
|
4216
|
+
# Update properties of this object
|
|
4217
|
+
def update!(**args)
|
|
4218
|
+
@instance_uid = args[:instance_uid] if args.key?(:instance_uid)
|
|
4219
|
+
@report_time = args[:report_time] if args.key?(:report_time)
|
|
4220
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
4221
|
+
end
|
|
4222
|
+
end
|
|
4223
|
+
|
|
4224
|
+
# Placeholder for future enhancements to status reporting protocol
|
|
4225
|
+
class GoogleCloudApigeeV1ReportInstanceStatusResponse
|
|
4226
|
+
include Google::Apis::Core::Hashable
|
|
4227
|
+
|
|
4228
|
+
def initialize(**args)
|
|
4229
|
+
update!(**args)
|
|
4230
|
+
end
|
|
4231
|
+
|
|
4232
|
+
# Update properties of this object
|
|
4233
|
+
def update!(**args)
|
|
4234
|
+
end
|
|
4235
|
+
end
|
|
4236
|
+
|
|
3424
4237
|
#
|
|
3425
4238
|
class GoogleCloudApigeeV1ReportProperty
|
|
3426
4239
|
include Google::Apis::Core::Hashable
|
|
@@ -3455,10 +4268,9 @@ module Google
|
|
|
3455
4268
|
# @return [String]
|
|
3456
4269
|
attr_accessor :location
|
|
3457
4270
|
|
|
3458
|
-
# The resource name. Only environment-scoped resource files are supported.
|
|
3459
|
-
#
|
|
3460
|
-
#
|
|
3461
|
-
# rev`'.
|
|
4271
|
+
# The resource name. Only environment-scoped resource files are supported. Must
|
|
4272
|
+
# be of the form 'organizations/`org`/environments/`env`/resourcefiles/`type`/`
|
|
4273
|
+
# file`/revisions/`rev`'.
|
|
3462
4274
|
# Corresponds to the JSON property `name`
|
|
3463
4275
|
# @return [String]
|
|
3464
4276
|
attr_accessor :name
|
|
@@ -3518,52 +4330,84 @@ module Google
|
|
|
3518
4330
|
end
|
|
3519
4331
|
end
|
|
3520
4332
|
|
|
3521
|
-
#
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
4333
|
+
# The status of a resource loaded in the runtime.
|
|
4334
|
+
class GoogleCloudApigeeV1ResourceStatus
|
|
4335
|
+
include Google::Apis::Core::Hashable
|
|
4336
|
+
|
|
4337
|
+
# The resource name. Currently only two resources are supported:
|
|
4338
|
+
# EnvironmentGroup - organizations/`org`/envgroups/`envgroup` EnvironmentConfig -
|
|
4339
|
+
# organizations/`org`/environments/`environment`/deployedConfig
|
|
4340
|
+
# Corresponds to the JSON property `resource`
|
|
4341
|
+
# @return [String]
|
|
4342
|
+
attr_accessor :resource
|
|
4343
|
+
|
|
4344
|
+
# Revisions of the resource currently deployed in the instance.
|
|
4345
|
+
# Corresponds to the JSON property `revisions`
|
|
4346
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus>]
|
|
4347
|
+
attr_accessor :revisions
|
|
4348
|
+
|
|
4349
|
+
# The total number of replicas that should have this resource.
|
|
4350
|
+
# Corresponds to the JSON property `totalReplicas`
|
|
4351
|
+
# @return [Fixnum]
|
|
4352
|
+
attr_accessor :total_replicas
|
|
4353
|
+
|
|
4354
|
+
# The uid of the resource. In the unexpected case that the instance has multiple
|
|
4355
|
+
# uids for the same name, they should be reported under separate
|
|
4356
|
+
# ResourceStatuses.
|
|
4357
|
+
# Corresponds to the JSON property `uid`
|
|
4358
|
+
# @return [String]
|
|
4359
|
+
attr_accessor :uid
|
|
4360
|
+
|
|
4361
|
+
def initialize(**args)
|
|
4362
|
+
update!(**args)
|
|
4363
|
+
end
|
|
4364
|
+
|
|
4365
|
+
# Update properties of this object
|
|
4366
|
+
def update!(**args)
|
|
4367
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
4368
|
+
@revisions = args[:revisions] if args.key?(:revisions)
|
|
4369
|
+
@total_replicas = args[:total_replicas] if args.key?(:total_replicas)
|
|
4370
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
4371
|
+
end
|
|
4372
|
+
end
|
|
4373
|
+
|
|
4374
|
+
# Result is short for "action result", could be different types identified by "
|
|
4375
|
+
# action_result" field. Supported types: 1. DebugInfo : generic debug info
|
|
4376
|
+
# collected by runtime recorded as a list of properties. For example, the
|
|
4377
|
+
# contents could be virtual host info, state change result, or execution
|
|
4378
|
+
# metadata. Required fields : properties, timestamp 2. RequestMessage:
|
|
4379
|
+
# information of a http request. Contains headers, request URI and http methods
|
|
4380
|
+
# type.Required fields : headers, uri, verb 3. ResponseMessage: information of a
|
|
4381
|
+
# http response. Contains headers, reason phrase and http status code. Required
|
|
4382
|
+
# fields : headers, reasonPhrase, statusCode 4. ErrorMessage: information of a
|
|
4383
|
+
# http error message. Contains detail error message, reason phrase and status
|
|
4384
|
+
# code. Required fields : content, headers, reasonPhrase, statusCode 5.
|
|
4385
|
+
# VariableAccess: a list of variable access actions, can be Get, Set and Remove.
|
|
4386
|
+
# Required fields : accessList
|
|
3536
4387
|
class GoogleCloudApigeeV1Result
|
|
3537
4388
|
include Google::Apis::Core::Hashable
|
|
3538
4389
|
|
|
3539
|
-
# Type of the action result. Can be one of the five: DebugInfo,
|
|
3540
|
-
#
|
|
4390
|
+
# Type of the action result. Can be one of the five: DebugInfo, RequestMessage,
|
|
4391
|
+
# ResponseMessage, ErrorMessage, VariableAccess
|
|
3541
4392
|
# Corresponds to the JSON property `ActionResult`
|
|
3542
4393
|
# @return [String]
|
|
3543
4394
|
attr_accessor :action_result
|
|
3544
4395
|
|
|
3545
|
-
# A list of variable access actions agaist the api proxy.
|
|
3546
|
-
#
|
|
4396
|
+
# A list of variable access actions agaist the api proxy. Supported values: Get,
|
|
4397
|
+
# Set, Remove.
|
|
3547
4398
|
# Corresponds to the JSON property `accessList`
|
|
3548
4399
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Access>]
|
|
3549
4400
|
attr_accessor :access_list
|
|
3550
4401
|
|
|
3551
|
-
# Error message content. for example,
|
|
3552
|
-
#
|
|
3553
|
-
# out\",\"detail\":`\"errorcode\":\"flow.APITimedOut\"```"
|
|
4402
|
+
# Error message content. for example, "content" : "`\"fault\":`\"faultstring\":\"
|
|
4403
|
+
# API timed out\",\"detail\":`\"errorcode\":\"flow.APITimedOut\"```"
|
|
3554
4404
|
# Corresponds to the JSON property `content`
|
|
3555
4405
|
# @return [String]
|
|
3556
4406
|
attr_accessor :content
|
|
3557
4407
|
|
|
3558
|
-
# A list of HTTP headers.
|
|
3559
|
-
#
|
|
3560
|
-
# '
|
|
3561
|
-
# "name" : "Content-Length",
|
|
3562
|
-
# "value" : "83"
|
|
3563
|
-
# `, `
|
|
3564
|
-
# "name" : "Content-Type",
|
|
3565
|
-
# "value" : "application/json"
|
|
3566
|
-
# ` ]'
|
|
4408
|
+
# A list of HTTP headers. for example, '"headers" : [ ` "name" : "Content-Length"
|
|
4409
|
+
# , "value" : "83" `, ` "name" : "Content-Type", "value" : "application/json" ` ]
|
|
4410
|
+
# '
|
|
3567
4411
|
# Corresponds to the JSON property `headers`
|
|
3568
4412
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Property>]
|
|
3569
4413
|
attr_accessor :headers
|
|
@@ -3584,14 +4428,13 @@ module Google
|
|
|
3584
4428
|
# @return [String]
|
|
3585
4429
|
attr_accessor :status_code
|
|
3586
4430
|
|
|
3587
|
-
# Timestamp of when the result is recorded. Its format is dd-mm-yy
|
|
3588
|
-
#
|
|
4431
|
+
# Timestamp of when the result is recorded. Its format is dd-mm-yy hh:mm:ss:xxx.
|
|
4432
|
+
# For example, `"timestamp" : "12-08-19 00:31:59:960"`
|
|
3589
4433
|
# Corresponds to the JSON property `timestamp`
|
|
3590
4434
|
# @return [String]
|
|
3591
4435
|
attr_accessor :timestamp
|
|
3592
4436
|
|
|
3593
|
-
# The relative path of the api proxy.
|
|
3594
|
-
# for example, `"uRI" : "/iloveapis"`
|
|
4437
|
+
# The relative path of the api proxy. for example, `"uRI" : "/iloveapis"`
|
|
3595
4438
|
# Corresponds to the JSON property `uRI`
|
|
3596
4439
|
# @return [String]
|
|
3597
4440
|
attr_accessor :u_ri
|
|
@@ -3620,6 +4463,71 @@ module Google
|
|
|
3620
4463
|
end
|
|
3621
4464
|
end
|
|
3622
4465
|
|
|
4466
|
+
# The status of a specific resource revision.
|
|
4467
|
+
class GoogleCloudApigeeV1RevisionStatus
|
|
4468
|
+
include Google::Apis::Core::Hashable
|
|
4469
|
+
|
|
4470
|
+
# Errors reported when attempting to load this revision.
|
|
4471
|
+
# Corresponds to the JSON property `errors`
|
|
4472
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
|
|
4473
|
+
attr_accessor :errors
|
|
4474
|
+
|
|
4475
|
+
# The json content of the resource revision.
|
|
4476
|
+
# Corresponds to the JSON property `jsonSpec`
|
|
4477
|
+
# @return [String]
|
|
4478
|
+
attr_accessor :json_spec
|
|
4479
|
+
|
|
4480
|
+
# The number of replicas that have successfully loaded this revision.
|
|
4481
|
+
# Corresponds to the JSON property `replicas`
|
|
4482
|
+
# @return [Fixnum]
|
|
4483
|
+
attr_accessor :replicas
|
|
4484
|
+
|
|
4485
|
+
# The revision of the resource.
|
|
4486
|
+
# Corresponds to the JSON property `revisionId`
|
|
4487
|
+
# @return [String]
|
|
4488
|
+
attr_accessor :revision_id
|
|
4489
|
+
|
|
4490
|
+
def initialize(**args)
|
|
4491
|
+
update!(**args)
|
|
4492
|
+
end
|
|
4493
|
+
|
|
4494
|
+
# Update properties of this object
|
|
4495
|
+
def update!(**args)
|
|
4496
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
4497
|
+
@json_spec = args[:json_spec] if args.key?(:json_spec)
|
|
4498
|
+
@replicas = args[:replicas] if args.key?(:replicas)
|
|
4499
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
4500
|
+
end
|
|
4501
|
+
end
|
|
4502
|
+
|
|
4503
|
+
#
|
|
4504
|
+
class GoogleCloudApigeeV1RoutingRule
|
|
4505
|
+
include Google::Apis::Core::Hashable
|
|
4506
|
+
|
|
4507
|
+
# URI path prefix used to route to the specified environment. May contain one or
|
|
4508
|
+
# more wildcards. For example, path segments consisting of a single `*`
|
|
4509
|
+
# character will match any string.
|
|
4510
|
+
# Corresponds to the JSON property `basepath`
|
|
4511
|
+
# @return [String]
|
|
4512
|
+
attr_accessor :basepath
|
|
4513
|
+
|
|
4514
|
+
# Name of an environment bound to the environment group in the following format:
|
|
4515
|
+
# `organizations/`org`/environments/`env``.
|
|
4516
|
+
# Corresponds to the JSON property `environment`
|
|
4517
|
+
# @return [String]
|
|
4518
|
+
attr_accessor :environment
|
|
4519
|
+
|
|
4520
|
+
def initialize(**args)
|
|
4521
|
+
update!(**args)
|
|
4522
|
+
end
|
|
4523
|
+
|
|
4524
|
+
# Update properties of this object
|
|
4525
|
+
def update!(**args)
|
|
4526
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
|
4527
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
4528
|
+
end
|
|
4529
|
+
end
|
|
4530
|
+
|
|
3623
4531
|
# Response for Schema call
|
|
3624
4532
|
class GoogleCloudApigeeV1Schema
|
|
3625
4533
|
include Google::Apis::Core::Hashable
|
|
@@ -3629,14 +4537,14 @@ module Google
|
|
|
3629
4537
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
|
|
3630
4538
|
attr_accessor :dimensions
|
|
3631
4539
|
|
|
3632
|
-
# Additional metadata associated with schema. This is
|
|
3633
|
-
#
|
|
4540
|
+
# Additional metadata associated with schema. This is a legacy field and usually
|
|
4541
|
+
# consists of an empty array of strings.
|
|
3634
4542
|
# Corresponds to the JSON property `meta`
|
|
3635
4543
|
# @return [Array<String>]
|
|
3636
4544
|
attr_accessor :meta
|
|
3637
4545
|
|
|
3638
|
-
# List of schema fields grouped as dimensions. These are fields
|
|
3639
|
-
#
|
|
4546
|
+
# List of schema fields grouped as dimensions. These are fields that can be used
|
|
4547
|
+
# with an aggregate function such as sum, avg, min, max.
|
|
3640
4548
|
# Corresponds to the JSON property `metrics`
|
|
3641
4549
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
|
|
3642
4550
|
attr_accessor :metrics
|
|
@@ -3687,8 +4595,8 @@ module Google
|
|
|
3687
4595
|
# @return [String]
|
|
3688
4596
|
attr_accessor :create_time
|
|
3689
4597
|
|
|
3690
|
-
# Custom is a flag signifying if the field was provided as
|
|
3691
|
-
#
|
|
4598
|
+
# Custom is a flag signifying if the field was provided as part of the standard
|
|
4599
|
+
# dataset or a custom field created by the customer
|
|
3692
4600
|
# Corresponds to the JSON property `custom`
|
|
3693
4601
|
# @return [String]
|
|
3694
4602
|
attr_accessor :custom
|
|
@@ -3854,8 +4762,8 @@ module Google
|
|
|
3854
4762
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFiles]
|
|
3855
4763
|
attr_accessor :resource_files
|
|
3856
4764
|
|
|
3857
|
-
# A list of the resources included in this shared flow revision formatted as
|
|
3858
|
-
#
|
|
4765
|
+
# A list of the resources included in this shared flow revision formatted as "`
|
|
4766
|
+
# type`://`name`".
|
|
3859
4767
|
# Corresponds to the JSON property `resources`
|
|
3860
4768
|
# @return [Array<String>]
|
|
3861
4769
|
attr_accessor :resources
|
|
@@ -3923,20 +4831,9 @@ module Google
|
|
|
3923
4831
|
end
|
|
3924
4832
|
end
|
|
3925
4833
|
|
|
3926
|
-
# This message type encapsulates the environment wrapper:
|
|
3927
|
-
# "
|
|
3928
|
-
# `
|
|
3929
|
-
# "metrics": [
|
|
3930
|
-
# `
|
|
3931
|
-
# "name": "sum(message_count)",
|
|
3932
|
-
# "values": [
|
|
3933
|
-
# "2.52056245E8"
|
|
3934
|
-
# ]
|
|
3935
|
-
# `
|
|
3936
|
-
# ],
|
|
3937
|
-
# "name": "prod"
|
|
3938
|
-
# `
|
|
3939
|
-
# ]
|
|
4834
|
+
# This message type encapsulates the environment wrapper: "environments": [ ` "
|
|
4835
|
+
# metrics": [ ` "name": "sum(message_count)", "values": [ "2.52056245E8" ] ` ], "
|
|
4836
|
+
# name": "prod" ` ]
|
|
3940
4837
|
class GoogleCloudApigeeV1StatsEnvironmentStats
|
|
3941
4838
|
include Google::Apis::Core::Hashable
|
|
3942
4839
|
|
|
@@ -3945,45 +4842,15 @@ module Google
|
|
|
3945
4842
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
|
|
3946
4843
|
attr_accessor :dimensions
|
|
3947
4844
|
|
|
3948
|
-
# In the final response, only one of the following fields will be present
|
|
3949
|
-
#
|
|
3950
|
-
#
|
|
3951
|
-
#
|
|
3952
|
-
#
|
|
3953
|
-
#
|
|
3954
|
-
# "environments": [
|
|
3955
|
-
# `
|
|
3956
|
-
# "
|
|
3957
|
-
# `
|
|
3958
|
-
# "metrics": [
|
|
3959
|
-
# `
|
|
3960
|
-
# "name": "sum(message_count)",
|
|
3961
|
-
# "values": [
|
|
3962
|
-
# "2.14049521E8"
|
|
3963
|
-
# ]
|
|
3964
|
-
# `
|
|
3965
|
-
# ],
|
|
3966
|
-
# "name": "nit_proxy"
|
|
3967
|
-
# `
|
|
3968
|
-
# ],
|
|
3969
|
-
# "name": "prod"
|
|
3970
|
-
# `
|
|
3971
|
-
# ]
|
|
3972
|
-
# OR
|
|
3973
|
-
# "environments": [
|
|
3974
|
-
# `
|
|
3975
|
-
# "metrics": [
|
|
3976
|
-
# `
|
|
3977
|
-
# "name": "sum(message_count)",
|
|
3978
|
-
# "values": [
|
|
3979
|
-
# "2.19026331E8"
|
|
3980
|
-
# ]
|
|
3981
|
-
# `
|
|
3982
|
-
# ],
|
|
3983
|
-
# "name": "prod"
|
|
3984
|
-
# `
|
|
3985
|
-
# ]
|
|
3986
|
-
# This field contains the list of metric values.
|
|
4845
|
+
# In the final response, only one of the following fields will be present based
|
|
4846
|
+
# on the dimensions provided. If no dimensions are provided, then only a top
|
|
4847
|
+
# level metrics is provided. If dimensions are included, then there will be a
|
|
4848
|
+
# top level dimensions field under environments which will contain metrics
|
|
4849
|
+
# values and the dimension name. Example: "environments": [ ` "dimensions": [ ` "
|
|
4850
|
+
# metrics": [ ` "name": "sum(message_count)", "values": [ "2.14049521E8" ] ` ], "
|
|
4851
|
+
# name": "nit_proxy" ` ], "name": "prod" ` ] OR "environments": [ ` "metrics": [
|
|
4852
|
+
# ` "name": "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "name": "
|
|
4853
|
+
# prod" ` ] This field contains the list of metric values.
|
|
3987
4854
|
# Corresponds to the JSON property `metrics`
|
|
3988
4855
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
|
3989
4856
|
attr_accessor :metrics
|
|
@@ -4010,8 +4877,7 @@ module Google
|
|
|
4010
4877
|
include Google::Apis::Core::Hashable
|
|
4011
4878
|
|
|
4012
4879
|
# Full name of the Pub/Sub subcription. Use the following structure in your
|
|
4013
|
-
# request:
|
|
4014
|
-
# `subscription "projects/foo/subscription/bar"`
|
|
4880
|
+
# request: `subscription "projects/foo/subscription/bar"`
|
|
4015
4881
|
# Corresponds to the JSON property `name`
|
|
4016
4882
|
# @return [String]
|
|
4017
4883
|
attr_accessor :name
|
|
@@ -4031,33 +4897,28 @@ module Google
|
|
|
4031
4897
|
include Google::Apis::Core::Hashable
|
|
4032
4898
|
|
|
4033
4899
|
# Entity tag (ETag) used for optimistic concurrency control as a way to help
|
|
4034
|
-
# prevent simultaneous updates from overwriting each other.
|
|
4035
|
-
#
|
|
4036
|
-
#
|
|
4037
|
-
#
|
|
4038
|
-
#
|
|
4039
|
-
#
|
|
4040
|
-
#
|
|
4041
|
-
#
|
|
4042
|
-
# read-modify-write cycle to avoid race conditions.
|
|
4900
|
+
# prevent simultaneous updates from overwriting each other. For example, when
|
|
4901
|
+
# you call [getSyncAuthorization](getSyncAuthorization) an ETag is returned in
|
|
4902
|
+
# the response. Pass that ETag when calling the [setSyncAuthorization](
|
|
4903
|
+
# setSyncAuthorization) to ensure that you are updating the correct version. If
|
|
4904
|
+
# you don't pass the ETag in the call to `setSyncAuthorization`, then the
|
|
4905
|
+
# existing authorization is overwritten indiscriminately. **Note**: We strongly
|
|
4906
|
+
# recommend that you use the ETag in the read-modify-write cycle to avoid race
|
|
4907
|
+
# conditions.
|
|
4043
4908
|
# Corresponds to the JSON property `etag`
|
|
4044
4909
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4045
4910
|
# @return [String]
|
|
4046
4911
|
attr_accessor :etag
|
|
4047
4912
|
|
|
4048
|
-
# Required. Array of service accounts to grant access to control plane
|
|
4049
|
-
#
|
|
4050
|
-
#
|
|
4051
|
-
#
|
|
4052
|
-
# example
|
|
4053
|
-
#
|
|
4054
|
-
#
|
|
4055
|
-
#
|
|
4056
|
-
#
|
|
4057
|
-
# The service accounts must have **Apigee Synchronizer Manager** role.
|
|
4058
|
-
# See also [Create service
|
|
4059
|
-
# accounts](https://docs.apigee.com/hybrid/latest/sa-about#create-the-service-
|
|
4060
|
-
# accounts).
|
|
4913
|
+
# Required. Array of service accounts to grant access to control plane resources,
|
|
4914
|
+
# each specified using the following format: `serviceAccount:` service-account-
|
|
4915
|
+
# name. The service-account-name is formatted like an email address. For example:
|
|
4916
|
+
# `my-synchronizer-manager-service_account@my_project_id.iam.gserviceaccount.
|
|
4917
|
+
# com` You might specify multiple service accounts, for example, if you have
|
|
4918
|
+
# multiple environments and wish to assign a unique service account to each one.
|
|
4919
|
+
# The service accounts must have **Apigee Synchronizer Manager** role. See also [
|
|
4920
|
+
# Create service accounts](https://docs.apigee.com/hybrid/latest/sa-about#create-
|
|
4921
|
+
# the-service-accounts).
|
|
4061
4922
|
# Corresponds to the JSON property `identities`
|
|
4062
4923
|
# @return [Array<String>]
|
|
4063
4924
|
attr_accessor :identities
|
|
@@ -4089,16 +4950,16 @@ module Google
|
|
|
4089
4950
|
# @return [String]
|
|
4090
4951
|
attr_accessor :host
|
|
4091
4952
|
|
|
4092
|
-
# Optional. Enabling/disabling a TargetServer is useful when TargetServers
|
|
4093
|
-
#
|
|
4094
|
-
#
|
|
4953
|
+
# Optional. Enabling/disabling a TargetServer is useful when TargetServers are
|
|
4954
|
+
# used in load balancing configurations, and one or more TargetServers need to
|
|
4955
|
+
# taken out of rotation periodically. Defaults to true.
|
|
4095
4956
|
# Corresponds to the JSON property `isEnabled`
|
|
4096
4957
|
# @return [Boolean]
|
|
4097
4958
|
attr_accessor :is_enabled
|
|
4098
4959
|
alias_method :is_enabled?, :is_enabled
|
|
4099
4960
|
|
|
4100
|
-
# Required. The resource id of this target server. Values must match the
|
|
4101
|
-
#
|
|
4961
|
+
# Required. The resource id of this target server. Values must match the regular
|
|
4962
|
+
# expression
|
|
4102
4963
|
# Corresponds to the JSON property `name`
|
|
4103
4964
|
# @return [String]
|
|
4104
4965
|
attr_accessor :name
|
|
@@ -4109,9 +4970,7 @@ module Google
|
|
|
4109
4970
|
# @return [Fixnum]
|
|
4110
4971
|
attr_accessor :port
|
|
4111
4972
|
|
|
4112
|
-
# TLS configuration information for
|
|
4113
|
-
# VirtualHosts and
|
|
4114
|
-
# TargetServers.
|
|
4973
|
+
# TLS configuration information for VirtualHosts and TargetServers.
|
|
4115
4974
|
# Corresponds to the JSON property `sSLInfo`
|
|
4116
4975
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
|
|
4117
4976
|
attr_accessor :s_sl_info
|
|
@@ -4140,8 +4999,8 @@ module Google
|
|
|
4140
4999
|
# @return [String]
|
|
4141
5000
|
attr_accessor :host
|
|
4142
5001
|
|
|
4143
|
-
# The target server revision name. Must be of the form
|
|
4144
|
-
#
|
|
5002
|
+
# The target server revision name. Must be of the form 'organizations/`org`/
|
|
5003
|
+
# environments/`env`/targetservers/`ts_id`/revisions/`rev`'.
|
|
4145
5004
|
# Corresponds to the JSON property `name`
|
|
4146
5005
|
# @return [String]
|
|
4147
5006
|
attr_accessor :name
|
|
@@ -4169,16 +5028,38 @@ module Google
|
|
|
4169
5028
|
end
|
|
4170
5029
|
end
|
|
4171
5030
|
|
|
4172
|
-
#
|
|
4173
|
-
|
|
4174
|
-
|
|
5031
|
+
# The response for TestDatastore
|
|
5032
|
+
class GoogleCloudApigeeV1TestDatastoreResponse
|
|
5033
|
+
include Google::Apis::Core::Hashable
|
|
5034
|
+
|
|
5035
|
+
# Output only. Error message of test connection failure
|
|
5036
|
+
# Corresponds to the JSON property `error`
|
|
5037
|
+
# @return [String]
|
|
5038
|
+
attr_accessor :error
|
|
5039
|
+
|
|
5040
|
+
# Output only. It could be `completed` or `failed`
|
|
5041
|
+
# Corresponds to the JSON property `state`
|
|
5042
|
+
# @return [String]
|
|
5043
|
+
attr_accessor :state
|
|
5044
|
+
|
|
5045
|
+
def initialize(**args)
|
|
5046
|
+
update!(**args)
|
|
5047
|
+
end
|
|
5048
|
+
|
|
5049
|
+
# Update properties of this object
|
|
5050
|
+
def update!(**args)
|
|
5051
|
+
@error = args[:error] if args.key?(:error)
|
|
5052
|
+
@state = args[:state] if args.key?(:state)
|
|
5053
|
+
end
|
|
5054
|
+
end
|
|
5055
|
+
|
|
5056
|
+
# TLS configuration information for VirtualHosts and TargetServers.
|
|
4175
5057
|
class GoogleCloudApigeeV1TlsInfo
|
|
4176
5058
|
include Google::Apis::Core::Hashable
|
|
4177
5059
|
|
|
4178
5060
|
# The SSL/TLS cipher suites to be used. Must be one of the cipher suite names
|
|
4179
|
-
# listed in:
|
|
4180
|
-
#
|
|
4181
|
-
# html#ciphersuites
|
|
5061
|
+
# listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/
|
|
5062
|
+
# StandardNames.html#ciphersuites
|
|
4182
5063
|
# Corresponds to the JSON property `ciphers`
|
|
4183
5064
|
# @return [Array<String>]
|
|
4184
5065
|
attr_accessor :ciphers
|
|
@@ -4200,26 +5081,25 @@ module Google
|
|
|
4200
5081
|
attr_accessor :enabled
|
|
4201
5082
|
alias_method :enabled?, :enabled
|
|
4202
5083
|
|
|
4203
|
-
# If true, Edge ignores TLS certificate errors. Valid when configuring TLS
|
|
4204
|
-
#
|
|
4205
|
-
#
|
|
4206
|
-
#
|
|
4207
|
-
#
|
|
4208
|
-
#
|
|
4209
|
-
# fails.
|
|
5084
|
+
# If true, Edge ignores TLS certificate errors. Valid when configuring TLS for
|
|
5085
|
+
# target servers and target endpoints, and when configuring virtual hosts that
|
|
5086
|
+
# use 2-way TLS. When used with a target endpoint/target server, if the backend
|
|
5087
|
+
# system uses SNI and returns a cert with a subject Distinguished Name (DN) that
|
|
5088
|
+
# does not match the hostname, there is no way to ignore the error and the
|
|
5089
|
+
# connection fails.
|
|
4210
5090
|
# Corresponds to the JSON property `ignoreValidationErrors`
|
|
4211
5091
|
# @return [Boolean]
|
|
4212
5092
|
attr_accessor :ignore_validation_errors
|
|
4213
5093
|
alias_method :ignore_validation_errors?, :ignore_validation_errors
|
|
4214
5094
|
|
|
4215
|
-
# Required if `client_auth_enabled` is true. The resource ID for the
|
|
4216
|
-
#
|
|
5095
|
+
# Required if `client_auth_enabled` is true. The resource ID for the alias
|
|
5096
|
+
# containing the private key and cert.
|
|
4217
5097
|
# Corresponds to the JSON property `keyAlias`
|
|
4218
5098
|
# @return [String]
|
|
4219
5099
|
attr_accessor :key_alias
|
|
4220
5100
|
|
|
4221
|
-
# Required if `client_auth_enabled` is true. The resource ID of the
|
|
4222
|
-
#
|
|
5101
|
+
# Required if `client_auth_enabled` is true. The resource ID of the keystore.
|
|
5102
|
+
# References not yet supported.
|
|
4223
5103
|
# Corresponds to the JSON property `keyStore`
|
|
4224
5104
|
# @return [String]
|
|
4225
5105
|
attr_accessor :key_store
|
|
@@ -4229,8 +5109,7 @@ module Google
|
|
|
4229
5109
|
# @return [Array<String>]
|
|
4230
5110
|
attr_accessor :protocols
|
|
4231
5111
|
|
|
4232
|
-
# The resource ID of the truststore.
|
|
4233
|
-
# References not yet supported.
|
|
5112
|
+
# The resource ID of the truststore. References not yet supported.
|
|
4234
5113
|
# Corresponds to the JSON property `trustStore`
|
|
4235
5114
|
# @return [String]
|
|
4236
5115
|
attr_accessor :trust_store
|
|
@@ -4327,10 +5206,10 @@ module Google
|
|
|
4327
5206
|
# @return [Array<String>]
|
|
4328
5207
|
attr_accessor :protocols
|
|
4329
5208
|
|
|
4330
|
-
# The name of the Keystore or keystore reference containing trusted
|
|
4331
|
-
#
|
|
4332
|
-
# organizations/`org`/environments/`env`/
|
|
4333
|
-
#
|
|
5209
|
+
# The name of the Keystore or keystore reference containing trusted certificates
|
|
5210
|
+
# for the server. It must be of either the form organizations/`org`/environments/
|
|
5211
|
+
# `env`/keystores/`keystore` or organizations/`org`/environments/`env`/
|
|
5212
|
+
# references/`reference`.
|
|
4334
5213
|
# Corresponds to the JSON property `trustStore`
|
|
4335
5214
|
# @return [String]
|
|
4336
5215
|
attr_accessor :trust_store
|
|
@@ -4353,53 +5232,60 @@ module Google
|
|
|
4353
5232
|
end
|
|
4354
5233
|
end
|
|
4355
5234
|
|
|
4356
|
-
#
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
#
|
|
4396
|
-
#
|
|
4397
|
-
#
|
|
4398
|
-
#
|
|
4399
|
-
#
|
|
4400
|
-
#
|
|
4401
|
-
#
|
|
4402
|
-
#
|
|
5235
|
+
# Details on why a resource update failed in the runtime.
|
|
5236
|
+
class GoogleCloudApigeeV1UpdateError
|
|
5237
|
+
include Google::Apis::Core::Hashable
|
|
5238
|
+
|
|
5239
|
+
# Status code.
|
|
5240
|
+
# Corresponds to the JSON property `code`
|
|
5241
|
+
# @return [String]
|
|
5242
|
+
attr_accessor :code
|
|
5243
|
+
|
|
5244
|
+
# User-friendly error message.
|
|
5245
|
+
# Corresponds to the JSON property `message`
|
|
5246
|
+
# @return [String]
|
|
5247
|
+
attr_accessor :message
|
|
5248
|
+
|
|
5249
|
+
# The sub resource specific to this error (e.g. a proxy deployed within the
|
|
5250
|
+
# EnvironmentConfig). If empty the error refers to the top level resource.
|
|
5251
|
+
# Corresponds to the JSON property `resource`
|
|
5252
|
+
# @return [String]
|
|
5253
|
+
attr_accessor :resource
|
|
5254
|
+
|
|
5255
|
+
# A string that uniquely identifies the type of error. This provides a more
|
|
5256
|
+
# reliable means to deduplicate errors across revisions and instances.
|
|
5257
|
+
# Corresponds to the JSON property `type`
|
|
5258
|
+
# @return [String]
|
|
5259
|
+
attr_accessor :type
|
|
5260
|
+
|
|
5261
|
+
def initialize(**args)
|
|
5262
|
+
update!(**args)
|
|
5263
|
+
end
|
|
5264
|
+
|
|
5265
|
+
# Update properties of this object
|
|
5266
|
+
def update!(**args)
|
|
5267
|
+
@code = args[:code] if args.key?(:code)
|
|
5268
|
+
@message = args[:message] if args.key?(:message)
|
|
5269
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
5270
|
+
@type = args[:type] if args.key?(:type)
|
|
5271
|
+
end
|
|
5272
|
+
end
|
|
5273
|
+
|
|
5274
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
5275
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
5276
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
5277
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
5278
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
5279
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
5280
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
5281
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
5282
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
5283
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
5284
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
5285
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
5286
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
5287
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
5288
|
+
# DATA_WRITE logging.
|
|
4403
5289
|
class GoogleIamV1AuditConfig
|
|
4404
5290
|
include Google::Apis::Core::Hashable
|
|
4405
5291
|
|
|
@@ -4408,9 +5294,9 @@ module Google
|
|
|
4408
5294
|
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1AuditLogConfig>]
|
|
4409
5295
|
attr_accessor :audit_log_configs
|
|
4410
5296
|
|
|
4411
|
-
# Specifies a service that will be enabled for audit logging.
|
|
4412
|
-
#
|
|
4413
|
-
#
|
|
5297
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
5298
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
5299
|
+
# value that covers all services.
|
|
4414
5300
|
# Corresponds to the JSON property `service`
|
|
4415
5301
|
# @return [String]
|
|
4416
5302
|
attr_accessor :service
|
|
@@ -4426,28 +5312,15 @@ module Google
|
|
|
4426
5312
|
end
|
|
4427
5313
|
end
|
|
4428
5314
|
|
|
4429
|
-
# Provides the configuration for logging a type of permissions.
|
|
4430
|
-
#
|
|
4431
|
-
# `
|
|
4432
|
-
#
|
|
4433
|
-
#
|
|
4434
|
-
# "log_type": "DATA_READ",
|
|
4435
|
-
# "exempted_members": [
|
|
4436
|
-
# "user:jose@example.com"
|
|
4437
|
-
# ]
|
|
4438
|
-
# `,
|
|
4439
|
-
# `
|
|
4440
|
-
# "log_type": "DATA_WRITE"
|
|
4441
|
-
# `
|
|
4442
|
-
# ]
|
|
4443
|
-
# `
|
|
4444
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
4445
|
-
# jose@example.com from DATA_READ logging.
|
|
5315
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
5316
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
5317
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
5318
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
5319
|
+
# DATA_READ logging.
|
|
4446
5320
|
class GoogleIamV1AuditLogConfig
|
|
4447
5321
|
include Google::Apis::Core::Hashable
|
|
4448
5322
|
|
|
4449
|
-
# Specifies the identities that do not cause logging for this type of
|
|
4450
|
-
# permission.
|
|
5323
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
4451
5324
|
# Follows the same format of Binding.members.
|
|
4452
5325
|
# Corresponds to the JSON property `exemptedMembers`
|
|
4453
5326
|
# @return [Array<String>]
|
|
@@ -4473,69 +5346,57 @@ module Google
|
|
|
4473
5346
|
class GoogleIamV1Binding
|
|
4474
5347
|
include Google::Apis::Core::Hashable
|
|
4475
5348
|
|
|
4476
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
4477
|
-
#
|
|
4478
|
-
#
|
|
4479
|
-
#
|
|
4480
|
-
#
|
|
4481
|
-
# description: "Determines if
|
|
4482
|
-
# expression: "document.
|
|
4483
|
-
#
|
|
4484
|
-
#
|
|
4485
|
-
#
|
|
4486
|
-
#
|
|
4487
|
-
#
|
|
4488
|
-
#
|
|
4489
|
-
#
|
|
4490
|
-
#
|
|
4491
|
-
# Example (Data Manipulation):
|
|
4492
|
-
# title: "Notification string"
|
|
4493
|
-
# description: "Create a notification string with a timestamp."
|
|
4494
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
4495
|
-
# The exact variables and functions that may be referenced within an expression
|
|
4496
|
-
# are determined by the service that evaluates it. See the service
|
|
4497
|
-
# documentation for additional information.
|
|
5349
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
5350
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
5351
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
5352
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
5353
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
5354
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
5355
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
5356
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
5357
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
5358
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
5359
|
+
# string" description: "Create a notification string with a timestamp."
|
|
5360
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
5361
|
+
# exact variables and functions that may be referenced within an expression are
|
|
5362
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
5363
|
+
# additional information.
|
|
4498
5364
|
# Corresponds to the JSON property `condition`
|
|
4499
5365
|
# @return [Google::Apis::ApigeeV1::GoogleTypeExpr]
|
|
4500
5366
|
attr_accessor :condition
|
|
4501
5367
|
|
|
4502
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
4503
|
-
#
|
|
4504
|
-
#
|
|
4505
|
-
#
|
|
4506
|
-
#
|
|
4507
|
-
#
|
|
4508
|
-
# * `
|
|
4509
|
-
# account. For example, `
|
|
4510
|
-
# * `
|
|
4511
|
-
#
|
|
4512
|
-
#
|
|
4513
|
-
# For example, `
|
|
4514
|
-
#
|
|
4515
|
-
#
|
|
4516
|
-
#
|
|
4517
|
-
#
|
|
4518
|
-
#
|
|
4519
|
-
#
|
|
4520
|
-
#
|
|
4521
|
-
# deleted
|
|
4522
|
-
#
|
|
4523
|
-
# If the
|
|
4524
|
-
# `
|
|
4525
|
-
# role in the binding.
|
|
4526
|
-
#
|
|
4527
|
-
#
|
|
4528
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
4529
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
4530
|
-
# recovered group retains the role in the binding.
|
|
4531
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
4532
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
|
5368
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
5369
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
5370
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
5371
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
5372
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
|
5373
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
|
5374
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
5375
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
|
5376
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
5377
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
5378
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
5379
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
5380
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
5381
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
5382
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
5383
|
+
# identifier) representing a service account that has been recently deleted. For
|
|
5384
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
5385
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
5386
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
5387
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
5388
|
+
# identifier) representing a Google group that has been recently deleted. For
|
|
5389
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
5390
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
5391
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
5392
|
+
# primary) that represents all the users of that domain. For example, `google.
|
|
5393
|
+
# com` or `example.com`.
|
|
4533
5394
|
# Corresponds to the JSON property `members`
|
|
4534
5395
|
# @return [Array<String>]
|
|
4535
5396
|
attr_accessor :members
|
|
4536
5397
|
|
|
4537
|
-
# Role that is assigned to `members`.
|
|
4538
|
-
#
|
|
5398
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
5399
|
+
# , or `roles/owner`.
|
|
4539
5400
|
# Corresponds to the JSON property `role`
|
|
4540
5401
|
# @return [String]
|
|
4541
5402
|
attr_accessor :role
|
|
@@ -4553,66 +5414,32 @@ module Google
|
|
|
4553
5414
|
end
|
|
4554
5415
|
|
|
4555
5416
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
4556
|
-
# controls for Google Cloud resources.
|
|
4557
|
-
# A `
|
|
4558
|
-
#
|
|
4559
|
-
#
|
|
4560
|
-
#
|
|
4561
|
-
#
|
|
4562
|
-
#
|
|
4563
|
-
#
|
|
4564
|
-
#
|
|
4565
|
-
#
|
|
4566
|
-
#
|
|
4567
|
-
# [
|
|
4568
|
-
#
|
|
4569
|
-
#
|
|
4570
|
-
# `
|
|
4571
|
-
# "
|
|
4572
|
-
# `
|
|
4573
|
-
# "
|
|
4574
|
-
#
|
|
4575
|
-
#
|
|
4576
|
-
#
|
|
4577
|
-
#
|
|
4578
|
-
#
|
|
4579
|
-
#
|
|
4580
|
-
#
|
|
4581
|
-
#
|
|
4582
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
4583
|
-
# "members": [
|
|
4584
|
-
# "user:eve@example.com"
|
|
4585
|
-
# ],
|
|
4586
|
-
# "condition": `
|
|
4587
|
-
# "title": "expirable access",
|
|
4588
|
-
# "description": "Does not grant access after Sep 2020",
|
|
4589
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4590
|
-
# ",
|
|
4591
|
-
# `
|
|
4592
|
-
# `
|
|
4593
|
-
# ],
|
|
4594
|
-
# "etag": "BwWWja0YfJA=",
|
|
4595
|
-
# "version": 3
|
|
4596
|
-
# `
|
|
4597
|
-
# **YAML example:**
|
|
4598
|
-
# bindings:
|
|
4599
|
-
# - members:
|
|
4600
|
-
# - user:mike@example.com
|
|
4601
|
-
# - group:admins@example.com
|
|
4602
|
-
# - domain:google.com
|
|
4603
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
4604
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
4605
|
-
# - members:
|
|
4606
|
-
# - user:eve@example.com
|
|
4607
|
-
# role: roles/resourcemanager.organizationViewer
|
|
4608
|
-
# condition:
|
|
4609
|
-
# title: expirable access
|
|
4610
|
-
# description: Does not grant access after Sep 2020
|
|
4611
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4612
|
-
# - etag: BwWWja0YfJA=
|
|
4613
|
-
# - version: 3
|
|
4614
|
-
# For a description of IAM and its features, see the
|
|
4615
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
5417
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
5418
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
5419
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
5420
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
5421
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
5422
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
5423
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
5424
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
5425
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
5426
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
5427
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
5428
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
5429
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
5430
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
5431
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
5432
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
5433
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
5434
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
5435
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
5436
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
5437
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
5438
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
5439
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
5440
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
5441
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
5442
|
+
# google.com/iam/docs/).
|
|
4616
5443
|
class GoogleIamV1Policy
|
|
4617
5444
|
include Google::Apis::Core::Hashable
|
|
4618
5445
|
|
|
@@ -4621,48 +5448,44 @@ module Google
|
|
|
4621
5448
|
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1AuditConfig>]
|
|
4622
5449
|
attr_accessor :audit_configs
|
|
4623
5450
|
|
|
4624
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
4625
|
-
#
|
|
4626
|
-
#
|
|
5451
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
5452
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
|
5453
|
+
# the `bindings` must contain at least one member.
|
|
4627
5454
|
# Corresponds to the JSON property `bindings`
|
|
4628
5455
|
# @return [Array<Google::Apis::ApigeeV1::GoogleIamV1Binding>]
|
|
4629
5456
|
attr_accessor :bindings
|
|
4630
5457
|
|
|
4631
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
|
4632
|
-
#
|
|
4633
|
-
#
|
|
4634
|
-
#
|
|
4635
|
-
#
|
|
4636
|
-
#
|
|
4637
|
-
#
|
|
4638
|
-
#
|
|
4639
|
-
#
|
|
4640
|
-
#
|
|
4641
|
-
#
|
|
5458
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
5459
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
5460
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
5461
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
5462
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
5463
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
5464
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
5465
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
5466
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
5467
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
5468
|
+
# are lost.
|
|
4642
5469
|
# Corresponds to the JSON property `etag`
|
|
4643
5470
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4644
5471
|
# @return [String]
|
|
4645
5472
|
attr_accessor :etag
|
|
4646
5473
|
|
|
4647
|
-
# Specifies the format of the policy.
|
|
4648
|
-
#
|
|
4649
|
-
#
|
|
4650
|
-
#
|
|
4651
|
-
#
|
|
4652
|
-
#
|
|
4653
|
-
#
|
|
4654
|
-
#
|
|
4655
|
-
#
|
|
4656
|
-
#
|
|
4657
|
-
#
|
|
4658
|
-
#
|
|
4659
|
-
#
|
|
4660
|
-
#
|
|
4661
|
-
#
|
|
4662
|
-
# specify any valid version or leave the field unset.
|
|
4663
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
4664
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
4665
|
-
# policies).
|
|
5474
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
5475
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
5476
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
5477
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
5478
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
5479
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
5480
|
+
# with or without a condition, from a policy that includes conditions **
|
|
5481
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
5482
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
5483
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
5484
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
5485
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
5486
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
5487
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
5488
|
+
# conditions/resource-policies).
|
|
4666
5489
|
# Corresponds to the JSON property `version`
|
|
4667
5490
|
# @return [Fixnum]
|
|
4668
5491
|
attr_accessor :version
|
|
@@ -4685,74 +5508,39 @@ module Google
|
|
|
4685
5508
|
include Google::Apis::Core::Hashable
|
|
4686
5509
|
|
|
4687
5510
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
4688
|
-
# controls for Google Cloud resources.
|
|
4689
|
-
# A `
|
|
4690
|
-
#
|
|
4691
|
-
#
|
|
4692
|
-
#
|
|
4693
|
-
#
|
|
4694
|
-
#
|
|
4695
|
-
#
|
|
4696
|
-
#
|
|
4697
|
-
#
|
|
4698
|
-
#
|
|
4699
|
-
# [
|
|
4700
|
-
#
|
|
4701
|
-
#
|
|
4702
|
-
# `
|
|
4703
|
-
# "
|
|
4704
|
-
# `
|
|
4705
|
-
# "
|
|
4706
|
-
#
|
|
4707
|
-
#
|
|
4708
|
-
#
|
|
4709
|
-
#
|
|
4710
|
-
#
|
|
4711
|
-
#
|
|
4712
|
-
#
|
|
4713
|
-
#
|
|
4714
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
4715
|
-
# "members": [
|
|
4716
|
-
# "user:eve@example.com"
|
|
4717
|
-
# ],
|
|
4718
|
-
# "condition": `
|
|
4719
|
-
# "title": "expirable access",
|
|
4720
|
-
# "description": "Does not grant access after Sep 2020",
|
|
4721
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4722
|
-
# ",
|
|
4723
|
-
# `
|
|
4724
|
-
# `
|
|
4725
|
-
# ],
|
|
4726
|
-
# "etag": "BwWWja0YfJA=",
|
|
4727
|
-
# "version": 3
|
|
4728
|
-
# `
|
|
4729
|
-
# **YAML example:**
|
|
4730
|
-
# bindings:
|
|
4731
|
-
# - members:
|
|
4732
|
-
# - user:mike@example.com
|
|
4733
|
-
# - group:admins@example.com
|
|
4734
|
-
# - domain:google.com
|
|
4735
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
4736
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
4737
|
-
# - members:
|
|
4738
|
-
# - user:eve@example.com
|
|
4739
|
-
# role: roles/resourcemanager.organizationViewer
|
|
4740
|
-
# condition:
|
|
4741
|
-
# title: expirable access
|
|
4742
|
-
# description: Does not grant access after Sep 2020
|
|
4743
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
4744
|
-
# - etag: BwWWja0YfJA=
|
|
4745
|
-
# - version: 3
|
|
4746
|
-
# For a description of IAM and its features, see the
|
|
4747
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
5511
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
5512
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
5513
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
5514
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
5515
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
5516
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
5517
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
5518
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
5519
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
5520
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
5521
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
5522
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
5523
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
5524
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
5525
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
5526
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
5527
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
5528
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
5529
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
5530
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
5531
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
5532
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
5533
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
5534
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
5535
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
5536
|
+
# google.com/iam/docs/).
|
|
4748
5537
|
# Corresponds to the JSON property `policy`
|
|
4749
5538
|
# @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
|
|
4750
5539
|
attr_accessor :policy
|
|
4751
5540
|
|
|
4752
5541
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
4753
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
|
4754
|
-
#
|
|
4755
|
-
# `paths: "bindings, etag"`
|
|
5542
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
5543
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
4756
5544
|
# Corresponds to the JSON property `updateMask`
|
|
4757
5545
|
# @return [String]
|
|
4758
5546
|
attr_accessor :update_mask
|
|
@@ -4772,10 +5560,9 @@ module Google
|
|
|
4772
5560
|
class GoogleIamV1TestIamPermissionsRequest
|
|
4773
5561
|
include Google::Apis::Core::Hashable
|
|
4774
5562
|
|
|
4775
|
-
# The set of permissions to check for the `resource`. Permissions with
|
|
4776
|
-
#
|
|
4777
|
-
#
|
|
4778
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
5563
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
5564
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
5565
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
4779
5566
|
# Corresponds to the JSON property `permissions`
|
|
4780
5567
|
# @return [Array<String>]
|
|
4781
5568
|
attr_accessor :permissions
|
|
@@ -4794,8 +5581,7 @@ module Google
|
|
|
4794
5581
|
class GoogleIamV1TestIamPermissionsResponse
|
|
4795
5582
|
include Google::Apis::Core::Hashable
|
|
4796
5583
|
|
|
4797
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
4798
|
-
# allowed.
|
|
5584
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
4799
5585
|
# Corresponds to the JSON property `permissions`
|
|
4800
5586
|
# @return [Array<String>]
|
|
4801
5587
|
attr_accessor :permissions
|
|
@@ -4840,47 +5626,45 @@ module Google
|
|
|
4840
5626
|
class GoogleLongrunningOperation
|
|
4841
5627
|
include Google::Apis::Core::Hashable
|
|
4842
5628
|
|
|
4843
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
4844
|
-
#
|
|
4845
|
-
# available.
|
|
5629
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
5630
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
4846
5631
|
# Corresponds to the JSON property `done`
|
|
4847
5632
|
# @return [Boolean]
|
|
4848
5633
|
attr_accessor :done
|
|
4849
5634
|
alias_method :done?, :done
|
|
4850
5635
|
|
|
4851
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
4852
|
-
#
|
|
4853
|
-
#
|
|
4854
|
-
#
|
|
4855
|
-
#
|
|
4856
|
-
#
|
|
5636
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
5637
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
5638
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
5639
|
+
# data: error code, error message, and error details. You can find out more
|
|
5640
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
5641
|
+
# //cloud.google.com/apis/design/errors).
|
|
4857
5642
|
# Corresponds to the JSON property `error`
|
|
4858
5643
|
# @return [Google::Apis::ApigeeV1::GoogleRpcStatus]
|
|
4859
5644
|
attr_accessor :error
|
|
4860
5645
|
|
|
4861
|
-
# Service-specific metadata associated with the operation.
|
|
4862
|
-
#
|
|
4863
|
-
#
|
|
4864
|
-
#
|
|
5646
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
5647
|
+
# progress information and common metadata such as create time. Some services
|
|
5648
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
5649
|
+
# operation should document the metadata type, if any.
|
|
4865
5650
|
# Corresponds to the JSON property `metadata`
|
|
4866
5651
|
# @return [Hash<String,Object>]
|
|
4867
5652
|
attr_accessor :metadata
|
|
4868
5653
|
|
|
4869
5654
|
# The server-assigned name, which is only unique within the same service that
|
|
4870
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
4871
|
-
#
|
|
5655
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
5656
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
4872
5657
|
# Corresponds to the JSON property `name`
|
|
4873
5658
|
# @return [String]
|
|
4874
5659
|
attr_accessor :name
|
|
4875
5660
|
|
|
4876
|
-
# The normal response of the operation in case of success.
|
|
4877
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
4878
|
-
#
|
|
4879
|
-
#
|
|
4880
|
-
#
|
|
4881
|
-
#
|
|
4882
|
-
#
|
|
4883
|
-
# `TakeSnapshotResponse`.
|
|
5661
|
+
# The normal response of the operation in case of success. If the original
|
|
5662
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
5663
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
5664
|
+
# the response should be the resource. For other methods, the response should
|
|
5665
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
5666
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
5667
|
+
# response type is `TakeSnapshotResponse`.
|
|
4884
5668
|
# Corresponds to the JSON property `response`
|
|
4885
5669
|
# @return [Hash<String,Object>]
|
|
4886
5670
|
attr_accessor :response
|
|
@@ -4899,13 +5683,11 @@ module Google
|
|
|
4899
5683
|
end
|
|
4900
5684
|
end
|
|
4901
5685
|
|
|
4902
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
4903
|
-
#
|
|
4904
|
-
#
|
|
4905
|
-
#
|
|
4906
|
-
#
|
|
4907
|
-
# `
|
|
4908
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
5686
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
5687
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
5688
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
5689
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
5690
|
+
# `Empty` is empty JSON object ````.
|
|
4909
5691
|
class GoogleProtobufEmpty
|
|
4910
5692
|
include Google::Apis::Core::Hashable
|
|
4911
5693
|
|
|
@@ -4918,12 +5700,70 @@ module Google
|
|
|
4918
5700
|
end
|
|
4919
5701
|
end
|
|
4920
5702
|
|
|
4921
|
-
#
|
|
4922
|
-
#
|
|
4923
|
-
#
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
5703
|
+
# Describes what preconditions have failed. For example, if an RPC failed
|
|
5704
|
+
# because it required the Terms of Service to be acknowledged, it could list the
|
|
5705
|
+
# terms of service violation in the PreconditionFailure message.
|
|
5706
|
+
class GoogleRpcPreconditionFailure
|
|
5707
|
+
include Google::Apis::Core::Hashable
|
|
5708
|
+
|
|
5709
|
+
# Describes all precondition violations.
|
|
5710
|
+
# Corresponds to the JSON property `violations`
|
|
5711
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation>]
|
|
5712
|
+
attr_accessor :violations
|
|
5713
|
+
|
|
5714
|
+
def initialize(**args)
|
|
5715
|
+
update!(**args)
|
|
5716
|
+
end
|
|
5717
|
+
|
|
5718
|
+
# Update properties of this object
|
|
5719
|
+
def update!(**args)
|
|
5720
|
+
@violations = args[:violations] if args.key?(:violations)
|
|
5721
|
+
end
|
|
5722
|
+
end
|
|
5723
|
+
|
|
5724
|
+
# A message type used to describe a single precondition failure.
|
|
5725
|
+
class GoogleRpcPreconditionFailureViolation
|
|
5726
|
+
include Google::Apis::Core::Hashable
|
|
5727
|
+
|
|
5728
|
+
# A description of how the precondition failed. Developers can use this
|
|
5729
|
+
# description to understand how to fix the failure. For example: "Terms of
|
|
5730
|
+
# service not accepted".
|
|
5731
|
+
# Corresponds to the JSON property `description`
|
|
5732
|
+
# @return [String]
|
|
5733
|
+
attr_accessor :description
|
|
5734
|
+
|
|
5735
|
+
# The subject, relative to the type, that failed. For example, "google.com/cloud"
|
|
5736
|
+
# relative to the "TOS" type would indicate which terms of service is being
|
|
5737
|
+
# referenced.
|
|
5738
|
+
# Corresponds to the JSON property `subject`
|
|
5739
|
+
# @return [String]
|
|
5740
|
+
attr_accessor :subject
|
|
5741
|
+
|
|
5742
|
+
# The type of PreconditionFailure. We recommend using a service-specific enum
|
|
5743
|
+
# type to define the supported precondition violation subjects. For example, "
|
|
5744
|
+
# TOS" for "Terms of Service violation".
|
|
5745
|
+
# Corresponds to the JSON property `type`
|
|
5746
|
+
# @return [String]
|
|
5747
|
+
attr_accessor :type
|
|
5748
|
+
|
|
5749
|
+
def initialize(**args)
|
|
5750
|
+
update!(**args)
|
|
5751
|
+
end
|
|
5752
|
+
|
|
5753
|
+
# Update properties of this object
|
|
5754
|
+
def update!(**args)
|
|
5755
|
+
@description = args[:description] if args.key?(:description)
|
|
5756
|
+
@subject = args[:subject] if args.key?(:subject)
|
|
5757
|
+
@type = args[:type] if args.key?(:type)
|
|
5758
|
+
end
|
|
5759
|
+
end
|
|
5760
|
+
|
|
5761
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
5762
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
5763
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
5764
|
+
# data: error code, error message, and error details. You can find out more
|
|
5765
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
5766
|
+
# //cloud.google.com/apis/design/errors).
|
|
4927
5767
|
class GoogleRpcStatus
|
|
4928
5768
|
include Google::Apis::Core::Hashable
|
|
4929
5769
|
|
|
@@ -4932,15 +5772,15 @@ module Google
|
|
|
4932
5772
|
# @return [Fixnum]
|
|
4933
5773
|
attr_accessor :code
|
|
4934
5774
|
|
|
4935
|
-
# A list of messages that carry the error details.
|
|
5775
|
+
# A list of messages that carry the error details. There is a common set of
|
|
4936
5776
|
# message types for APIs to use.
|
|
4937
5777
|
# Corresponds to the JSON property `details`
|
|
4938
5778
|
# @return [Array<Hash<String,Object>>]
|
|
4939
5779
|
attr_accessor :details
|
|
4940
5780
|
|
|
4941
|
-
# A developer-facing error message, which should be in English. Any
|
|
4942
|
-
#
|
|
4943
|
-
#
|
|
5781
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
5782
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
5783
|
+
# field, or localized by the client.
|
|
4944
5784
|
# Corresponds to the JSON property `message`
|
|
4945
5785
|
# @return [String]
|
|
4946
5786
|
attr_accessor :message
|
|
@@ -4957,52 +5797,43 @@ module Google
|
|
|
4957
5797
|
end
|
|
4958
5798
|
end
|
|
4959
5799
|
|
|
4960
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
4961
|
-
#
|
|
4962
|
-
#
|
|
4963
|
-
#
|
|
4964
|
-
#
|
|
4965
|
-
# description: "Determines if
|
|
4966
|
-
# expression: "document.
|
|
4967
|
-
#
|
|
4968
|
-
#
|
|
4969
|
-
#
|
|
4970
|
-
#
|
|
4971
|
-
#
|
|
4972
|
-
#
|
|
4973
|
-
#
|
|
4974
|
-
#
|
|
4975
|
-
# Example (Data Manipulation):
|
|
4976
|
-
# title: "Notification string"
|
|
4977
|
-
# description: "Create a notification string with a timestamp."
|
|
4978
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
4979
|
-
# The exact variables and functions that may be referenced within an expression
|
|
4980
|
-
# are determined by the service that evaluates it. See the service
|
|
4981
|
-
# documentation for additional information.
|
|
5800
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
5801
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
5802
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
5803
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
5804
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
5805
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
5806
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
5807
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
5808
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
5809
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
5810
|
+
# string" description: "Create a notification string with a timestamp."
|
|
5811
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
5812
|
+
# exact variables and functions that may be referenced within an expression are
|
|
5813
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
5814
|
+
# additional information.
|
|
4982
5815
|
class GoogleTypeExpr
|
|
4983
5816
|
include Google::Apis::Core::Hashable
|
|
4984
5817
|
|
|
4985
|
-
# Optional. Description of the expression. This is a longer text which
|
|
4986
|
-
#
|
|
5818
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
5819
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
4987
5820
|
# Corresponds to the JSON property `description`
|
|
4988
5821
|
# @return [String]
|
|
4989
5822
|
attr_accessor :description
|
|
4990
5823
|
|
|
4991
|
-
# Textual representation of an expression in Common Expression Language
|
|
4992
|
-
# syntax.
|
|
5824
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
4993
5825
|
# Corresponds to the JSON property `expression`
|
|
4994
5826
|
# @return [String]
|
|
4995
5827
|
attr_accessor :expression
|
|
4996
5828
|
|
|
4997
|
-
# Optional. String indicating the location of the expression for error
|
|
4998
|
-
#
|
|
5829
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
5830
|
+
# e.g. a file name and a position in the file.
|
|
4999
5831
|
# Corresponds to the JSON property `location`
|
|
5000
5832
|
# @return [String]
|
|
5001
5833
|
attr_accessor :location
|
|
5002
5834
|
|
|
5003
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
5004
|
-
#
|
|
5005
|
-
# expression.
|
|
5835
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
5836
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
5006
5837
|
# Corresponds to the JSON property `title`
|
|
5007
5838
|
# @return [String]
|
|
5008
5839
|
attr_accessor :title
|