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
|
@@ -23,12 +23,11 @@ module Google
|
|
|
23
23
|
# Apigee API
|
|
24
24
|
#
|
|
25
25
|
# The Apigee API lets you programmatically manage Apigee hybrid with a set of
|
|
26
|
-
# RESTful operations, including
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
# available as a free trial for a time period of 60 days.
|
|
26
|
+
# RESTful operations, including: - Create, edit, and delete API proxies - Manage
|
|
27
|
+
# users - Deploy and undeploy proxy revisions - Configure environments For
|
|
28
|
+
# information on using the APIs described in this section, see Get started using
|
|
29
|
+
# the APIs. *Note:* This product is available as a free trial for a time period
|
|
30
|
+
# of 60 days.
|
|
32
31
|
#
|
|
33
32
|
# @example
|
|
34
33
|
# require 'google/apis/apigee_v1'
|
|
@@ -53,10 +52,9 @@ module Google
|
|
|
53
52
|
@batch_path = 'batch'
|
|
54
53
|
end
|
|
55
54
|
|
|
56
|
-
# Lists hybrid services and its trusted issuers service account ids.
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
# ids.
|
|
55
|
+
# Lists hybrid services and its trusted issuers service account ids. This api is
|
|
56
|
+
# authenticated and unauthorized(allow all the users) and used by runtime authn-
|
|
57
|
+
# authz service to query control plane's issuer service account ids.
|
|
60
58
|
# @param [String] name
|
|
61
59
|
# Required. Must be of the form `hybrid/issuers`.
|
|
62
60
|
# @param [String] fields
|
|
@@ -86,16 +84,13 @@ module Google
|
|
|
86
84
|
execute_or_queue_command(command, &block)
|
|
87
85
|
end
|
|
88
86
|
|
|
89
|
-
# Creates an Apigee organization. See
|
|
90
|
-
#
|
|
91
|
-
# organization](https://docs.apigee.com/hybrid/latest/precog-provision).
|
|
87
|
+
# Creates an Apigee organization. See [Create an organization](https://docs.
|
|
88
|
+
# apigee.com/hybrid/latest/precog-provision).
|
|
92
89
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization] google_cloud_apigee_v1_organization_object
|
|
93
90
|
# @param [String] parent
|
|
94
91
|
# Required. Name of the GCP project in which to associate the Apigee
|
|
95
|
-
# organization.
|
|
96
|
-
#
|
|
97
|
-
# in your request:
|
|
98
|
-
# `projects/<project>`
|
|
92
|
+
# organization. Pass the information as a query parameter using the following
|
|
93
|
+
# structure in your request: `projects/`
|
|
99
94
|
# @param [String] fields
|
|
100
95
|
# Selector specifying which fields to include in a partial response.
|
|
101
96
|
# @param [String] quota_user
|
|
@@ -125,13 +120,11 @@ module Google
|
|
|
125
120
|
execute_or_queue_command(command, &block)
|
|
126
121
|
end
|
|
127
122
|
|
|
128
|
-
# Gets the profile for an Apigee organization.
|
|
129
|
-
#
|
|
130
|
-
# [Organizations](https://docs.apigee.com/hybrid/latest/terminology#
|
|
131
|
-
# organizations).
|
|
123
|
+
# Gets the profile for an Apigee organization. See [Organizations](https://docs.
|
|
124
|
+
# apigee.com/hybrid/latest/terminology#organizations).
|
|
132
125
|
# @param [String] name
|
|
133
|
-
# Required. Apigee organization name in the following format:
|
|
134
|
-
#
|
|
126
|
+
# Required. Apigee organization name in the following format: `organizations/`
|
|
127
|
+
# org``
|
|
135
128
|
# @param [String] fields
|
|
136
129
|
# Selector specifying which fields to include in a partial response.
|
|
137
130
|
# @param [String] quota_user
|
|
@@ -159,22 +152,49 @@ module Google
|
|
|
159
152
|
execute_or_queue_command(command, &block)
|
|
160
153
|
end
|
|
161
154
|
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
#
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
#
|
|
172
|
-
#
|
|
173
|
-
#
|
|
155
|
+
# Gets the deployed ingress configuration for an organization.
|
|
156
|
+
# @param [String] name
|
|
157
|
+
# Required. Name of the deployed configuration for the organization in the
|
|
158
|
+
# following format: 'organizations/`org`/deployedIngressConfig'.
|
|
159
|
+
# @param [String] fields
|
|
160
|
+
# Selector specifying which fields to include in a partial response.
|
|
161
|
+
# @param [String] quota_user
|
|
162
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
163
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
164
|
+
# @param [Google::Apis::RequestOptions] options
|
|
165
|
+
# Request-specific options
|
|
166
|
+
#
|
|
167
|
+
# @yield [result, err] Result & error if block supplied
|
|
168
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig] parsed result object
|
|
169
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
170
|
+
#
|
|
171
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig]
|
|
172
|
+
#
|
|
173
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
174
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
175
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
176
|
+
def get_organization_deployed_ingress_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
177
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
178
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig::Representation
|
|
179
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1IngressConfig
|
|
180
|
+
command.params['name'] = name unless name.nil?
|
|
181
|
+
command.query['fields'] = fields unless fields.nil?
|
|
182
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
183
|
+
execute_or_queue_command(command, &block)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# Lists the service accounts with the permissions required to allow the
|
|
187
|
+
# Synchronizer to download environment data from the control plane. An ETag is
|
|
188
|
+
# returned in the response to `getSyncAuthorization`. Pass that ETag when
|
|
189
|
+
# calling [setSyncAuthorization](setSyncAuthorization) to ensure that you are
|
|
190
|
+
# updating the correct version. If you don't pass the ETag in the call to `
|
|
191
|
+
# setSyncAuthorization`, then the existing authorization is overwritten
|
|
192
|
+
# indiscriminately. For more information, see [Enable Synchronizer access](https:
|
|
193
|
+
# //docs.apigee.com/hybrid/latest/synchronizer-access#enable-synchronizer-access)
|
|
194
|
+
# . **Note**: Available to Apigee hybrid only.
|
|
174
195
|
# @param [String] name
|
|
175
196
|
# Required. Name of the Apigee organization. Use the following structure in your
|
|
176
|
-
# request:
|
|
177
|
-
# `organizations/`org``
|
|
197
|
+
# request: `organizations/`org``
|
|
178
198
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GetSyncAuthorizationRequest] google_cloud_apigee_v1_get_sync_authorization_request_object
|
|
179
199
|
# @param [String] fields
|
|
180
200
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -206,12 +226,10 @@ module Google
|
|
|
206
226
|
end
|
|
207
227
|
|
|
208
228
|
# Lists the Apigee organizations and associated GCP projects that you have
|
|
209
|
-
# permission to access. See
|
|
210
|
-
#
|
|
211
|
-
# organizations).
|
|
229
|
+
# permission to access. See [Organizations](https://docs.apigee.com/hybrid/
|
|
230
|
+
# latest/terminology#organizations).
|
|
212
231
|
# @param [String] parent
|
|
213
|
-
# Required. Use the following structure in your request:
|
|
214
|
-
# `organizations`
|
|
232
|
+
# Required. Use the following structure in your request: `organizations`
|
|
215
233
|
# @param [String] fields
|
|
216
234
|
# Selector specifying which fields to include in a partial response.
|
|
217
235
|
# @param [String] quota_user
|
|
@@ -241,21 +259,16 @@ module Google
|
|
|
241
259
|
|
|
242
260
|
# Sets the permissions required to allow the Synchronizer to download
|
|
243
261
|
# environment data from the control plane. You must call this API to enable
|
|
244
|
-
# proper functioning of hybrid.
|
|
245
|
-
#
|
|
246
|
-
# you
|
|
247
|
-
# call
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
# [Enable Synchronizer
|
|
252
|
-
# access](https://docs.apigee.com/hybrid/latest/synchronizer-access#enable-
|
|
253
|
-
# synchronizer-access).
|
|
254
|
-
# **Note**: Available to Apigee hybrid only.
|
|
262
|
+
# proper functioning of hybrid. Pass the ETag when calling `setSyncAuthorization`
|
|
263
|
+
# to ensure that you are updating the correct version. To get an ETag, call [
|
|
264
|
+
# getSyncAuthorization](getSyncAuthorization). If you don't pass the ETag in the
|
|
265
|
+
# call to `setSyncAuthorization`, then the existing authorization is overwritten
|
|
266
|
+
# indiscriminately. For more information, see [Enable Synchronizer access](https:
|
|
267
|
+
# //docs.apigee.com/hybrid/latest/synchronizer-access#enable-synchronizer-access)
|
|
268
|
+
# . **Note**: Available to Apigee hybrid only.
|
|
255
269
|
# @param [String] name
|
|
256
270
|
# Required. Name of the Apigee organization. Use the following structure in your
|
|
257
|
-
# request:
|
|
258
|
-
# `organizations/`org``
|
|
271
|
+
# request: `organizations/`org``
|
|
259
272
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SyncAuthorization] google_cloud_apigee_v1_sync_authorization_object
|
|
260
273
|
# @param [String] fields
|
|
261
274
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -289,8 +302,8 @@ module Google
|
|
|
289
302
|
# Updates the properties for an Apigee organization. No other fields in the
|
|
290
303
|
# organization profile will be updated.
|
|
291
304
|
# @param [String] name
|
|
292
|
-
# Required. Apigee organization name in the following format:
|
|
293
|
-
#
|
|
305
|
+
# Required. Apigee organization name in the following format: `organizations/`
|
|
306
|
+
# org``
|
|
294
307
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Organization] google_cloud_apigee_v1_organization_object
|
|
295
308
|
# @param [String] fields
|
|
296
309
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -321,20 +334,219 @@ module Google
|
|
|
321
334
|
execute_or_queue_command(command, &block)
|
|
322
335
|
end
|
|
323
336
|
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
#
|
|
329
|
-
#
|
|
330
|
-
#
|
|
331
|
-
#
|
|
332
|
-
#
|
|
333
|
-
# to
|
|
337
|
+
# Create a Datastore for an org
|
|
338
|
+
# @param [String] parent
|
|
339
|
+
# Required. The parent organization name. Must be of the form `organizations/`
|
|
340
|
+
# org``.
|
|
341
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
|
|
342
|
+
# @param [String] fields
|
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
|
344
|
+
# @param [String] quota_user
|
|
345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
347
|
+
# @param [Google::Apis::RequestOptions] options
|
|
348
|
+
# Request-specific options
|
|
349
|
+
#
|
|
350
|
+
# @yield [result, err] Result & error if block supplied
|
|
351
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
|
|
352
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
353
|
+
#
|
|
354
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
|
355
|
+
#
|
|
356
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
357
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
358
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
359
|
+
def create_organization_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
360
|
+
command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores', options)
|
|
361
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
362
|
+
command.request_object = google_cloud_apigee_v1_datastore_object
|
|
363
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
364
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
|
365
|
+
command.params['parent'] = parent unless parent.nil?
|
|
366
|
+
command.query['fields'] = fields unless fields.nil?
|
|
367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
368
|
+
execute_or_queue_command(command, &block)
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# Delete a Datastore from an org.
|
|
372
|
+
# @param [String] name
|
|
373
|
+
# Required. Resource name of the Datastore to be deleted. Must be of the form `
|
|
374
|
+
# organizations/`org`/analytics/datastores/`datastoreId``
|
|
375
|
+
# @param [String] fields
|
|
376
|
+
# Selector specifying which fields to include in a partial response.
|
|
377
|
+
# @param [String] quota_user
|
|
378
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
379
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
380
|
+
# @param [Google::Apis::RequestOptions] options
|
|
381
|
+
# Request-specific options
|
|
382
|
+
#
|
|
383
|
+
# @yield [result, err] Result & error if block supplied
|
|
384
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
|
385
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
386
|
+
#
|
|
387
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
|
388
|
+
#
|
|
389
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
390
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
391
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
392
|
+
def delete_organization_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
393
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
394
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
|
395
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
|
396
|
+
command.params['name'] = name unless name.nil?
|
|
397
|
+
command.query['fields'] = fields unless fields.nil?
|
|
398
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
399
|
+
execute_or_queue_command(command, &block)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Get a Datastore
|
|
403
|
+
# @param [String] name
|
|
404
|
+
# Required. Resource name of the Datastore to be get. Must be of the form `
|
|
405
|
+
# organizations/`org`/analytics/datastores/`datastoreId``
|
|
406
|
+
# @param [String] fields
|
|
407
|
+
# Selector specifying which fields to include in a partial response.
|
|
408
|
+
# @param [String] quota_user
|
|
409
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
410
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
411
|
+
# @param [Google::Apis::RequestOptions] options
|
|
412
|
+
# Request-specific options
|
|
413
|
+
#
|
|
414
|
+
# @yield [result, err] Result & error if block supplied
|
|
415
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
|
|
416
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
417
|
+
#
|
|
418
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
|
419
|
+
#
|
|
420
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
421
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
422
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
423
|
+
def get_organization_analytic_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
424
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
425
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
426
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
|
427
|
+
command.params['name'] = name unless name.nil?
|
|
428
|
+
command.query['fields'] = fields unless fields.nil?
|
|
429
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
430
|
+
execute_or_queue_command(command, &block)
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# List Datastores
|
|
434
|
+
# @param [String] parent
|
|
435
|
+
# Required. The parent organization name. Must be of the form `organizations/`
|
|
436
|
+
# org``.
|
|
437
|
+
# @param [String] target_type
|
|
438
|
+
# Optional. TargetType is used to fetch all Datastores that match the type
|
|
439
|
+
# @param [String] fields
|
|
440
|
+
# Selector specifying which fields to include in a partial response.
|
|
441
|
+
# @param [String] quota_user
|
|
442
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
443
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
444
|
+
# @param [Google::Apis::RequestOptions] options
|
|
445
|
+
# Request-specific options
|
|
446
|
+
#
|
|
447
|
+
# @yield [result, err] Result & error if block supplied
|
|
448
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse] parsed result object
|
|
449
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
450
|
+
#
|
|
451
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse]
|
|
452
|
+
#
|
|
453
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
454
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
455
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
456
|
+
def list_organization_analytic_datastores(parent, target_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
457
|
+
command = make_simple_command(:get, 'v1/{+parent}/analytics/datastores', options)
|
|
458
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse::Representation
|
|
459
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDatastoresResponse
|
|
460
|
+
command.params['parent'] = parent unless parent.nil?
|
|
461
|
+
command.query['targetType'] = target_type unless target_type.nil?
|
|
462
|
+
command.query['fields'] = fields unless fields.nil?
|
|
463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
464
|
+
execute_or_queue_command(command, &block)
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
# Test if Datastore configuration is correct. This includes checking if
|
|
468
|
+
# credentials provided by customer have required permissions in target
|
|
469
|
+
# destination storage
|
|
470
|
+
# @param [String] parent
|
|
471
|
+
# Required. The parent organization name Must be of the form `organizations/`org`
|
|
472
|
+
# `
|
|
473
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
|
|
474
|
+
# @param [String] fields
|
|
475
|
+
# Selector specifying which fields to include in a partial response.
|
|
476
|
+
# @param [String] quota_user
|
|
477
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
478
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
479
|
+
# @param [Google::Apis::RequestOptions] options
|
|
480
|
+
# Request-specific options
|
|
481
|
+
#
|
|
482
|
+
# @yield [result, err] Result & error if block supplied
|
|
483
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse] parsed result object
|
|
484
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
485
|
+
#
|
|
486
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse]
|
|
487
|
+
#
|
|
488
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
489
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
490
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
491
|
+
def test_organization_analytic_datastore(parent, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
492
|
+
command = make_simple_command(:post, 'v1/{+parent}/analytics/datastores:test', options)
|
|
493
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
494
|
+
command.request_object = google_cloud_apigee_v1_datastore_object
|
|
495
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse::Representation
|
|
496
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TestDatastoreResponse
|
|
497
|
+
command.params['parent'] = parent unless parent.nil?
|
|
498
|
+
command.query['fields'] = fields unless fields.nil?
|
|
499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
500
|
+
execute_or_queue_command(command, &block)
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# Update a Datastore
|
|
504
|
+
# @param [String] name
|
|
505
|
+
# Required. The resource name of datastore to be updated. Must be of the form `
|
|
506
|
+
# organizations/`org`/analytics/datastores/`datastoreId``
|
|
507
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] google_cloud_apigee_v1_datastore_object
|
|
508
|
+
# @param [String] fields
|
|
509
|
+
# Selector specifying which fields to include in a partial response.
|
|
510
|
+
# @param [String] quota_user
|
|
511
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
512
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
513
|
+
# @param [Google::Apis::RequestOptions] options
|
|
514
|
+
# Request-specific options
|
|
515
|
+
#
|
|
516
|
+
# @yield [result, err] Result & error if block supplied
|
|
517
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore] parsed result object
|
|
518
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
519
|
+
#
|
|
520
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore]
|
|
521
|
+
#
|
|
522
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
523
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
524
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
525
|
+
def update_organization_analytic_datastore(name, google_cloud_apigee_v1_datastore_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
526
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
527
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
528
|
+
command.request_object = google_cloud_apigee_v1_datastore_object
|
|
529
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore::Representation
|
|
530
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore
|
|
531
|
+
command.params['name'] = name unless name.nil?
|
|
532
|
+
command.query['fields'] = fields unless fields.nil?
|
|
533
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
534
|
+
execute_or_queue_command(command, &block)
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
# Updates or creates API product attributes. This API **replaces** the current
|
|
538
|
+
# list of attributes with the attributes specified in the request body. In this
|
|
539
|
+
# way, you can update existing attributes, add new attributes, or delete
|
|
540
|
+
# existing attributes by omitting them from the request body. OAuth access
|
|
541
|
+
# tokens and Key Management Service (KMS) entities (apps, developers, and API
|
|
542
|
+
# products) are cached for 180 seconds (current default). Any custom attributes
|
|
543
|
+
# associated with entities also get cached for at least 180 seconds after entity
|
|
544
|
+
# is accessed during runtime. In this case, the `ExpiresIn` element on the
|
|
545
|
+
# OAuthV2 policy won't be able to expire an access token in less than 180
|
|
546
|
+
# seconds.
|
|
334
547
|
# @param [String] name
|
|
335
|
-
# **Required.** API product name in the following form:
|
|
336
|
-
#
|
|
337
|
-
# api_product_name</var></pre>
|
|
548
|
+
# **Required.** API product name in the following form: organizations/
|
|
549
|
+
# organization_ID/apiproducts/api_product_name
|
|
338
550
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
|
|
339
551
|
# @param [String] fields
|
|
340
552
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -365,38 +577,25 @@ module Google
|
|
|
365
577
|
execute_or_queue_command(command, &block)
|
|
366
578
|
end
|
|
367
579
|
|
|
368
|
-
# Creates an API product in an organization.
|
|
369
|
-
#
|
|
370
|
-
#
|
|
371
|
-
#
|
|
372
|
-
#
|
|
373
|
-
#
|
|
374
|
-
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
# API
|
|
380
|
-
#
|
|
381
|
-
#
|
|
382
|
-
#
|
|
383
|
-
# start testing your APIs.
|
|
384
|
-
# After you have authentication and authorization
|
|
385
|
-
# working against a simple API product, you can iterate to create finer
|
|
386
|
-
# grained API products, defining different sets of API resources for each API
|
|
387
|
-
# product.
|
|
388
|
-
# <aside class="warning"><strong>WARNING:</strong>
|
|
389
|
-
# - If you don't specify an API proxy in the request body, <em>any</em> app
|
|
390
|
-
# associated with the product can make calls to <em>any</em> API in your
|
|
391
|
-
# entire organization.
|
|
392
|
-
# - If you don't specify an environment in the request body, the product
|
|
393
|
-
# allows access to all environments.
|
|
394
|
-
# </aside>
|
|
580
|
+
# Creates an API product in an organization. You create API products after you
|
|
581
|
+
# have proxied backend services using API proxies. An API product is a
|
|
582
|
+
# collection of API resources combined with quota settings and metadata that you
|
|
583
|
+
# can use to deliver customized and productized API bundles to your developer
|
|
584
|
+
# community. This metadata can include: - Scope - Environments - API proxies -
|
|
585
|
+
# Extensible profile API products enable you repackage APIs on-the-fly, without
|
|
586
|
+
# having to do any additional coding or configuration. Apigee recommends that
|
|
587
|
+
# you start with a simple API product including only required elements. You then
|
|
588
|
+
# provision credentials to apps to enable them to start testing your APIs. After
|
|
589
|
+
# you have authentication and authorization working against a simple API product,
|
|
590
|
+
# you can iterate to create finer grained API products, defining different sets
|
|
591
|
+
# of API resources for each API product. *WARNING:* - If you don't specify an
|
|
592
|
+
# API proxy in the request body, *any* app associated with the product can make
|
|
593
|
+
# calls to *any* API in your entire organization. - If you don't specify an
|
|
594
|
+
# environment in the request body, the product allows access to all environments.
|
|
395
595
|
# For more information, see ``what_api_product``
|
|
396
596
|
# @param [String] parent
|
|
397
|
-
# Required. The parent organization name under which the API product will
|
|
398
|
-
#
|
|
399
|
-
# <pre>organizations/<var>organization_ID</var></pre>
|
|
597
|
+
# Required. The parent organization name under which the API product will be
|
|
598
|
+
# created. Must be in the following form: organizations/organization_ID
|
|
400
599
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
|
|
401
600
|
# @param [String] fields
|
|
402
601
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -427,21 +626,17 @@ module Google
|
|
|
427
626
|
execute_or_queue_command(command, &block)
|
|
428
627
|
end
|
|
429
628
|
|
|
430
|
-
# Deletes an API product from an organization.
|
|
431
|
-
#
|
|
432
|
-
#
|
|
433
|
-
#
|
|
434
|
-
#
|
|
435
|
-
#
|
|
436
|
-
# product.
|
|
437
|
-
#
|
|
438
|
-
# the product, not the display name. While they may be the same, it depends
|
|
439
|
-
# on whether the API product was created via the UI or the API. View the list
|
|
440
|
-
# of API products to verify the internal name.
|
|
629
|
+
# Deletes an API product from an organization. Deleting an API product causes
|
|
630
|
+
# app requests to the resource URIs defined in the API product to fail. Ensure
|
|
631
|
+
# that you create a new API product to serve existing apps, unless your
|
|
632
|
+
# intention is to disable access to the resources defined in the API product.
|
|
633
|
+
# The API product name required in the request URL is the internal name of the
|
|
634
|
+
# product, not the display name. While they may be the same, it depends on
|
|
635
|
+
# whether the API product was created via the UI or the API. View the list of
|
|
636
|
+
# API products to verify the internal name.
|
|
441
637
|
# @param [String] name
|
|
442
|
-
# Required. API product name in the following form:
|
|
443
|
-
#
|
|
444
|
-
# api_product_name</var></pre>
|
|
638
|
+
# Required. API product name in the following form: organizations/
|
|
639
|
+
# organization_ID/apiproducts/api_product_name
|
|
445
640
|
# @param [String] fields
|
|
446
641
|
# Selector specifying which fields to include in a partial response.
|
|
447
642
|
# @param [String] quota_user
|
|
@@ -469,15 +664,14 @@ module Google
|
|
|
469
664
|
execute_or_queue_command(command, &block)
|
|
470
665
|
end
|
|
471
666
|
|
|
472
|
-
# Gets configuration details for an API product.
|
|
473
|
-
#
|
|
474
|
-
#
|
|
475
|
-
#
|
|
476
|
-
#
|
|
667
|
+
# Gets configuration details for an API product. The API product name required
|
|
668
|
+
# in the request URL is the internal name of the product, not the display name.
|
|
669
|
+
# While they may be the same, it depends on whether the API product was created
|
|
670
|
+
# via the UI or the API. View the list of API products to verify the internal
|
|
671
|
+
# name.
|
|
477
672
|
# @param [String] name
|
|
478
|
-
# **Required.** API product name in the following form:
|
|
479
|
-
#
|
|
480
|
-
# api_product_name</var></pre>
|
|
673
|
+
# **Required.** API product name in the following form: organizations/
|
|
674
|
+
# organization_ID/apiproducts/api_product_name
|
|
481
675
|
# @param [String] fields
|
|
482
676
|
# Selector specifying which fields to include in a partial response.
|
|
483
677
|
# @param [String] quota_user
|
|
@@ -505,29 +699,28 @@ module Google
|
|
|
505
699
|
execute_or_queue_command(command, &block)
|
|
506
700
|
end
|
|
507
701
|
|
|
508
|
-
# Lists all API product names for an organization.
|
|
509
|
-
#
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
# `count` query parameters.
|
|
702
|
+
# Lists all API product names for an organization. Filter the list by passing an
|
|
703
|
+
# `attributename` and `attibutevalue`. The limit on the number of API products
|
|
704
|
+
# returned by the API is 1000. You can paginate the list of API products
|
|
705
|
+
# returned using the `startKey` and `count` query parameters.
|
|
513
706
|
# @param [String] parent
|
|
514
707
|
# **Required.** The parent organization name in the following form:
|
|
515
|
-
#
|
|
708
|
+
# organizations/organization_ID
|
|
516
709
|
# @param [String] attributename
|
|
517
710
|
# The name of the attribute to search.
|
|
518
711
|
# @param [String] attributevalue
|
|
519
712
|
# The value of the attribute.
|
|
520
713
|
# @param [Fixnum] count
|
|
521
|
-
# Enter the number of API products you want returned in the API call. The
|
|
522
|
-
#
|
|
714
|
+
# Enter the number of API products you want returned in the API call. The limit
|
|
715
|
+
# is 1000.
|
|
523
716
|
# @param [Boolean] expand
|
|
524
717
|
# Set to `true` to get expanded details about each API.
|
|
525
718
|
# @param [String] start_key
|
|
526
|
-
# Gets a list of API products starting with a specific API product in the
|
|
527
|
-
#
|
|
528
|
-
#
|
|
529
|
-
#
|
|
530
|
-
#
|
|
719
|
+
# Gets a list of API products starting with a specific API product in the list.
|
|
720
|
+
# For example, if you're returning 50 API products at a time (using the `count`
|
|
721
|
+
# query parameter), you can view products 50-99 by entering the name of the 50th
|
|
722
|
+
# API product in the first API (without using `startKey`). Product name is case
|
|
723
|
+
# sensitive.
|
|
531
724
|
# @param [String] fields
|
|
532
725
|
# Selector specifying which fields to include in a partial response.
|
|
533
726
|
# @param [String] quota_user
|
|
@@ -560,17 +753,15 @@ module Google
|
|
|
560
753
|
execute_or_queue_command(command, &block)
|
|
561
754
|
end
|
|
562
755
|
|
|
563
|
-
# Updates an existing API product. You must include all required values,
|
|
564
|
-
#
|
|
565
|
-
#
|
|
566
|
-
#
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
# the list of API products to identify their internal names.
|
|
756
|
+
# Updates an existing API product. You must include all required values, whether
|
|
757
|
+
# or not you are updating them, as well as any optional values that you are
|
|
758
|
+
# updating. The API product name required in the request URL is the internal
|
|
759
|
+
# name of the product, not the Display Name. While they may be the same, it
|
|
760
|
+
# depends on whether the API product was created via UI or API. View the list of
|
|
761
|
+
# API products to identify their internal names.
|
|
570
762
|
# @param [String] name
|
|
571
|
-
# **Required.** API product name in the following form:
|
|
572
|
-
#
|
|
573
|
-
# api_product_name</var></pre>
|
|
763
|
+
# **Required.** API product name in the following form: organizations/
|
|
764
|
+
# organization_ID/apiproducts/api_product_name
|
|
574
765
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
|
|
575
766
|
# @param [String] fields
|
|
576
767
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -603,9 +794,8 @@ module Google
|
|
|
603
794
|
|
|
604
795
|
# Deletes an API product attribute.
|
|
605
796
|
# @param [String] name
|
|
606
|
-
# **Required.** API product name in the following form:
|
|
607
|
-
#
|
|
608
|
-
# api_product_name</var>/attributes/<var>attribute_name</var></pre>
|
|
797
|
+
# **Required.** API product name in the following form: organizations/
|
|
798
|
+
# organization_ID/apiproducts/api_product_name/attributes/attribute_name
|
|
609
799
|
# @param [String] fields
|
|
610
800
|
# Selector specifying which fields to include in a partial response.
|
|
611
801
|
# @param [String] quota_user
|
|
@@ -635,9 +825,8 @@ module Google
|
|
|
635
825
|
|
|
636
826
|
# Returns the value of an API product attribute.
|
|
637
827
|
# @param [String] name
|
|
638
|
-
# **Required.** API product name in the following form:
|
|
639
|
-
#
|
|
640
|
-
# api_product_name</var>/attributes/<var>attribute_name</var></pre>
|
|
828
|
+
# **Required.** API product name in the following form: organizations/
|
|
829
|
+
# organization_ID/apiproducts/api_product_name/attributes/attribute_name
|
|
641
830
|
# @param [String] fields
|
|
642
831
|
# Selector specifying which fields to include in a partial response.
|
|
643
832
|
# @param [String] quota_user
|
|
@@ -668,8 +857,7 @@ module Google
|
|
|
668
857
|
# Returns a list of all API product attributes.
|
|
669
858
|
# @param [String] parent
|
|
670
859
|
# Required. The parent organization name. Must be in the following form:
|
|
671
|
-
#
|
|
672
|
-
# api_product_name</var></pre>
|
|
860
|
+
# organizations/organization_ID/apiproducts/api_product_name
|
|
673
861
|
# @param [String] fields
|
|
674
862
|
# Selector specifying which fields to include in a partial response.
|
|
675
863
|
# @param [String] quota_user
|
|
@@ -697,17 +885,16 @@ module Google
|
|
|
697
885
|
execute_or_queue_command(command, &block)
|
|
698
886
|
end
|
|
699
887
|
|
|
700
|
-
# Updates the value of an API product attribute. Limitations are:
|
|
701
|
-
#
|
|
702
|
-
#
|
|
703
|
-
#
|
|
704
|
-
#
|
|
705
|
-
#
|
|
706
|
-
#
|
|
888
|
+
# Updates the value of an API product attribute. Limitations are: OAuth access
|
|
889
|
+
# tokens and Key Management Service (KMS) entities (apps, developers, and API
|
|
890
|
+
# products) are cached for 180 seconds (current default). Any custom attributes
|
|
891
|
+
# associated with entities also get cached for at least 180 seconds after entity
|
|
892
|
+
# is accessed during runtime. In this case, the `ExpiresIn` element on the
|
|
893
|
+
# OAuthV2 policy won't be able to expire an access token in less than 180
|
|
894
|
+
# seconds.
|
|
707
895
|
# @param [String] name
|
|
708
|
-
# **Required.** API product name in the following form:
|
|
709
|
-
#
|
|
710
|
-
# api_product_name</var></pre>
|
|
896
|
+
# **Required.** API product name in the following form: organizations/
|
|
897
|
+
# organization_ID/apiproducts/api_product_name
|
|
711
898
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute] google_cloud_apigee_v1_attribute_object
|
|
712
899
|
# @param [String] fields
|
|
713
900
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -738,42 +925,34 @@ module Google
|
|
|
738
925
|
execute_or_queue_command(command, &block)
|
|
739
926
|
end
|
|
740
927
|
|
|
741
|
-
# Creates an API proxy.
|
|
742
|
-
#
|
|
743
|
-
#
|
|
744
|
-
#
|
|
745
|
-
#
|
|
746
|
-
#
|
|
747
|
-
#
|
|
748
|
-
#
|
|
749
|
-
#
|
|
750
|
-
#
|
|
751
|
-
#
|
|
752
|
-
#
|
|
753
|
-
#
|
|
754
|
-
#
|
|
755
|
-
# without importing it, set the `action` query
|
|
756
|
-
# parameter to `validate`.
|
|
757
|
-
# When importing an API proxy configuration bundle, if the API proxy
|
|
758
|
-
# does not exist, it will be created.
|
|
759
|
-
# If the API proxy exists, then a new revision is created. Invalid API
|
|
760
|
-
# proxy configurations are rejected, and a list of validation errors is
|
|
761
|
-
# returned to the client.
|
|
928
|
+
# Creates an API proxy. The API proxy created will not be accessible at runtime
|
|
929
|
+
# until it is deployed to an environment. Create a new API proxy by setting the `
|
|
930
|
+
# name` query parameter to the name of the API proxy. Import an API proxy
|
|
931
|
+
# configuration bundle stored in zip format on your local machine to your
|
|
932
|
+
# organization by doing the following: * Set the `name` query parameter to the
|
|
933
|
+
# name of the API proxy. * Set the `action` query parameter to `import`. * Set
|
|
934
|
+
# the `Content-Type` header to `multipart/form-data`. * Pass as a file the name
|
|
935
|
+
# of API proxy configuration bundle stored in zip format on your local machine
|
|
936
|
+
# using the `file` form field. **Note**: To validate the API proxy configuration
|
|
937
|
+
# bundle only without importing it, set the `action` query parameter to `
|
|
938
|
+
# validate`. When importing an API proxy configuration bundle, if the API proxy
|
|
939
|
+
# does not exist, it will be created. If the API proxy exists, then a new
|
|
940
|
+
# revision is created. Invalid API proxy configurations are rejected, and a list
|
|
941
|
+
# of validation errors is returned to the client.
|
|
762
942
|
# @param [String] parent
|
|
763
|
-
# Required. Name of the organization in the following format:
|
|
764
|
-
#
|
|
943
|
+
# Required. Name of the organization in the following format: `organizations/`
|
|
944
|
+
# org``
|
|
765
945
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
766
946
|
# @param [String] action
|
|
767
|
-
# Action to perform when importing an API proxy configuration bundle. Set
|
|
768
|
-
#
|
|
769
|
-
# * `
|
|
770
|
-
#
|
|
771
|
-
# importing it.
|
|
947
|
+
# Action to perform when importing an API proxy configuration bundle. Set this
|
|
948
|
+
# parameter to one of the following values: * `import` to import the API proxy
|
|
949
|
+
# configuration bundle. * `validate` to validate the API proxy configuration
|
|
950
|
+
# bundle without importing it.
|
|
772
951
|
# @param [String] name
|
|
773
952
|
# Name of the API proxy. Restrict the characters used to: A-Za-z0-9._-
|
|
774
953
|
# @param [Boolean] validate
|
|
775
|
-
# Ignored. All uploads are validated regardless of the value of this
|
|
776
|
-
#
|
|
954
|
+
# Ignored. All uploads are validated regardless of the value of this field.
|
|
955
|
+
# Maintained for compatibility with Apigee Edge API.
|
|
777
956
|
# @param [String] fields
|
|
778
957
|
# Selector specifying which fields to include in a partial response.
|
|
779
958
|
# @param [String] quota_user
|
|
@@ -809,8 +988,8 @@ module Google
|
|
|
809
988
|
# Deletes an API proxy and all associated endpoints, policies, resources, and
|
|
810
989
|
# revisions. The API proxy must be undeployed before you can delete it.
|
|
811
990
|
# @param [String] name
|
|
812
|
-
# Required. Name of the API proxy in the following format:
|
|
813
|
-
#
|
|
991
|
+
# Required. Name of the API proxy in the following format: `organizations/`org`/
|
|
992
|
+
# apis/`api``
|
|
814
993
|
# @param [String] fields
|
|
815
994
|
# Selector specifying which fields to include in a partial response.
|
|
816
995
|
# @param [String] quota_user
|
|
@@ -840,8 +1019,8 @@ module Google
|
|
|
840
1019
|
|
|
841
1020
|
# Gets an API proxy including a list of existing revisions.
|
|
842
1021
|
# @param [String] name
|
|
843
|
-
# Required. Name of the API proxy in the following format:
|
|
844
|
-
#
|
|
1022
|
+
# Required. Name of the API proxy in the following format: `organizations/`org`/
|
|
1023
|
+
# apis/`api``
|
|
845
1024
|
# @param [String] fields
|
|
846
1025
|
# Selector specifying which fields to include in a partial response.
|
|
847
1026
|
# @param [String] quota_user
|
|
@@ -870,11 +1049,10 @@ module Google
|
|
|
870
1049
|
end
|
|
871
1050
|
|
|
872
1051
|
# Lists the names of all API proxies in an organization. The names returned
|
|
873
|
-
# correspond to the names defined in the configuration files for each API
|
|
874
|
-
# proxy.
|
|
1052
|
+
# correspond to the names defined in the configuration files for each API proxy.
|
|
875
1053
|
# @param [String] parent
|
|
876
|
-
# Required. Name of the organization in the following format:
|
|
877
|
-
#
|
|
1054
|
+
# Required. Name of the organization in the following format: `organizations/`
|
|
1055
|
+
# org``
|
|
878
1056
|
# @param [Boolean] include_meta_data
|
|
879
1057
|
# Flag that specifies whether to include API proxy metadata in the response.
|
|
880
1058
|
# @param [Boolean] include_revisions
|
|
@@ -911,9 +1089,7 @@ module Google
|
|
|
911
1089
|
# Lists all deployments of an API proxy.
|
|
912
1090
|
# @param [String] parent
|
|
913
1091
|
# Required. Name of the API proxy for which to return deployment information in
|
|
914
|
-
# the
|
|
915
|
-
# following format:
|
|
916
|
-
# `organizations/`org`/apis/`api``
|
|
1092
|
+
# the following format: `organizations/`org`/apis/`api``
|
|
917
1093
|
# @param [String] fields
|
|
918
1094
|
# Selector specifying which fields to include in a partial response.
|
|
919
1095
|
# @param [String] quota_user
|
|
@@ -944,8 +1120,7 @@ module Google
|
|
|
944
1120
|
# Creates a key value map in an api proxy.
|
|
945
1121
|
# @param [String] parent
|
|
946
1122
|
# Required. The name of the environment in which to create the key value map.
|
|
947
|
-
# Must be of the form
|
|
948
|
-
# `organizations/`organization`/apis/`api``.
|
|
1123
|
+
# Must be of the form `organizations/`organization`/apis/`api``.
|
|
949
1124
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
|
|
950
1125
|
# @param [String] fields
|
|
951
1126
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -978,9 +1153,8 @@ module Google
|
|
|
978
1153
|
|
|
979
1154
|
# Delete a key value map in an api proxy.
|
|
980
1155
|
# @param [String] name
|
|
981
|
-
# Required. The name of the key value map.
|
|
982
|
-
#
|
|
983
|
-
# `organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``.
|
|
1156
|
+
# Required. The name of the key value map. Must be of the form `organizations/`
|
|
1157
|
+
# organization`/apis/`api`/keyvaluemaps/`keyvaluemap``.
|
|
984
1158
|
# @param [String] fields
|
|
985
1159
|
# Selector specifying which fields to include in a partial response.
|
|
986
1160
|
# @param [String] quota_user
|
|
@@ -1008,12 +1182,12 @@ module Google
|
|
|
1008
1182
|
execute_or_queue_command(command, &block)
|
|
1009
1183
|
end
|
|
1010
1184
|
|
|
1011
|
-
# Deletes an API proxy revision and all policies, resources, endpoints,
|
|
1012
|
-
#
|
|
1013
|
-
#
|
|
1185
|
+
# Deletes an API proxy revision and all policies, resources, endpoints, and
|
|
1186
|
+
# revisions associated with it. The API proxy revision must be undeployed before
|
|
1187
|
+
# you can delete it.
|
|
1014
1188
|
# @param [String] name
|
|
1015
|
-
# Required. API proxy revision in the following format:
|
|
1016
|
-
#
|
|
1189
|
+
# Required. API proxy revision in the following format: `organizations/`org`/
|
|
1190
|
+
# apis/`api`/revisions/`rev``
|
|
1017
1191
|
# @param [String] fields
|
|
1018
1192
|
# Selector specifying which fields to include in a partial response.
|
|
1019
1193
|
# @param [String] quota_user
|
|
@@ -1041,23 +1215,19 @@ module Google
|
|
|
1041
1215
|
execute_or_queue_command(command, &block)
|
|
1042
1216
|
end
|
|
1043
1217
|
|
|
1044
|
-
# Gets an API proxy revision.
|
|
1045
|
-
#
|
|
1046
|
-
#
|
|
1047
|
-
#
|
|
1048
|
-
#
|
|
1049
|
-
#
|
|
1050
|
-
#
|
|
1051
|
-
# configuration locally and upload the updated API proxy configuration
|
|
1052
|
-
# revision, as described in
|
|
1053
|
-
# [updateApiProxyRevision](updateApiProxyRevision).
|
|
1218
|
+
# Gets an API proxy revision. To download the API proxy configuration bundle for
|
|
1219
|
+
# the specified revision as a zip file, do the following: * Set the `format`
|
|
1220
|
+
# query parameter to `bundle`. * Set the `Accept` header to `application/zip`.
|
|
1221
|
+
# If you are using curl, specify `-o filename.zip` to save the output to a file;
|
|
1222
|
+
# otherwise, it displays to `stdout`. Then, develop the API proxy configuration
|
|
1223
|
+
# locally and upload the updated API proxy configuration revision, as described
|
|
1224
|
+
# in [updateApiProxyRevision](updateApiProxyRevision).
|
|
1054
1225
|
# @param [String] name
|
|
1055
|
-
# Required. API proxy revision in the following format:
|
|
1056
|
-
#
|
|
1226
|
+
# Required. API proxy revision in the following format: `organizations/`org`/
|
|
1227
|
+
# apis/`api`/revisions/`rev``
|
|
1057
1228
|
# @param [String] format
|
|
1058
|
-
# Format used when downloading the API proxy configuration revision.
|
|
1059
|
-
#
|
|
1060
|
-
# file.
|
|
1229
|
+
# Format used when downloading the API proxy configuration revision. Set to `
|
|
1230
|
+
# bundle` to download the API proxy configuration revision as a zip file.
|
|
1061
1231
|
# @param [String] fields
|
|
1062
1232
|
# Selector specifying which fields to include in a partial response.
|
|
1063
1233
|
# @param [String] quota_user
|
|
@@ -1087,15 +1257,14 @@ module Google
|
|
|
1087
1257
|
end
|
|
1088
1258
|
|
|
1089
1259
|
# Updates an existing API proxy revision by uploading the API proxy
|
|
1090
|
-
# configuration bundle as a zip file from your local machine.
|
|
1091
|
-
#
|
|
1092
|
-
#
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
# `multipart/form-data` or `application/octet-stream`.
|
|
1260
|
+
# configuration bundle as a zip file from your local machine. You can update
|
|
1261
|
+
# only API proxy revisions that have never been deployed. After deployment, an
|
|
1262
|
+
# API proxy revision becomes immutable, even if it is undeployed. Set the `
|
|
1263
|
+
# Content-Type` header to either `multipart/form-data` or `application/octet-
|
|
1264
|
+
# stream`.
|
|
1096
1265
|
# @param [String] name
|
|
1097
|
-
# Required. API proxy revision to update in the following format:
|
|
1098
|
-
# `
|
|
1266
|
+
# Required. API proxy revision to update in the following format: `organizations/
|
|
1267
|
+
# `org`/apis/`api`/revisions/`rev``
|
|
1099
1268
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
1100
1269
|
# @param [Boolean] validate
|
|
1101
1270
|
# Ignored. All uploads are validated regardless of the value of this field.
|
|
@@ -1133,9 +1302,8 @@ module Google
|
|
|
1133
1302
|
# Lists all deployments of an API proxy revision.
|
|
1134
1303
|
# @param [String] parent
|
|
1135
1304
|
# Required. Name of the API proxy revision for which to return deployment
|
|
1136
|
-
# information
|
|
1137
|
-
#
|
|
1138
|
-
# `organizations/`org`/apis/`api`/revisions/`rev``.
|
|
1305
|
+
# information in the following format: `organizations/`org`/apis/`api`/revisions/
|
|
1306
|
+
# `rev``.
|
|
1139
1307
|
# @param [String] fields
|
|
1140
1308
|
# Selector specifying which fields to include in a partial response.
|
|
1141
1309
|
# @param [String] quota_user
|
|
@@ -1165,8 +1333,7 @@ module Google
|
|
|
1165
1333
|
|
|
1166
1334
|
# Gets the app profile for the specified app ID.
|
|
1167
1335
|
# @param [String] name
|
|
1168
|
-
# Required. App ID in the following format:
|
|
1169
|
-
# `organizations/`org`/apps/`app``
|
|
1336
|
+
# Required. App ID in the following format: `organizations/`org`/apps/`app``
|
|
1170
1337
|
# @param [String] fields
|
|
1171
1338
|
# Selector specifying which fields to include in a partial response.
|
|
1172
1339
|
# @param [String] quota_user
|
|
@@ -1194,35 +1361,33 @@ module Google
|
|
|
1194
1361
|
execute_or_queue_command(command, &block)
|
|
1195
1362
|
end
|
|
1196
1363
|
|
|
1197
|
-
# Lists IDs of apps within an organization that have the specified app status
|
|
1198
|
-
#
|
|
1199
|
-
# (developer or company).
|
|
1364
|
+
# Lists IDs of apps within an organization that have the specified app status (
|
|
1365
|
+
# approved or revoked) or are of the specified app type (developer or company).
|
|
1200
1366
|
# @param [String] parent
|
|
1201
|
-
# Required. Resource path of the parent in the following format:
|
|
1202
|
-
#
|
|
1367
|
+
# Required. Resource path of the parent in the following format: `organizations/`
|
|
1368
|
+
# org``
|
|
1203
1369
|
# @param [String] api_product
|
|
1204
1370
|
# API product.
|
|
1205
1371
|
# @param [String] apptype
|
|
1206
|
-
# Optional. Filter by the type of the app. Valid values are `company` or
|
|
1207
|
-
#
|
|
1372
|
+
# Optional. Filter by the type of the app. Valid values are `company` or `
|
|
1373
|
+
# developer`. Defaults to `developer`.
|
|
1208
1374
|
# @param [Boolean] expand
|
|
1209
|
-
# Optional. Flag that specifies whether to return an expanded list of
|
|
1210
|
-
#
|
|
1375
|
+
# Optional. Flag that specifies whether to return an expanded list of apps for
|
|
1376
|
+
# the organization. Defaults to `false`.
|
|
1211
1377
|
# @param [String] ids
|
|
1212
1378
|
# Optional. Comma-separated list of app IDs on which to filter.
|
|
1213
1379
|
# @param [Boolean] include_cred
|
|
1214
|
-
# Optional. Flag that specifies whether to include credentials in the
|
|
1215
|
-
# response.
|
|
1380
|
+
# Optional. Flag that specifies whether to include credentials in the response.
|
|
1216
1381
|
# @param [String] key_status
|
|
1217
|
-
# Optional. Key status of the app. Valid values include `approved` or
|
|
1218
|
-
#
|
|
1382
|
+
# Optional. Key status of the app. Valid values include `approved` or `revoked`.
|
|
1383
|
+
# Defaults to `approved`.
|
|
1219
1384
|
# @param [Fixnum] rows
|
|
1220
1385
|
# Optional. Maximum number of app IDs to return. Defaults to 10000.
|
|
1221
1386
|
# @param [String] start_key
|
|
1222
1387
|
# Returns the list of apps starting from the specified app ID.
|
|
1223
1388
|
# @param [String] status
|
|
1224
|
-
# Optional. Filter by the status of the app. Valid values are `approved`
|
|
1225
|
-
#
|
|
1389
|
+
# Optional. Filter by the status of the app. Valid values are `approved` or `
|
|
1390
|
+
# revoked`. Defaults to `approved`.
|
|
1226
1391
|
# @param [String] fields
|
|
1227
1392
|
# Selector specifying which fields to include in a partial response.
|
|
1228
1393
|
# @param [String] quota_user
|
|
@@ -1262,13 +1427,10 @@ module Google
|
|
|
1262
1427
|
# Lists all deployments of API proxies or shared flows.
|
|
1263
1428
|
# @param [String] parent
|
|
1264
1429
|
# Required. Name of the organization for which to return deployment information
|
|
1265
|
-
# in the
|
|
1266
|
-
# following format:
|
|
1267
|
-
# `organizations/`org``
|
|
1430
|
+
# in the following format: `organizations/`org``
|
|
1268
1431
|
# @param [Boolean] shared_flows
|
|
1269
1432
|
# Optional. Flag that specifies whether to return shared flow or API proxy
|
|
1270
|
-
# deployments.
|
|
1271
|
-
# Set to `true` to return shared flow deployments; set to `false`
|
|
1433
|
+
# deployments. Set to `true` to return shared flow deployments; set to `false`
|
|
1272
1434
|
# to return API proxy deployments. Defaults to `false`.
|
|
1273
1435
|
# @param [String] fields
|
|
1274
1436
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1298,24 +1460,19 @@ module Google
|
|
|
1298
1460
|
execute_or_queue_command(command, &block)
|
|
1299
1461
|
end
|
|
1300
1462
|
|
|
1301
|
-
# Updates developer attributes.
|
|
1302
|
-
#
|
|
1303
|
-
# existing attributes
|
|
1304
|
-
#
|
|
1305
|
-
#
|
|
1306
|
-
#
|
|
1307
|
-
#
|
|
1308
|
-
#
|
|
1309
|
-
#
|
|
1310
|
-
# (default). Any custom attributes associated with these entities
|
|
1311
|
-
# are cached for at least 180 seconds after the entity is accessed at
|
|
1312
|
-
# runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy
|
|
1313
|
-
# won't be able to expire an access token in less than 180 seconds.
|
|
1463
|
+
# Updates developer attributes. This API replaces the existing attributes with
|
|
1464
|
+
# those specified in the request. Add new attributes, and include or exclude any
|
|
1465
|
+
# existing attributes that you want to retain or remove, respectively. The
|
|
1466
|
+
# custom attribute limit is 18. **Note**: OAuth access tokens and Key Management
|
|
1467
|
+
# Service (KMS) entities (apps, developers, and API products) are cached for 180
|
|
1468
|
+
# seconds (default). Any custom attributes associated with these entities are
|
|
1469
|
+
# cached for at least 180 seconds after the entity is accessed at runtime.
|
|
1470
|
+
# Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to
|
|
1471
|
+
# expire an access token in less than 180 seconds.
|
|
1314
1472
|
# @param [String] parent
|
|
1315
1473
|
# Required. Email address of the developer for which attributes are being
|
|
1316
|
-
# updated in
|
|
1317
|
-
#
|
|
1318
|
-
# `organizations/`org`/developers/`developer_email``
|
|
1474
|
+
# updated in the following format: `organizations/`org`/developers/`
|
|
1475
|
+
# developer_email``
|
|
1319
1476
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
|
|
1320
1477
|
# @param [String] fields
|
|
1321
1478
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1346,14 +1503,12 @@ module Google
|
|
|
1346
1503
|
execute_or_queue_command(command, &block)
|
|
1347
1504
|
end
|
|
1348
1505
|
|
|
1349
|
-
# Creates a developer. Once created,
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1352
|
-
# status, use the SetDeveloperStatus API.
|
|
1506
|
+
# Creates a developer. Once created, the developer can register an app and
|
|
1507
|
+
# obtain an API key. At creation time, a developer is set as `active`. To change
|
|
1508
|
+
# the developer status, use the SetDeveloperStatus API.
|
|
1353
1509
|
# @param [String] parent
|
|
1354
1510
|
# Required. Name of the Apigee organization in which the developer is created.
|
|
1355
|
-
# Use the following structure in your request:
|
|
1356
|
-
# `organizations/`org``.
|
|
1511
|
+
# Use the following structure in your request: `organizations/`org``.
|
|
1357
1512
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer] google_cloud_apigee_v1_developer_object
|
|
1358
1513
|
# @param [String] fields
|
|
1359
1514
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1384,21 +1539,16 @@ module Google
|
|
|
1384
1539
|
execute_or_queue_command(command, &block)
|
|
1385
1540
|
end
|
|
1386
1541
|
|
|
1387
|
-
# Deletes a developer. All apps and API keys associated
|
|
1388
|
-
#
|
|
1389
|
-
#
|
|
1390
|
-
#
|
|
1391
|
-
#
|
|
1392
|
-
#
|
|
1393
|
-
#
|
|
1394
|
-
# **Note**: The delete operation is asynchronous. The developer app is
|
|
1395
|
-
# deleted immediately,
|
|
1396
|
-
# but its associated resources, such as apps and API keys, may take anywhere
|
|
1397
|
-
# from a few seconds to a few minutes to be deleted.
|
|
1542
|
+
# Deletes a developer. All apps and API keys associated with the developer are
|
|
1543
|
+
# also removed. **Warning**: This API will permanently delete the developer and
|
|
1544
|
+
# related artifacts. To avoid permanently deleting developers and their
|
|
1545
|
+
# artifacts, set the developer status to `inactive` using the SetDeveloperStatus
|
|
1546
|
+
# API. **Note**: The delete operation is asynchronous. The developer app is
|
|
1547
|
+
# deleted immediately, but its associated resources, such as apps and API keys,
|
|
1548
|
+
# may take anywhere from a few seconds to a few minutes to be deleted.
|
|
1398
1549
|
# @param [String] name
|
|
1399
1550
|
# Required. Email address of the developer. Use the following structure in your
|
|
1400
|
-
# request:
|
|
1401
|
-
# `organizations/`org`/developers/`developer_email``
|
|
1551
|
+
# request: `organizations/`org`/developers/`developer_email``
|
|
1402
1552
|
# @param [String] fields
|
|
1403
1553
|
# Selector specifying which fields to include in a partial response.
|
|
1404
1554
|
# @param [String] quota_user
|
|
@@ -1426,13 +1576,12 @@ module Google
|
|
|
1426
1576
|
execute_or_queue_command(command, &block)
|
|
1427
1577
|
end
|
|
1428
1578
|
|
|
1429
|
-
# Returns the developer details, including the
|
|
1430
|
-
#
|
|
1431
|
-
#
|
|
1579
|
+
# Returns the developer details, including the developer's name, email address,
|
|
1580
|
+
# apps, and other information. **Note**: The response includes only the first
|
|
1581
|
+
# 100 developer apps.
|
|
1432
1582
|
# @param [String] name
|
|
1433
1583
|
# Required. Email address of the developer. Use the following structure in your
|
|
1434
|
-
# request:
|
|
1435
|
-
# `organizations/`org`/developers/`developer_email``
|
|
1584
|
+
# request: `organizations/`org`/developers/`developer_email``
|
|
1436
1585
|
# @param [String] action
|
|
1437
1586
|
# Status of the developer. Valid values are `active` or `inactive`.
|
|
1438
1587
|
# @param [String] fields
|
|
@@ -1463,44 +1612,32 @@ module Google
|
|
|
1463
1612
|
execute_or_queue_command(command, &block)
|
|
1464
1613
|
end
|
|
1465
1614
|
|
|
1466
|
-
# Lists all developers in an organization by email address.
|
|
1467
|
-
#
|
|
1468
|
-
#
|
|
1469
|
-
#
|
|
1470
|
-
#
|
|
1471
|
-
# paginate the list of developers returned using the `startKey` and `count`
|
|
1472
|
-
# query parameters.
|
|
1615
|
+
# Lists all developers in an organization by email address. By default, the
|
|
1616
|
+
# response does not include company developers. Set the `includeCompany` query
|
|
1617
|
+
# parameter to `true` to include company developers. **Note**: A maximum of 1000
|
|
1618
|
+
# developers are returned in the response. You paginate the list of developers
|
|
1619
|
+
# returned using the `startKey` and `count` query parameters.
|
|
1473
1620
|
# @param [String] parent
|
|
1474
1621
|
# Required. Name of the Apigee organization. Use the following structure in your
|
|
1475
|
-
# request:
|
|
1476
|
-
# `organizations/`org``.
|
|
1622
|
+
# request: `organizations/`org``.
|
|
1477
1623
|
# @param [Fixnum] count
|
|
1478
1624
|
# Optional. Number of developers to return in the API call. Use with the `
|
|
1479
|
-
# startKey`
|
|
1480
|
-
# parameter to provide more targeted filtering.
|
|
1481
|
-
# The limit is 1000.
|
|
1625
|
+
# startKey` parameter to provide more targeted filtering. The limit is 1000.
|
|
1482
1626
|
# @param [Boolean] expand
|
|
1483
|
-
# Specifies whether to expand the results. Set to `true`
|
|
1484
|
-
#
|
|
1485
|
-
#
|
|
1627
|
+
# Specifies whether to expand the results. Set to `true` to expand the results.
|
|
1628
|
+
# This query parameter is not valid if you use the `count` or `startKey` query
|
|
1629
|
+
# parameters.
|
|
1486
1630
|
# @param [String] ids
|
|
1487
1631
|
# Optional. List of IDs to include, separated by commas.
|
|
1488
1632
|
# @param [Boolean] include_company
|
|
1489
1633
|
# Flag that specifies whether to include company details in the response.
|
|
1490
1634
|
# @param [String] start_key
|
|
1491
|
-
# **Note**: Must be used in conjunction with the `count` parameter.
|
|
1492
|
-
#
|
|
1493
|
-
#
|
|
1494
|
-
# ```
|
|
1495
|
-
#
|
|
1496
|
-
#
|
|
1497
|
-
# buttercup@example.com
|
|
1498
|
-
# ```
|
|
1499
|
-
# and your `startKey` is `fezzik@example.com`, the list returned will be
|
|
1500
|
-
# ```
|
|
1501
|
-
# fezzik@example.com
|
|
1502
|
-
# buttercup@example.com
|
|
1503
|
-
# ```
|
|
1635
|
+
# **Note**: Must be used in conjunction with the `count` parameter. Email
|
|
1636
|
+
# address of the developer from which to start displaying the list of developers.
|
|
1637
|
+
# For example, if the an unfiltered list returns: ``` westley@example.com
|
|
1638
|
+
# fezzik@example.com buttercup@example.com ``` and your `startKey` is `fezzik@
|
|
1639
|
+
# example.com`, the list returned will be ``` fezzik@example.com buttercup@
|
|
1640
|
+
# example.com ```
|
|
1504
1641
|
# @param [String] fields
|
|
1505
1642
|
# Selector specifying which fields to include in a partial response.
|
|
1506
1643
|
# @param [String] quota_user
|
|
@@ -1533,18 +1670,16 @@ module Google
|
|
|
1533
1670
|
execute_or_queue_command(command, &block)
|
|
1534
1671
|
end
|
|
1535
1672
|
|
|
1536
|
-
# Sets the status of a developer. Valid values are `active` or `inactive`.
|
|
1537
|
-
#
|
|
1538
|
-
#
|
|
1539
|
-
#
|
|
1540
|
-
#
|
|
1541
|
-
#
|
|
1542
|
-
# If successful, the API call returns the
|
|
1673
|
+
# Sets the status of a developer. Valid values are `active` or `inactive`. A
|
|
1674
|
+
# developer is `active` by default. If you set a developer's status to `inactive`
|
|
1675
|
+
# , the API keys assigned to the developer apps are no longer valid even though
|
|
1676
|
+
# the API keys are set to `approved`. Inactive developers can still sign in to
|
|
1677
|
+
# the developer portal and create apps; however, any new API keys generated
|
|
1678
|
+
# during app creation won't work. If successful, the API call returns the
|
|
1543
1679
|
# following HTTP status code: `204 No Content`
|
|
1544
1680
|
# @param [String] name
|
|
1545
1681
|
# Required. Email address of the developer. Use the following structure in your
|
|
1546
|
-
# request:
|
|
1547
|
-
# `organizations/`org`/developers/`developer_email``
|
|
1682
|
+
# request: `organizations/`org`/developers/`developer_email``
|
|
1548
1683
|
# @param [String] action
|
|
1549
1684
|
# Status of the developer. Valid values are `active` and `inactive`.
|
|
1550
1685
|
# @param [String] fields
|
|
@@ -1575,21 +1710,18 @@ module Google
|
|
|
1575
1710
|
execute_or_queue_command(command, &block)
|
|
1576
1711
|
end
|
|
1577
1712
|
|
|
1578
|
-
# Updates a developer.
|
|
1579
|
-
#
|
|
1580
|
-
#
|
|
1581
|
-
#
|
|
1582
|
-
#
|
|
1583
|
-
#
|
|
1584
|
-
#
|
|
1585
|
-
#
|
|
1586
|
-
#
|
|
1587
|
-
# runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy
|
|
1588
|
-
# won't be able to expire an access token in less than 180 seconds.
|
|
1713
|
+
# Updates a developer. This API replaces the existing developer details with
|
|
1714
|
+
# those specified in the request. Include or exclude any existing details that
|
|
1715
|
+
# you want to retain or delete, respectively. The custom attribute limit is 18. *
|
|
1716
|
+
# *Note**: OAuth access tokens and Key Management Service (KMS) entities (apps,
|
|
1717
|
+
# developers, and API products) are cached for 180 seconds (current default).
|
|
1718
|
+
# Any custom attributes associated with these entities are cached for at least
|
|
1719
|
+
# 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn`
|
|
1720
|
+
# element on the OAuthV2 policy won't be able to expire an access token in less
|
|
1721
|
+
# than 180 seconds.
|
|
1589
1722
|
# @param [String] name
|
|
1590
1723
|
# Required. Email address of the developer. Use the following structure in your
|
|
1591
|
-
# request:
|
|
1592
|
-
# `organizations/`org`/developers/`developer_email``
|
|
1724
|
+
# request: `organizations/`org`/developers/`developer_email``
|
|
1593
1725
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Developer] google_cloud_apigee_v1_developer_object
|
|
1594
1726
|
# @param [String] fields
|
|
1595
1727
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1620,12 +1752,11 @@ module Google
|
|
|
1620
1752
|
execute_or_queue_command(command, &block)
|
|
1621
1753
|
end
|
|
1622
1754
|
|
|
1623
|
-
# Updates attributes for a developer app. This API replaces the
|
|
1624
|
-
#
|
|
1755
|
+
# Updates attributes for a developer app. This API replaces the current
|
|
1756
|
+
# attributes with those specified in the request.
|
|
1625
1757
|
# @param [String] name
|
|
1626
1758
|
# Required. Name of the developer app. Use the following structure in your
|
|
1627
|
-
# request:
|
|
1628
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1759
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1629
1760
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
|
|
1630
1761
|
# @param [String] fields
|
|
1631
1762
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1656,17 +1787,15 @@ module Google
|
|
|
1656
1787
|
execute_or_queue_command(command, &block)
|
|
1657
1788
|
end
|
|
1658
1789
|
|
|
1659
|
-
# Creates an app associated with a developer. This API associates the
|
|
1660
|
-
#
|
|
1661
|
-
#
|
|
1662
|
-
#
|
|
1663
|
-
#
|
|
1664
|
-
#
|
|
1665
|
-
# attribute) appears in the UI. If you don't set the
|
|
1666
|
-
# `DisplayName` attribute, the `name` appears in the UI.
|
|
1790
|
+
# Creates an app associated with a developer. This API associates the developer
|
|
1791
|
+
# app with the specified API product and auto-generates an API key for the app
|
|
1792
|
+
# to use in calls to API proxies inside that API product. The `name` is the
|
|
1793
|
+
# unique ID of the app that you can use in API calls. The `DisplayName` (set as
|
|
1794
|
+
# an attribute) appears in the UI. If you don't set the `DisplayName` attribute,
|
|
1795
|
+
# the `name` appears in the UI.
|
|
1667
1796
|
# @param [String] parent
|
|
1668
|
-
# Required. Name of the developer. Use the following structure in your request:
|
|
1669
|
-
#
|
|
1797
|
+
# Required. Name of the developer. Use the following structure in your request: `
|
|
1798
|
+
# organizations/`org`/developers/`developer_email``
|
|
1670
1799
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp] google_cloud_apigee_v1_developer_app_object
|
|
1671
1800
|
# @param [String] fields
|
|
1672
1801
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1697,16 +1826,13 @@ module Google
|
|
|
1697
1826
|
execute_or_queue_command(command, &block)
|
|
1698
1827
|
end
|
|
1699
1828
|
|
|
1700
|
-
# Deletes a developer app.
|
|
1701
|
-
#
|
|
1702
|
-
#
|
|
1703
|
-
#
|
|
1704
|
-
# keys or access tokens, may take anywhere from a few seconds to a
|
|
1705
|
-
# few minutes to be deleted.
|
|
1829
|
+
# Deletes a developer app. **Note**: The delete operation is asynchronous. The
|
|
1830
|
+
# developer app is deleted immediately, but its associated resources, such as
|
|
1831
|
+
# app keys or access tokens, may take anywhere from a few seconds to a few
|
|
1832
|
+
# minutes to be deleted.
|
|
1706
1833
|
# @param [String] name
|
|
1707
1834
|
# Required. Name of the developer app. Use the following structure in your
|
|
1708
|
-
# request:
|
|
1709
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1835
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1710
1836
|
# @param [String] fields
|
|
1711
1837
|
# Selector specifying which fields to include in a partial response.
|
|
1712
1838
|
# @param [String] quota_user
|
|
@@ -1734,41 +1860,32 @@ module Google
|
|
|
1734
1860
|
execute_or_queue_command(command, &block)
|
|
1735
1861
|
end
|
|
1736
1862
|
|
|
1737
|
-
# Manages access to a developer app by enabling you to:
|
|
1738
|
-
# *
|
|
1739
|
-
#
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1742
|
-
#
|
|
1743
|
-
#
|
|
1744
|
-
#
|
|
1745
|
-
#
|
|
1746
|
-
#
|
|
1747
|
-
#
|
|
1748
|
-
#
|
|
1749
|
-
#
|
|
1750
|
-
#
|
|
1751
|
-
#
|
|
1752
|
-
#
|
|
1753
|
-
#
|
|
1754
|
-
#
|
|
1755
|
-
#
|
|
1756
|
-
#
|
|
1757
|
-
#
|
|
1758
|
-
#
|
|
1759
|
-
# this property or set it to `-1`, the API key never expires.
|
|
1760
|
-
# **Notes**:
|
|
1761
|
-
# * When generating a new key/secret, this API replaces the
|
|
1762
|
-
# existing attributes, notes, and callback URLs with those specified in the
|
|
1763
|
-
# request. Include or exclude any existing information that you want to
|
|
1764
|
-
# retain or delete, respectively.
|
|
1765
|
-
# * To migrate existing consumer keys and secrets to hybrid from another
|
|
1766
|
-
# system, see the
|
|
1863
|
+
# Manages access to a developer app by enabling you to: * Approve or revoke a
|
|
1864
|
+
# developer app * Generate a new consumer key and secret for a developer app To
|
|
1865
|
+
# approve or revoke a developer app, set the `action` query parameter to `
|
|
1866
|
+
# approved` or `revoked`, respectively, and the `Content-Type` header to `
|
|
1867
|
+
# application/octet-stream`. If a developer app is revoked, none of its API keys
|
|
1868
|
+
# are valid for API calls even though the keys are still `approved`. If
|
|
1869
|
+
# successful, the API call returns the following HTTP status code: `204 No
|
|
1870
|
+
# Content` To generate a new consumer key and secret for a developer app, pass
|
|
1871
|
+
# the new key/secret details. Rather than replace an existing key, this API
|
|
1872
|
+
# generates a new key. In this case, multiple key pairs may be associated with a
|
|
1873
|
+
# single developer app. Each key pair has an independent status (`approved` or `
|
|
1874
|
+
# revoked`) and expiration time. Any approved, non-expired key can be used in an
|
|
1875
|
+
# API call. For example, if you're using API key rotation, you can generate new
|
|
1876
|
+
# keys with expiration times that overlap keys that are going to expire. You
|
|
1877
|
+
# might also generate a new consumer key/secret if the security of the original
|
|
1878
|
+
# key/secret is compromised. The `keyExpiresIn` property defines the expiration
|
|
1879
|
+
# time for the API key in milliseconds. If you don't set this property or set it
|
|
1880
|
+
# to `-1`, the API key never expires. **Notes**: * When generating a new key/
|
|
1881
|
+
# secret, this API replaces the existing attributes, notes, and callback URLs
|
|
1882
|
+
# with those specified in the request. Include or exclude any existing
|
|
1883
|
+
# information that you want to retain or delete, respectively. * To migrate
|
|
1884
|
+
# existing consumer keys and secrets to hybrid from another system, see the
|
|
1767
1885
|
# CreateDeveloperAppKey API.
|
|
1768
1886
|
# @param [String] name
|
|
1769
1887
|
# Required. Name of the developer app. Use the following structure in your
|
|
1770
|
-
# request:
|
|
1771
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1888
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1772
1889
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp] google_cloud_apigee_v1_developer_app_object
|
|
1773
1890
|
# @param [String] action
|
|
1774
1891
|
# Action. Valid values are `approve` or `revoke`.
|
|
@@ -1805,19 +1922,15 @@ module Google
|
|
|
1805
1922
|
# Returns the details for a developer app.
|
|
1806
1923
|
# @param [String] name
|
|
1807
1924
|
# Required. Name of the developer app. Use the following structure in your
|
|
1808
|
-
# request:
|
|
1809
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1925
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1810
1926
|
# @param [String] entity
|
|
1811
|
-
# **Note**: Must be used in conjunction with the `query` parameter.
|
|
1812
|
-
#
|
|
1813
|
-
#
|
|
1814
|
-
# that have been approved for access by a developer app in the
|
|
1815
|
-
# specified Apigee organization.
|
|
1927
|
+
# **Note**: Must be used in conjunction with the `query` parameter. Set to `
|
|
1928
|
+
# apiresources` to return the number of API resources that have been approved
|
|
1929
|
+
# for access by a developer app in the specified Apigee organization.
|
|
1816
1930
|
# @param [String] query
|
|
1817
|
-
# **Note**: Must be used in conjunction with the `entity` parameter.
|
|
1818
|
-
#
|
|
1819
|
-
#
|
|
1820
|
-
# specified Apigee organization.
|
|
1931
|
+
# **Note**: Must be used in conjunction with the `entity` parameter. Set to `
|
|
1932
|
+
# count` to return the number of API resources that have been approved for
|
|
1933
|
+
# access by a developer app in the specified Apigee organization.
|
|
1821
1934
|
# @param [String] fields
|
|
1822
1935
|
# Selector specifying which fields to include in a partial response.
|
|
1823
1936
|
# @param [String] quota_user
|
|
@@ -1847,32 +1960,29 @@ module Google
|
|
|
1847
1960
|
execute_or_queue_command(command, &block)
|
|
1848
1961
|
end
|
|
1849
1962
|
|
|
1850
|
-
# Lists all apps created by a developer in an Apigee organization.
|
|
1851
|
-
#
|
|
1852
|
-
#
|
|
1853
|
-
#
|
|
1854
|
-
# parameters.
|
|
1963
|
+
# Lists all apps created by a developer in an Apigee organization. Optionally,
|
|
1964
|
+
# you can request an expanded view of the developer apps. A maximum of 100
|
|
1965
|
+
# developer apps are returned per API call. You can paginate the list of
|
|
1966
|
+
# deveoper apps returned using the `startKey` and `count` query parameters.
|
|
1855
1967
|
# @param [String] parent
|
|
1856
|
-
# Required. Name of the developer. Use the following structure in your request:
|
|
1857
|
-
#
|
|
1968
|
+
# Required. Name of the developer. Use the following structure in your request: `
|
|
1969
|
+
# organizations/`org`/developers/`developer_email``
|
|
1858
1970
|
# @param [Fixnum] count
|
|
1859
1971
|
# Number of developer apps to return in the API call. Use with the `startKey`
|
|
1860
|
-
# parameter to provide more targeted filtering.
|
|
1861
|
-
# The limit is 1000.
|
|
1972
|
+
# parameter to provide more targeted filtering. The limit is 1000.
|
|
1862
1973
|
# @param [Boolean] expand
|
|
1863
|
-
# Optional. Specifies whether to expand the results. Set to `true`
|
|
1864
|
-
#
|
|
1865
|
-
#
|
|
1974
|
+
# Optional. Specifies whether to expand the results. Set to `true` to expand the
|
|
1975
|
+
# results. This query parameter is not valid if you use the `count` or `startKey`
|
|
1976
|
+
# query parameters.
|
|
1866
1977
|
# @param [Boolean] shallow_expand
|
|
1867
|
-
# Optional. Specifies whether to expand the results in shallow mode.
|
|
1868
|
-
#
|
|
1978
|
+
# Optional. Specifies whether to expand the results in shallow mode. Set to `
|
|
1979
|
+
# true` to expand the results in shallow mode.
|
|
1869
1980
|
# @param [String] start_key
|
|
1870
|
-
# **Note**: Must be used in conjunction with the `count` parameter.
|
|
1871
|
-
#
|
|
1872
|
-
#
|
|
1873
|
-
#
|
|
1874
|
-
#
|
|
1875
|
-
# The developer app name is case sensitive.
|
|
1981
|
+
# **Note**: Must be used in conjunction with the `count` parameter. Name of the
|
|
1982
|
+
# developer app from which to start displaying the list of developer apps. For
|
|
1983
|
+
# example, if you're returning 50 developer apps at a time (using the `count`
|
|
1984
|
+
# query parameter), you can view developer apps 50-99 by entering the name of
|
|
1985
|
+
# the 50th developer app. The developer app name is case sensitive.
|
|
1876
1986
|
# @param [String] fields
|
|
1877
1987
|
# Selector specifying which fields to include in a partial response.
|
|
1878
1988
|
# @param [String] quota_user
|
|
@@ -1904,26 +2014,19 @@ module Google
|
|
|
1904
2014
|
execute_or_queue_command(command, &block)
|
|
1905
2015
|
end
|
|
1906
2016
|
|
|
1907
|
-
# Updates the details for a developer app. In addition, you can
|
|
1908
|
-
#
|
|
1909
|
-
#
|
|
1910
|
-
#
|
|
1911
|
-
#
|
|
1912
|
-
#
|
|
1913
|
-
#
|
|
1914
|
-
#
|
|
1915
|
-
#
|
|
1916
|
-
#
|
|
1917
|
-
# * Scopes associated with the app. Instead, use the
|
|
1918
|
-
# ReplaceDeveloperAppKey API.
|
|
1919
|
-
# This API replaces the
|
|
1920
|
-
# existing attributes with those specified in the request.
|
|
1921
|
-
# Include or exclude any existing attributes that you want to retain or
|
|
1922
|
-
# delete, respectively.
|
|
2017
|
+
# Updates the details for a developer app. In addition, you can add an API
|
|
2018
|
+
# product to a developer app and automatically generate an API key for the app
|
|
2019
|
+
# to use when calling APIs in the API product. If you want to use an existing
|
|
2020
|
+
# API key for the API product, add the API product to the API key using the
|
|
2021
|
+
# UpdateDeveloperAppKey API. Using this API, you cannot update the following: *
|
|
2022
|
+
# App name as it is the primary key used to identify the app and cannot be
|
|
2023
|
+
# changed. * Scopes associated with the app. Instead, use the
|
|
2024
|
+
# ReplaceDeveloperAppKey API. This API replaces the existing attributes with
|
|
2025
|
+
# those specified in the request. Include or exclude any existing attributes
|
|
2026
|
+
# that you want to retain or delete, respectively.
|
|
1923
2027
|
# @param [String] name
|
|
1924
2028
|
# Required. Name of the developer app. Use the following structure in your
|
|
1925
|
-
# request:
|
|
1926
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
2029
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
1927
2030
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp] google_cloud_apigee_v1_developer_app_object
|
|
1928
2031
|
# @param [String] fields
|
|
1929
2032
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1957,10 +2060,8 @@ module Google
|
|
|
1957
2060
|
# Deletes a developer app attribute.
|
|
1958
2061
|
# @param [String] name
|
|
1959
2062
|
# Required. Name of the developer app attribute. Use the following structure in
|
|
1960
|
-
# your
|
|
1961
|
-
#
|
|
1962
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app`/attributes/`
|
|
1963
|
-
# attribute``
|
|
2063
|
+
# your request: `organizations/`org`/developers/`developer_email`/apps/`app`/
|
|
2064
|
+
# attributes/`attribute``
|
|
1964
2065
|
# @param [String] fields
|
|
1965
2066
|
# Selector specifying which fields to include in a partial response.
|
|
1966
2067
|
# @param [String] quota_user
|
|
@@ -1991,10 +2092,8 @@ module Google
|
|
|
1991
2092
|
# Returns a developer app attribute.
|
|
1992
2093
|
# @param [String] name
|
|
1993
2094
|
# Required. Name of the developer app attribute. Use the following structure in
|
|
1994
|
-
# your
|
|
1995
|
-
#
|
|
1996
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app`/attributes/`
|
|
1997
|
-
# attribute``
|
|
2095
|
+
# your request: `organizations/`org`/developers/`developer_email`/apps/`app`/
|
|
2096
|
+
# attributes/`attribute``
|
|
1998
2097
|
# @param [String] fields
|
|
1999
2098
|
# Selector specifying which fields to include in a partial response.
|
|
2000
2099
|
# @param [String] quota_user
|
|
@@ -2025,8 +2124,7 @@ module Google
|
|
|
2025
2124
|
# Returns a list of all developer app attributes.
|
|
2026
2125
|
# @param [String] parent
|
|
2027
2126
|
# Required. Name of the developer app. Use the following structure in your
|
|
2028
|
-
# request:
|
|
2029
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
2127
|
+
# request: `organizations/`org`/developers/`developer_email`/apps/`app``
|
|
2030
2128
|
# @param [String] fields
|
|
2031
2129
|
# Selector specifying which fields to include in a partial response.
|
|
2032
2130
|
# @param [String] quota_user
|
|
@@ -2054,19 +2152,16 @@ module Google
|
|
|
2054
2152
|
execute_or_queue_command(command, &block)
|
|
2055
2153
|
end
|
|
2056
2154
|
|
|
2057
|
-
# Updates a developer app attribute.
|
|
2058
|
-
#
|
|
2059
|
-
#
|
|
2060
|
-
#
|
|
2061
|
-
#
|
|
2062
|
-
# runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy
|
|
2155
|
+
# Updates a developer app attribute. **Note**: OAuth access tokens and Key
|
|
2156
|
+
# Management Service (KMS) entities (apps, developers, and API products) are
|
|
2157
|
+
# cached for 180 seconds (current default). Any custom attributes associated
|
|
2158
|
+
# with these entities are cached for at least 180 seconds after the entity is
|
|
2159
|
+
# accessed at runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy
|
|
2063
2160
|
# won't be able to expire an access token in less than 180 seconds.
|
|
2064
2161
|
# @param [String] name
|
|
2065
2162
|
# Required. Name of the developer app attribute. Use the following structure in
|
|
2066
|
-
# your
|
|
2067
|
-
#
|
|
2068
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app`/attributes/`
|
|
2069
|
-
# attribute``
|
|
2163
|
+
# your request: `organizations/`org`/developers/`developer_email`/apps/`app`/
|
|
2164
|
+
# attributes/`attribute``
|
|
2070
2165
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute] google_cloud_apigee_v1_attribute_object
|
|
2071
2166
|
# @param [String] fields
|
|
2072
2167
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2098,23 +2193,19 @@ module Google
|
|
|
2098
2193
|
end
|
|
2099
2194
|
|
|
2100
2195
|
# Creates a custom consumer key and secret for a developer app. This is
|
|
2101
|
-
# particularly useful if you want to migrate existing consumer keys and
|
|
2102
|
-
#
|
|
2103
|
-
#
|
|
2104
|
-
#
|
|
2105
|
-
#
|
|
2106
|
-
#
|
|
2107
|
-
# API products
|
|
2108
|
-
#
|
|
2109
|
-
#
|
|
2110
|
-
#
|
|
2111
|
-
# If a consumer key and secret already exist, you can keep them or
|
|
2112
|
-
# delete them using the
|
|
2113
|
-
# DeleteDeveloperAppKey API.
|
|
2196
|
+
# particularly useful if you want to migrate existing consumer keys and secrets
|
|
2197
|
+
# to Apigee hybrid from another system. Consumer keys and secrets can contain
|
|
2198
|
+
# letters, numbers, underscores, and hyphens. No other special characters are
|
|
2199
|
+
# allowed. To avoid service disruptions, a consumer key and secret should not
|
|
2200
|
+
# exceed 2 KBs each. **Note**: When creating the consumer key and secret, an
|
|
2201
|
+
# association to API products will not be made. Therefore, you should not
|
|
2202
|
+
# specify the associated API products in your request. Instead, use the
|
|
2203
|
+
# UpdateDeveloperAppKey API to make the association after the consumer key and
|
|
2204
|
+
# secret are created. If a consumer key and secret already exist, you can keep
|
|
2205
|
+
# them or delete them using the DeleteDeveloperAppKey API.
|
|
2114
2206
|
# @param [String] parent
|
|
2115
|
-
# Parent of the developer app key. Use the following structure in your
|
|
2116
|
-
#
|
|
2117
|
-
# `organizations/`org`/developers/`developer_email`/apps`
|
|
2207
|
+
# Parent of the developer app key. Use the following structure in your request: `
|
|
2208
|
+
# organizations/`org`/developers/`developer_email`/apps`
|
|
2118
2209
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
|
|
2119
2210
|
# @param [String] fields
|
|
2120
2211
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2145,18 +2236,16 @@ module Google
|
|
|
2145
2236
|
execute_or_queue_command(command, &block)
|
|
2146
2237
|
end
|
|
2147
2238
|
|
|
2148
|
-
# Deletes an app's consumer key and removes all API products
|
|
2149
|
-
#
|
|
2150
|
-
#
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
2153
|
-
#
|
|
2154
|
-
#
|
|
2155
|
-
# UpdateDeveloperAppKey API.
|
|
2156
|
-
# 2. Delete the developer app, if it is no longer required.
|
|
2239
|
+
# Deletes an app's consumer key and removes all API products associated with the
|
|
2240
|
+
# app. After the consumer key is deleted, it cannot be used to access any APIs. *
|
|
2241
|
+
# *Note**: After you delete a consumer key, you may want to: 1. Create a new
|
|
2242
|
+
# consumer key and secret for the developer app using the CreateDeveloperAppKey
|
|
2243
|
+
# API, and subsequently add an API product to the key using the
|
|
2244
|
+
# UpdateDeveloperAppKey API. 2. Delete the developer app, if it is no longer
|
|
2245
|
+
# required.
|
|
2157
2246
|
# @param [String] name
|
|
2158
|
-
# Name of the developer app key. Use the following structure in your request:
|
|
2159
|
-
#
|
|
2247
|
+
# Name of the developer app key. Use the following structure in your request: `
|
|
2248
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key``
|
|
2160
2249
|
# @param [String] fields
|
|
2161
2250
|
# Selector specifying which fields to include in a partial response.
|
|
2162
2251
|
# @param [String] quota_user
|
|
@@ -2184,11 +2273,11 @@ module Google
|
|
|
2184
2273
|
execute_or_queue_command(command, &block)
|
|
2185
2274
|
end
|
|
2186
2275
|
|
|
2187
|
-
# Returns details for a consumer key for a developer app, including the key
|
|
2188
|
-
#
|
|
2276
|
+
# Returns details for a consumer key for a developer app, including the key and
|
|
2277
|
+
# secret value, associated API products, and other information.
|
|
2189
2278
|
# @param [String] name
|
|
2190
|
-
# Name of the developer app key. Use the following structure in your request:
|
|
2191
|
-
#
|
|
2279
|
+
# Name of the developer app key. Use the following structure in your request: `
|
|
2280
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key``
|
|
2192
2281
|
# @param [String] fields
|
|
2193
2282
|
# Selector specifying which fields to include in a partial response.
|
|
2194
2283
|
# @param [String] quota_user
|
|
@@ -2216,17 +2305,14 @@ module Google
|
|
|
2216
2305
|
execute_or_queue_command(command, &block)
|
|
2217
2306
|
end
|
|
2218
2307
|
|
|
2219
|
-
# Updates the scope of an app.
|
|
2220
|
-
#
|
|
2221
|
-
#
|
|
2222
|
-
#
|
|
2223
|
-
#
|
|
2224
|
-
# be defined for the API products associated with the app.
|
|
2225
|
-
# This API sets the `scopes` element
|
|
2226
|
-
# under the `apiProducts` element in the attributes of the app.
|
|
2308
|
+
# Updates the scope of an app. This API replaces the existing scopes with those
|
|
2309
|
+
# specified in the request. Include or exclude any existing scopes that you want
|
|
2310
|
+
# to retain or delete, respectively. The specified scopes must already be
|
|
2311
|
+
# defined for the API products associated with the app. This API sets the `
|
|
2312
|
+
# scopes` element under the `apiProducts` element in the attributes of the app.
|
|
2227
2313
|
# @param [String] name
|
|
2228
|
-
# Name of the developer app key. Use the following structure in your request:
|
|
2229
|
-
#
|
|
2314
|
+
# Name of the developer app key. Use the following structure in your request: `
|
|
2315
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key``
|
|
2230
2316
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
|
|
2231
2317
|
# @param [String] fields
|
|
2232
2318
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2257,22 +2343,19 @@ module Google
|
|
|
2257
2343
|
execute_or_queue_command(command, &block)
|
|
2258
2344
|
end
|
|
2259
2345
|
|
|
2260
|
-
# Adds an API product to a developer app key, enabling the app that holds
|
|
2261
|
-
#
|
|
2262
|
-
#
|
|
2263
|
-
# attributes
|
|
2264
|
-
# existing attributes
|
|
2265
|
-
#
|
|
2266
|
-
# delete, respectively.
|
|
2267
|
-
# You can use the same key to access all API products
|
|
2268
|
-
# associated with the app.
|
|
2346
|
+
# Adds an API product to a developer app key, enabling the app that holds the
|
|
2347
|
+
# key to access the API resources bundled in the API product. In addition, you
|
|
2348
|
+
# can add attributes to a developer app key. This API replaces the existing
|
|
2349
|
+
# attributes with those specified in the request. Include or exclude any
|
|
2350
|
+
# existing attributes that you want to retain or delete, respectively. You can
|
|
2351
|
+
# use the same key to access all API products associated with the app.
|
|
2269
2352
|
# @param [String] name
|
|
2270
|
-
# Name of the developer app key. Use the following structure in your request:
|
|
2271
|
-
#
|
|
2353
|
+
# Name of the developer app key. Use the following structure in your request: `
|
|
2354
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key``
|
|
2272
2355
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
|
|
2273
2356
|
# @param [String] action
|
|
2274
|
-
# Approve or revoke the consumer key by setting this value to
|
|
2275
|
-
#
|
|
2357
|
+
# Approve or revoke the consumer key by setting this value to `approve` or `
|
|
2358
|
+
# revoke`, respectively.
|
|
2276
2359
|
# @param [String] fields
|
|
2277
2360
|
# Selector specifying which fields to include in a partial response.
|
|
2278
2361
|
# @param [String] quota_user
|
|
@@ -2304,14 +2387,12 @@ module Google
|
|
|
2304
2387
|
end
|
|
2305
2388
|
|
|
2306
2389
|
# Removes an API product from an app's consumer key. After the API product is
|
|
2307
|
-
# removed, the app cannot access the API resources defined in
|
|
2308
|
-
#
|
|
2309
|
-
#
|
|
2310
|
-
# API product.
|
|
2390
|
+
# removed, the app cannot access the API resources defined in that API product. *
|
|
2391
|
+
# *Note**: The consumer key is not removed, only its association with the API
|
|
2392
|
+
# product.
|
|
2311
2393
|
# @param [String] name
|
|
2312
|
-
# Name of the API product in the developer app key in the following
|
|
2313
|
-
#
|
|
2314
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key`/
|
|
2394
|
+
# Name of the API product in the developer app key in the following format: `
|
|
2395
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key`/
|
|
2315
2396
|
# apiproducts/`apiproduct``
|
|
2316
2397
|
# @param [String] fields
|
|
2317
2398
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2340,20 +2421,18 @@ module Google
|
|
|
2340
2421
|
execute_or_queue_command(command, &block)
|
|
2341
2422
|
end
|
|
2342
2423
|
|
|
2343
|
-
# Approve or revoke an app's consumer key. After a consumer key is approved,
|
|
2344
|
-
#
|
|
2345
|
-
#
|
|
2346
|
-
#
|
|
2347
|
-
#
|
|
2348
|
-
# if set to `revoked` will not allow access to the API.
|
|
2424
|
+
# Approve or revoke an app's consumer key. After a consumer key is approved, the
|
|
2425
|
+
# app can use it to access APIs. A consumer key that is revoked or pending
|
|
2426
|
+
# cannot be used to access an API. Any access tokens associated with a revoked
|
|
2427
|
+
# consumer key will remain active. However, Apigee hybrid checks the status of
|
|
2428
|
+
# the consumer key and if set to `revoked` will not allow access to the API.
|
|
2349
2429
|
# @param [String] name
|
|
2350
|
-
# Name of the API product in the developer app key in the following
|
|
2351
|
-
#
|
|
2352
|
-
# `organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key`/
|
|
2430
|
+
# Name of the API product in the developer app key in the following format: `
|
|
2431
|
+
# organizations/`org`/developers/`developer_email`/apps/`app`/keys/`key`/
|
|
2353
2432
|
# apiproducts/`apiproduct``
|
|
2354
2433
|
# @param [String] action
|
|
2355
|
-
# Approve or revoke the consumer key by setting this value to
|
|
2356
|
-
#
|
|
2434
|
+
# Approve or revoke the consumer key by setting this value to `approve` or `
|
|
2435
|
+
# revoke`, respectively.
|
|
2357
2436
|
# @param [String] fields
|
|
2358
2437
|
# Selector specifying which fields to include in a partial response.
|
|
2359
2438
|
# @param [String] quota_user
|
|
@@ -2383,23 +2462,19 @@ module Google
|
|
|
2383
2462
|
end
|
|
2384
2463
|
|
|
2385
2464
|
# Creates a custom consumer key and secret for a developer app. This is
|
|
2386
|
-
# particularly useful if you want to migrate existing consumer keys and
|
|
2387
|
-
#
|
|
2388
|
-
#
|
|
2389
|
-
#
|
|
2390
|
-
#
|
|
2391
|
-
#
|
|
2392
|
-
# API products
|
|
2393
|
-
#
|
|
2394
|
-
#
|
|
2395
|
-
#
|
|
2396
|
-
# If a consumer key and secret already exist, you can keep them or
|
|
2397
|
-
# delete them using the
|
|
2398
|
-
# DeleteDeveloperAppKey API.
|
|
2465
|
+
# particularly useful if you want to migrate existing consumer keys and secrets
|
|
2466
|
+
# to Apigee hybrid from another system. Consumer keys and secrets can contain
|
|
2467
|
+
# letters, numbers, underscores, and hyphens. No other special characters are
|
|
2468
|
+
# allowed. To avoid service disruptions, a consumer key and secret should not
|
|
2469
|
+
# exceed 2 KBs each. **Note**: When creating the consumer key and secret, an
|
|
2470
|
+
# association to API products will not be made. Therefore, you should not
|
|
2471
|
+
# specify the associated API products in your request. Instead, use the
|
|
2472
|
+
# UpdateDeveloperAppKey API to make the association after the consumer key and
|
|
2473
|
+
# secret are created. If a consumer key and secret already exist, you can keep
|
|
2474
|
+
# them or delete them using the DeleteDeveloperAppKey API.
|
|
2399
2475
|
# @param [String] parent
|
|
2400
|
-
# Parent of the developer app key. Use the following structure in your
|
|
2401
|
-
#
|
|
2402
|
-
# `organizations/`org`/developers/`developer_email`/apps`
|
|
2476
|
+
# Parent of the developer app key. Use the following structure in your request: `
|
|
2477
|
+
# organizations/`org`/developers/`developer_email`/apps`
|
|
2403
2478
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
|
|
2404
2479
|
# @param [String] fields
|
|
2405
2480
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2433,8 +2508,8 @@ module Google
|
|
|
2433
2508
|
# Deletes a developer attribute.
|
|
2434
2509
|
# @param [String] name
|
|
2435
2510
|
# Required. Name of the developer attribute. Use the following structure in your
|
|
2436
|
-
# request:
|
|
2437
|
-
#
|
|
2511
|
+
# request: `organizations/`org`/developers/`developer_email`/attributes/`
|
|
2512
|
+
# attribute``
|
|
2438
2513
|
# @param [String] fields
|
|
2439
2514
|
# Selector specifying which fields to include in a partial response.
|
|
2440
2515
|
# @param [String] quota_user
|
|
@@ -2465,8 +2540,8 @@ module Google
|
|
|
2465
2540
|
# Returns the value of the specified developer attribute.
|
|
2466
2541
|
# @param [String] name
|
|
2467
2542
|
# Required. Name of the developer attribute. Use the following structure in your
|
|
2468
|
-
# request:
|
|
2469
|
-
#
|
|
2543
|
+
# request: `organizations/`org`/developers/`developer_email`/attributes/`
|
|
2544
|
+
# attribute``
|
|
2470
2545
|
# @param [String] fields
|
|
2471
2546
|
# Selector specifying which fields to include in a partial response.
|
|
2472
2547
|
# @param [String] quota_user
|
|
@@ -2497,9 +2572,7 @@ module Google
|
|
|
2497
2572
|
# Returns a list of all developer attributes.
|
|
2498
2573
|
# @param [String] parent
|
|
2499
2574
|
# Required. Email address of the developer for which attributes are being listed
|
|
2500
|
-
# in the
|
|
2501
|
-
# following format:
|
|
2502
|
-
# `organizations/`org`/developers/`developer_email``
|
|
2575
|
+
# in the following format: `organizations/`org`/developers/`developer_email``
|
|
2503
2576
|
# @param [String] fields
|
|
2504
2577
|
# Selector specifying which fields to include in a partial response.
|
|
2505
2578
|
# @param [String] quota_user
|
|
@@ -2527,17 +2600,16 @@ module Google
|
|
|
2527
2600
|
execute_or_queue_command(command, &block)
|
|
2528
2601
|
end
|
|
2529
2602
|
|
|
2530
|
-
# Updates a developer attribute.
|
|
2531
|
-
#
|
|
2532
|
-
#
|
|
2533
|
-
#
|
|
2534
|
-
#
|
|
2535
|
-
#
|
|
2536
|
-
# won't be able to expire an access token in less than 180 seconds.
|
|
2603
|
+
# Updates a developer attribute. **Note**: OAuth access tokens and Key
|
|
2604
|
+
# Management Service (KMS) entities (apps, developers, and API products) are
|
|
2605
|
+
# cached for 180 seconds (default). Any custom attributes associated with these
|
|
2606
|
+
# entities are cached for at least 180 seconds after the entity is accessed at
|
|
2607
|
+
# runtime. Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able
|
|
2608
|
+
# to expire an access token in less than 180 seconds.
|
|
2537
2609
|
# @param [String] name
|
|
2538
2610
|
# Required. Name of the developer attribute. Use the following structure in your
|
|
2539
|
-
# request:
|
|
2540
|
-
#
|
|
2611
|
+
# request: `organizations/`org`/developers/`developer_email`/attributes/`
|
|
2612
|
+
# attribute``
|
|
2541
2613
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute] google_cloud_apigee_v1_attribute_object
|
|
2542
2614
|
# @param [String] fields
|
|
2543
2615
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2568,16 +2640,14 @@ module Google
|
|
|
2568
2640
|
execute_or_queue_command(command, &block)
|
|
2569
2641
|
end
|
|
2570
2642
|
|
|
2571
|
-
# Creates
|
|
2643
|
+
# Creates a new environment group.
|
|
2572
2644
|
# @param [String] parent
|
|
2573
|
-
# Required. Name of the organization in which the environment
|
|
2574
|
-
#
|
|
2575
|
-
#
|
|
2576
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] google_cloud_apigee_v1_environment_object
|
|
2645
|
+
# Required. Name of the organization in which to create the environment group in
|
|
2646
|
+
# the following format: `organizations/`org``.
|
|
2647
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
|
|
2577
2648
|
# @param [String] name
|
|
2578
|
-
#
|
|
2579
|
-
#
|
|
2580
|
-
# name field.
|
|
2649
|
+
# ID of the environment group. Overrides any ID in the environment_group
|
|
2650
|
+
# resource.
|
|
2581
2651
|
# @param [String] fields
|
|
2582
2652
|
# Selector specifying which fields to include in a partial response.
|
|
2583
2653
|
# @param [String] quota_user
|
|
@@ -2595,10 +2665,10 @@ module Google
|
|
|
2595
2665
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2596
2666
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2597
2667
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2598
|
-
def
|
|
2599
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
|
2600
|
-
command.request_representation = Google::Apis::ApigeeV1::
|
|
2601
|
-
command.request_object =
|
|
2668
|
+
def create_organization_envgroup(parent, google_cloud_apigee_v1_environment_group_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2669
|
+
command = make_simple_command(:post, 'v1/{+parent}/envgroups', options)
|
|
2670
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
|
|
2671
|
+
command.request_object = google_cloud_apigee_v1_environment_group_object
|
|
2602
2672
|
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2603
2673
|
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
2604
2674
|
command.params['parent'] = parent unless parent.nil?
|
|
@@ -2608,11 +2678,10 @@ module Google
|
|
|
2608
2678
|
execute_or_queue_command(command, &block)
|
|
2609
2679
|
end
|
|
2610
2680
|
|
|
2611
|
-
# Deletes an environment
|
|
2681
|
+
# Deletes an environment group.
|
|
2612
2682
|
# @param [String] name
|
|
2613
|
-
# Required. Name of the environment
|
|
2614
|
-
#
|
|
2615
|
-
# `organizations/`org`/environments/`env``
|
|
2683
|
+
# Required. Name of the environment group in the following format: `
|
|
2684
|
+
# organizations/`org`/envgroups/`envgroup``.
|
|
2616
2685
|
# @param [String] fields
|
|
2617
2686
|
# Selector specifying which fields to include in a partial response.
|
|
2618
2687
|
# @param [String] quota_user
|
|
@@ -2630,7 +2699,7 @@ module Google
|
|
|
2630
2699
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2631
2700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2632
2701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2633
|
-
def
|
|
2702
|
+
def delete_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2634
2703
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2635
2704
|
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2636
2705
|
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
@@ -2640,10 +2709,10 @@ module Google
|
|
|
2640
2709
|
execute_or_queue_command(command, &block)
|
|
2641
2710
|
end
|
|
2642
2711
|
|
|
2643
|
-
# Gets environment
|
|
2712
|
+
# Gets an environment group.
|
|
2644
2713
|
# @param [String] name
|
|
2645
|
-
# Required. Name of the environment
|
|
2646
|
-
#
|
|
2714
|
+
# Required. Name of the environment group in the following format: `
|
|
2715
|
+
# organizations/`org`/envgroups/`envgroup``.
|
|
2647
2716
|
# @param [String] fields
|
|
2648
2717
|
# Selector specifying which fields to include in a partial response.
|
|
2649
2718
|
# @param [String] quota_user
|
|
@@ -2653,28 +2722,33 @@ module Google
|
|
|
2653
2722
|
# Request-specific options
|
|
2654
2723
|
#
|
|
2655
2724
|
# @yield [result, err] Result & error if block supplied
|
|
2656
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
2725
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] parsed result object
|
|
2657
2726
|
# @yieldparam err [StandardError] error object if request failed
|
|
2658
2727
|
#
|
|
2659
|
-
# @return [Google::Apis::ApigeeV1::
|
|
2728
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup]
|
|
2660
2729
|
#
|
|
2661
2730
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2662
2731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2663
2732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2664
|
-
def
|
|
2733
|
+
def get_organization_envgroup(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2665
2734
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2666
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
|
2667
|
-
command.response_class = Google::Apis::ApigeeV1::
|
|
2735
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
|
|
2736
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup
|
|
2668
2737
|
command.params['name'] = name unless name.nil?
|
|
2669
2738
|
command.query['fields'] = fields unless fields.nil?
|
|
2670
2739
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2671
2740
|
execute_or_queue_command(command, &block)
|
|
2672
2741
|
end
|
|
2673
2742
|
|
|
2674
|
-
#
|
|
2675
|
-
# @param [String]
|
|
2676
|
-
# Required. Name of the
|
|
2677
|
-
# `organizations/`org
|
|
2743
|
+
# Lists all environment groups.
|
|
2744
|
+
# @param [String] parent
|
|
2745
|
+
# Required. Name of the organization for which to list environment groups in the
|
|
2746
|
+
# following format: `organizations/`org``.
|
|
2747
|
+
# @param [Fixnum] page_size
|
|
2748
|
+
# Maximum number of environment groups to return. The page size defaults to 25.
|
|
2749
|
+
# @param [String] page_token
|
|
2750
|
+
# Page token, returned from a previous ListEnvironmentGroups call, that you can
|
|
2751
|
+
# use to retrieve the next page.
|
|
2678
2752
|
# @param [String] fields
|
|
2679
2753
|
# Selector specifying which fields to include in a partial response.
|
|
2680
2754
|
# @param [String] quota_user
|
|
@@ -2684,30 +2758,33 @@ module Google
|
|
|
2684
2758
|
# Request-specific options
|
|
2685
2759
|
#
|
|
2686
2760
|
# @yield [result, err] Result & error if block supplied
|
|
2687
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
2761
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse] parsed result object
|
|
2688
2762
|
# @yieldparam err [StandardError] error object if request failed
|
|
2689
2763
|
#
|
|
2690
|
-
# @return [Google::Apis::ApigeeV1::
|
|
2764
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse]
|
|
2691
2765
|
#
|
|
2692
2766
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2693
2767
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2694
2768
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2695
|
-
def
|
|
2696
|
-
command = make_simple_command(:get, 'v1/{+
|
|
2697
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
|
2698
|
-
command.response_class = Google::Apis::ApigeeV1::
|
|
2699
|
-
command.params['
|
|
2769
|
+
def list_organization_envgroups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2770
|
+
command = make_simple_command(:get, 'v1/{+parent}/envgroups', options)
|
|
2771
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse::Representation
|
|
2772
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupsResponse
|
|
2773
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2774
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2775
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2700
2776
|
command.query['fields'] = fields unless fields.nil?
|
|
2701
2777
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2702
2778
|
execute_or_queue_command(command, &block)
|
|
2703
2779
|
end
|
|
2704
2780
|
|
|
2705
|
-
#
|
|
2781
|
+
# Updates an environment group.
|
|
2706
2782
|
# @param [String] name
|
|
2707
|
-
# Required. Name of the environment
|
|
2708
|
-
#
|
|
2709
|
-
#
|
|
2710
|
-
#
|
|
2783
|
+
# Required. Name of the environment group to update in the format: `
|
|
2784
|
+
# organizations/`org`/envgroups/`envgroup`.
|
|
2785
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
|
|
2786
|
+
# @param [String] update_mask
|
|
2787
|
+
# List of fields to be updated.
|
|
2711
2788
|
# @param [String] fields
|
|
2712
2789
|
# Selector specifying which fields to include in a partial response.
|
|
2713
2790
|
# @param [String] quota_user
|
|
@@ -2717,42 +2794,32 @@ module Google
|
|
|
2717
2794
|
# Request-specific options
|
|
2718
2795
|
#
|
|
2719
2796
|
# @yield [result, err] Result & error if block supplied
|
|
2720
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
2797
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
2721
2798
|
# @yieldparam err [StandardError] error object if request failed
|
|
2722
2799
|
#
|
|
2723
|
-
# @return [Google::Apis::ApigeeV1::
|
|
2800
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
2724
2801
|
#
|
|
2725
2802
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2726
2803
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2727
2804
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2728
|
-
def
|
|
2729
|
-
command = make_simple_command(:
|
|
2730
|
-
command.
|
|
2731
|
-
command.
|
|
2805
|
+
def patch_organization_envgroup(name, google_cloud_apigee_v1_environment_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2806
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2807
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup::Representation
|
|
2808
|
+
command.request_object = google_cloud_apigee_v1_environment_group_object
|
|
2809
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2810
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
2732
2811
|
command.params['name'] = name unless name.nil?
|
|
2812
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2733
2813
|
command.query['fields'] = fields unless fields.nil?
|
|
2734
2814
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2735
2815
|
execute_or_queue_command(command, &block)
|
|
2736
2816
|
end
|
|
2737
2817
|
|
|
2738
|
-
#
|
|
2739
|
-
# [
|
|
2740
|
-
#
|
|
2741
|
-
#
|
|
2742
|
-
#
|
|
2743
|
-
# @param [String] resource
|
|
2744
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
2745
|
-
# See the operation documentation for the appropriate value for this field.
|
|
2746
|
-
# @param [Fixnum] options_requested_policy_version
|
|
2747
|
-
# Optional. The policy format version to be returned.
|
|
2748
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
2749
|
-
# rejected.
|
|
2750
|
-
# Requests for policies with any conditional bindings must specify version 3.
|
|
2751
|
-
# Policies without any conditional bindings may specify any valid value or
|
|
2752
|
-
# leave the field unset.
|
|
2753
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
2754
|
-
# [IAM
|
|
2755
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2818
|
+
# Creates a new attachment of an environment to an environment group.
|
|
2819
|
+
# @param [String] parent
|
|
2820
|
+
# Required. EnvironmentGroup under which to create the attachment in the
|
|
2821
|
+
# following format: `organizations/`org`/envgroups/`envgroup``.
|
|
2822
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] google_cloud_apigee_v1_environment_group_attachment_object
|
|
2756
2823
|
# @param [String] fields
|
|
2757
2824
|
# Selector specifying which fields to include in a partial response.
|
|
2758
2825
|
# @param [String] quota_user
|
|
@@ -2762,35 +2829,30 @@ module Google
|
|
|
2762
2829
|
# Request-specific options
|
|
2763
2830
|
#
|
|
2764
2831
|
# @yield [result, err] Result & error if block supplied
|
|
2765
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
2832
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
2766
2833
|
# @yieldparam err [StandardError] error object if request failed
|
|
2767
2834
|
#
|
|
2768
|
-
# @return [Google::Apis::ApigeeV1::
|
|
2835
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
2769
2836
|
#
|
|
2770
2837
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2771
2838
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2772
2839
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2773
|
-
def
|
|
2774
|
-
command = make_simple_command(:
|
|
2775
|
-
command.
|
|
2776
|
-
command.
|
|
2777
|
-
command.
|
|
2778
|
-
command.
|
|
2840
|
+
def create_organization_envgroup_attachment(parent, google_cloud_apigee_v1_environment_group_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2841
|
+
command = make_simple_command(:post, 'v1/{+parent}/attachments', options)
|
|
2842
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation
|
|
2843
|
+
command.request_object = google_cloud_apigee_v1_environment_group_attachment_object
|
|
2844
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2845
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
2846
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2779
2847
|
command.query['fields'] = fields unless fields.nil?
|
|
2780
2848
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2781
2849
|
execute_or_queue_command(command, &block)
|
|
2782
2850
|
end
|
|
2783
2851
|
|
|
2784
|
-
#
|
|
2785
|
-
#
|
|
2786
|
-
#
|
|
2787
|
-
#
|
|
2788
|
-
# You must have the `apigee.environments.setIamPolicy` permission to
|
|
2789
|
-
# call this API.
|
|
2790
|
-
# @param [String] resource
|
|
2791
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
2792
|
-
# See the operation documentation for the appropriate value for this field.
|
|
2793
|
-
# @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
2852
|
+
# Deletes an environment group attachment.
|
|
2853
|
+
# @param [String] name
|
|
2854
|
+
# Required. Name of the environment group attachment to delete in the following
|
|
2855
|
+
# format: `organizations/`org`/envgroups/`envgroup`/attachments/`attachment``.
|
|
2794
2856
|
# @param [String] fields
|
|
2795
2857
|
# Selector specifying which fields to include in a partial response.
|
|
2796
2858
|
# @param [String] quota_user
|
|
@@ -2800,10 +2862,321 @@ module Google
|
|
|
2800
2862
|
# Request-specific options
|
|
2801
2863
|
#
|
|
2802
2864
|
# @yield [result, err] Result & error if block supplied
|
|
2803
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
2865
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
2804
2866
|
# @yieldparam err [StandardError] error object if request failed
|
|
2805
2867
|
#
|
|
2806
|
-
# @return [Google::Apis::ApigeeV1::
|
|
2868
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
2869
|
+
#
|
|
2870
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2871
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2872
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2873
|
+
def delete_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2874
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2875
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2876
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
2877
|
+
command.params['name'] = name unless name.nil?
|
|
2878
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2879
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2880
|
+
execute_or_queue_command(command, &block)
|
|
2881
|
+
end
|
|
2882
|
+
|
|
2883
|
+
# Gets an environment group attachment.
|
|
2884
|
+
# @param [String] name
|
|
2885
|
+
# Required. Name of the environment group attachment in the following format: `
|
|
2886
|
+
# organizations/`org`/envgroups/`envgroup`/attachments/`attachment``
|
|
2887
|
+
# @param [String] fields
|
|
2888
|
+
# Selector specifying which fields to include in a partial response.
|
|
2889
|
+
# @param [String] quota_user
|
|
2890
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2891
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2892
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2893
|
+
# Request-specific options
|
|
2894
|
+
#
|
|
2895
|
+
# @yield [result, err] Result & error if block supplied
|
|
2896
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment] parsed result object
|
|
2897
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2898
|
+
#
|
|
2899
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment]
|
|
2900
|
+
#
|
|
2901
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2902
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2903
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2904
|
+
def get_organization_envgroup_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2905
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2906
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment::Representation
|
|
2907
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment
|
|
2908
|
+
command.params['name'] = name unless name.nil?
|
|
2909
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2910
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2911
|
+
execute_or_queue_command(command, &block)
|
|
2912
|
+
end
|
|
2913
|
+
|
|
2914
|
+
# Lists all attachments of an environment group.
|
|
2915
|
+
# @param [String] parent
|
|
2916
|
+
# Required. Name of the organization in the following format: `organizations/`
|
|
2917
|
+
# org``.
|
|
2918
|
+
# @param [Fixnum] page_size
|
|
2919
|
+
# Maximum number of environment group attachments to return. The page size
|
|
2920
|
+
# defaults to 25.
|
|
2921
|
+
# @param [String] page_token
|
|
2922
|
+
# Page token, returned by a previous ListEnvironmentGroupAttachments call, that
|
|
2923
|
+
# you can use to retrieve the next page.
|
|
2924
|
+
# @param [String] fields
|
|
2925
|
+
# Selector specifying which fields to include in a partial response.
|
|
2926
|
+
# @param [String] quota_user
|
|
2927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2929
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2930
|
+
# Request-specific options
|
|
2931
|
+
#
|
|
2932
|
+
# @yield [result, err] Result & error if block supplied
|
|
2933
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse] parsed result object
|
|
2934
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2935
|
+
#
|
|
2936
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse]
|
|
2937
|
+
#
|
|
2938
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2939
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2940
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2941
|
+
def list_organization_envgroup_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2942
|
+
command = make_simple_command(:get, 'v1/{+parent}/attachments', options)
|
|
2943
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse::Representation
|
|
2944
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
|
|
2945
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2946
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2947
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2948
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2949
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2950
|
+
execute_or_queue_command(command, &block)
|
|
2951
|
+
end
|
|
2952
|
+
|
|
2953
|
+
# Creates an environment in an organization.
|
|
2954
|
+
# @param [String] parent
|
|
2955
|
+
# Required. Name of the organization in which the environment will be created.
|
|
2956
|
+
# Use the following structure in your request: `organizations/`org``
|
|
2957
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] google_cloud_apigee_v1_environment_object
|
|
2958
|
+
# @param [String] name
|
|
2959
|
+
# Optional. Name of the environment. Alternatively, the name may be specified in
|
|
2960
|
+
# the request body in the name field.
|
|
2961
|
+
# @param [String] fields
|
|
2962
|
+
# Selector specifying which fields to include in a partial response.
|
|
2963
|
+
# @param [String] quota_user
|
|
2964
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2965
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2966
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2967
|
+
# Request-specific options
|
|
2968
|
+
#
|
|
2969
|
+
# @yield [result, err] Result & error if block supplied
|
|
2970
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
2971
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2972
|
+
#
|
|
2973
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
2974
|
+
#
|
|
2975
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2976
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2977
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2978
|
+
def create_organization_environment(parent, google_cloud_apigee_v1_environment_object = nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2979
|
+
command = make_simple_command(:post, 'v1/{+parent}/environments', options)
|
|
2980
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
|
|
2981
|
+
command.request_object = google_cloud_apigee_v1_environment_object
|
|
2982
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
2983
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
2984
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2985
|
+
command.query['name'] = name unless name.nil?
|
|
2986
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2988
|
+
execute_or_queue_command(command, &block)
|
|
2989
|
+
end
|
|
2990
|
+
|
|
2991
|
+
# Deletes an environment from an organization.
|
|
2992
|
+
# @param [String] name
|
|
2993
|
+
# Required. Name of the environment. Use the following structure in your request:
|
|
2994
|
+
# `organizations/`org`/environments/`env``
|
|
2995
|
+
# @param [String] fields
|
|
2996
|
+
# Selector specifying which fields to include in a partial response.
|
|
2997
|
+
# @param [String] quota_user
|
|
2998
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2999
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3000
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3001
|
+
# Request-specific options
|
|
3002
|
+
#
|
|
3003
|
+
# @yield [result, err] Result & error if block supplied
|
|
3004
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
3005
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3006
|
+
#
|
|
3007
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
3008
|
+
#
|
|
3009
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3010
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3011
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3012
|
+
def delete_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3013
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3014
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
3015
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
3016
|
+
command.params['name'] = name unless name.nil?
|
|
3017
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3018
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3019
|
+
execute_or_queue_command(command, &block)
|
|
3020
|
+
end
|
|
3021
|
+
|
|
3022
|
+
# Gets environment details.
|
|
3023
|
+
# @param [String] name
|
|
3024
|
+
# Required. Name of the environment. Use the following structure in your request:
|
|
3025
|
+
# `organizations/`org`/environments/`env``
|
|
3026
|
+
# @param [String] fields
|
|
3027
|
+
# Selector specifying which fields to include in a partial response.
|
|
3028
|
+
# @param [String] quota_user
|
|
3029
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3030
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3031
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3032
|
+
# Request-specific options
|
|
3033
|
+
#
|
|
3034
|
+
# @yield [result, err] Result & error if block supplied
|
|
3035
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] parsed result object
|
|
3036
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3037
|
+
#
|
|
3038
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment]
|
|
3039
|
+
#
|
|
3040
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3041
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3042
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3043
|
+
def get_organization_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3044
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3045
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
|
|
3046
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment
|
|
3047
|
+
command.params['name'] = name unless name.nil?
|
|
3048
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3049
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3050
|
+
execute_or_queue_command(command, &block)
|
|
3051
|
+
end
|
|
3052
|
+
|
|
3053
|
+
# Gets the debug mask singleton resource for an environment.
|
|
3054
|
+
# @param [String] name
|
|
3055
|
+
# Required. Name of the debug mask. Use the following structure in your request:
|
|
3056
|
+
# `organizations/`org`/environments/`env`/debugmask`.
|
|
3057
|
+
# @param [String] fields
|
|
3058
|
+
# Selector specifying which fields to include in a partial response.
|
|
3059
|
+
# @param [String] quota_user
|
|
3060
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3061
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3062
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3063
|
+
# Request-specific options
|
|
3064
|
+
#
|
|
3065
|
+
# @yield [result, err] Result & error if block supplied
|
|
3066
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask] parsed result object
|
|
3067
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3068
|
+
#
|
|
3069
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
|
|
3070
|
+
#
|
|
3071
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3072
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3073
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3074
|
+
def get_organization_environment_debugmask(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3075
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3076
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
|
|
3077
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask
|
|
3078
|
+
command.params['name'] = name unless name.nil?
|
|
3079
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3080
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3081
|
+
execute_or_queue_command(command, &block)
|
|
3082
|
+
end
|
|
3083
|
+
|
|
3084
|
+
# Gets the deployed configuration for an environment.
|
|
3085
|
+
# @param [String] name
|
|
3086
|
+
# Required. Name of the environment deployed configuration resource. Use the
|
|
3087
|
+
# following structure in your request: `organizations/`org`/environments/`env`/
|
|
3088
|
+
# deployedConfig`
|
|
3089
|
+
# @param [String] fields
|
|
3090
|
+
# Selector specifying which fields to include in a partial response.
|
|
3091
|
+
# @param [String] quota_user
|
|
3092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3094
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3095
|
+
# Request-specific options
|
|
3096
|
+
#
|
|
3097
|
+
# @yield [result, err] Result & error if block supplied
|
|
3098
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig] parsed result object
|
|
3099
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3100
|
+
#
|
|
3101
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig]
|
|
3102
|
+
#
|
|
3103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3106
|
+
def get_organization_environment_deployed_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3107
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3108
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig::Representation
|
|
3109
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfig
|
|
3110
|
+
command.params['name'] = name unless name.nil?
|
|
3111
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3112
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3113
|
+
execute_or_queue_command(command, &block)
|
|
3114
|
+
end
|
|
3115
|
+
|
|
3116
|
+
# Gets the IAM policy on an environment. For more information, see [Manage users,
|
|
3117
|
+
# roles, and permissions using the API](https://docs.apigee.com/hybrid/latest/
|
|
3118
|
+
# manage-users-roles). You must have the `apigee.environments.getIamPolicy`
|
|
3119
|
+
# permission to call this API.
|
|
3120
|
+
# @param [String] resource
|
|
3121
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
|
3122
|
+
# operation documentation for the appropriate value for this field.
|
|
3123
|
+
# @param [Fixnum] options_requested_policy_version
|
|
3124
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
3125
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
3126
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
3127
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
3128
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
3129
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
3130
|
+
# resource-policies).
|
|
3131
|
+
# @param [String] fields
|
|
3132
|
+
# Selector specifying which fields to include in a partial response.
|
|
3133
|
+
# @param [String] quota_user
|
|
3134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3137
|
+
# Request-specific options
|
|
3138
|
+
#
|
|
3139
|
+
# @yield [result, err] Result & error if block supplied
|
|
3140
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
|
|
3141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3142
|
+
#
|
|
3143
|
+
# @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
|
|
3144
|
+
#
|
|
3145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3148
|
+
def get_organization_environment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3149
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
3150
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
|
|
3151
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
|
|
3152
|
+
command.params['resource'] = resource unless resource.nil?
|
|
3153
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
3154
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3155
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3156
|
+
execute_or_queue_command(command, &block)
|
|
3157
|
+
end
|
|
3158
|
+
|
|
3159
|
+
# Sets the IAM policy on an environment, if the policy already exists it will be
|
|
3160
|
+
# replaced. For more information, see [Manage users, roles, and permissions
|
|
3161
|
+
# using the API](https://docs.apigee.com/hybrid/latest/manage-users-roles). You
|
|
3162
|
+
# must have the `apigee.environments.setIamPolicy` permission to call this API.
|
|
3163
|
+
# @param [String] resource
|
|
3164
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
|
3165
|
+
# operation documentation for the appropriate value for this field.
|
|
3166
|
+
# @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
3167
|
+
# @param [String] fields
|
|
3168
|
+
# Selector specifying which fields to include in a partial response.
|
|
3169
|
+
# @param [String] quota_user
|
|
3170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3172
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3173
|
+
# Request-specific options
|
|
3174
|
+
#
|
|
3175
|
+
# @yield [result, err] Result & error if block supplied
|
|
3176
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
|
|
3177
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3178
|
+
#
|
|
3179
|
+
# @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
|
|
2807
3180
|
#
|
|
2808
3181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2809
3182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
@@ -2820,9 +3193,9 @@ module Google
|
|
|
2820
3193
|
execute_or_queue_command(command, &block)
|
|
2821
3194
|
end
|
|
2822
3195
|
|
|
2823
|
-
# Creates a subscription for the environment's Pub/Sub topic.
|
|
2824
|
-
#
|
|
2825
|
-
#
|
|
3196
|
+
# Creates a subscription for the environment's Pub/Sub topic. The server will
|
|
3197
|
+
# assign a random name for this subscription. The "name" and "push_config" must *
|
|
3198
|
+
# not* be specified.
|
|
2826
3199
|
# @param [String] parent
|
|
2827
3200
|
# Required. Name of the environment. Use the following structure in your request:
|
|
2828
3201
|
# `organizations/`org`/environments/`env``
|
|
@@ -2853,13 +3226,12 @@ module Google
|
|
|
2853
3226
|
execute_or_queue_command(command, &block)
|
|
2854
3227
|
end
|
|
2855
3228
|
|
|
2856
|
-
# Tests the permissions of a user on an environment,
|
|
2857
|
-
#
|
|
2858
|
-
#
|
|
2859
|
-
# (a NOT_FOUND error is not returned).
|
|
3229
|
+
# Tests the permissions of a user on an environment, and returns a subset of
|
|
3230
|
+
# permissions that the user has on the environment. If the environment does not
|
|
3231
|
+
# exist, an empty permission set is returned (a NOT_FOUND error is not returned).
|
|
2860
3232
|
# @param [String] resource
|
|
2861
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
2862
|
-
#
|
|
3233
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
|
3234
|
+
# operation documentation for the appropriate value for this field.
|
|
2863
3235
|
# @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
|
2864
3236
|
# @param [String] fields
|
|
2865
3237
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2924,11 +3296,11 @@ module Google
|
|
|
2924
3296
|
execute_or_queue_command(command, &block)
|
|
2925
3297
|
end
|
|
2926
3298
|
|
|
2927
|
-
# Updates an existing environment.
|
|
2928
|
-
#
|
|
2929
|
-
#
|
|
2930
|
-
#
|
|
2931
|
-
#
|
|
3299
|
+
# Updates an existing environment. When updating properties, you must pass all
|
|
3300
|
+
# existing properties to the API, even if they are not being changed. If you
|
|
3301
|
+
# omit properties from the payload, the properties are removed. To get the
|
|
3302
|
+
# current list of properties for the environment, use the [Get Environment API](
|
|
3303
|
+
# get).
|
|
2932
3304
|
# @param [String] name
|
|
2933
3305
|
# Required. Name of the environment. Use the following structure in your request:
|
|
2934
3306
|
# `organizations/`org`/environments/`env``
|
|
@@ -2968,8 +3340,8 @@ module Google
|
|
|
2968
3340
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask] google_cloud_apigee_v1_debug_mask_object
|
|
2969
3341
|
# @param [Boolean] replace_repeated_fields
|
|
2970
3342
|
# Boolean flag that specifies whether to replace existing values in the debug
|
|
2971
|
-
# mask when doing an update. Set to true to replace existing values.
|
|
2972
|
-
#
|
|
3343
|
+
# mask when doing an update. Set to true to replace existing values. The default
|
|
3344
|
+
# behavior is to append the values (false).
|
|
2973
3345
|
# @param [String] update_mask
|
|
2974
3346
|
# Field debug mask to support partial updates.
|
|
2975
3347
|
# @param [String] fields
|
|
@@ -3003,11 +3375,11 @@ module Google
|
|
|
3003
3375
|
execute_or_queue_command(command, &block)
|
|
3004
3376
|
end
|
|
3005
3377
|
|
|
3006
|
-
# Updates an existing environment.
|
|
3007
|
-
#
|
|
3008
|
-
#
|
|
3009
|
-
#
|
|
3010
|
-
#
|
|
3378
|
+
# Updates an existing environment. When updating properties, you must pass all
|
|
3379
|
+
# existing properties to the API, even if they are not being changed. If you
|
|
3380
|
+
# omit properties from the payload, the properties are removed. To get the
|
|
3381
|
+
# current list of properties for the environment, use the [Get Environment API](
|
|
3382
|
+
# get).
|
|
3011
3383
|
# @param [String] name
|
|
3012
3384
|
# Required. Name of the environment. Use the following structure in your request:
|
|
3013
3385
|
# `organizations/`org`/environments/`env``
|
|
@@ -3041,16 +3413,15 @@ module Google
|
|
|
3041
3413
|
execute_or_queue_command(command, &block)
|
|
3042
3414
|
end
|
|
3043
3415
|
|
|
3044
|
-
# Get a list of metrics and dimensions which can be used for creating
|
|
3045
|
-
#
|
|
3046
|
-
#
|
|
3047
|
-
# and if it is either custom field or standard field.
|
|
3416
|
+
# Get a list of metrics and dimensions which can be used for creating analytics
|
|
3417
|
+
# queries and reports. Each schema element contains the name of the field with
|
|
3418
|
+
# its associated type and if it is either custom field or standard field.
|
|
3048
3419
|
# @param [String] name
|
|
3049
|
-
# Required. The parent organization and environment names. Must be of the
|
|
3050
|
-
#
|
|
3420
|
+
# Required. The parent organization and environment names. Must be of the form `
|
|
3421
|
+
# organizations/`org`/environments/`env`/analytics/admin/schemav2`.
|
|
3051
3422
|
# @param [String] type
|
|
3052
|
-
# Required. Type refers to the dataset name whose schema needs to be
|
|
3053
|
-
#
|
|
3423
|
+
# Required. Type refers to the dataset name whose schema needs to be retrieved E.
|
|
3424
|
+
# g. type=fact or type=agg_cus1
|
|
3054
3425
|
# @param [String] fields
|
|
3055
3426
|
# Selector specifying which fields to include in a partial response.
|
|
3056
3427
|
# @param [String] quota_user
|
|
@@ -3079,11 +3450,111 @@ module Google
|
|
|
3079
3450
|
execute_or_queue_command(command, &block)
|
|
3080
3451
|
end
|
|
3081
3452
|
|
|
3453
|
+
# Submit a data export job to be processed in the background. If the request is
|
|
3454
|
+
# successful, the API returns a 201 status, a URI that can be used to retrieve
|
|
3455
|
+
# the status of the export job, and the `state` value of "enqueued".
|
|
3456
|
+
# @param [String] parent
|
|
3457
|
+
# Required. Names of the parent organization and environment. Must be of the
|
|
3458
|
+
# form `organizations/`org`/environments/`env``.
|
|
3459
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest] google_cloud_apigee_v1_export_request_object
|
|
3460
|
+
# @param [String] fields
|
|
3461
|
+
# Selector specifying which fields to include in a partial response.
|
|
3462
|
+
# @param [String] quota_user
|
|
3463
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3464
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3465
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3466
|
+
# Request-specific options
|
|
3467
|
+
#
|
|
3468
|
+
# @yield [result, err] Result & error if block supplied
|
|
3469
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export] parsed result object
|
|
3470
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3471
|
+
#
|
|
3472
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
|
|
3473
|
+
#
|
|
3474
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3475
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3476
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3477
|
+
def create_organization_environment_analytic_export(parent, google_cloud_apigee_v1_export_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3478
|
+
command = make_simple_command(:post, 'v1/{+parent}/analytics/exports', options)
|
|
3479
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExportRequest::Representation
|
|
3480
|
+
command.request_object = google_cloud_apigee_v1_export_request_object
|
|
3481
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
|
|
3482
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
|
|
3483
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3484
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3485
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3486
|
+
execute_or_queue_command(command, &block)
|
|
3487
|
+
end
|
|
3488
|
+
|
|
3489
|
+
# Gets the details and status of an analytics export job. If the export job is
|
|
3490
|
+
# still in progress, its `state` is set to "running". After the export job has
|
|
3491
|
+
# completed successfully, its `state` is set to "completed". If the export job
|
|
3492
|
+
# fails, its `state` is set to `failed`.
|
|
3493
|
+
# @param [String] name
|
|
3494
|
+
# Required. Resource name of the export to get.
|
|
3495
|
+
# @param [String] fields
|
|
3496
|
+
# Selector specifying which fields to include in a partial response.
|
|
3497
|
+
# @param [String] quota_user
|
|
3498
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3499
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3500
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3501
|
+
# Request-specific options
|
|
3502
|
+
#
|
|
3503
|
+
# @yield [result, err] Result & error if block supplied
|
|
3504
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export] parsed result object
|
|
3505
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3506
|
+
#
|
|
3507
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export]
|
|
3508
|
+
#
|
|
3509
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3510
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3511
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3512
|
+
def get_organization_environment_analytic_export(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3513
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3514
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export::Representation
|
|
3515
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export
|
|
3516
|
+
command.params['name'] = name unless name.nil?
|
|
3517
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3519
|
+
execute_or_queue_command(command, &block)
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
# Lists the details and status of all analytics export jobs belonging to the
|
|
3523
|
+
# parent organization and environment.
|
|
3524
|
+
# @param [String] parent
|
|
3525
|
+
# Required. Names of the parent organization and environment. Must be of the
|
|
3526
|
+
# form `organizations/`org`/environments/`env``.
|
|
3527
|
+
# @param [String] fields
|
|
3528
|
+
# Selector specifying which fields to include in a partial response.
|
|
3529
|
+
# @param [String] quota_user
|
|
3530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3532
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3533
|
+
# Request-specific options
|
|
3534
|
+
#
|
|
3535
|
+
# @yield [result, err] Result & error if block supplied
|
|
3536
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse] parsed result object
|
|
3537
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3538
|
+
#
|
|
3539
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse]
|
|
3540
|
+
#
|
|
3541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3544
|
+
def list_organization_environment_analytic_exports(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
3545
|
+
command = make_simple_command(:get, 'v1/{+parent}/analytics/exports', options)
|
|
3546
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse::Representation
|
|
3547
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListExportsResponse
|
|
3548
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3549
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3550
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3551
|
+
execute_or_queue_command(command, &block)
|
|
3552
|
+
end
|
|
3553
|
+
|
|
3082
3554
|
# Lists all deployments of an API proxy in an environment.
|
|
3083
3555
|
# @param [String] parent
|
|
3084
3556
|
# Required. Name representing an API proxy in an environment in the following
|
|
3085
|
-
# format:
|
|
3086
|
-
# `organizations/`org`/environments/`env`/apis/`api``
|
|
3557
|
+
# format: `organizations/`org`/environments/`env`/apis/`api``
|
|
3087
3558
|
# @param [String] fields
|
|
3088
3559
|
# Selector specifying which fields to include in a partial response.
|
|
3089
3560
|
# @param [String] quota_user
|
|
@@ -3111,13 +3582,22 @@ module Google
|
|
|
3111
3582
|
execute_or_queue_command(command, &block)
|
|
3112
3583
|
end
|
|
3113
3584
|
|
|
3114
|
-
# Undeploys an API proxy revision from an environment.
|
|
3115
|
-
#
|
|
3116
|
-
#
|
|
3117
|
-
#
|
|
3585
|
+
# Undeploys an API proxy revision from an environment. Because multiple
|
|
3586
|
+
# revisions of the same API proxy can be deployed in the same environment if the
|
|
3587
|
+
# base paths are different, you must specify the revision number of the API
|
|
3588
|
+
# proxy.
|
|
3118
3589
|
# @param [String] name
|
|
3119
|
-
# Required. Name of the API proxy revision deployment in the following format:
|
|
3120
|
-
#
|
|
3590
|
+
# Required. Name of the API proxy revision deployment in the following format: `
|
|
3591
|
+
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
|
3592
|
+
# @param [Boolean] sequenced_rollout
|
|
3593
|
+
# If true, a best-effort attempt will be made to remove the environment group
|
|
3594
|
+
# routing rules corresponding to this deployment before removing the deployment
|
|
3595
|
+
# from the runtime. This is likely to be a rare use case; it is only needed when
|
|
3596
|
+
# the intended effect of undeploying this proxy is to cause the traffic it
|
|
3597
|
+
# currently handles to be rerouted to some other existing proxy in the
|
|
3598
|
+
# environment group. The GenerateUndeployChangeReport API may be used to examine
|
|
3599
|
+
# routing changes before issuing the undeployment request, and its response will
|
|
3600
|
+
# indicate if a sequenced rollout is recommended for the undeployment.
|
|
3121
3601
|
# @param [String] fields
|
|
3122
3602
|
# Selector specifying which fields to include in a partial response.
|
|
3123
3603
|
# @param [String] quota_user
|
|
@@ -3135,11 +3615,12 @@ module Google
|
|
|
3135
3615
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3136
3616
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3137
3617
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3138
|
-
def deployments_organization_environment_api_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3618
|
+
def deployments_organization_environment_api_revision(name, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3139
3619
|
command = make_simple_command(:delete, 'v1/{+name}/deployments', options)
|
|
3140
3620
|
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
|
3141
3621
|
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
|
3142
3622
|
command.params['name'] = name unless name.nil?
|
|
3623
|
+
command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil?
|
|
3143
3624
|
command.query['fields'] = fields unless fields.nil?
|
|
3144
3625
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3145
3626
|
execute_or_queue_command(command, &block)
|
|
@@ -3148,9 +3629,9 @@ module Google
|
|
|
3148
3629
|
# Gets the deployment of an API proxy revision and actual state reported by
|
|
3149
3630
|
# runtime pods.
|
|
3150
3631
|
# @param [String] name
|
|
3151
|
-
# Required. Name representing an API proxy revision in an
|
|
3152
|
-
#
|
|
3153
|
-
# `
|
|
3632
|
+
# Required. Name representing an API proxy revision in an environment in the
|
|
3633
|
+
# following format: `organizations/`org`/environments/`env`/apis/`api`/revisions/
|
|
3634
|
+
# `rev``
|
|
3154
3635
|
# @param [String] fields
|
|
3155
3636
|
# Selector specifying which fields to include in a partial response.
|
|
3156
3637
|
# @param [String] quota_user
|
|
@@ -3180,14 +3661,13 @@ module Google
|
|
|
3180
3661
|
|
|
3181
3662
|
# Creates a debug session for a deployed API Proxy revision.
|
|
3182
3663
|
# @param [String] parent
|
|
3183
|
-
# Required. The resource name of the API Proxy revision deployment for which
|
|
3184
|
-
#
|
|
3185
|
-
#
|
|
3186
|
-
# `revision``.
|
|
3664
|
+
# Required. The resource name of the API Proxy revision deployment for which to
|
|
3665
|
+
# create the DebugSession. Must be of the form `organizations/`organization`/
|
|
3666
|
+
# environments/`environment`/apis/`api`/revisions/`revision``.
|
|
3187
3667
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession] google_cloud_apigee_v1_debug_session_object
|
|
3188
3668
|
# @param [Fixnum] timeout
|
|
3189
|
-
# Optional. The time in seconds after which this DebugSession should end.
|
|
3190
|
-
#
|
|
3669
|
+
# Optional. The time in seconds after which this DebugSession should end. A
|
|
3670
|
+
# timeout specified in DebugSession will overwrite this value.
|
|
3191
3671
|
# @param [String] fields
|
|
3192
3672
|
# Selector specifying which fields to include in a partial response.
|
|
3193
3673
|
# @param [String] quota_user
|
|
@@ -3218,14 +3698,13 @@ module Google
|
|
|
3218
3698
|
execute_or_queue_command(command, &block)
|
|
3219
3699
|
end
|
|
3220
3700
|
|
|
3221
|
-
# Deletes the data from a debug session. This does not cancel the debug
|
|
3222
|
-
#
|
|
3223
|
-
#
|
|
3701
|
+
# Deletes the data from a debug session. This does not cancel the debug session
|
|
3702
|
+
# or prevent further data from being collected if the session is still active in
|
|
3703
|
+
# runtime pods.
|
|
3224
3704
|
# @param [String] name
|
|
3225
|
-
# Required. The name of the debug session to delete.
|
|
3226
|
-
#
|
|
3227
|
-
#
|
|
3228
|
-
# `revision`/debugsessions/`debugsession``.
|
|
3705
|
+
# Required. The name of the debug session to delete. Must be of the form: `
|
|
3706
|
+
# organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
|
|
3707
|
+
# revision`/debugsessions/`debugsession``.
|
|
3229
3708
|
# @param [String] fields
|
|
3230
3709
|
# Selector specifying which fields to include in a partial response.
|
|
3231
3710
|
# @param [String] quota_user
|
|
@@ -3255,10 +3734,9 @@ module Google
|
|
|
3255
3734
|
|
|
3256
3735
|
# Retrieves a debug session.
|
|
3257
3736
|
# @param [String] name
|
|
3258
|
-
# Required. The name of the debug session to retrieve.
|
|
3259
|
-
#
|
|
3260
|
-
#
|
|
3261
|
-
# `revision`/debugsessions/`session``.
|
|
3737
|
+
# Required. The name of the debug session to retrieve. Must be of the form: `
|
|
3738
|
+
# organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
|
|
3739
|
+
# revision`/debugsessions/`session``.
|
|
3262
3740
|
# @param [String] fields
|
|
3263
3741
|
# Selector specifying which fields to include in a partial response.
|
|
3264
3742
|
# @param [String] quota_user
|
|
@@ -3278,27 +3756,101 @@ module Google
|
|
|
3278
3756
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3279
3757
|
def get_organization_environment_api_revision_debugsession(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3280
3758
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3281
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession::Representation
|
|
3282
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession
|
|
3759
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession::Representation
|
|
3760
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession
|
|
3761
|
+
command.params['name'] = name unless name.nil?
|
|
3762
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3763
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3764
|
+
execute_or_queue_command(command, &block)
|
|
3765
|
+
end
|
|
3766
|
+
|
|
3767
|
+
# Lists debug sessions that are currently active in the given API Proxy revision.
|
|
3768
|
+
# @param [String] parent
|
|
3769
|
+
# Required. The name of the API Proxy revision deployment for which to list
|
|
3770
|
+
# debug sessions. Must be of the form: `organizations/`organization`/
|
|
3771
|
+
# environments/`environment`/apis/`api`/revisions/`revision``.
|
|
3772
|
+
# @param [Fixnum] page_size
|
|
3773
|
+
# Maximum number of debug sessions to return. The page size defaults to 25.
|
|
3774
|
+
# @param [String] page_token
|
|
3775
|
+
# Page token, returned from a previous ListDebugSessions call, that you can use
|
|
3776
|
+
# to retrieve the next page.
|
|
3777
|
+
# @param [String] fields
|
|
3778
|
+
# Selector specifying which fields to include in a partial response.
|
|
3779
|
+
# @param [String] quota_user
|
|
3780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3782
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3783
|
+
# Request-specific options
|
|
3784
|
+
#
|
|
3785
|
+
# @yield [result, err] Result & error if block supplied
|
|
3786
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse] parsed result object
|
|
3787
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3788
|
+
#
|
|
3789
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse]
|
|
3790
|
+
#
|
|
3791
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3792
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3793
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3794
|
+
def list_organization_environment_api_revision_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3795
|
+
command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
|
|
3796
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation
|
|
3797
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse
|
|
3798
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3799
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3800
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3801
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3802
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3803
|
+
execute_or_queue_command(command, &block)
|
|
3804
|
+
end
|
|
3805
|
+
|
|
3806
|
+
# Gets the debug data from a transaction.
|
|
3807
|
+
# @param [String] name
|
|
3808
|
+
# Required. The name of the debug session transaction. Must be of the form: `
|
|
3809
|
+
# organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
|
|
3810
|
+
# revision`/debugsessions/`session`/data/`transaction``.
|
|
3811
|
+
# @param [String] fields
|
|
3812
|
+
# Selector specifying which fields to include in a partial response.
|
|
3813
|
+
# @param [String] quota_user
|
|
3814
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3815
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3816
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3817
|
+
# Request-specific options
|
|
3818
|
+
#
|
|
3819
|
+
# @yield [result, err] Result & error if block supplied
|
|
3820
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction] parsed result object
|
|
3821
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3822
|
+
#
|
|
3823
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction]
|
|
3824
|
+
#
|
|
3825
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3826
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3827
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3828
|
+
def get_organization_environment_api_revision_debugsession_datum(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3829
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3830
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction::Representation
|
|
3831
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSessionTransaction
|
|
3283
3832
|
command.params['name'] = name unless name.nil?
|
|
3284
3833
|
command.query['fields'] = fields unless fields.nil?
|
|
3285
3834
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3286
3835
|
execute_or_queue_command(command, &block)
|
|
3287
3836
|
end
|
|
3288
3837
|
|
|
3289
|
-
#
|
|
3290
|
-
#
|
|
3291
|
-
#
|
|
3292
|
-
#
|
|
3293
|
-
#
|
|
3294
|
-
#
|
|
3295
|
-
#
|
|
3296
|
-
# @param [
|
|
3297
|
-
#
|
|
3298
|
-
#
|
|
3299
|
-
# @param [String]
|
|
3300
|
-
#
|
|
3301
|
-
#
|
|
3838
|
+
# Generates a report for a dry run analysis of a DeployApiProxy request without
|
|
3839
|
+
# committing the deployment. In addition to the standard validations performed
|
|
3840
|
+
# when adding deployments, additional analysis will be done to detect possible
|
|
3841
|
+
# traffic routing changes that would result from this deployment being created.
|
|
3842
|
+
# Any potential routing conflicts or unsafe changes will be reported in the
|
|
3843
|
+
# response. This routing analysis is not performed for a non-dry-run
|
|
3844
|
+
# DeployApiProxy request.
|
|
3845
|
+
# @param [String] name
|
|
3846
|
+
# Name of the API proxy revision deployment in the following format: `
|
|
3847
|
+
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
|
3848
|
+
# @param [String] basepath
|
|
3849
|
+
# Base path where the API proxy revision should be deployed. Defaults to '/' if
|
|
3850
|
+
# not provided.
|
|
3851
|
+
# @param [Boolean] override
|
|
3852
|
+
# Flag that specifies whether to force the deployment of the new revision over
|
|
3853
|
+
# the currently deployed revision by overriding conflict checks.
|
|
3302
3854
|
# @param [String] fields
|
|
3303
3855
|
# Selector specifying which fields to include in a partial response.
|
|
3304
3856
|
# @param [String] quota_user
|
|
@@ -3308,31 +3860,36 @@ module Google
|
|
|
3308
3860
|
# Request-specific options
|
|
3309
3861
|
#
|
|
3310
3862
|
# @yield [result, err] Result & error if block supplied
|
|
3311
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
3863
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object
|
|
3312
3864
|
# @yieldparam err [StandardError] error object if request failed
|
|
3313
3865
|
#
|
|
3314
|
-
# @return [Google::Apis::ApigeeV1::
|
|
3866
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport]
|
|
3315
3867
|
#
|
|
3316
3868
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3317
3869
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3318
3870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3319
|
-
def
|
|
3320
|
-
command = make_simple_command(:
|
|
3321
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
|
3322
|
-
command.response_class = Google::Apis::ApigeeV1::
|
|
3323
|
-
command.params['
|
|
3324
|
-
command.query['
|
|
3325
|
-
command.query['
|
|
3871
|
+
def generate_organization_environment_api_revision_deployment_deploy_change_report(name, basepath: nil, override: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3872
|
+
command = make_simple_command(:post, 'v1/{+name}/deployments:generateDeployChangeReport', options)
|
|
3873
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
|
|
3874
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
|
|
3875
|
+
command.params['name'] = name unless name.nil?
|
|
3876
|
+
command.query['basepath'] = basepath unless basepath.nil?
|
|
3877
|
+
command.query['override'] = override unless override.nil?
|
|
3326
3878
|
command.query['fields'] = fields unless fields.nil?
|
|
3327
3879
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3328
3880
|
execute_or_queue_command(command, &block)
|
|
3329
3881
|
end
|
|
3330
3882
|
|
|
3331
|
-
#
|
|
3883
|
+
# Generates a report for a dry run analysis of an UndeployApiProxy request
|
|
3884
|
+
# without committing the undeploy. In addition to the standard validations
|
|
3885
|
+
# performed when removing deployments, additional analysis will be done to
|
|
3886
|
+
# detect possible traffic routing changes that would result from this deployment
|
|
3887
|
+
# being removed. Any potential routing conflicts or unsafe changes will be
|
|
3888
|
+
# reported in the response. This routing analysis is not performed for a non-dry-
|
|
3889
|
+
# run UndeployApiProxy request.
|
|
3332
3890
|
# @param [String] name
|
|
3333
|
-
#
|
|
3334
|
-
#
|
|
3335
|
-
# `revision`/debugsessions/`session`/data/`transaction``.
|
|
3891
|
+
# Name of the API proxy revision deployment in the following format: `
|
|
3892
|
+
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
|
3336
3893
|
# @param [String] fields
|
|
3337
3894
|
# Selector specifying which fields to include in a partial response.
|
|
3338
3895
|
# @param [String] quota_user
|
|
@@ -3342,18 +3899,18 @@ module Google
|
|
|
3342
3899
|
# Request-specific options
|
|
3343
3900
|
#
|
|
3344
3901
|
# @yield [result, err] Result & error if block supplied
|
|
3345
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
|
3902
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport] parsed result object
|
|
3346
3903
|
# @yieldparam err [StandardError] error object if request failed
|
|
3347
3904
|
#
|
|
3348
|
-
# @return [Google::Apis::ApigeeV1::
|
|
3905
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport]
|
|
3349
3906
|
#
|
|
3350
3907
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3351
3908
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3352
3909
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3353
|
-
def
|
|
3354
|
-
command = make_simple_command(:
|
|
3355
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
|
3356
|
-
command.response_class = Google::Apis::ApigeeV1::
|
|
3910
|
+
def generate_organization_environment_api_revision_deployment_undeploy_change_report(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3911
|
+
command = make_simple_command(:post, 'v1/{+name}/deployments:generateUndeployChangeReport', options)
|
|
3912
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
|
|
3913
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
|
|
3357
3914
|
command.params['name'] = name unless name.nil?
|
|
3358
3915
|
command.query['fields'] = fields unless fields.nil?
|
|
3359
3916
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -3362,9 +3919,8 @@ module Google
|
|
|
3362
3919
|
|
|
3363
3920
|
# Deletes a cache.
|
|
3364
3921
|
# @param [String] name
|
|
3365
|
-
# Required. Cache resource name of the form:
|
|
3366
|
-
#
|
|
3367
|
-
# cache_id``
|
|
3922
|
+
# Required. Cache resource name of the form: `organizations/`organization_id`/
|
|
3923
|
+
# environments/`environment_id`/caches/`cache_id``
|
|
3368
3924
|
# @param [String] fields
|
|
3369
3925
|
# Selector specifying which fields to include in a partial response.
|
|
3370
3926
|
# @param [String] quota_user
|
|
@@ -3395,13 +3951,10 @@ module Google
|
|
|
3395
3951
|
# Lists all deployments of API proxies or shared flows in an environment.
|
|
3396
3952
|
# @param [String] parent
|
|
3397
3953
|
# Required. Name of the environment for which to return deployment information
|
|
3398
|
-
# in the
|
|
3399
|
-
# following format:
|
|
3400
|
-
# `organizations/`org`/environments/`env``
|
|
3954
|
+
# in the following format: `organizations/`org`/environments/`env``
|
|
3401
3955
|
# @param [Boolean] shared_flows
|
|
3402
3956
|
# Optional. Flag that specifies whether to return shared flow or API proxy
|
|
3403
|
-
# deployments.
|
|
3404
|
-
# Set to `true` to return shared flow deployments; set to `false`
|
|
3957
|
+
# deployments. Set to `true` to return shared flow deployments; set to `false`
|
|
3405
3958
|
# to return API proxy deployments. Defaults to `false`.
|
|
3406
3959
|
# @param [String] fields
|
|
3407
3960
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3433,9 +3986,9 @@ module Google
|
|
|
3433
3986
|
|
|
3434
3987
|
# Attaches a shared flow to a flow hook.
|
|
3435
3988
|
# @param [String] name
|
|
3436
|
-
# Required. Name of the flow hook to which the shared flow should be
|
|
3437
|
-
#
|
|
3438
|
-
#
|
|
3989
|
+
# Required. Name of the flow hook to which the shared flow should be attached in
|
|
3990
|
+
# the following format: `organizations/`org`/environments/`env`/flowhooks/`
|
|
3991
|
+
# flowhook``
|
|
3439
3992
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHook] google_cloud_apigee_v1_flow_hook_object
|
|
3440
3993
|
# @param [String] fields
|
|
3441
3994
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3468,8 +4021,8 @@ module Google
|
|
|
3468
4021
|
|
|
3469
4022
|
# Detaches a shared flow from a flow hook.
|
|
3470
4023
|
# @param [String] name
|
|
3471
|
-
# Required. Name of the flow hook to detach in the following format:
|
|
3472
|
-
#
|
|
4024
|
+
# Required. Name of the flow hook to detach in the following format: `
|
|
4025
|
+
# organizations/`org`/environments/`env`/flowhooks/`flowhook``
|
|
3473
4026
|
# @param [String] fields
|
|
3474
4027
|
# Selector specifying which fields to include in a partial response.
|
|
3475
4028
|
# @param [String] quota_user
|
|
@@ -3498,11 +4051,11 @@ module Google
|
|
|
3498
4051
|
end
|
|
3499
4052
|
|
|
3500
4053
|
# Returns the name of the shared flow attached to the specified flow hook. If
|
|
3501
|
-
# there's no shared flow attached to the flow hook, the API does not return
|
|
3502
|
-
#
|
|
4054
|
+
# there's no shared flow attached to the flow hook, the API does not return an
|
|
4055
|
+
# error; it simply does not return a name in the response.
|
|
3503
4056
|
# @param [String] name
|
|
3504
|
-
# Required. Name of the flow hook in the following format:
|
|
3505
|
-
#
|
|
4057
|
+
# Required. Name of the flow hook in the following format: `organizations/`org`/
|
|
4058
|
+
# environments/`env`/flowhooks/`flowhook``
|
|
3506
4059
|
# @param [String] fields
|
|
3507
4060
|
# Selector specifying which fields to include in a partial response.
|
|
3508
4061
|
# @param [String] quota_user
|
|
@@ -3530,15 +4083,13 @@ module Google
|
|
|
3530
4083
|
execute_or_queue_command(command, &block)
|
|
3531
4084
|
end
|
|
3532
4085
|
|
|
3533
|
-
# Creates a keystore or truststore:
|
|
3534
|
-
# *
|
|
3535
|
-
#
|
|
3536
|
-
# server's certificate. These certificates are typically self-signed
|
|
4086
|
+
# Creates a keystore or truststore: * Keystore: Contains certificates and their
|
|
4087
|
+
# associated keys. * Truststore: Contains trusted certificates used to validate
|
|
4088
|
+
# a server's certificate. These certificates are typically self-signed
|
|
3537
4089
|
# certificates or certificates that are not signed by a trusted CA.
|
|
3538
4090
|
# @param [String] parent
|
|
3539
|
-
# Required. The name of the environment in which to create the keystore.
|
|
3540
|
-
#
|
|
3541
|
-
# `organizations/`organization`/environments/`environment``.
|
|
4091
|
+
# Required. The name of the environment in which to create the keystore. Must be
|
|
4092
|
+
# of the form `organizations/`organization`/environments/`environment``.
|
|
3542
4093
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Keystore] google_cloud_apigee_v1_keystore_object
|
|
3543
4094
|
# @param [String] name
|
|
3544
4095
|
# Optional. Overrides the value in Keystore.
|
|
@@ -3574,8 +4125,8 @@ module Google
|
|
|
3574
4125
|
|
|
3575
4126
|
# Deletes a keystore or truststore.
|
|
3576
4127
|
# @param [String] name
|
|
3577
|
-
# Required. The name of keystore to delete. Must be of the form
|
|
3578
|
-
#
|
|
4128
|
+
# Required. The name of keystore to delete. Must be of the form `organizations/`
|
|
4129
|
+
# organization`/environments/`environment`/keystores/`keystore``.
|
|
3579
4130
|
# @param [String] fields
|
|
3580
4131
|
# Selector specifying which fields to include in a partial response.
|
|
3581
4132
|
# @param [String] quota_user
|
|
@@ -3605,8 +4156,8 @@ module Google
|
|
|
3605
4156
|
|
|
3606
4157
|
# Gets a keystore or truststore.
|
|
3607
4158
|
# @param [String] name
|
|
3608
|
-
# Required. The name of keystore. Must be of the form
|
|
3609
|
-
#
|
|
4159
|
+
# Required. The name of keystore. Must be of the form `organizations/`
|
|
4160
|
+
# organization`/environments/`environment`/keystores/`keystore``.
|
|
3610
4161
|
# @param [String] fields
|
|
3611
4162
|
# Selector specifying which fields to include in a partial response.
|
|
3612
4163
|
# @param [String] quota_user
|
|
@@ -3634,38 +4185,35 @@ module Google
|
|
|
3634
4185
|
execute_or_queue_command(command, &block)
|
|
3635
4186
|
end
|
|
3636
4187
|
|
|
3637
|
-
# Creates an alias from a key, certificate pair.
|
|
3638
|
-
#
|
|
3639
|
-
#
|
|
3640
|
-
#
|
|
3641
|
-
#
|
|
3642
|
-
#
|
|
3643
|
-
# * `
|
|
3644
|
-
#
|
|
3645
|
-
#
|
|
3646
|
-
# * `selfsignedcert` - A new private key and certificate are generated. The
|
|
3647
|
-
# request must have `Content-Type: application/json` and a body of
|
|
3648
|
-
# CertificateGenerationSpec.
|
|
4188
|
+
# Creates an alias from a key, certificate pair. The structure of the request is
|
|
4189
|
+
# controlled by the `format` query parameter: * `keycertfile` - Separate PEM-
|
|
4190
|
+
# encoded key and certificate files are uploaded. The request must have `Content-
|
|
4191
|
+
# Type: multipart/form-data` and include fields `keyFile` and `certFile`. If
|
|
4192
|
+
# uploading to a truststore, omit `keyFile`. * `pkcs12` - A PKCS12 file is
|
|
4193
|
+
# uploaded. The request must have `Content-Type: multipart/form-data` with the
|
|
4194
|
+
# file provided in the only field. * `selfsignedcert` - A new private key and
|
|
4195
|
+
# certificate are generated. The request must have `Content-Type: application/
|
|
4196
|
+
# json` and a body of CertificateGenerationSpec.
|
|
3649
4197
|
# @param [String] parent
|
|
3650
|
-
# Required. The name of the keystore. Must be of the form
|
|
3651
|
-
#
|
|
4198
|
+
# Required. The name of the keystore. Must be of the form `organizations/`
|
|
4199
|
+
# organization`/environments/`environment`/keystores/`keystore``.
|
|
3652
4200
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
3653
4201
|
# @param [String] _password
|
|
3654
4202
|
# The password for the private key file, if it exists.
|
|
3655
4203
|
# @param [String] alias_
|
|
3656
|
-
# The alias for the key, certificate pair. Values must match
|
|
3657
|
-
#
|
|
3658
|
-
#
|
|
3659
|
-
#
|
|
4204
|
+
# The alias for the key, certificate pair. Values must match regular expression `
|
|
4205
|
+
# [\w\s-.]`1,255``. This must be provided for all formats except 'selfsignedcert'
|
|
4206
|
+
# ; self-signed certs may specify the alias in either this parameter or the JSON
|
|
4207
|
+
# body.
|
|
3660
4208
|
# @param [String] format
|
|
3661
|
-
# Required. The format of the data. Must be either `selfsignedcert`,
|
|
3662
|
-
#
|
|
4209
|
+
# Required. The format of the data. Must be either `selfsignedcert`, `
|
|
4210
|
+
# keycertfile`, or `pkcs12`.
|
|
3663
4211
|
# @param [Boolean] ignore_expiry_validation
|
|
3664
4212
|
# If `true`, no expiry validation will be performed.
|
|
3665
4213
|
# @param [Boolean] ignore_newline_validation
|
|
3666
4214
|
# If `true`, do not throw an error when the file contains a chain with no
|
|
3667
|
-
# newline between each certificate. By default, a newline is needed between
|
|
3668
|
-
#
|
|
4215
|
+
# newline between each certificate. By default, a newline is needed between each
|
|
4216
|
+
# certificate in a chain.
|
|
3669
4217
|
# @param [String] fields
|
|
3670
4218
|
# Selector specifying which fields to include in a partial response.
|
|
3671
4219
|
# @param [String] quota_user
|
|
@@ -3700,12 +4248,11 @@ module Google
|
|
|
3700
4248
|
execute_or_queue_command(command, &block)
|
|
3701
4249
|
end
|
|
3702
4250
|
|
|
3703
|
-
# Generates a PKCS #10 Certificate Signing Request for the private key in
|
|
3704
|
-
#
|
|
4251
|
+
# Generates a PKCS #10 Certificate Signing Request for the private key in an
|
|
4252
|
+
# alias.
|
|
3705
4253
|
# @param [String] name
|
|
3706
|
-
# Required. The name of the alias. Must be of the form
|
|
3707
|
-
#
|
|
3708
|
-
# aliases/`alias``.
|
|
4254
|
+
# Required. The name of the alias. Must be of the form `organizations/`
|
|
4255
|
+
# organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
|
|
3709
4256
|
# @param [String] fields
|
|
3710
4257
|
# Selector specifying which fields to include in a partial response.
|
|
3711
4258
|
# @param [String] quota_user
|
|
@@ -3735,9 +4282,8 @@ module Google
|
|
|
3735
4282
|
|
|
3736
4283
|
# Deletes an alias.
|
|
3737
4284
|
# @param [String] name
|
|
3738
|
-
# Required. The name of the alias. Must be of the form
|
|
3739
|
-
#
|
|
3740
|
-
# aliases/`alias``.
|
|
4285
|
+
# Required. The name of the alias. Must be of the form `organizations/`
|
|
4286
|
+
# organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
|
|
3741
4287
|
# @param [String] fields
|
|
3742
4288
|
# Selector specifying which fields to include in a partial response.
|
|
3743
4289
|
# @param [String] quota_user
|
|
@@ -3767,9 +4313,8 @@ module Google
|
|
|
3767
4313
|
|
|
3768
4314
|
# Gets an alias.
|
|
3769
4315
|
# @param [String] name
|
|
3770
|
-
# Required. The name of the alias. Must be of the form
|
|
3771
|
-
#
|
|
3772
|
-
# aliases/`alias``.
|
|
4316
|
+
# Required. The name of the alias. Must be of the form `organizations/`
|
|
4317
|
+
# organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
|
|
3773
4318
|
# @param [String] fields
|
|
3774
4319
|
# Selector specifying which fields to include in a partial response.
|
|
3775
4320
|
# @param [String] quota_user
|
|
@@ -3799,9 +4344,8 @@ module Google
|
|
|
3799
4344
|
|
|
3800
4345
|
# Gets the certificate from an alias in PEM-encoded form.
|
|
3801
4346
|
# @param [String] name
|
|
3802
|
-
# Required. The name of the alias. Must be of the form
|
|
3803
|
-
#
|
|
3804
|
-
# aliases/`alias``.
|
|
4347
|
+
# Required. The name of the alias. Must be of the form `organizations/`
|
|
4348
|
+
# organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
|
|
3805
4349
|
# @param [String] fields
|
|
3806
4350
|
# Selector specifying which fields to include in a partial response.
|
|
3807
4351
|
# @param [String] quota_user
|
|
@@ -3831,16 +4375,15 @@ module Google
|
|
|
3831
4375
|
|
|
3832
4376
|
# Updates the certificate in an alias.
|
|
3833
4377
|
# @param [String] name
|
|
3834
|
-
# Required. The name of the alias. Must be of the form
|
|
3835
|
-
#
|
|
3836
|
-
# aliases/`alias``.
|
|
4378
|
+
# Required. The name of the alias. Must be of the form `organizations/`
|
|
4379
|
+
# organization`/environments/`environment`/keystores/`keystore`/aliases/`alias``.
|
|
3837
4380
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
3838
4381
|
# @param [Boolean] ignore_expiry_validation
|
|
3839
4382
|
# Required. If `true`, no expiry validation will be performed.
|
|
3840
4383
|
# @param [Boolean] ignore_newline_validation
|
|
3841
4384
|
# If `true`, do not throw an error when the file contains a chain with no
|
|
3842
|
-
# newline between each certificate. By default, a newline is needed between
|
|
3843
|
-
#
|
|
4385
|
+
# newline between each certificate. By default, a newline is needed between each
|
|
4386
|
+
# certificate in a chain.
|
|
3844
4387
|
# @param [String] fields
|
|
3845
4388
|
# Selector specifying which fields to include in a partial response.
|
|
3846
4389
|
# @param [String] quota_user
|
|
@@ -3875,8 +4418,7 @@ module Google
|
|
|
3875
4418
|
# Creates a key value map in an environment.
|
|
3876
4419
|
# @param [String] parent
|
|
3877
4420
|
# Required. The name of the environment in which to create the key value map.
|
|
3878
|
-
# Must be of the form
|
|
3879
|
-
# `organizations/`organization`/environments/`environment``.
|
|
4421
|
+
# Must be of the form `organizations/`organization`/environments/`environment``.
|
|
3880
4422
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
|
|
3881
4423
|
# @param [String] fields
|
|
3882
4424
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3909,10 +4451,8 @@ module Google
|
|
|
3909
4451
|
|
|
3910
4452
|
# Delete a key value map in an environment.
|
|
3911
4453
|
# @param [String] name
|
|
3912
|
-
# Required. The name of the key value map.
|
|
3913
|
-
#
|
|
3914
|
-
# `organizations/`organization`/environments/`environment`/keyvaluemaps/`
|
|
3915
|
-
# keyvaluemap``.
|
|
4454
|
+
# Required. The name of the key value map. Must be of the form `organizations/`
|
|
4455
|
+
# organization`/environments/`environment`/keyvaluemaps/`keyvaluemap``.
|
|
3916
4456
|
# @param [String] fields
|
|
3917
4457
|
# Selector specifying which fields to include in a partial response.
|
|
3918
4458
|
# @param [String] quota_user
|
|
@@ -3940,60 +4480,56 @@ module Google
|
|
|
3940
4480
|
execute_or_queue_command(command, &block)
|
|
3941
4481
|
end
|
|
3942
4482
|
|
|
3943
|
-
# This api is similar to GetStats
|
|
3944
|
-
#
|
|
3945
|
-
#
|
|
3946
|
-
#
|
|
3947
|
-
#
|
|
3948
|
-
# predominantly used by Edge UI, we are introducing a separate api.
|
|
4483
|
+
# This api is similar to GetStats except that the response is less verbose. In
|
|
4484
|
+
# the current scheme, a query parameter _optimized instructs Edge Analytics to
|
|
4485
|
+
# change the response but since this behavior is not possible with protocol
|
|
4486
|
+
# buffer and since this parameter is predominantly used by Edge UI, we are
|
|
4487
|
+
# introducing a separate api.
|
|
3949
4488
|
# @param [String] name
|
|
3950
4489
|
# Required. The resource name for which the interactive query will be executed.
|
|
3951
|
-
# Must be of the form
|
|
3952
|
-
#
|
|
3953
|
-
# dimensions
|
|
3954
|
-
#
|
|
3955
|
-
#
|
|
3956
|
-
# shown below
|
|
3957
|
-
# `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
|
|
4490
|
+
# Must be of the form `organizations/`organization_id`/environments/`
|
|
4491
|
+
# environment_id/stats/`dimensions`` Dimensions let you view metrics in
|
|
4492
|
+
# meaningful groupings. E.g. apiproxy, target_host. The value of dimensions
|
|
4493
|
+
# should be comma separated list as shown below `organizations/`org`/
|
|
4494
|
+
# environments/`env`/stats/apiproxy,request_verb`
|
|
3958
4495
|
# @param [String] accuracy
|
|
3959
4496
|
# Legacy field: not used anymore.
|
|
3960
4497
|
# @param [String] agg_table
|
|
3961
|
-
# If customers want to query custom aggregate tables, then this parameter
|
|
3962
|
-
#
|
|
3963
|
-
#
|
|
3964
|
-
# expensive.
|
|
4498
|
+
# If customers want to query custom aggregate tables, then this parameter can be
|
|
4499
|
+
# used to specify the table name. If this parameter is skipped, then Edge Query
|
|
4500
|
+
# will try to retrieve the data from fact tables which will be expensive.
|
|
3965
4501
|
# @param [String] filter
|
|
3966
4502
|
# Enables drill-down on specific dimension values.
|
|
3967
4503
|
# @param [String] limit
|
|
3968
|
-
# This parameter is used to limit the number of result items.
|
|
3969
|
-
#
|
|
4504
|
+
# This parameter is used to limit the number of result items. Default and the
|
|
4505
|
+
# max value is 14400.
|
|
3970
4506
|
# @param [String] offset
|
|
3971
|
-
# Use offset with limit to enable pagination of results. For example,
|
|
3972
|
-
#
|
|
4507
|
+
# Use offset with limit to enable pagination of results. For example, to display
|
|
4508
|
+
# results 11-20, set limit to '10' and offset to '10'.
|
|
3973
4509
|
# @param [Boolean] realtime
|
|
3974
4510
|
# Legacy field: not used anymore.
|
|
3975
4511
|
# @param [String] select
|
|
3976
|
-
# Required. The select parameter contains a comma separated list of metrics.
|
|
3977
|
-
#
|
|
4512
|
+
# Required. The select parameter contains a comma separated list of metrics. E.g.
|
|
4513
|
+
# sum(message_count),sum(error_count)
|
|
3978
4514
|
# @param [Boolean] sonar
|
|
3979
4515
|
# This parameter routes the query to api monitoring service for last hour.
|
|
3980
4516
|
# @param [String] sort
|
|
3981
|
-
# This parameter specifies if the sort order should be ascending or
|
|
3982
|
-
#
|
|
4517
|
+
# This parameter specifies if the sort order should be ascending or descending
|
|
4518
|
+
# Supported values are DESC and ASC.
|
|
3983
4519
|
# @param [String] sortby
|
|
3984
4520
|
# Comma separated list of columns to sort the final result.
|
|
3985
4521
|
# @param [String] time_range
|
|
3986
|
-
# Required. Time interval for the interactive query.
|
|
3987
|
-
#
|
|
4522
|
+
# Required. Time interval for the interactive query. Time range is specified as
|
|
4523
|
+
# start~end E.g. 04/15/2017 00:00~05/15/2017 23:59
|
|
3988
4524
|
# @param [String] time_unit
|
|
3989
|
-
# A value of second, minute, hour, day, week, month.
|
|
3990
|
-
#
|
|
4525
|
+
# A value of second, minute, hour, day, week, month. Time Unit specifies the
|
|
4526
|
+
# granularity of metrics returned.
|
|
3991
4527
|
# @param [String] topk
|
|
3992
|
-
# Take 'top k' results from results, for example, to return the top 5
|
|
3993
|
-
#
|
|
4528
|
+
# Take 'top k' results from results, for example, to return the top 5 results '
|
|
4529
|
+
# topk=5'.
|
|
3994
4530
|
# @param [Boolean] ts_ascending
|
|
3995
|
-
# Lists timestamps in ascending order if set to true. Recommend setting
|
|
3996
|
-
#
|
|
4531
|
+
# Lists timestamps in ascending order if set to true. Recommend setting this
|
|
4532
|
+
# value to true if you are using sortby with sort=DESC.
|
|
3997
4533
|
# @param [String] tzo
|
|
3998
4534
|
# This parameters contains the timezone offset value.
|
|
3999
4535
|
# @param [String] fields
|
|
@@ -4038,13 +4574,13 @@ module Google
|
|
|
4038
4574
|
execute_or_queue_command(command, &block)
|
|
4039
4575
|
end
|
|
4040
4576
|
|
|
4041
|
-
# Submit a query to be processed in the background.
|
|
4042
|
-
#
|
|
4043
|
-
#
|
|
4044
|
-
#
|
|
4577
|
+
# Submit a query to be processed in the background. If the submission of the
|
|
4578
|
+
# query succeeds, the API returns a 201 status and an ID that refer to the query.
|
|
4579
|
+
# In addition to the HTTP status 201, the `state` of "enqueued" means that the
|
|
4580
|
+
# request succeeded.
|
|
4045
4581
|
# @param [String] parent
|
|
4046
|
-
# Required. The parent resource name.
|
|
4047
|
-
#
|
|
4582
|
+
# Required. The parent resource name. Must be of the form `organizations/`org`/
|
|
4583
|
+
# environments/`env``.
|
|
4048
4584
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
|
|
4049
4585
|
# @param [String] fields
|
|
4050
4586
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4075,12 +4611,12 @@ module Google
|
|
|
4075
4611
|
execute_or_queue_command(command, &block)
|
|
4076
4612
|
end
|
|
4077
4613
|
|
|
4078
|
-
# Get query status
|
|
4079
|
-
#
|
|
4080
|
-
#
|
|
4614
|
+
# Get query status If the query is still in progress, the `state` is set to "
|
|
4615
|
+
# running" After the query has completed successfully, `state` is set to "
|
|
4616
|
+
# completed"
|
|
4081
4617
|
# @param [String] name
|
|
4082
|
-
# Required. Name of the asynchronous query to get. Must be of the form
|
|
4083
|
-
#
|
|
4618
|
+
# Required. Name of the asynchronous query to get. Must be of the form `
|
|
4619
|
+
# organizations/`org`/environments/`env`/queries/`queryId``.
|
|
4084
4620
|
# @param [String] fields
|
|
4085
4621
|
# Selector specifying which fields to include in a partial response.
|
|
4086
4622
|
# @param [String] quota_user
|
|
@@ -4108,15 +4644,14 @@ module Google
|
|
|
4108
4644
|
execute_or_queue_command(command, &block)
|
|
4109
4645
|
end
|
|
4110
4646
|
|
|
4111
|
-
# After the query is completed, use this API to retrieve the results.
|
|
4112
|
-
#
|
|
4113
|
-
#
|
|
4114
|
-
#
|
|
4115
|
-
#
|
|
4116
|
-
# Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip`
|
|
4647
|
+
# After the query is completed, use this API to retrieve the results. If the
|
|
4648
|
+
# request succeeds, and there is a non-zero result set, the result is downloaded
|
|
4649
|
+
# to the client as a zipped JSON file. The name of the downloaded file will be:
|
|
4650
|
+
# OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-
|
|
4651
|
+
# 318d0cb961bd.zip`
|
|
4117
4652
|
# @param [String] name
|
|
4118
|
-
# Required. Name of the asynchronous query result to get. Must be of the
|
|
4119
|
-
#
|
|
4653
|
+
# Required. Name of the asynchronous query result to get. Must be of the form `
|
|
4654
|
+
# organizations/`org`/environments/`env`/queries/`queryId`/result`.
|
|
4120
4655
|
# @param [String] fields
|
|
4121
4656
|
# Selector specifying which fields to include in a partial response.
|
|
4122
4657
|
# @param [String] quota_user
|
|
@@ -4146,15 +4681,13 @@ module Google
|
|
|
4146
4681
|
|
|
4147
4682
|
# Return a list of Asynchronous Queries
|
|
4148
4683
|
# @param [String] parent
|
|
4149
|
-
# Required. The parent resource name.
|
|
4150
|
-
#
|
|
4684
|
+
# Required. The parent resource name. Must be of the form `organizations/`org`/
|
|
4685
|
+
# environments/`env``.
|
|
4151
4686
|
# @param [String] dataset
|
|
4152
|
-
# Filter response list by dataset.
|
|
4153
|
-
# Example: `api`, `mint`
|
|
4687
|
+
# Filter response list by dataset. Example: `api`, `mint`
|
|
4154
4688
|
# @param [String] from
|
|
4155
|
-
# Filter response list by returning asynchronous queries that
|
|
4156
|
-
#
|
|
4157
|
-
# Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
|
|
4689
|
+
# Filter response list by returning asynchronous queries that created after this
|
|
4690
|
+
# date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
|
|
4158
4691
|
# @param [String] incl_queries_without_report
|
|
4159
4692
|
# Flag to include asynchronous queries that don't have a report denifition.
|
|
4160
4693
|
# @param [String] status
|
|
@@ -4162,9 +4695,9 @@ module Google
|
|
|
4162
4695
|
# @param [String] submitted_by
|
|
4163
4696
|
# Filter response list by user who submitted queries.
|
|
4164
4697
|
# @param [String] to
|
|
4165
|
-
# Filter response list by returning asynchronous queries that
|
|
4166
|
-
#
|
|
4167
|
-
#
|
|
4698
|
+
# Filter response list by returning asynchronous queries that created before
|
|
4699
|
+
# this date time. Time must be in ISO date-time format like '2011-12-03T10:16:
|
|
4700
|
+
# 30Z'.
|
|
4168
4701
|
# @param [String] fields
|
|
4169
4702
|
# Selector specifying which fields to include in a partial response.
|
|
4170
4703
|
# @param [String] quota_user
|
|
@@ -4200,8 +4733,8 @@ module Google
|
|
|
4200
4733
|
|
|
4201
4734
|
# Creates a Reference in the specified environment.
|
|
4202
4735
|
# @param [String] parent
|
|
4203
|
-
# Required. The parent environment name under which the Reference will
|
|
4204
|
-
#
|
|
4736
|
+
# Required. The parent environment name under which the Reference will be
|
|
4737
|
+
# created. Must be of the form `organizations/`org`/environments/`env``.
|
|
4205
4738
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Reference] google_cloud_apigee_v1_reference_object
|
|
4206
4739
|
# @param [String] fields
|
|
4207
4740
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4232,11 +4765,11 @@ module Google
|
|
|
4232
4765
|
execute_or_queue_command(command, &block)
|
|
4233
4766
|
end
|
|
4234
4767
|
|
|
4235
|
-
# Deletes a Reference from an environment. Returns the deleted
|
|
4236
|
-
#
|
|
4768
|
+
# Deletes a Reference from an environment. Returns the deleted Reference
|
|
4769
|
+
# resource.
|
|
4237
4770
|
# @param [String] name
|
|
4238
|
-
# Required. The name of the Reference to delete. Must be
|
|
4239
|
-
#
|
|
4771
|
+
# Required. The name of the Reference to delete. Must be of the form `
|
|
4772
|
+
# organizations/`org`/environments/`env`/references/`ref``.
|
|
4240
4773
|
# @param [String] fields
|
|
4241
4774
|
# Selector specifying which fields to include in a partial response.
|
|
4242
4775
|
# @param [String] quota_user
|
|
@@ -4266,8 +4799,8 @@ module Google
|
|
|
4266
4799
|
|
|
4267
4800
|
# Gets a Reference resource.
|
|
4268
4801
|
# @param [String] name
|
|
4269
|
-
# Required. The name of the Reference to get. Must be of the form
|
|
4270
|
-
# `
|
|
4802
|
+
# Required. The name of the Reference to get. Must be of the form `organizations/
|
|
4803
|
+
# `org`/environments/`env`/references/`ref``.
|
|
4271
4804
|
# @param [String] fields
|
|
4272
4805
|
# Selector specifying which fields to include in a partial response.
|
|
4273
4806
|
# @param [String] quota_user
|
|
@@ -4295,12 +4828,12 @@ module Google
|
|
|
4295
4828
|
execute_or_queue_command(command, &block)
|
|
4296
4829
|
end
|
|
4297
4830
|
|
|
4298
|
-
# Updates an existing Reference. Note that this operation has PUT
|
|
4299
|
-
#
|
|
4300
|
-
#
|
|
4831
|
+
# Updates an existing Reference. Note that this operation has PUT semantics; it
|
|
4832
|
+
# will replace the entirety of the existing Reference with the resource in the
|
|
4833
|
+
# request body.
|
|
4301
4834
|
# @param [String] name
|
|
4302
|
-
# Required. The name of the Reference to update. Must be of the form
|
|
4303
|
-
#
|
|
4835
|
+
# Required. The name of the Reference to update. Must be of the form `
|
|
4836
|
+
# organizations/`org`/environments/`env`/references/`ref``.
|
|
4304
4837
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Reference] google_cloud_apigee_v1_reference_object
|
|
4305
4838
|
# @param [String] fields
|
|
4306
4839
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4331,19 +4864,16 @@ module Google
|
|
|
4331
4864
|
execute_or_queue_command(command, &block)
|
|
4332
4865
|
end
|
|
4333
4866
|
|
|
4334
|
-
# Creates a resource file.
|
|
4335
|
-
#
|
|
4336
|
-
#
|
|
4337
|
-
# For more information about resource files, see
|
|
4338
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
4867
|
+
# Creates a resource file. Specify the `Content-Type` as `application/octet-
|
|
4868
|
+
# stream` or `multipart/form-data`. For more information about resource files,
|
|
4869
|
+
# see [Resource files](/api-platform/develop/resource-files).
|
|
4339
4870
|
# @param [String] parent
|
|
4340
4871
|
# Required. Name of the environment in which to create the resource file in the
|
|
4341
|
-
# following format:
|
|
4342
|
-
# `organizations/`org`/environments/`env``.
|
|
4872
|
+
# following format: `organizations/`org`/environments/`env``.
|
|
4343
4873
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
4344
4874
|
# @param [String] name
|
|
4345
|
-
# Required. Name of the resource file.
|
|
4346
|
-
#
|
|
4875
|
+
# Required. Name of the resource file. Must match the regular expression: [a-zA-
|
|
4876
|
+
# Z0-9:/\\!@#$%^&``\[\]()+\-=,.~'` ]`1,255`
|
|
4347
4877
|
# @param [String] type
|
|
4348
4878
|
# Required. Resource file type. `` resource_file_type ``
|
|
4349
4879
|
# @param [String] fields
|
|
@@ -4377,17 +4907,16 @@ module Google
|
|
|
4377
4907
|
execute_or_queue_command(command, &block)
|
|
4378
4908
|
end
|
|
4379
4909
|
|
|
4380
|
-
# Deletes a resource file.
|
|
4381
|
-
#
|
|
4382
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
4910
|
+
# Deletes a resource file. For more information about resource files, see [
|
|
4911
|
+
# Resource files](/api-platform/develop/resource-files).
|
|
4383
4912
|
# @param [String] parent
|
|
4384
|
-
# Required. Name of the environment in the following format:
|
|
4385
|
-
#
|
|
4913
|
+
# Required. Name of the environment in the following format: `organizations/`org`
|
|
4914
|
+
# /environments/`env``.
|
|
4386
4915
|
# @param [String] type
|
|
4387
4916
|
# Required. Resource file type. `` resource_file_type ``
|
|
4388
4917
|
# @param [String] name
|
|
4389
|
-
# Required. ID of the resource file to delete. Must match the regular
|
|
4390
|
-
#
|
|
4918
|
+
# Required. ID of the resource file to delete. Must match the regular expression:
|
|
4919
|
+
# [a-zA-Z0-9:/\\!@#$%^&``\[\]()+\-=,.~'` ]`1,255`
|
|
4391
4920
|
# @param [String] fields
|
|
4392
4921
|
# Selector specifying which fields to include in a partial response.
|
|
4393
4922
|
# @param [String] quota_user
|
|
@@ -4417,17 +4946,16 @@ module Google
|
|
|
4417
4946
|
execute_or_queue_command(command, &block)
|
|
4418
4947
|
end
|
|
4419
4948
|
|
|
4420
|
-
# Gets the contents of a resource file.
|
|
4421
|
-
#
|
|
4422
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
4949
|
+
# Gets the contents of a resource file. For more information about resource
|
|
4950
|
+
# files, see [Resource files](/api-platform/develop/resource-files).
|
|
4423
4951
|
# @param [String] parent
|
|
4424
|
-
# Required. Name of the environment in the following format:
|
|
4425
|
-
#
|
|
4952
|
+
# Required. Name of the environment in the following format: `organizations/`org`
|
|
4953
|
+
# /environments/`env``.
|
|
4426
4954
|
# @param [String] type
|
|
4427
|
-
# Required. Resource file type.
|
|
4955
|
+
# Required. Resource file type. `` resource_file_type ``
|
|
4428
4956
|
# @param [String] name
|
|
4429
|
-
# Required. ID of the resource file. Must match the regular
|
|
4430
|
-
#
|
|
4957
|
+
# Required. ID of the resource file. Must match the regular expression: [a-zA-Z0-
|
|
4958
|
+
# 9:/\\!@#$%^&``\[\]()+\-=,.~'` ]`1,255`
|
|
4431
4959
|
# @param [String] fields
|
|
4432
4960
|
# Selector specifying which fields to include in a partial response.
|
|
4433
4961
|
# @param [String] quota_user
|
|
@@ -4457,17 +4985,13 @@ module Google
|
|
|
4457
4985
|
execute_or_queue_command(command, &block)
|
|
4458
4986
|
end
|
|
4459
4987
|
|
|
4460
|
-
# Lists all resource files.
|
|
4461
|
-
#
|
|
4462
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
4988
|
+
# Lists all resource files. For more information about resource files, see [
|
|
4989
|
+
# Resource files](/api-platform/develop/resource-files).
|
|
4463
4990
|
# @param [String] parent
|
|
4464
4991
|
# Required. Name of the environment in which to list resource files in the
|
|
4465
|
-
# following
|
|
4466
|
-
# format:
|
|
4467
|
-
# `organizations/`org`/environments/`env``.
|
|
4992
|
+
# following format: `organizations/`org`/environments/`env``.
|
|
4468
4993
|
# @param [String] type
|
|
4469
|
-
# Optional. Type of resource files to list.
|
|
4470
|
-
# `` resource_file_type ``
|
|
4994
|
+
# Optional. Type of resource files to list. `` resource_file_type ``
|
|
4471
4995
|
# @param [String] fields
|
|
4472
4996
|
# Selector specifying which fields to include in a partial response.
|
|
4473
4997
|
# @param [String] quota_user
|
|
@@ -4496,17 +5020,13 @@ module Google
|
|
|
4496
5020
|
execute_or_queue_command(command, &block)
|
|
4497
5021
|
end
|
|
4498
5022
|
|
|
4499
|
-
# Lists all resource files.
|
|
4500
|
-
#
|
|
4501
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
5023
|
+
# Lists all resource files. For more information about resource files, see [
|
|
5024
|
+
# Resource files](/api-platform/develop/resource-files).
|
|
4502
5025
|
# @param [String] parent
|
|
4503
5026
|
# Required. Name of the environment in which to list resource files in the
|
|
4504
|
-
# following
|
|
4505
|
-
# format:
|
|
4506
|
-
# `organizations/`org`/environments/`env``.
|
|
5027
|
+
# following format: `organizations/`org`/environments/`env``.
|
|
4507
5028
|
# @param [String] type
|
|
4508
|
-
# Optional. Type of resource files to list.
|
|
4509
|
-
# `` resource_file_type ``
|
|
5029
|
+
# Optional. Type of resource files to list. `` resource_file_type ``
|
|
4510
5030
|
# @param [String] fields
|
|
4511
5031
|
# Selector specifying which fields to include in a partial response.
|
|
4512
5032
|
# @param [String] quota_user
|
|
@@ -4535,19 +5055,17 @@ module Google
|
|
|
4535
5055
|
execute_or_queue_command(command, &block)
|
|
4536
5056
|
end
|
|
4537
5057
|
|
|
4538
|
-
# Updates a resource file.
|
|
4539
|
-
#
|
|
4540
|
-
#
|
|
4541
|
-
# For more information about resource files, see
|
|
4542
|
-
# [Resource files](/api-platform/develop/resource-files).
|
|
5058
|
+
# Updates a resource file. Specify the `Content-Type` as `application/octet-
|
|
5059
|
+
# stream` or `multipart/form-data`. For more information about resource files,
|
|
5060
|
+
# see [Resource files](/api-platform/develop/resource-files).
|
|
4543
5061
|
# @param [String] parent
|
|
4544
|
-
# Required. Name of the environment in the following format:
|
|
4545
|
-
#
|
|
5062
|
+
# Required. Name of the environment in the following format: `organizations/`org`
|
|
5063
|
+
# /environments/`env``.
|
|
4546
5064
|
# @param [String] type
|
|
4547
5065
|
# Required. Resource file type. `` resource_file_type ``
|
|
4548
5066
|
# @param [String] name
|
|
4549
|
-
# Required. ID of the resource file to update. Must match the regular
|
|
4550
|
-
#
|
|
5067
|
+
# Required. ID of the resource file to update. Must match the regular expression:
|
|
5068
|
+
# [a-zA-Z0-9:/\\!@#$%^&``\[\]()+\-=,.~'` ]`1,255`
|
|
4551
5069
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
4552
5070
|
# @param [String] fields
|
|
4553
5071
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4583,8 +5101,7 @@ module Google
|
|
|
4583
5101
|
# Lists all deployments of a shared flow in an environment.
|
|
4584
5102
|
# @param [String] parent
|
|
4585
5103
|
# Required. Name representing a shared flow in an environment in the following
|
|
4586
|
-
# format:
|
|
4587
|
-
# `organizations/`org`/environments/`env`/sharedflows/`sharedflow``
|
|
5104
|
+
# format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow``
|
|
4588
5105
|
# @param [String] fields
|
|
4589
5106
|
# Selector specifying which fields to include in a partial response.
|
|
4590
5107
|
# @param [String] quota_user
|
|
@@ -4648,9 +5165,8 @@ module Google
|
|
|
4648
5165
|
# runtime pods.
|
|
4649
5166
|
# @param [String] name
|
|
4650
5167
|
# Required. Name representing a shared flow in an environment in the following
|
|
4651
|
-
# format:
|
|
4652
|
-
#
|
|
4653
|
-
# rev``
|
|
5168
|
+
# format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/
|
|
5169
|
+
# revisions/`rev``
|
|
4654
5170
|
# @param [String] fields
|
|
4655
5171
|
# Selector specifying which fields to include in a partial response.
|
|
4656
5172
|
# @param [String] quota_user
|
|
@@ -4678,62 +5194,58 @@ module Google
|
|
|
4678
5194
|
execute_or_queue_command(command, &block)
|
|
4679
5195
|
end
|
|
4680
5196
|
|
|
4681
|
-
# Retrieve metrics grouped by dimensions.
|
|
4682
|
-
#
|
|
4683
|
-
#
|
|
4684
|
-
#
|
|
4685
|
-
#
|
|
4686
|
-
#
|
|
4687
|
-
# for the given timerange.
|
|
5197
|
+
# Retrieve metrics grouped by dimensions. The types of metrics you can retrieve
|
|
5198
|
+
# include traffic, message counts, API call latency, response size, and cache
|
|
5199
|
+
# hits and counts. Dimensions let you view metrics in meaningful groups. The
|
|
5200
|
+
# stats api does accept dimensions as path params. The dimensions are optional
|
|
5201
|
+
# in which case the metrics are computed on the entire data for the given
|
|
5202
|
+
# timerange.
|
|
4688
5203
|
# @param [String] name
|
|
4689
5204
|
# Required. The resource name for which the interactive query will be executed.
|
|
4690
|
-
# Must be of the form
|
|
4691
|
-
#
|
|
4692
|
-
# dimensions
|
|
4693
|
-
#
|
|
4694
|
-
#
|
|
4695
|
-
# shown below
|
|
4696
|
-
# `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
|
|
5205
|
+
# Must be of the form `organizations/`organization_id`/environments/`
|
|
5206
|
+
# environment_id/stats/`dimensions`` Dimensions let you view metrics in
|
|
5207
|
+
# meaningful groupings. E.g. apiproxy, target_host. The value of dimensions
|
|
5208
|
+
# should be comma separated list as shown below `organizations/`org`/
|
|
5209
|
+
# environments/`env`/stats/apiproxy,request_verb`
|
|
4697
5210
|
# @param [String] accuracy
|
|
4698
|
-
# Legacy field: not used anymore.
|
|
4699
|
-
#
|
|
5211
|
+
# Legacy field: not used anymore. This field is present to support UI calls
|
|
5212
|
+
# which still use this parameter.
|
|
4700
5213
|
# @param [String] agg_table
|
|
4701
|
-
# If customers want to query custom aggregate tables, then this parameter
|
|
4702
|
-
#
|
|
4703
|
-
#
|
|
4704
|
-
# expensive.
|
|
5214
|
+
# If customers want to query custom aggregate tables, then this parameter can be
|
|
5215
|
+
# used to specify the table name. If this parameter is skipped, then Edge Query
|
|
5216
|
+
# will try to retrieve the data from fact tables which will be expensive.
|
|
4705
5217
|
# @param [String] filter
|
|
4706
5218
|
# Enables drill-down on specific dimension values
|
|
4707
5219
|
# @param [String] limit
|
|
4708
|
-
# This parameter is used to limit the number of result items.
|
|
4709
|
-
#
|
|
5220
|
+
# This parameter is used to limit the number of result items. Default and the
|
|
5221
|
+
# max value is 14400.
|
|
4710
5222
|
# @param [String] offset
|
|
4711
|
-
# Use offset with limit to enable pagination of results. For example,
|
|
4712
|
-
#
|
|
5223
|
+
# Use offset with limit to enable pagination of results. For example, to display
|
|
5224
|
+
# results 11-20, set limit to '10' and offset to '10'.
|
|
4713
5225
|
# @param [Boolean] realtime
|
|
4714
5226
|
# Legacy field: not used anymore.
|
|
4715
5227
|
# @param [String] select
|
|
4716
|
-
# The select parameter contains a comma separated list of metrics.
|
|
4717
|
-
#
|
|
5228
|
+
# The select parameter contains a comma separated list of metrics. E.g. sum(
|
|
5229
|
+
# message_count),sum(error_count)
|
|
4718
5230
|
# @param [Boolean] sonar
|
|
4719
5231
|
# This parameter routes the query to api monitoring service for last hour.
|
|
4720
5232
|
# @param [String] sort
|
|
4721
|
-
# This parameter specifies if the sort order should be ascending or
|
|
4722
|
-
#
|
|
5233
|
+
# This parameter specifies if the sort order should be ascending or descending
|
|
5234
|
+
# Supported values are DESC and ASC.
|
|
4723
5235
|
# @param [String] sortby
|
|
4724
5236
|
# Comma separated list of columns to sort the final result.
|
|
4725
5237
|
# @param [String] time_range
|
|
4726
|
-
# Time interval for the interactive query.
|
|
4727
|
-
#
|
|
5238
|
+
# Time interval for the interactive query. Time range is specified as start~end
|
|
5239
|
+
# E.g. 04/15/2017 00:00~05/15/2017 23:59
|
|
4728
5240
|
# @param [String] time_unit
|
|
4729
|
-
# A value of second, minute, hour, day, week, month.
|
|
4730
|
-
#
|
|
5241
|
+
# A value of second, minute, hour, day, week, month. Time Unit specifies the
|
|
5242
|
+
# granularity of metrics returned.
|
|
4731
5243
|
# @param [String] topk
|
|
4732
|
-
# Take 'top k' results from results, for example, to return the top 5
|
|
4733
|
-
#
|
|
5244
|
+
# Take 'top k' results from results, for example, to return the top 5 results '
|
|
5245
|
+
# topk=5'.
|
|
4734
5246
|
# @param [Boolean] ts_ascending
|
|
4735
|
-
# Lists timestamps in ascending order if set to true. Recommend setting
|
|
4736
|
-
#
|
|
5247
|
+
# Lists timestamps in ascending order if set to true. Recommend setting this
|
|
5248
|
+
# value to true if you are using sortby with sort=DESC.
|
|
4737
5249
|
# @param [String] tzo
|
|
4738
5250
|
# This parameters contains the timezone offset value.
|
|
4739
5251
|
# @param [String] fields
|
|
@@ -4780,12 +5292,12 @@ module Google
|
|
|
4780
5292
|
|
|
4781
5293
|
# Creates a TargetServer in the specified environment.
|
|
4782
5294
|
# @param [String] parent
|
|
4783
|
-
# Required. The parent environment name under which the TargetServer will
|
|
4784
|
-
#
|
|
5295
|
+
# Required. The parent environment name under which the TargetServer will be
|
|
5296
|
+
# created. Must be of the form `organizations/`org`/environments/`env``.
|
|
4785
5297
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServer] google_cloud_apigee_v1_target_server_object
|
|
4786
5298
|
# @param [String] name
|
|
4787
|
-
# Optional. The ID to give the TargetServer. This will overwrite the
|
|
4788
|
-
#
|
|
5299
|
+
# Optional. The ID to give the TargetServer. This will overwrite the value in
|
|
5300
|
+
# TargetServer.
|
|
4789
5301
|
# @param [String] fields
|
|
4790
5302
|
# Selector specifying which fields to include in a partial response.
|
|
4791
5303
|
# @param [String] quota_user
|
|
@@ -4816,12 +5328,11 @@ module Google
|
|
|
4816
5328
|
execute_or_queue_command(command, &block)
|
|
4817
5329
|
end
|
|
4818
5330
|
|
|
4819
|
-
# Deletes a TargetServer from an environment. Returns the deleted
|
|
4820
|
-
#
|
|
5331
|
+
# Deletes a TargetServer from an environment. Returns the deleted TargetServer
|
|
5332
|
+
# resource.
|
|
4821
5333
|
# @param [String] name
|
|
4822
|
-
# Required. The name of the TargetServer to delete. Must be
|
|
4823
|
-
#
|
|
4824
|
-
# `organizations/`org`/environments/`env`/targetservers/`target_server_id``.
|
|
5334
|
+
# Required. The name of the TargetServer to delete. Must be of the form `
|
|
5335
|
+
# organizations/`org`/environments/`env`/targetservers/`target_server_id``.
|
|
4825
5336
|
# @param [String] fields
|
|
4826
5337
|
# Selector specifying which fields to include in a partial response.
|
|
4827
5338
|
# @param [String] quota_user
|
|
@@ -4851,8 +5362,8 @@ module Google
|
|
|
4851
5362
|
|
|
4852
5363
|
# Gets a TargetServer resource.
|
|
4853
5364
|
# @param [String] name
|
|
4854
|
-
# Required. The name of the TargetServer to get. Must be of the form
|
|
4855
|
-
#
|
|
5365
|
+
# Required. The name of the TargetServer to get. Must be of the form `
|
|
5366
|
+
# organizations/`org`/environments/`env`/targetservers/`target_server_id``.
|
|
4856
5367
|
# @param [String] fields
|
|
4857
5368
|
# Selector specifying which fields to include in a partial response.
|
|
4858
5369
|
# @param [String] quota_user
|
|
@@ -4880,12 +5391,12 @@ module Google
|
|
|
4880
5391
|
execute_or_queue_command(command, &block)
|
|
4881
5392
|
end
|
|
4882
5393
|
|
|
4883
|
-
# Updates an existing TargetServer. Note that this operation has PUT
|
|
4884
|
-
#
|
|
4885
|
-
# the
|
|
5394
|
+
# Updates an existing TargetServer. Note that this operation has PUT semantics;
|
|
5395
|
+
# it will replace the entirety of the existing TargetServer with the resource in
|
|
5396
|
+
# the request body.
|
|
4886
5397
|
# @param [String] name
|
|
4887
|
-
# Required. The name of the TargetServer to replace. Must be of the form
|
|
4888
|
-
#
|
|
5398
|
+
# Required. The name of the TargetServer to replace. Must be of the form `
|
|
5399
|
+
# organizations/`org`/environments/`env`/targetservers/`target_server_id``.
|
|
4889
5400
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServer] google_cloud_apigee_v1_target_server_object
|
|
4890
5401
|
# @param [String] fields
|
|
4891
5402
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -4916,6 +5427,316 @@ module Google
|
|
|
4916
5427
|
execute_or_queue_command(command, &block)
|
|
4917
5428
|
end
|
|
4918
5429
|
|
|
5430
|
+
# Creates an Apigee runtime instance. The instance is accessible from the
|
|
5431
|
+
# authorized network configured on the organization. **Note:** Not supported for
|
|
5432
|
+
# Apigee hybrid.
|
|
5433
|
+
# @param [String] parent
|
|
5434
|
+
# Required. Name of the organization. Use the following structure in your
|
|
5435
|
+
# request: `organizations/`org``.
|
|
5436
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
|
|
5437
|
+
# @param [String] fields
|
|
5438
|
+
# Selector specifying which fields to include in a partial response.
|
|
5439
|
+
# @param [String] quota_user
|
|
5440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5442
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5443
|
+
# Request-specific options
|
|
5444
|
+
#
|
|
5445
|
+
# @yield [result, err] Result & error if block supplied
|
|
5446
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
5447
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5448
|
+
#
|
|
5449
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
5450
|
+
#
|
|
5451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5454
|
+
def create_organization_instance(parent, google_cloud_apigee_v1_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5455
|
+
command = make_simple_command(:post, 'v1/{+parent}/instances', options)
|
|
5456
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
|
|
5457
|
+
command.request_object = google_cloud_apigee_v1_instance_object
|
|
5458
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
5459
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
5460
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5461
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5462
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5463
|
+
execute_or_queue_command(command, &block)
|
|
5464
|
+
end
|
|
5465
|
+
|
|
5466
|
+
# Deletes an Apigee runtime instance. The instance stops serving requests and
|
|
5467
|
+
# the runtime data is deleted. **Note:** Not supported for Apigee hybrid.
|
|
5468
|
+
# @param [String] name
|
|
5469
|
+
# Required. Name of the instance. Use the following structure in your request: `
|
|
5470
|
+
# organizations/`org`/instance/`instance``.
|
|
5471
|
+
# @param [String] fields
|
|
5472
|
+
# Selector specifying which fields to include in a partial response.
|
|
5473
|
+
# @param [String] quota_user
|
|
5474
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5475
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5476
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5477
|
+
# Request-specific options
|
|
5478
|
+
#
|
|
5479
|
+
# @yield [result, err] Result & error if block supplied
|
|
5480
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
5481
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5482
|
+
#
|
|
5483
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
5484
|
+
#
|
|
5485
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5486
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5487
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5488
|
+
def delete_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5489
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
5490
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
5491
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
5492
|
+
command.params['name'] = name unless name.nil?
|
|
5493
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5495
|
+
execute_or_queue_command(command, &block)
|
|
5496
|
+
end
|
|
5497
|
+
|
|
5498
|
+
# Gets the details for an Apigee runtime instance. **Note:** Not supported for
|
|
5499
|
+
# Apigee hybrid.
|
|
5500
|
+
# @param [String] name
|
|
5501
|
+
# Required. Name of the instance. Use the following structure in your request: `
|
|
5502
|
+
# organizations/`org`/instances/`instance``.
|
|
5503
|
+
# @param [String] fields
|
|
5504
|
+
# Selector specifying which fields to include in a partial response.
|
|
5505
|
+
# @param [String] quota_user
|
|
5506
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5507
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5508
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5509
|
+
# Request-specific options
|
|
5510
|
+
#
|
|
5511
|
+
# @yield [result, err] Result & error if block supplied
|
|
5512
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] parsed result object
|
|
5513
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5514
|
+
#
|
|
5515
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance]
|
|
5516
|
+
#
|
|
5517
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5518
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5519
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5520
|
+
def get_organization_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5521
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
5522
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
|
|
5523
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance
|
|
5524
|
+
command.params['name'] = name unless name.nil?
|
|
5525
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5526
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5527
|
+
execute_or_queue_command(command, &block)
|
|
5528
|
+
end
|
|
5529
|
+
|
|
5530
|
+
# Lists all Apigee runtime instances for the organization. **Note:** Not
|
|
5531
|
+
# supported for Apigee hybrid.
|
|
5532
|
+
# @param [String] parent
|
|
5533
|
+
# Required. Name of the organization. Use the following structure in your
|
|
5534
|
+
# request: `organizations/`org``.
|
|
5535
|
+
# @param [Fixnum] page_size
|
|
5536
|
+
# Maximum number of instances to return. Defaults to 25.
|
|
5537
|
+
# @param [String] page_token
|
|
5538
|
+
# Page token, returned from a previous ListInstances call, that you can use to
|
|
5539
|
+
# retrieve the next page of content.
|
|
5540
|
+
# @param [String] fields
|
|
5541
|
+
# Selector specifying which fields to include in a partial response.
|
|
5542
|
+
# @param [String] quota_user
|
|
5543
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5544
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5545
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5546
|
+
# Request-specific options
|
|
5547
|
+
#
|
|
5548
|
+
# @yield [result, err] Result & error if block supplied
|
|
5549
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse] parsed result object
|
|
5550
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5551
|
+
#
|
|
5552
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse]
|
|
5553
|
+
#
|
|
5554
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5555
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5556
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5557
|
+
def list_organization_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5558
|
+
command = make_simple_command(:get, 'v1/{+parent}/instances', options)
|
|
5559
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse::Representation
|
|
5560
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstancesResponse
|
|
5561
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5562
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
5563
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
5564
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5565
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5566
|
+
execute_or_queue_command(command, &block)
|
|
5567
|
+
end
|
|
5568
|
+
|
|
5569
|
+
# Reports the latest status for a runtime instance.
|
|
5570
|
+
# @param [String] instance
|
|
5571
|
+
# The name of the instance reporting this status. For SaaS the request will be
|
|
5572
|
+
# rejected if no instance exists under this name. Format is organizations/`org`/
|
|
5573
|
+
# instances/`instance`
|
|
5574
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest] google_cloud_apigee_v1_report_instance_status_request_object
|
|
5575
|
+
# @param [String] fields
|
|
5576
|
+
# Selector specifying which fields to include in a partial response.
|
|
5577
|
+
# @param [String] quota_user
|
|
5578
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5579
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5580
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5581
|
+
# Request-specific options
|
|
5582
|
+
#
|
|
5583
|
+
# @yield [result, err] Result & error if block supplied
|
|
5584
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse] parsed result object
|
|
5585
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5586
|
+
#
|
|
5587
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse]
|
|
5588
|
+
#
|
|
5589
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5590
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5591
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5592
|
+
def report_organization_instance_status(instance, google_cloud_apigee_v1_report_instance_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5593
|
+
command = make_simple_command(:post, 'v1/{+instance}:reportStatus', options)
|
|
5594
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest::Representation
|
|
5595
|
+
command.request_object = google_cloud_apigee_v1_report_instance_status_request_object
|
|
5596
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse::Representation
|
|
5597
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusResponse
|
|
5598
|
+
command.params['instance'] = instance unless instance.nil?
|
|
5599
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5600
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5601
|
+
execute_or_queue_command(command, &block)
|
|
5602
|
+
end
|
|
5603
|
+
|
|
5604
|
+
# Creates a new attachment of an environment to an instance. **Note:** Not
|
|
5605
|
+
# supported for Apigee hybrid.
|
|
5606
|
+
# @param [String] parent
|
|
5607
|
+
# Required. Name of the instance. Use the following structure in your request: `
|
|
5608
|
+
# organizations/`org`/instances/`instance``.
|
|
5609
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] google_cloud_apigee_v1_instance_attachment_object
|
|
5610
|
+
# @param [String] fields
|
|
5611
|
+
# Selector specifying which fields to include in a partial response.
|
|
5612
|
+
# @param [String] quota_user
|
|
5613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5615
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5616
|
+
# Request-specific options
|
|
5617
|
+
#
|
|
5618
|
+
# @yield [result, err] Result & error if block supplied
|
|
5619
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
5620
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5621
|
+
#
|
|
5622
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
5623
|
+
#
|
|
5624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5627
|
+
def create_organization_instance_attachment(parent, google_cloud_apigee_v1_instance_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5628
|
+
command = make_simple_command(:post, 'v1/{+parent}/attachments', options)
|
|
5629
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation
|
|
5630
|
+
command.request_object = google_cloud_apigee_v1_instance_attachment_object
|
|
5631
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
5632
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
5633
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5634
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5636
|
+
execute_or_queue_command(command, &block)
|
|
5637
|
+
end
|
|
5638
|
+
|
|
5639
|
+
# Deletes an attachment. **Note:** Not supported for Apigee hybrid.
|
|
5640
|
+
# @param [String] name
|
|
5641
|
+
# Required. Name of the attachment. Use the following structure in your request:
|
|
5642
|
+
# `organizations/`org`/instances/`instance`/attachments/`attachment``.
|
|
5643
|
+
# @param [String] fields
|
|
5644
|
+
# Selector specifying which fields to include in a partial response.
|
|
5645
|
+
# @param [String] quota_user
|
|
5646
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5647
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5648
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5649
|
+
# Request-specific options
|
|
5650
|
+
#
|
|
5651
|
+
# @yield [result, err] Result & error if block supplied
|
|
5652
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
5653
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5654
|
+
#
|
|
5655
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
5656
|
+
#
|
|
5657
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5658
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5659
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5660
|
+
def delete_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5661
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
5662
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
5663
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
5664
|
+
command.params['name'] = name unless name.nil?
|
|
5665
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5666
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5667
|
+
execute_or_queue_command(command, &block)
|
|
5668
|
+
end
|
|
5669
|
+
|
|
5670
|
+
# Gets an attachment. **Note:** Not supported for Apigee hybrid.
|
|
5671
|
+
# @param [String] name
|
|
5672
|
+
# Required. Name of the attachment. Use the following structure in your request:
|
|
5673
|
+
# `organizations/`org`/instances/`instance`/attachments/`attachment``
|
|
5674
|
+
# @param [String] fields
|
|
5675
|
+
# Selector specifying which fields to include in a partial response.
|
|
5676
|
+
# @param [String] quota_user
|
|
5677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5679
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5680
|
+
# Request-specific options
|
|
5681
|
+
#
|
|
5682
|
+
# @yield [result, err] Result & error if block supplied
|
|
5683
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment] parsed result object
|
|
5684
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5685
|
+
#
|
|
5686
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment]
|
|
5687
|
+
#
|
|
5688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5691
|
+
def get_organization_instance_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5692
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
5693
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment::Representation
|
|
5694
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment
|
|
5695
|
+
command.params['name'] = name unless name.nil?
|
|
5696
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5697
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5698
|
+
execute_or_queue_command(command, &block)
|
|
5699
|
+
end
|
|
5700
|
+
|
|
5701
|
+
# Lists all attachments to an instance. **Note:** Not supported for Apigee
|
|
5702
|
+
# hybrid.
|
|
5703
|
+
# @param [String] parent
|
|
5704
|
+
# Required. Name of the organization. Use the following structure in your
|
|
5705
|
+
# request: `organizations/`org`/instances/`instance``
|
|
5706
|
+
# @param [Fixnum] page_size
|
|
5707
|
+
# Maximum number of instance attachments to return. Defaults to 25.
|
|
5708
|
+
# @param [String] page_token
|
|
5709
|
+
# Page token, returned by a previous ListInstanceAttachments call, that you can
|
|
5710
|
+
# use to retrieve the next page of content.
|
|
5711
|
+
# @param [String] fields
|
|
5712
|
+
# Selector specifying which fields to include in a partial response.
|
|
5713
|
+
# @param [String] quota_user
|
|
5714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5716
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5717
|
+
# Request-specific options
|
|
5718
|
+
#
|
|
5719
|
+
# @yield [result, err] Result & error if block supplied
|
|
5720
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse] parsed result object
|
|
5721
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5722
|
+
#
|
|
5723
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse]
|
|
5724
|
+
#
|
|
5725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5728
|
+
def list_organization_instance_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5729
|
+
command = make_simple_command(:get, 'v1/{+parent}/attachments', options)
|
|
5730
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse::Representation
|
|
5731
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListInstanceAttachmentsResponse
|
|
5732
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5733
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
5734
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
5735
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5736
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5737
|
+
execute_or_queue_command(command, &block)
|
|
5738
|
+
end
|
|
5739
|
+
|
|
4919
5740
|
# Creates a key value map in an organization.
|
|
4920
5741
|
# @param [String] parent
|
|
4921
5742
|
# Required. The name of the organization in which to create the key value map
|
|
@@ -4952,9 +5773,8 @@ module Google
|
|
|
4952
5773
|
|
|
4953
5774
|
# Delete a key value map in an organization.
|
|
4954
5775
|
# @param [String] name
|
|
4955
|
-
# Required. The name of the key value map.
|
|
4956
|
-
#
|
|
4957
|
-
# `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
|
5776
|
+
# Required. The name of the key value map. Must be of the form `organizations/`
|
|
5777
|
+
# organization`/keyvaluemaps/`keyvaluemap``.
|
|
4958
5778
|
# @param [String] fields
|
|
4959
5779
|
# Selector specifying which fields to include in a partial response.
|
|
4960
5780
|
# @param [String] quota_user
|
|
@@ -4982,9 +5802,8 @@ module Google
|
|
|
4982
5802
|
execute_or_queue_command(command, &block)
|
|
4983
5803
|
end
|
|
4984
5804
|
|
|
4985
|
-
# Gets the latest state of a long-running operation.
|
|
4986
|
-
#
|
|
4987
|
-
# service.
|
|
5805
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
5806
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
4988
5807
|
# @param [String] name
|
|
4989
5808
|
# The name of the operation resource.
|
|
4990
5809
|
# @param [String] fields
|
|
@@ -5014,15 +5833,14 @@ module Google
|
|
|
5014
5833
|
execute_or_queue_command(command, &block)
|
|
5015
5834
|
end
|
|
5016
5835
|
|
|
5017
|
-
# Lists operations that match the specified filter in the request. If the
|
|
5018
|
-
#
|
|
5019
|
-
#
|
|
5020
|
-
#
|
|
5021
|
-
#
|
|
5022
|
-
#
|
|
5023
|
-
#
|
|
5024
|
-
#
|
|
5025
|
-
# is the parent resource, without the operations collection id.
|
|
5836
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
5837
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
|
5838
|
+
# binding allows API services to override the binding to use different resource
|
|
5839
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
|
5840
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
|
5841
|
+
# service configuration. For backwards compatibility, the default name includes
|
|
5842
|
+
# the operations collection id, however overriding users must ensure the name
|
|
5843
|
+
# binding is the parent resource, without the operations collection id.
|
|
5026
5844
|
# @param [String] name
|
|
5027
5845
|
# The name of the operation's parent resource.
|
|
5028
5846
|
# @param [String] filter
|
|
@@ -5061,17 +5879,16 @@ module Google
|
|
|
5061
5879
|
execute_or_queue_command(command, &block)
|
|
5062
5880
|
end
|
|
5063
5881
|
|
|
5064
|
-
# Creates a Custom Report for an Organization. A Custom Report
|
|
5065
|
-
#
|
|
5066
|
-
#
|
|
5067
|
-
#
|
|
5068
|
-
#
|
|
5069
|
-
#
|
|
5070
|
-
#
|
|
5882
|
+
# Creates a Custom Report for an Organization. A Custom Report provides Apigee
|
|
5883
|
+
# Customers to create custom dashboards in addition to the standard dashboards
|
|
5884
|
+
# which are provided. The Custom Report in its simplest form contains
|
|
5885
|
+
# specifications about metrics, dimensions and filters. It is important to note
|
|
5886
|
+
# that the custom report by itself does not provide an executable entity. The
|
|
5887
|
+
# Edge UI converts the custom report definition into an analytics query and
|
|
5888
|
+
# displays the result in a chart.
|
|
5071
5889
|
# @param [String] parent
|
|
5072
|
-
# Required. The parent organization name under which the Custom Report will
|
|
5073
|
-
#
|
|
5074
|
-
# `organizations/`organization_id`/reports`
|
|
5890
|
+
# Required. The parent organization name under which the Custom Report will be
|
|
5891
|
+
# created. Must be of the form: `organizations/`organization_id`/reports`
|
|
5075
5892
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReport] google_cloud_apigee_v1_custom_report_object
|
|
5076
5893
|
# @param [String] fields
|
|
5077
5894
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5104,8 +5921,8 @@ module Google
|
|
|
5104
5921
|
|
|
5105
5922
|
# Deletes an existing custom report definition
|
|
5106
5923
|
# @param [String] name
|
|
5107
|
-
# Required. Custom Report name of the form:
|
|
5108
|
-
#
|
|
5924
|
+
# Required. Custom Report name of the form: `organizations/`organization_id`/
|
|
5925
|
+
# reports/`report_name``
|
|
5109
5926
|
# @param [String] fields
|
|
5110
5927
|
# Selector specifying which fields to include in a partial response.
|
|
5111
5928
|
# @param [String] quota_user
|
|
@@ -5135,8 +5952,8 @@ module Google
|
|
|
5135
5952
|
|
|
5136
5953
|
# Retrieve a custom report definition.
|
|
5137
5954
|
# @param [String] name
|
|
5138
|
-
# Required. Custom Report name of the form:
|
|
5139
|
-
#
|
|
5955
|
+
# Required. Custom Report name of the form: `organizations/`organization_id`/
|
|
5956
|
+
# reports/`report_name``
|
|
5140
5957
|
# @param [String] fields
|
|
5141
5958
|
# Selector specifying which fields to include in a partial response.
|
|
5142
5959
|
# @param [String] quota_user
|
|
@@ -5166,9 +5983,8 @@ module Google
|
|
|
5166
5983
|
|
|
5167
5984
|
# Return a list of Custom Reports
|
|
5168
5985
|
# @param [String] parent
|
|
5169
|
-
# Required. The parent organization name under which the API product will
|
|
5170
|
-
#
|
|
5171
|
-
# `organizations/`organization_id`/reports`
|
|
5986
|
+
# Required. The parent organization name under which the API product will be
|
|
5987
|
+
# listed `organizations/`organization_id`/reports`
|
|
5172
5988
|
# @param [Boolean] expand
|
|
5173
5989
|
# Set to 'true' to get expanded details about each custom report.
|
|
5174
5990
|
# @param [String] fields
|
|
@@ -5201,8 +6017,8 @@ module Google
|
|
|
5201
6017
|
|
|
5202
6018
|
# Update an existing custom report definition
|
|
5203
6019
|
# @param [String] name
|
|
5204
|
-
# Required. Custom Report name of the form:
|
|
5205
|
-
#
|
|
6020
|
+
# Required. Custom Report name of the form: `organizations/`organization_id`/
|
|
6021
|
+
# reports/`report_name``
|
|
5206
6022
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReport] google_cloud_apigee_v1_custom_report_object
|
|
5207
6023
|
# @param [String] fields
|
|
5208
6024
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -5233,16 +6049,14 @@ module Google
|
|
|
5233
6049
|
execute_or_queue_command(command, &block)
|
|
5234
6050
|
end
|
|
5235
6051
|
|
|
5236
|
-
# Uploads a ZIP-formatted shared flow configuration bundle to an
|
|
5237
|
-
#
|
|
5238
|
-
#
|
|
5239
|
-
#
|
|
5240
|
-
#
|
|
5241
|
-
# The size limit of a shared flow bundle is 15 MB.
|
|
6052
|
+
# Uploads a ZIP-formatted shared flow configuration bundle to an organization.
|
|
6053
|
+
# If the shared flow already exists, this creates a new revision of it. If the
|
|
6054
|
+
# shared flow does not exist, this creates it. Once imported, the shared flow
|
|
6055
|
+
# revision must be deployed before it can be accessed at runtime. The size limit
|
|
6056
|
+
# of a shared flow bundle is 15 MB.
|
|
5242
6057
|
# @param [String] parent
|
|
5243
|
-
# Required. The name of the parent organization under which to create the
|
|
5244
|
-
#
|
|
5245
|
-
# `organizations/`organization_id``
|
|
6058
|
+
# Required. The name of the parent organization under which to create the shared
|
|
6059
|
+
# flow. Must be of the form: `organizations/`organization_id``
|
|
5246
6060
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
5247
6061
|
# @param [String] action
|
|
5248
6062
|
# Required. Must be set to either `import` or `validate`.
|
|
@@ -5282,8 +6096,8 @@ module Google
|
|
|
5282
6096
|
# Deletes a shared flow and all it's revisions. The shared flow must be
|
|
5283
6097
|
# undeployed before you can delete it.
|
|
5284
6098
|
# @param [String] name
|
|
5285
|
-
# Required. shared flow name of the form:
|
|
5286
|
-
#
|
|
6099
|
+
# Required. shared flow name of the form: `organizations/`organization_id`/
|
|
6100
|
+
# sharedflows/`shared_flow_id``
|
|
5287
6101
|
# @param [String] fields
|
|
5288
6102
|
# Selector specifying which fields to include in a partial response.
|
|
5289
6103
|
# @param [String] quota_user
|
|
@@ -5313,9 +6127,8 @@ module Google
|
|
|
5313
6127
|
|
|
5314
6128
|
# Gets a shared flow by name, including a list of its revisions.
|
|
5315
6129
|
# @param [String] name
|
|
5316
|
-
# Required. The name of the shared flow to get. Must be of the
|
|
5317
|
-
#
|
|
5318
|
-
# `organizations/`organization_id`/sharedflows/`shared_flow_id``
|
|
6130
|
+
# Required. The name of the shared flow to get. Must be of the form: `
|
|
6131
|
+
# organizations/`organization_id`/sharedflows/`shared_flow_id``
|
|
5319
6132
|
# @param [String] fields
|
|
5320
6133
|
# Selector specifying which fields to include in a partial response.
|
|
5321
6134
|
# @param [String] quota_user
|
|
@@ -5345,9 +6158,8 @@ module Google
|
|
|
5345
6158
|
|
|
5346
6159
|
# Lists all shared flows in the organization.
|
|
5347
6160
|
# @param [String] parent
|
|
5348
|
-
# Required. The name of the parent organization under which to get shared
|
|
5349
|
-
#
|
|
5350
|
-
# `organizations/`organization_id``
|
|
6161
|
+
# Required. The name of the parent organization under which to get shared flows.
|
|
6162
|
+
# Must be of the form: `organizations/`organization_id``
|
|
5351
6163
|
# @param [Boolean] include_meta_data
|
|
5352
6164
|
# Indicates whether to include shared flow metadata in the response.
|
|
5353
6165
|
# @param [Boolean] include_revisions
|
|
@@ -5384,9 +6196,7 @@ module Google
|
|
|
5384
6196
|
# Lists all deployments of a shared flow.
|
|
5385
6197
|
# @param [String] parent
|
|
5386
6198
|
# Required. Name of the shared flow for which to return deployment information
|
|
5387
|
-
# in the
|
|
5388
|
-
# following format:
|
|
5389
|
-
# `organizations/`org`/sharedflows/`sharedflow``
|
|
6199
|
+
# in the following format: `organizations/`org`/sharedflows/`sharedflow``
|
|
5390
6200
|
# @param [String] fields
|
|
5391
6201
|
# Selector specifying which fields to include in a partial response.
|
|
5392
6202
|
# @param [String] quota_user
|
|
@@ -5414,11 +6224,10 @@ module Google
|
|
|
5414
6224
|
execute_or_queue_command(command, &block)
|
|
5415
6225
|
end
|
|
5416
6226
|
|
|
5417
|
-
# Deletes a shared flow and all associated policies, resources, and
|
|
5418
|
-
#
|
|
6227
|
+
# Deletes a shared flow and all associated policies, resources, and revisions.
|
|
6228
|
+
# You must undeploy the shared flow before deleting it.
|
|
5419
6229
|
# @param [String] name
|
|
5420
|
-
# Required. The name of the shared flow revision to delete. Must be of the
|
|
5421
|
-
# form:
|
|
6230
|
+
# Required. The name of the shared flow revision to delete. Must be of the form:
|
|
5422
6231
|
# `organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|
|
5423
6232
|
# revision_id``
|
|
5424
6233
|
# @param [String] fields
|
|
@@ -5448,17 +6257,16 @@ module Google
|
|
|
5448
6257
|
execute_or_queue_command(command, &block)
|
|
5449
6258
|
end
|
|
5450
6259
|
|
|
5451
|
-
# Gets a revision of a shared flow.
|
|
5452
|
-
#
|
|
5453
|
-
#
|
|
6260
|
+
# Gets a revision of a shared flow. If `format=bundle` is passed, it instead
|
|
6261
|
+
# outputs a shared flow revision as a ZIP-formatted bundle of code and config
|
|
6262
|
+
# files.
|
|
5454
6263
|
# @param [String] name
|
|
5455
|
-
# Required. The name of the shared flow revision to get. Must be of the
|
|
5456
|
-
#
|
|
5457
|
-
# `organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|
|
6264
|
+
# Required. The name of the shared flow revision to get. Must be of the form: `
|
|
6265
|
+
# organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|
|
5458
6266
|
# revision_id``
|
|
5459
6267
|
# @param [String] format
|
|
5460
|
-
# Specify `bundle` to export the contents of the shared flow bundle.
|
|
5461
|
-
#
|
|
6268
|
+
# Specify `bundle` to export the contents of the shared flow bundle. Otherwise,
|
|
6269
|
+
# the bundle metadata is returned.
|
|
5462
6270
|
# @param [String] fields
|
|
5463
6271
|
# Selector specifying which fields to include in a partial response.
|
|
5464
6272
|
# @param [String] quota_user
|
|
@@ -5488,20 +6296,18 @@ module Google
|
|
|
5488
6296
|
end
|
|
5489
6297
|
|
|
5490
6298
|
# Updates a shared flow revision. This operation is only allowed on revisions
|
|
5491
|
-
# which have never been deployed. After deployment a revision becomes
|
|
5492
|
-
#
|
|
5493
|
-
#
|
|
5494
|
-
# multipart/form-data or application/octet-stream.
|
|
6299
|
+
# which have never been deployed. After deployment a revision becomes immutable,
|
|
6300
|
+
# even if it becomes undeployed. The payload is a ZIP-formatted shared flow.
|
|
6301
|
+
# Content type must be either multipart/form-data or application/octet-stream.
|
|
5495
6302
|
# @param [String] name
|
|
5496
|
-
# Required. The name of the shared flow revision to update.
|
|
5497
|
-
# Must be of the form:
|
|
6303
|
+
# Required. The name of the shared flow revision to update. Must be of the form:
|
|
5498
6304
|
# `organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|
|
5499
6305
|
# revision_id``
|
|
5500
6306
|
# @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
|
|
5501
6307
|
# @param [Boolean] validate
|
|
5502
|
-
# Ignored. All uploads are validated regardless of the value of this field.
|
|
5503
|
-
#
|
|
5504
|
-
#
|
|
6308
|
+
# Ignored. All uploads are validated regardless of the value of this field. It
|
|
6309
|
+
# is kept for compatibility with existing APIs. Must be `true` or `false` if
|
|
6310
|
+
# provided.
|
|
5505
6311
|
# @param [String] fields
|
|
5506
6312
|
# Selector specifying which fields to include in a partial response.
|
|
5507
6313
|
# @param [String] quota_user
|
|
@@ -5535,9 +6341,8 @@ module Google
|
|
|
5535
6341
|
# Lists all deployments of a shared flow revision.
|
|
5536
6342
|
# @param [String] parent
|
|
5537
6343
|
# Required. Name of the API proxy revision for which to return deployment
|
|
5538
|
-
# information
|
|
5539
|
-
#
|
|
5540
|
-
# `organizations/`org`/sharedflows/`sharedflow`/revisions/`rev``.
|
|
6344
|
+
# information in the following format: `organizations/`org`/sharedflows/`
|
|
6345
|
+
# sharedflow`/revisions/`rev``.
|
|
5541
6346
|
# @param [String] fields
|
|
5542
6347
|
# Selector specifying which fields to include in a partial response.
|
|
5543
6348
|
# @param [String] quota_user
|