google-api-client 0.37.3 → 0.38.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 +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/managed-microsoft-ad/
|
|
27
27
|
module ManagedidentitiesV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200326'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -396,6 +396,59 @@ module Google
|
|
|
396
396
|
end
|
|
397
397
|
end
|
|
398
398
|
|
|
399
|
+
# Represents the metadata of the long-running operation.
|
|
400
|
+
class GoogleCloudManagedidentitiesV1alpha1OpMetadata
|
|
401
|
+
include Google::Apis::Core::Hashable
|
|
402
|
+
|
|
403
|
+
# Output only. API version used to start the operation.
|
|
404
|
+
# Corresponds to the JSON property `apiVersion`
|
|
405
|
+
# @return [String]
|
|
406
|
+
attr_accessor :api_version
|
|
407
|
+
|
|
408
|
+
# Output only. The time the operation was created.
|
|
409
|
+
# Corresponds to the JSON property `createTime`
|
|
410
|
+
# @return [String]
|
|
411
|
+
attr_accessor :create_time
|
|
412
|
+
|
|
413
|
+
# Output only. The time the operation finished running.
|
|
414
|
+
# Corresponds to the JSON property `endTime`
|
|
415
|
+
# @return [String]
|
|
416
|
+
attr_accessor :end_time
|
|
417
|
+
|
|
418
|
+
# Output only. Identifies whether the user has requested cancellation
|
|
419
|
+
# of the operation. Operations that have successfully been cancelled
|
|
420
|
+
# have Operation.error value with a google.rpc.Status.code of 1,
|
|
421
|
+
# corresponding to `Code.CANCELLED`.
|
|
422
|
+
# Corresponds to the JSON property `requestedCancellation`
|
|
423
|
+
# @return [Boolean]
|
|
424
|
+
attr_accessor :requested_cancellation
|
|
425
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
|
426
|
+
|
|
427
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
428
|
+
# Corresponds to the JSON property `target`
|
|
429
|
+
# @return [String]
|
|
430
|
+
attr_accessor :target
|
|
431
|
+
|
|
432
|
+
# Output only. Name of the verb executed by the operation.
|
|
433
|
+
# Corresponds to the JSON property `verb`
|
|
434
|
+
# @return [String]
|
|
435
|
+
attr_accessor :verb
|
|
436
|
+
|
|
437
|
+
def initialize(**args)
|
|
438
|
+
update!(**args)
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Update properties of this object
|
|
442
|
+
def update!(**args)
|
|
443
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
444
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
445
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
446
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
447
|
+
@target = args[:target] if args.key?(:target)
|
|
448
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
449
|
+
end
|
|
450
|
+
end
|
|
451
|
+
|
|
399
452
|
# Represents the metadata of the long-running operation.
|
|
400
453
|
class GoogleCloudManagedidentitiesV1beta1OpMetadata
|
|
401
454
|
include Google::Apis::Core::Hashable
|
|
@@ -449,66 +502,7 @@ module Google
|
|
|
449
502
|
end
|
|
450
503
|
end
|
|
451
504
|
|
|
452
|
-
#
|
|
453
|
-
# of control plane resources.
|
|
454
|
-
# Example Instance in JSON, where
|
|
455
|
-
# consumer-project=snapchat,
|
|
456
|
-
# producer-project=cloud-sql:
|
|
457
|
-
# ```json
|
|
458
|
-
# Instance:
|
|
459
|
-
# `
|
|
460
|
-
# "name":
|
|
461
|
-
# "projects/snapchat/locations/us-east1/instances/prod-instance",
|
|
462
|
-
# "create_time": `
|
|
463
|
-
# "seconds": 1526406431,
|
|
464
|
-
# `,
|
|
465
|
-
# "labels": `
|
|
466
|
-
# "env": "prod",
|
|
467
|
-
# "foo": "bar"
|
|
468
|
-
# `,
|
|
469
|
-
# "state": READY,
|
|
470
|
-
# "software_versions": `
|
|
471
|
-
# "software_update": "cloud-sql-09-28-2018",
|
|
472
|
-
# `,
|
|
473
|
-
# "maintenance_policy_names": `
|
|
474
|
-
# "UpdatePolicy":
|
|
475
|
-
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
|
|
476
|
-
# policy",
|
|
477
|
-
# `
|
|
478
|
-
# "tenant_project_id": "cloud-sql-test-tenant",
|
|
479
|
-
# "producer_metadata": `
|
|
480
|
-
# "cloud-sql-tier": "basic",
|
|
481
|
-
# "cloud-sql-instance-size": "1G",
|
|
482
|
-
# `,
|
|
483
|
-
# "provisioned_resources": [
|
|
484
|
-
# `
|
|
485
|
-
# "resource-type": "compute-instance",
|
|
486
|
-
# "resource-url":
|
|
487
|
-
# "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-
|
|
488
|
-
# b/instances/vm-1",
|
|
489
|
-
# `
|
|
490
|
-
# ],
|
|
491
|
-
# "maintenance_schedules": `
|
|
492
|
-
# "csa_rollout": `
|
|
493
|
-
# "start_time": `
|
|
494
|
-
# "seconds": 1526406431,
|
|
495
|
-
# `,
|
|
496
|
-
# "end_time": `
|
|
497
|
-
# "seconds": 1535406431,
|
|
498
|
-
# `,
|
|
499
|
-
# `,
|
|
500
|
-
# "ncsa_rollout": `
|
|
501
|
-
# "start_time": `
|
|
502
|
-
# "seconds": 1526406431,
|
|
503
|
-
# `,
|
|
504
|
-
# "end_time": `
|
|
505
|
-
# "seconds": 1535406431,
|
|
506
|
-
# `,
|
|
507
|
-
# `
|
|
508
|
-
# `,
|
|
509
|
-
# "consumer_defined_name": "my-sql-instance1",
|
|
510
|
-
# `
|
|
511
|
-
# ```
|
|
505
|
+
#
|
|
512
506
|
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
|
513
507
|
include Google::Apis::Core::Hashable
|
|
514
508
|
|
|
@@ -567,16 +561,6 @@ module Google
|
|
|
567
561
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
|
568
562
|
attr_accessor :provisioned_resources
|
|
569
563
|
|
|
570
|
-
# The map between RolloutType and the corresponding RolloutMetadata.
|
|
571
|
-
# This is only mutated by rollout service. For actuation implementation,
|
|
572
|
-
# this information is pass-through for Rollout management. Producer shall
|
|
573
|
-
# not modify by itself.
|
|
574
|
-
# For update of a single entry in this map, the update field mask shall
|
|
575
|
-
# follow this sementics: go/advanced-field-masks
|
|
576
|
-
# Corresponds to the JSON property `rolloutMetadata`
|
|
577
|
-
# @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata>]
|
|
578
|
-
attr_accessor :rollout_metadata
|
|
579
|
-
|
|
580
564
|
# Link to the SLM instance template. Only populated when updating SLM
|
|
581
565
|
# instances via SSA's Actuation service adaptor.
|
|
582
566
|
# Service producers with custom control plane (e.g. Cloud SQL) doesn't
|
|
@@ -628,7 +612,6 @@ module Google
|
|
|
628
612
|
@name = args[:name] if args.key?(:name)
|
|
629
613
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
|
630
614
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
|
631
|
-
@rollout_metadata = args[:rollout_metadata] if args.key?(:rollout_metadata)
|
|
632
615
|
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
|
633
616
|
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
|
|
634
617
|
@software_versions = args[:software_versions] if args.key?(:software_versions)
|
|
@@ -720,47 +703,6 @@ module Google
|
|
|
720
703
|
end
|
|
721
704
|
end
|
|
722
705
|
|
|
723
|
-
# This message has been deprecated.
|
|
724
|
-
# NotificationMetadata is the notification state for an instance.
|
|
725
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
|
726
|
-
include Google::Apis::Core::Hashable
|
|
727
|
-
|
|
728
|
-
# Whether the instance update has been rescheduled.
|
|
729
|
-
# Corresponds to the JSON property `rescheduled`
|
|
730
|
-
# @return [Boolean]
|
|
731
|
-
attr_accessor :rescheduled
|
|
732
|
-
alias_method :rescheduled?, :rescheduled
|
|
733
|
-
|
|
734
|
-
# The scheduled end time for the maintenance window during which update
|
|
735
|
-
# can be performed on the instance.
|
|
736
|
-
# Corresponds to the JSON property `scheduledEndTime`
|
|
737
|
-
# @return [String]
|
|
738
|
-
attr_accessor :scheduled_end_time
|
|
739
|
-
|
|
740
|
-
# The scheduled start time for the maintenance window during which
|
|
741
|
-
# update can be performed on the instance.
|
|
742
|
-
# Corresponds to the JSON property `scheduledStartTime`
|
|
743
|
-
# @return [String]
|
|
744
|
-
attr_accessor :scheduled_start_time
|
|
745
|
-
|
|
746
|
-
# The target release to be applied to the instance.
|
|
747
|
-
# Corresponds to the JSON property `targetRelease`
|
|
748
|
-
# @return [String]
|
|
749
|
-
attr_accessor :target_release
|
|
750
|
-
|
|
751
|
-
def initialize(**args)
|
|
752
|
-
update!(**args)
|
|
753
|
-
end
|
|
754
|
-
|
|
755
|
-
# Update properties of this object
|
|
756
|
-
def update!(**args)
|
|
757
|
-
@rescheduled = args[:rescheduled] if args.key?(:rescheduled)
|
|
758
|
-
@scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
|
|
759
|
-
@scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
|
|
760
|
-
@target_release = args[:target_release] if args.key?(:target_release)
|
|
761
|
-
end
|
|
762
|
-
end
|
|
763
|
-
|
|
764
706
|
# Describes provisioned dataplane resources.
|
|
765
707
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
|
766
708
|
include Google::Apis::Core::Hashable
|
|
@@ -792,39 +734,6 @@ module Google
|
|
|
792
734
|
end
|
|
793
735
|
end
|
|
794
736
|
|
|
795
|
-
# This message has been deprecated.
|
|
796
|
-
# RolloutMetadata for an actuation instance. It maps to a single RolloutType.
|
|
797
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
|
798
|
-
include Google::Apis::Core::Hashable
|
|
799
|
-
|
|
800
|
-
# This message has been deprecated.
|
|
801
|
-
# NotificationMetadata is the notification state for an instance.
|
|
802
|
-
# Corresponds to the JSON property `notification`
|
|
803
|
-
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
|
|
804
|
-
attr_accessor :notification
|
|
805
|
-
|
|
806
|
-
# The last Release that has been applied to the instance.
|
|
807
|
-
# Corresponds to the JSON property `releaseName`
|
|
808
|
-
# @return [String]
|
|
809
|
-
attr_accessor :release_name
|
|
810
|
-
|
|
811
|
-
# The last rollout that has been applied to the instance.
|
|
812
|
-
# Corresponds to the JSON property `rolloutName`
|
|
813
|
-
# @return [String]
|
|
814
|
-
attr_accessor :rollout_name
|
|
815
|
-
|
|
816
|
-
def initialize(**args)
|
|
817
|
-
update!(**args)
|
|
818
|
-
end
|
|
819
|
-
|
|
820
|
-
# Update properties of this object
|
|
821
|
-
def update!(**args)
|
|
822
|
-
@notification = args[:notification] if args.key?(:notification)
|
|
823
|
-
@release_name = args[:release_name] if args.key?(:release_name)
|
|
824
|
-
@rollout_name = args[:rollout_name] if args.key?(:rollout_name)
|
|
825
|
-
end
|
|
826
|
-
end
|
|
827
|
-
|
|
828
737
|
# SloEligibility is a tuple containing eligibility value: true if an instance
|
|
829
738
|
# is eligible for SLO calculation or false if it should be excluded from all
|
|
830
739
|
# SLO-related calculations along with a user-defined reason.
|
|
@@ -70,31 +70,31 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class GoogleCloudManagedidentitiesV1alpha1OpMetadata
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
75
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class GoogleCloudManagedidentitiesV1beta1OpMetadata
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class
|
|
91
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
93
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
99
|
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -106,12 +106,6 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
-
|
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
-
end
|
|
114
|
-
|
|
115
109
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
111
|
|
|
@@ -305,6 +299,18 @@ module Google
|
|
|
305
299
|
end
|
|
306
300
|
end
|
|
307
301
|
|
|
302
|
+
class GoogleCloudManagedidentitiesV1alpha1OpMetadata
|
|
303
|
+
# @private
|
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
305
|
+
property :api_version, as: 'apiVersion'
|
|
306
|
+
property :create_time, as: 'createTime'
|
|
307
|
+
property :end_time, as: 'endTime'
|
|
308
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
|
309
|
+
property :target, as: 'target'
|
|
310
|
+
property :verb, as: 'verb'
|
|
311
|
+
end
|
|
312
|
+
end
|
|
313
|
+
|
|
308
314
|
class GoogleCloudManagedidentitiesV1beta1OpMetadata
|
|
309
315
|
# @private
|
|
310
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -330,8 +336,6 @@ module Google
|
|
|
330
336
|
hash :producer_metadata, as: 'producerMetadata'
|
|
331
337
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
|
332
338
|
|
|
333
|
-
hash :rollout_metadata, as: 'rolloutMetadata', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata::Representation
|
|
334
|
-
|
|
335
339
|
property :slm_instance_template, as: 'slmInstanceTemplate'
|
|
336
340
|
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
|
337
341
|
|
|
@@ -362,16 +366,6 @@ module Google
|
|
|
362
366
|
end
|
|
363
367
|
end
|
|
364
368
|
|
|
365
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
|
366
|
-
# @private
|
|
367
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
368
|
-
property :rescheduled, as: 'rescheduled'
|
|
369
|
-
property :scheduled_end_time, as: 'scheduledEndTime'
|
|
370
|
-
property :scheduled_start_time, as: 'scheduledStartTime'
|
|
371
|
-
property :target_release, as: 'targetRelease'
|
|
372
|
-
end
|
|
373
|
-
end
|
|
374
|
-
|
|
375
369
|
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
|
376
370
|
# @private
|
|
377
371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -380,16 +374,6 @@ module Google
|
|
|
380
374
|
end
|
|
381
375
|
end
|
|
382
376
|
|
|
383
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
|
384
|
-
# @private
|
|
385
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
386
|
-
property :notification, as: 'notification', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata::Representation
|
|
387
|
-
|
|
388
|
-
property :release_name, as: 'releaseName'
|
|
389
|
-
property :rollout_name, as: 'rolloutName'
|
|
390
|
-
end
|
|
391
|
-
end
|
|
392
|
-
|
|
393
377
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
|
394
378
|
# @private
|
|
395
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/manufacturers/
|
|
26
26
|
module ManufacturersV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200317'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings for Google Manufacturer Center
|
|
31
31
|
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
|
|
@@ -183,9 +183,9 @@ module Google
|
|
|
183
183
|
|
|
184
184
|
# Rich product content. For more information, see
|
|
185
185
|
# https://support.google.com/manufacturers/answer/9389865
|
|
186
|
-
# Corresponds to the JSON property `
|
|
186
|
+
# Corresponds to the JSON property `richProductContent`
|
|
187
187
|
# @return [Array<String>]
|
|
188
|
-
attr_accessor :
|
|
188
|
+
attr_accessor :rich_product_content
|
|
189
189
|
|
|
190
190
|
# The scent of the product. For more information, see
|
|
191
191
|
# https://support.google.com/manufacturers/answer/6124116#scent.
|
|
@@ -272,7 +272,7 @@ module Google
|
|
|
272
272
|
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
|
273
273
|
@product_type = args[:product_type] if args.key?(:product_type)
|
|
274
274
|
@release_date = args[:release_date] if args.key?(:release_date)
|
|
275
|
-
@
|
|
275
|
+
@rich_product_content = args[:rich_product_content] if args.key?(:rich_product_content)
|
|
276
276
|
@scent = args[:scent] if args.key?(:scent)
|
|
277
277
|
@size = args[:size] if args.key?(:size)
|
|
278
278
|
@size_system = args[:size_system] if args.key?(:size_system)
|
|
@@ -129,7 +129,7 @@ module Google
|
|
|
129
129
|
property :product_page_url, as: 'productPageUrl'
|
|
130
130
|
collection :product_type, as: 'productType'
|
|
131
131
|
property :release_date, as: 'releaseDate'
|
|
132
|
-
collection :
|
|
132
|
+
collection :rich_product_content, as: 'richProductContent'
|
|
133
133
|
property :scent, as: 'scent'
|
|
134
134
|
property :size, as: 'size'
|
|
135
135
|
property :size_system, as: 'sizeSystem'
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/memcache_v1beta2/service.rb'
|
|
16
|
+
require 'google/apis/memcache_v1beta2/classes.rb'
|
|
17
|
+
require 'google/apis/memcache_v1beta2/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Cloud Memorystore for Memcached API
|
|
22
|
+
#
|
|
23
|
+
# Google Cloud Memorystore for Memcached API is used for creating and managing
|
|
24
|
+
# Memcached instances in GCP.
|
|
25
|
+
#
|
|
26
|
+
# @see https://cloud.google.com/memorystore/
|
|
27
|
+
module MemcacheV1beta2
|
|
28
|
+
VERSION = 'V1beta2'
|
|
29
|
+
REVISION = '20200309'
|
|
30
|
+
|
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb
RENAMED
|
@@ -20,551 +20,24 @@ require 'google/apis/errors'
|
|
|
20
20
|
|
|
21
21
|
module Google
|
|
22
22
|
module Apis
|
|
23
|
-
module
|
|
24
|
-
|
|
25
|
-
# An association tuple that pairs a `Catalog` to a resource
|
|
26
|
-
# that can use the `Catalog`. After association, a
|
|
27
|
-
# google.cloud.privatecatalog.v1beta1.Catalog becomes available to
|
|
28
|
-
# consumers under specified Association.resource and all of its child
|
|
29
|
-
# nodes.
|
|
30
|
-
# Users who have the `cloudprivatecatalog.targets.get` permission on any of
|
|
31
|
-
# the resource nodes can access the catalog and child products under the node.
|
|
32
|
-
# For example, suppose the cloud resource hierarchy is as follows:
|
|
33
|
-
# * organizations/example.com
|
|
34
|
-
# * folders/team
|
|
35
|
-
# * projects/test
|
|
36
|
-
# After creating an association with `organizations/example.com`, the catalog
|
|
37
|
-
# `catalogs/1` is accessible from the following paths:
|
|
38
|
-
# * organizations/example.com
|
|
39
|
-
# * folders/team
|
|
40
|
-
# * projects/test
|
|
41
|
-
# Users can access them by
|
|
42
|
-
# google.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.
|
|
43
|
-
class GoogleCloudPrivatecatalogproducerV1beta1Association
|
|
44
|
-
include Google::Apis::Core::Hashable
|
|
45
|
-
|
|
46
|
-
# The creation time of the association.
|
|
47
|
-
# Corresponds to the JSON property `createTime`
|
|
48
|
-
# @return [String]
|
|
49
|
-
attr_accessor :create_time
|
|
50
|
-
|
|
51
|
-
# Output only. The resource name of the catalog association, in the format
|
|
52
|
-
# `catalogs/`catalog_id`/associations/`association_id`'.
|
|
53
|
-
# A unique identifier for the catalog association, which is
|
|
54
|
-
# generated by catalog service.
|
|
55
|
-
# Corresponds to the JSON property `name`
|
|
56
|
-
# @return [String]
|
|
57
|
-
attr_accessor :name
|
|
58
|
-
|
|
59
|
-
# Required. The user-supplied fully qualified name of the `Resource`
|
|
60
|
-
# associated to the `Catalog`. It supports `Organization`, `Folder`,
|
|
61
|
-
# and `Project`. Values are of the form
|
|
62
|
-
# * `//cloudresourcemanager.googleapis.com/projects/`product_number``
|
|
63
|
-
# * `//cloudresourcemanager.googleapis.com/folders/`folder_id``
|
|
64
|
-
# * `//cloudresourcemanager.googleapis.com/organizations/`organization_id``
|
|
65
|
-
# Corresponds to the JSON property `resource`
|
|
66
|
-
# @return [String]
|
|
67
|
-
attr_accessor :resource
|
|
68
|
-
|
|
69
|
-
def initialize(**args)
|
|
70
|
-
update!(**args)
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
# Update properties of this object
|
|
74
|
-
def update!(**args)
|
|
75
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
76
|
-
@name = args[:name] if args.key?(:name)
|
|
77
|
-
@resource = args[:resource] if args.key?(:resource)
|
|
78
|
-
end
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
# The producer representation of a catalog which is a curated collection of
|
|
82
|
-
# solutions that can be managed, controlled, and shared by cloud admins.
|
|
83
|
-
class GoogleCloudPrivatecatalogproducerV1beta1Catalog
|
|
84
|
-
include Google::Apis::Core::Hashable
|
|
85
|
-
|
|
86
|
-
# Output only. The time when the catalog was created.
|
|
87
|
-
# Corresponds to the JSON property `createTime`
|
|
88
|
-
# @return [String]
|
|
89
|
-
attr_accessor :create_time
|
|
90
|
-
|
|
91
|
-
# Required. The user-supplied description of the catalog. Maximum of 512
|
|
92
|
-
# characters.
|
|
93
|
-
# Corresponds to the JSON property `description`
|
|
94
|
-
# @return [String]
|
|
95
|
-
attr_accessor :description
|
|
96
|
-
|
|
97
|
-
# Required. The user-supplied descriptive name of the catalog as it appears
|
|
98
|
-
# in UIs. Maximum 256 characters in length.
|
|
99
|
-
# Corresponds to the JSON property `displayName`
|
|
100
|
-
# @return [String]
|
|
101
|
-
attr_accessor :display_name
|
|
102
|
-
|
|
103
|
-
# Output only. The resource name of the catalog, in the format
|
|
104
|
-
# `catalogs/`catalog_id`'.
|
|
105
|
-
# A unique identifier for the catalog, which is generated
|
|
106
|
-
# by catalog service.
|
|
107
|
-
# Corresponds to the JSON property `name`
|
|
108
|
-
# @return [String]
|
|
109
|
-
attr_accessor :name
|
|
110
|
-
|
|
111
|
-
# Required. The parent resource name of the catalog, which can't be changed
|
|
112
|
-
# after a catalog is created. It can only be an organization. Values are of
|
|
113
|
-
# the form `//cloudresourcemanager.googleapis.com/organizations/<id>`.
|
|
114
|
-
# Maximum 256 characters in length.
|
|
115
|
-
# Corresponds to the JSON property `parent`
|
|
116
|
-
# @return [String]
|
|
117
|
-
attr_accessor :parent
|
|
118
|
-
|
|
119
|
-
# Output only. The time when the catalog was last updated.
|
|
120
|
-
# Corresponds to the JSON property `updateTime`
|
|
121
|
-
# @return [String]
|
|
122
|
-
attr_accessor :update_time
|
|
123
|
-
|
|
124
|
-
def initialize(**args)
|
|
125
|
-
update!(**args)
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
# Update properties of this object
|
|
129
|
-
def update!(**args)
|
|
130
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
131
|
-
@description = args[:description] if args.key?(:description)
|
|
132
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
133
|
-
@name = args[:name] if args.key?(:name)
|
|
134
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
135
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
136
|
-
end
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
#
|
|
140
|
-
class GoogleCloudPrivatecatalogproducerV1beta1CopyProductRequest
|
|
141
|
-
include Google::Apis::Core::Hashable
|
|
142
|
-
|
|
143
|
-
# The resource name of the destination product that is copied to.
|
|
144
|
-
# Corresponds to the JSON property `destinationProductName`
|
|
145
|
-
# @return [String]
|
|
146
|
-
attr_accessor :destination_product_name
|
|
147
|
-
|
|
148
|
-
def initialize(**args)
|
|
149
|
-
update!(**args)
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
# Update properties of this object
|
|
153
|
-
def update!(**args)
|
|
154
|
-
@destination_product_name = args[:destination_product_name] if args.key?(:destination_product_name)
|
|
155
|
-
end
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
#
|
|
159
|
-
class GoogleCloudPrivatecatalogproducerV1beta1CreateAssociationRequest
|
|
160
|
-
include Google::Apis::Core::Hashable
|
|
161
|
-
|
|
162
|
-
# An association tuple that pairs a `Catalog` to a resource
|
|
163
|
-
# that can use the `Catalog`. After association, a
|
|
164
|
-
# google.cloud.privatecatalog.v1beta1.Catalog becomes available to
|
|
165
|
-
# consumers under specified Association.resource and all of its child
|
|
166
|
-
# nodes.
|
|
167
|
-
# Users who have the `cloudprivatecatalog.targets.get` permission on any of
|
|
168
|
-
# the resource nodes can access the catalog and child products under the node.
|
|
169
|
-
# For example, suppose the cloud resource hierarchy is as follows:
|
|
170
|
-
# * organizations/example.com
|
|
171
|
-
# * folders/team
|
|
172
|
-
# * projects/test
|
|
173
|
-
# After creating an association with `organizations/example.com`, the catalog
|
|
174
|
-
# `catalogs/1` is accessible from the following paths:
|
|
175
|
-
# * organizations/example.com
|
|
176
|
-
# * folders/team
|
|
177
|
-
# * projects/test
|
|
178
|
-
# Users can access them by
|
|
179
|
-
# google.cloud.v1beta1.PrivateCatalog.SearchCatalogs action.
|
|
180
|
-
# Corresponds to the JSON property `association`
|
|
181
|
-
# @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association]
|
|
182
|
-
attr_accessor :association
|
|
183
|
-
|
|
184
|
-
def initialize(**args)
|
|
185
|
-
update!(**args)
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
# Update properties of this object
|
|
189
|
-
def update!(**args)
|
|
190
|
-
@association = args[:association] if args.key?(:association)
|
|
191
|
-
end
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
#
|
|
195
|
-
class GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsResponse
|
|
196
|
-
include Google::Apis::Core::Hashable
|
|
197
|
-
|
|
198
|
-
# The returned `Association` resources from the list call.
|
|
199
|
-
# Corresponds to the JSON property `associations`
|
|
200
|
-
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Association>]
|
|
201
|
-
attr_accessor :associations
|
|
202
|
-
|
|
203
|
-
# A pagination token returned from a previous call to
|
|
204
|
-
# `ListAssociations` that indicates where the listing should continue from.
|
|
205
|
-
# This field is optional.
|
|
206
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
207
|
-
# @return [String]
|
|
208
|
-
attr_accessor :next_page_token
|
|
209
|
-
|
|
210
|
-
def initialize(**args)
|
|
211
|
-
update!(**args)
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
# Update properties of this object
|
|
215
|
-
def update!(**args)
|
|
216
|
-
@associations = args[:associations] if args.key?(:associations)
|
|
217
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
#
|
|
222
|
-
class GoogleCloudPrivatecatalogproducerV1beta1ListCatalogsResponse
|
|
223
|
-
include Google::Apis::Core::Hashable
|
|
224
|
-
|
|
225
|
-
# The `Catalogs` returned from the list call.
|
|
226
|
-
# Corresponds to the JSON property `catalogs`
|
|
227
|
-
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Catalog>]
|
|
228
|
-
attr_accessor :catalogs
|
|
229
|
-
|
|
230
|
-
# A pagination token returned from a previous call to ListCatalogs
|
|
231
|
-
# that indicates where the listing should continue from.
|
|
232
|
-
# This field is optional.
|
|
233
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
234
|
-
# @return [String]
|
|
235
|
-
attr_accessor :next_page_token
|
|
236
|
-
|
|
237
|
-
def initialize(**args)
|
|
238
|
-
update!(**args)
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
# Update properties of this object
|
|
242
|
-
def update!(**args)
|
|
243
|
-
@catalogs = args[:catalogs] if args.key?(:catalogs)
|
|
244
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
245
|
-
end
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
#
|
|
249
|
-
class GoogleCloudPrivatecatalogproducerV1beta1ListProductsResponse
|
|
250
|
-
include Google::Apis::Core::Hashable
|
|
251
|
-
|
|
252
|
-
# A pagination token returned from a previous call to ListProducts
|
|
253
|
-
# that indicates where the listing should continue from.
|
|
254
|
-
# This field is optional.
|
|
255
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
256
|
-
# @return [String]
|
|
257
|
-
attr_accessor :next_page_token
|
|
258
|
-
|
|
259
|
-
# The `Product` returned from the list call.
|
|
260
|
-
# Corresponds to the JSON property `products`
|
|
261
|
-
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Product>]
|
|
262
|
-
attr_accessor :products
|
|
263
|
-
|
|
264
|
-
def initialize(**args)
|
|
265
|
-
update!(**args)
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
# Update properties of this object
|
|
269
|
-
def update!(**args)
|
|
270
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
271
|
-
@products = args[:products] if args.key?(:products)
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
#
|
|
276
|
-
class GoogleCloudPrivatecatalogproducerV1beta1ListVersionsResponse
|
|
277
|
-
include Google::Apis::Core::Hashable
|
|
278
|
-
|
|
279
|
-
# A pagination token returned from a previous call to ListProducts
|
|
280
|
-
# that indicates where the listing should continue from.
|
|
281
|
-
# This field is optional.
|
|
282
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
283
|
-
# @return [String]
|
|
284
|
-
attr_accessor :next_page_token
|
|
285
|
-
|
|
286
|
-
# The `VersiVersionon` returned from the list call.
|
|
287
|
-
# Corresponds to the JSON property `versions`
|
|
288
|
-
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleCloudPrivatecatalogproducerV1beta1Version>]
|
|
289
|
-
attr_accessor :versions
|
|
290
|
-
|
|
291
|
-
def initialize(**args)
|
|
292
|
-
update!(**args)
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
# Update properties of this object
|
|
296
|
-
def update!(**args)
|
|
297
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
298
|
-
@versions = args[:versions] if args.key?(:versions)
|
|
299
|
-
end
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
# The producer representation of a product which is a child resource of
|
|
303
|
-
# `Catalog` with display metadata and a list of `Version` resources.
|
|
304
|
-
class GoogleCloudPrivatecatalogproducerV1beta1Product
|
|
305
|
-
include Google::Apis::Core::Hashable
|
|
306
|
-
|
|
307
|
-
# Required. The type of the product asset, which cannot be changed after the
|
|
308
|
-
# product is created. It supports the values
|
|
309
|
-
# `google.deploymentmanager.Template` and
|
|
310
|
-
# `google.cloudprivatecatalog.ListingOnly`. Other values will be
|
|
311
|
-
# rejected by the server. Read only after creation.
|
|
312
|
-
# The following fields or resource types have different validation rules
|
|
313
|
-
# under each `asset_type` values:
|
|
314
|
-
# * Product.display_metadata has different validation schema for each
|
|
315
|
-
# asset type value. See its comment for details.
|
|
316
|
-
# * Version resource isn't allowed to be added under the
|
|
317
|
-
# `google.cloudprivatecatalog.ListingOnly` type.
|
|
318
|
-
# Corresponds to the JSON property `assetType`
|
|
319
|
-
# @return [String]
|
|
320
|
-
attr_accessor :asset_type
|
|
321
|
-
|
|
322
|
-
# Output only. The time when the product was created.
|
|
323
|
-
# Corresponds to the JSON property `createTime`
|
|
324
|
-
# @return [String]
|
|
325
|
-
attr_accessor :create_time
|
|
326
|
-
|
|
327
|
-
# The user-supplied display metadata to describe the product.
|
|
328
|
-
# The JSON schema of the metadata differs by Product.asset_type.
|
|
329
|
-
# When the type is `google.deploymentmanager.Template`, the schema is as
|
|
330
|
-
# follows:
|
|
331
|
-
# ```
|
|
332
|
-
# "$schema": http://json-schema.org/draft-04/schema#
|
|
333
|
-
# type: object
|
|
334
|
-
# properties:
|
|
335
|
-
# name:
|
|
336
|
-
# type: string
|
|
337
|
-
# minLength: 1
|
|
338
|
-
# maxLength: 64
|
|
339
|
-
# description:
|
|
340
|
-
# type: string
|
|
341
|
-
# minLength: 1
|
|
342
|
-
# maxLength: 2048
|
|
343
|
-
# tagline:
|
|
344
|
-
# type: string
|
|
345
|
-
# minLength: 1
|
|
346
|
-
# maxLength: 100
|
|
347
|
-
# support_info:
|
|
348
|
-
# type: string
|
|
349
|
-
# minLength: 1
|
|
350
|
-
# maxLength: 2048
|
|
351
|
-
# creator:
|
|
352
|
-
# type: string
|
|
353
|
-
# minLength: 1
|
|
354
|
-
# maxLength: 100
|
|
355
|
-
# documentation:
|
|
356
|
-
# type: array
|
|
357
|
-
# items:
|
|
358
|
-
# type: object
|
|
359
|
-
# properties:
|
|
360
|
-
# url:
|
|
361
|
-
# type: string
|
|
362
|
-
# pattern:
|
|
363
|
-
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
|
364
|
-
# title:
|
|
365
|
-
# type: string
|
|
366
|
-
# minLength: 1
|
|
367
|
-
# maxLength: 64
|
|
368
|
-
# description:
|
|
369
|
-
# type: string
|
|
370
|
-
# minLength: 1
|
|
371
|
-
# maxLength: 2048
|
|
372
|
-
# required:
|
|
373
|
-
# - name
|
|
374
|
-
# - description
|
|
375
|
-
# additionalProperties: false
|
|
376
|
-
# ```
|
|
377
|
-
# When the asset type is `google.cloudprivatecatalog.ListingOnly`, the schema
|
|
378
|
-
# is as follows:
|
|
379
|
-
# ```
|
|
380
|
-
# "$schema": http://json-schema.org/draft-04/schema#
|
|
381
|
-
# type: object
|
|
382
|
-
# properties:
|
|
383
|
-
# name:
|
|
384
|
-
# type: string
|
|
385
|
-
# minLength: 1
|
|
386
|
-
# maxLength: 64
|
|
387
|
-
# description:
|
|
388
|
-
# type: string
|
|
389
|
-
# minLength: 1
|
|
390
|
-
# maxLength: 2048
|
|
391
|
-
# tagline:
|
|
392
|
-
# type: string
|
|
393
|
-
# minLength: 1
|
|
394
|
-
# maxLength: 100
|
|
395
|
-
# support_info:
|
|
396
|
-
# type: string
|
|
397
|
-
# minLength: 1
|
|
398
|
-
# maxLength: 2048
|
|
399
|
-
# creator:
|
|
400
|
-
# type: string
|
|
401
|
-
# minLength: 1
|
|
402
|
-
# maxLength: 100
|
|
403
|
-
# documentation:
|
|
404
|
-
# type: array
|
|
405
|
-
# items:
|
|
406
|
-
# type: object
|
|
407
|
-
# properties:
|
|
408
|
-
# url:
|
|
409
|
-
# type: string
|
|
410
|
-
# pattern:
|
|
411
|
-
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
|
412
|
-
# title:
|
|
413
|
-
# type: string
|
|
414
|
-
# minLength: 1
|
|
415
|
-
# maxLength: 64
|
|
416
|
-
# description:
|
|
417
|
-
# type: string
|
|
418
|
-
# minLength: 1
|
|
419
|
-
# maxLength: 2048
|
|
420
|
-
# signup_url:
|
|
421
|
-
# type: string
|
|
422
|
-
# pattern:
|
|
423
|
-
# "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
|
|
424
|
-
# required:
|
|
425
|
-
# - name
|
|
426
|
-
# - description
|
|
427
|
-
# - signup_url
|
|
428
|
-
# additionalProperties: false
|
|
429
|
-
# ```
|
|
430
|
-
# Corresponds to the JSON property `displayMetadata`
|
|
431
|
-
# @return [Hash<String,Object>]
|
|
432
|
-
attr_accessor :display_metadata
|
|
433
|
-
|
|
434
|
-
# Output only. The public accessible URI of the icon uploaded by
|
|
435
|
-
# PrivateCatalogProducer.UploadIcon.
|
|
436
|
-
# If no icon is uploaded, it will be the default icon's URI.
|
|
437
|
-
# Corresponds to the JSON property `iconUri`
|
|
438
|
-
# @return [String]
|
|
439
|
-
attr_accessor :icon_uri
|
|
440
|
-
|
|
441
|
-
# Required. The resource name of the product in the format
|
|
442
|
-
# `catalogs/`catalog_id`/products/a-z*[a-z0-9]'.
|
|
443
|
-
# A unique identifier for the product under a catalog, which cannot
|
|
444
|
-
# be changed after the product is created. The final
|
|
445
|
-
# segment of the name must between 1 and 256 characters in length.
|
|
446
|
-
# Corresponds to the JSON property `name`
|
|
447
|
-
# @return [String]
|
|
448
|
-
attr_accessor :name
|
|
449
|
-
|
|
450
|
-
# Output only. The time when the product was last updated.
|
|
451
|
-
# Corresponds to the JSON property `updateTime`
|
|
452
|
-
# @return [String]
|
|
453
|
-
attr_accessor :update_time
|
|
454
|
-
|
|
455
|
-
def initialize(**args)
|
|
456
|
-
update!(**args)
|
|
457
|
-
end
|
|
458
|
-
|
|
459
|
-
# Update properties of this object
|
|
460
|
-
def update!(**args)
|
|
461
|
-
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
|
462
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
463
|
-
@display_metadata = args[:display_metadata] if args.key?(:display_metadata)
|
|
464
|
-
@icon_uri = args[:icon_uri] if args.key?(:icon_uri)
|
|
465
|
-
@name = args[:name] if args.key?(:name)
|
|
466
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
467
|
-
end
|
|
468
|
-
end
|
|
469
|
-
|
|
470
|
-
#
|
|
471
|
-
class GoogleCloudPrivatecatalogproducerV1beta1UndeleteCatalogRequest
|
|
472
|
-
include Google::Apis::Core::Hashable
|
|
473
|
-
|
|
474
|
-
def initialize(**args)
|
|
475
|
-
update!(**args)
|
|
476
|
-
end
|
|
477
|
-
|
|
478
|
-
# Update properties of this object
|
|
479
|
-
def update!(**args)
|
|
480
|
-
end
|
|
481
|
-
end
|
|
482
|
-
|
|
483
|
-
#
|
|
484
|
-
class GoogleCloudPrivatecatalogproducerV1beta1UploadIconRequest
|
|
485
|
-
include Google::Apis::Core::Hashable
|
|
486
|
-
|
|
487
|
-
# The raw icon bytes user-supplied to be uploaded to the product. The format
|
|
488
|
-
# of the icon can only be PNG or JPEG. The minimum allowed dimensions are
|
|
489
|
-
# 130x130 pixels and the maximum dimensions are 10000x10000 pixels.
|
|
490
|
-
# Required.
|
|
491
|
-
# Corresponds to the JSON property `icon`
|
|
492
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
493
|
-
# @return [String]
|
|
494
|
-
attr_accessor :icon
|
|
495
|
-
|
|
496
|
-
def initialize(**args)
|
|
497
|
-
update!(**args)
|
|
498
|
-
end
|
|
499
|
-
|
|
500
|
-
# Update properties of this object
|
|
501
|
-
def update!(**args)
|
|
502
|
-
@icon = args[:icon] if args.key?(:icon)
|
|
503
|
-
end
|
|
504
|
-
end
|
|
23
|
+
module MemcacheV1beta2
|
|
505
24
|
|
|
506
|
-
#
|
|
507
|
-
|
|
508
|
-
class GoogleCloudPrivatecatalogproducerV1beta1Version
|
|
25
|
+
# Request for ApplyParameters.
|
|
26
|
+
class ApplyParametersRequest
|
|
509
27
|
include Google::Apis::Core::Hashable
|
|
510
28
|
|
|
511
|
-
#
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
# Corresponds to the JSON property `createTime`
|
|
519
|
-
# @return [String]
|
|
520
|
-
attr_accessor :create_time
|
|
521
|
-
|
|
522
|
-
# The user-supplied description of the version. Maximum of 256 characters.
|
|
523
|
-
# Corresponds to the JSON property `description`
|
|
524
|
-
# @return [String]
|
|
525
|
-
attr_accessor :description
|
|
526
|
-
|
|
527
|
-
# Required. The resource name of the version, in the format
|
|
528
|
-
# `catalogs/`catalog_id`/products/`product_id`/versions/a-z*[a-z0-9]'.
|
|
529
|
-
# A unique identifier for the version under a product, which can't
|
|
530
|
-
# be changed after the version is created. The final segment of the name must
|
|
531
|
-
# between 1 and 63 characters in length.
|
|
532
|
-
# Corresponds to the JSON property `name`
|
|
533
|
-
# @return [String]
|
|
534
|
-
attr_accessor :name
|
|
535
|
-
|
|
536
|
-
# The user-supplied asset payload. The maximum size of the payload is 2MB.
|
|
537
|
-
# The JSON schema of the payload is defined as:
|
|
538
|
-
# ```
|
|
539
|
-
# type: object
|
|
540
|
-
# properties:
|
|
541
|
-
# mainTemplate:
|
|
542
|
-
# type: string
|
|
543
|
-
# description: The file name of the main template and name prefix of
|
|
544
|
-
# schema file. The content of the main template should be set in the
|
|
545
|
-
# imports list. The schema file name is expected to be
|
|
546
|
-
# <mainTemplate>.schema in the imports list. required: true
|
|
547
|
-
# imports:
|
|
548
|
-
# type: array
|
|
549
|
-
# description: Import template and schema file contents. Required to have
|
|
550
|
-
# both <mainTemplate> and <mainTemplate>.schema files. required: true
|
|
551
|
-
# minItems: 2
|
|
552
|
-
# items:
|
|
553
|
-
# type: object
|
|
554
|
-
# properties:
|
|
555
|
-
# name:
|
|
556
|
-
# type: string
|
|
557
|
-
# content:
|
|
558
|
-
# type: string
|
|
559
|
-
# ```
|
|
560
|
-
# Corresponds to the JSON property `originalAsset`
|
|
561
|
-
# @return [Hash<String,Object>]
|
|
562
|
-
attr_accessor :original_asset
|
|
29
|
+
# Whether to apply instance-level parameter group to all nodes. If set to
|
|
30
|
+
# true, will explicitly restrict users from specifying any nodes, and apply
|
|
31
|
+
# parameter group updates to all nodes within the instance.
|
|
32
|
+
# Corresponds to the JSON property `applyAll`
|
|
33
|
+
# @return [Boolean]
|
|
34
|
+
attr_accessor :apply_all
|
|
35
|
+
alias_method :apply_all?, :apply_all
|
|
563
36
|
|
|
564
|
-
#
|
|
565
|
-
# Corresponds to the JSON property `
|
|
566
|
-
# @return [String]
|
|
567
|
-
attr_accessor :
|
|
37
|
+
# Nodes to which we should apply the instance-level parameter group.
|
|
38
|
+
# Corresponds to the JSON property `nodeIds`
|
|
39
|
+
# @return [Array<String>]
|
|
40
|
+
attr_accessor :node_ids
|
|
568
41
|
|
|
569
42
|
def initialize(**args)
|
|
570
43
|
update!(**args)
|
|
@@ -572,12 +45,8 @@ module Google
|
|
|
572
45
|
|
|
573
46
|
# Update properties of this object
|
|
574
47
|
def update!(**args)
|
|
575
|
-
@
|
|
576
|
-
@
|
|
577
|
-
@description = args[:description] if args.key?(:description)
|
|
578
|
-
@name = args[:name] if args.key?(:name)
|
|
579
|
-
@original_asset = args[:original_asset] if args.key?(:original_asset)
|
|
580
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
48
|
+
@apply_all = args[:apply_all] if args.key?(:apply_all)
|
|
49
|
+
@node_ids = args[:node_ids] if args.key?(:node_ids)
|
|
581
50
|
end
|
|
582
51
|
end
|
|
583
52
|
|
|
@@ -628,12 +97,12 @@ module Google
|
|
|
628
97
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
629
98
|
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
630
99
|
# aliya@example.com from DATA_WRITE logging.
|
|
631
|
-
class
|
|
100
|
+
class AuditConfig
|
|
632
101
|
include Google::Apis::Core::Hashable
|
|
633
102
|
|
|
634
103
|
# The configuration for logging of each type of permission.
|
|
635
104
|
# Corresponds to the JSON property `auditLogConfigs`
|
|
636
|
-
# @return [Array<Google::Apis::
|
|
105
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::AuditLogConfig>]
|
|
637
106
|
attr_accessor :audit_log_configs
|
|
638
107
|
|
|
639
108
|
# Specifies a service that will be enabled for audit logging.
|
|
@@ -671,7 +140,7 @@ module Google
|
|
|
671
140
|
# `
|
|
672
141
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
673
142
|
# jose@example.com from DATA_READ logging.
|
|
674
|
-
class
|
|
143
|
+
class AuditLogConfig
|
|
675
144
|
include Google::Apis::Core::Hashable
|
|
676
145
|
|
|
677
146
|
# Specifies the identities that do not cause logging for this type of
|
|
@@ -698,7 +167,7 @@ module Google
|
|
|
698
167
|
end
|
|
699
168
|
|
|
700
169
|
# Associates `members` with a `role`.
|
|
701
|
-
class
|
|
170
|
+
class Binding
|
|
702
171
|
include Google::Apis::Core::Hashable
|
|
703
172
|
|
|
704
173
|
# Represents a textual expression in the Common Expression Language (CEL)
|
|
@@ -724,7 +193,7 @@ module Google
|
|
|
724
193
|
# are determined by the service that evaluates it. See the service
|
|
725
194
|
# documentation for additional information.
|
|
726
195
|
# Corresponds to the JSON property `condition`
|
|
727
|
-
# @return [Google::Apis::
|
|
196
|
+
# @return [Google::Apis::MemcacheV1beta2::Expr]
|
|
728
197
|
attr_accessor :condition
|
|
729
198
|
|
|
730
199
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
@@ -766,7 +235,1004 @@ module Google
|
|
|
766
235
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
|
767
236
|
# Corresponds to the JSON property `role`
|
|
768
237
|
# @return [String]
|
|
769
|
-
attr_accessor :role
|
|
238
|
+
attr_accessor :role
|
|
239
|
+
|
|
240
|
+
def initialize(**args)
|
|
241
|
+
update!(**args)
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Update properties of this object
|
|
245
|
+
def update!(**args)
|
|
246
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
247
|
+
@members = args[:members] if args.key?(:members)
|
|
248
|
+
@role = args[:role] if args.key?(:role)
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# The request message for Operations.CancelOperation.
|
|
253
|
+
class CancelOperationRequest
|
|
254
|
+
include Google::Apis::Core::Hashable
|
|
255
|
+
|
|
256
|
+
def initialize(**args)
|
|
257
|
+
update!(**args)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# Update properties of this object
|
|
261
|
+
def update!(**args)
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
266
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
267
|
+
# or the response type of an API method. For instance:
|
|
268
|
+
# service Foo `
|
|
269
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
270
|
+
# `
|
|
271
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
272
|
+
class Empty
|
|
273
|
+
include Google::Apis::Core::Hashable
|
|
274
|
+
|
|
275
|
+
def initialize(**args)
|
|
276
|
+
update!(**args)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Update properties of this object
|
|
280
|
+
def update!(**args)
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
|
285
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
|
286
|
+
# are documented at https://github.com/google/cel-spec.
|
|
287
|
+
# Example (Comparison):
|
|
288
|
+
# title: "Summary size limit"
|
|
289
|
+
# description: "Determines if a summary is less than 100 chars"
|
|
290
|
+
# expression: "document.summary.size() < 100"
|
|
291
|
+
# Example (Equality):
|
|
292
|
+
# title: "Requestor is owner"
|
|
293
|
+
# description: "Determines if requestor is the document owner"
|
|
294
|
+
# expression: "document.owner == request.auth.claims.email"
|
|
295
|
+
# Example (Logic):
|
|
296
|
+
# title: "Public documents"
|
|
297
|
+
# description: "Determine whether the document should be publicly visible"
|
|
298
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
299
|
+
# Example (Data Manipulation):
|
|
300
|
+
# title: "Notification string"
|
|
301
|
+
# description: "Create a notification string with a timestamp."
|
|
302
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
|
303
|
+
# The exact variables and functions that may be referenced within an expression
|
|
304
|
+
# are determined by the service that evaluates it. See the service
|
|
305
|
+
# documentation for additional information.
|
|
306
|
+
class Expr
|
|
307
|
+
include Google::Apis::Core::Hashable
|
|
308
|
+
|
|
309
|
+
# Optional. Description of the expression. This is a longer text which
|
|
310
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
|
311
|
+
# Corresponds to the JSON property `description`
|
|
312
|
+
# @return [String]
|
|
313
|
+
attr_accessor :description
|
|
314
|
+
|
|
315
|
+
# Textual representation of an expression in Common Expression Language
|
|
316
|
+
# syntax.
|
|
317
|
+
# Corresponds to the JSON property `expression`
|
|
318
|
+
# @return [String]
|
|
319
|
+
attr_accessor :expression
|
|
320
|
+
|
|
321
|
+
# Optional. String indicating the location of the expression for error
|
|
322
|
+
# reporting, e.g. a file name and a position in the file.
|
|
323
|
+
# Corresponds to the JSON property `location`
|
|
324
|
+
# @return [String]
|
|
325
|
+
attr_accessor :location
|
|
326
|
+
|
|
327
|
+
# Optional. Title for the expression, i.e. a short string describing
|
|
328
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
329
|
+
# expression.
|
|
330
|
+
# Corresponds to the JSON property `title`
|
|
331
|
+
# @return [String]
|
|
332
|
+
attr_accessor :title
|
|
333
|
+
|
|
334
|
+
def initialize(**args)
|
|
335
|
+
update!(**args)
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Update properties of this object
|
|
339
|
+
def update!(**args)
|
|
340
|
+
@description = args[:description] if args.key?(:description)
|
|
341
|
+
@expression = args[:expression] if args.key?(:expression)
|
|
342
|
+
@location = args[:location] if args.key?(:location)
|
|
343
|
+
@title = args[:title] if args.key?(:title)
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# Metadata for the given google.cloud.location.Location.
|
|
348
|
+
class GoogleCloudMemcacheV1beta2LocationMetadata
|
|
349
|
+
include Google::Apis::Core::Hashable
|
|
350
|
+
|
|
351
|
+
# Output only. The set of available zones in the location. The map is keyed
|
|
352
|
+
# by the lowercase ID of each zone, as defined by GCE. These keys can be
|
|
353
|
+
# specified in the `zones` field when creating a Memcached instance.
|
|
354
|
+
# Corresponds to the JSON property `availableZones`
|
|
355
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::ZoneMetadata>]
|
|
356
|
+
attr_accessor :available_zones
|
|
357
|
+
|
|
358
|
+
def initialize(**args)
|
|
359
|
+
update!(**args)
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Update properties of this object
|
|
363
|
+
def update!(**args)
|
|
364
|
+
@available_zones = args[:available_zones] if args.key?(:available_zones)
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# Represents the metadata of a long-running operation.
|
|
369
|
+
class GoogleCloudMemcacheV1beta2OperationMetadata
|
|
370
|
+
include Google::Apis::Core::Hashable
|
|
371
|
+
|
|
372
|
+
# API version used to start the operation.
|
|
373
|
+
# Corresponds to the JSON property `apiVersion`
|
|
374
|
+
# @return [String]
|
|
375
|
+
attr_accessor :api_version
|
|
376
|
+
|
|
377
|
+
# Identifies whether the user has requested cancellation
|
|
378
|
+
# of the operation. Operations that have successfully been cancelled
|
|
379
|
+
# have Operation.error value with a google.rpc.Status.code of 1,
|
|
380
|
+
# corresponding to `Code.CANCELLED`.
|
|
381
|
+
# Corresponds to the JSON property `cancelRequested`
|
|
382
|
+
# @return [Boolean]
|
|
383
|
+
attr_accessor :cancel_requested
|
|
384
|
+
alias_method :cancel_requested?, :cancel_requested
|
|
385
|
+
|
|
386
|
+
# Time when the operation was created.
|
|
387
|
+
# Corresponds to the JSON property `createTime`
|
|
388
|
+
# @return [String]
|
|
389
|
+
attr_accessor :create_time
|
|
390
|
+
|
|
391
|
+
# Time when the operation finished running.
|
|
392
|
+
# Corresponds to the JSON property `endTime`
|
|
393
|
+
# @return [String]
|
|
394
|
+
attr_accessor :end_time
|
|
395
|
+
|
|
396
|
+
# Human-readable status of the operation, if any.
|
|
397
|
+
# Corresponds to the JSON property `statusDetail`
|
|
398
|
+
# @return [String]
|
|
399
|
+
attr_accessor :status_detail
|
|
400
|
+
|
|
401
|
+
# Server-defined resource path for the target of the operation.
|
|
402
|
+
# Corresponds to the JSON property `target`
|
|
403
|
+
# @return [String]
|
|
404
|
+
attr_accessor :target
|
|
405
|
+
|
|
406
|
+
# Name of the verb executed by the operation.
|
|
407
|
+
# Corresponds to the JSON property `verb`
|
|
408
|
+
# @return [String]
|
|
409
|
+
attr_accessor :verb
|
|
410
|
+
|
|
411
|
+
def initialize(**args)
|
|
412
|
+
update!(**args)
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Update properties of this object
|
|
416
|
+
def update!(**args)
|
|
417
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
418
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
|
419
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
420
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
421
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
|
422
|
+
@target = args[:target] if args.key?(:target)
|
|
423
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
424
|
+
end
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
#
|
|
428
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
|
429
|
+
include Google::Apis::Core::Hashable
|
|
430
|
+
|
|
431
|
+
# consumer_defined_name is the name that is set by the consumer. On the other
|
|
432
|
+
# hand Name field represents system-assigned id of an instance so consumers
|
|
433
|
+
# are not necessarily aware of it.
|
|
434
|
+
# consumer_defined_name is used for notification/UI purposes for consumer to
|
|
435
|
+
# recognize their instances.
|
|
436
|
+
# Corresponds to the JSON property `consumerDefinedName`
|
|
437
|
+
# @return [String]
|
|
438
|
+
attr_accessor :consumer_defined_name
|
|
439
|
+
|
|
440
|
+
# Output only. Timestamp when the resource was created.
|
|
441
|
+
# Corresponds to the JSON property `createTime`
|
|
442
|
+
# @return [String]
|
|
443
|
+
attr_accessor :create_time
|
|
444
|
+
|
|
445
|
+
# Optional. Resource labels to represent user provided metadata. Each label
|
|
446
|
+
# is a key-value pair, where both the key and the value are arbitrary strings
|
|
447
|
+
# provided by the user.
|
|
448
|
+
# Corresponds to the JSON property `labels`
|
|
449
|
+
# @return [Hash<String,String>]
|
|
450
|
+
attr_accessor :labels
|
|
451
|
+
|
|
452
|
+
# The MaintenancePolicies that have been attached to the instance.
|
|
453
|
+
# The key must be of the type name of the oneof policy name defined in
|
|
454
|
+
# MaintenancePolicy, and the referenced policy must define the same policy
|
|
455
|
+
# type. For complete details of MaintenancePolicy, please refer to
|
|
456
|
+
# go/cloud-saas-mw-ug.
|
|
457
|
+
# Corresponds to the JSON property `maintenancePolicyNames`
|
|
458
|
+
# @return [Hash<String,String>]
|
|
459
|
+
attr_accessor :maintenance_policy_names
|
|
460
|
+
|
|
461
|
+
# The MaintenanceSchedule contains the scheduling information of published
|
|
462
|
+
# maintenance schedule.
|
|
463
|
+
# Corresponds to the JSON property `maintenanceSchedules`
|
|
464
|
+
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
|
465
|
+
attr_accessor :maintenance_schedules
|
|
466
|
+
|
|
467
|
+
# Unique name of the resource. It uses the form:
|
|
468
|
+
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
|
469
|
+
# Corresponds to the JSON property `name`
|
|
470
|
+
# @return [String]
|
|
471
|
+
attr_accessor :name
|
|
472
|
+
|
|
473
|
+
# Output only. Custom string attributes used primarily to expose
|
|
474
|
+
# producer-specific information in monitoring dashboards.
|
|
475
|
+
# See go/get-instance-metadata.
|
|
476
|
+
# Corresponds to the JSON property `producerMetadata`
|
|
477
|
+
# @return [Hash<String,String>]
|
|
478
|
+
attr_accessor :producer_metadata
|
|
479
|
+
|
|
480
|
+
# Output only. The list of data plane resources provisioned for this
|
|
481
|
+
# instance, e.g. compute VMs. See go/get-instance-metadata.
|
|
482
|
+
# Corresponds to the JSON property `provisionedResources`
|
|
483
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
|
484
|
+
attr_accessor :provisioned_resources
|
|
485
|
+
|
|
486
|
+
# Link to the SLM instance template. Only populated when updating SLM
|
|
487
|
+
# instances via SSA's Actuation service adaptor.
|
|
488
|
+
# Service producers with custom control plane (e.g. Cloud SQL) doesn't
|
|
489
|
+
# need to populate this field. Instead they should use software_versions.
|
|
490
|
+
# Corresponds to the JSON property `slmInstanceTemplate`
|
|
491
|
+
# @return [String]
|
|
492
|
+
attr_accessor :slm_instance_template
|
|
493
|
+
|
|
494
|
+
# SloMetadata contains resources required for proper SLO classification of the
|
|
495
|
+
# instance.
|
|
496
|
+
# Corresponds to the JSON property `sloMetadata`
|
|
497
|
+
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
|
|
498
|
+
attr_accessor :slo_metadata
|
|
499
|
+
|
|
500
|
+
# Software versions that are used to deploy this instance. This can be
|
|
501
|
+
# mutated by rollout services.
|
|
502
|
+
# Corresponds to the JSON property `softwareVersions`
|
|
503
|
+
# @return [Hash<String,String>]
|
|
504
|
+
attr_accessor :software_versions
|
|
505
|
+
|
|
506
|
+
# Output only. Current lifecycle state of the resource (e.g. if it's being
|
|
507
|
+
# created or ready to use).
|
|
508
|
+
# Corresponds to the JSON property `state`
|
|
509
|
+
# @return [String]
|
|
510
|
+
attr_accessor :state
|
|
511
|
+
|
|
512
|
+
# Output only. ID of the associated GCP tenant project.
|
|
513
|
+
# See go/get-instance-metadata.
|
|
514
|
+
# Corresponds to the JSON property `tenantProjectId`
|
|
515
|
+
# @return [String]
|
|
516
|
+
attr_accessor :tenant_project_id
|
|
517
|
+
|
|
518
|
+
# Output only. Timestamp when the resource was last modified.
|
|
519
|
+
# Corresponds to the JSON property `updateTime`
|
|
520
|
+
# @return [String]
|
|
521
|
+
attr_accessor :update_time
|
|
522
|
+
|
|
523
|
+
def initialize(**args)
|
|
524
|
+
update!(**args)
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Update properties of this object
|
|
528
|
+
def update!(**args)
|
|
529
|
+
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
|
530
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
531
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
532
|
+
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
|
533
|
+
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
|
534
|
+
@name = args[:name] if args.key?(:name)
|
|
535
|
+
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
|
536
|
+
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
|
537
|
+
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
|
538
|
+
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
|
|
539
|
+
@software_versions = args[:software_versions] if args.key?(:software_versions)
|
|
540
|
+
@state = args[:state] if args.key?(:state)
|
|
541
|
+
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
|
|
542
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
543
|
+
end
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
# Maintenance schedule which is exposed to customer and potentially end user,
|
|
547
|
+
# indicating published upcoming future maintenance schedule
|
|
548
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
|
549
|
+
include Google::Apis::Core::Hashable
|
|
550
|
+
|
|
551
|
+
# Can this scheduled update be rescheduled?
|
|
552
|
+
# By default, it's true and API needs to do explicitly check whether it's
|
|
553
|
+
# set, if it's set as false explicitly, it's false
|
|
554
|
+
# Corresponds to the JSON property `canReschedule`
|
|
555
|
+
# @return [Boolean]
|
|
556
|
+
attr_accessor :can_reschedule
|
|
557
|
+
alias_method :can_reschedule?, :can_reschedule
|
|
558
|
+
|
|
559
|
+
# The scheduled end time for the maintenance.
|
|
560
|
+
# Corresponds to the JSON property `endTime`
|
|
561
|
+
# @return [String]
|
|
562
|
+
attr_accessor :end_time
|
|
563
|
+
|
|
564
|
+
# The rollout management policy this maintenance schedule is associated
|
|
565
|
+
# with. When doing reschedule update request, the reschedule should be
|
|
566
|
+
# against this given policy.
|
|
567
|
+
# Corresponds to the JSON property `rolloutManagementPolicy`
|
|
568
|
+
# @return [String]
|
|
569
|
+
attr_accessor :rollout_management_policy
|
|
570
|
+
|
|
571
|
+
# The scheduled start time for the maintenance.
|
|
572
|
+
# Corresponds to the JSON property `startTime`
|
|
573
|
+
# @return [String]
|
|
574
|
+
attr_accessor :start_time
|
|
575
|
+
|
|
576
|
+
def initialize(**args)
|
|
577
|
+
update!(**args)
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# Update properties of this object
|
|
581
|
+
def update!(**args)
|
|
582
|
+
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
|
583
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
584
|
+
@rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
|
|
585
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
586
|
+
end
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
# Node information for custom per-node SLO implementations.
|
|
590
|
+
# SSA does not support per-node SLO, but producers can populate per-node
|
|
591
|
+
# information in SloMetadata for custom precomputations.
|
|
592
|
+
# SSA Eligibility Exporter will emit per-node metric based on this information.
|
|
593
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
|
594
|
+
include Google::Apis::Core::Hashable
|
|
595
|
+
|
|
596
|
+
# By default node is eligible if instance is eligible.
|
|
597
|
+
# But individual node might be excluded from SLO by adding entry here.
|
|
598
|
+
# For semantic see SloMetadata.exclusions.
|
|
599
|
+
# If both instance and node level exclusions are present for time period,
|
|
600
|
+
# the node level's reason will be reported by Eligibility Exporter.
|
|
601
|
+
# Corresponds to the JSON property `exclusions`
|
|
602
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
|
603
|
+
attr_accessor :exclusions
|
|
604
|
+
|
|
605
|
+
# The location of the node, if different from instance location.
|
|
606
|
+
# Corresponds to the JSON property `location`
|
|
607
|
+
# @return [String]
|
|
608
|
+
attr_accessor :location
|
|
609
|
+
|
|
610
|
+
# The id of the node.
|
|
611
|
+
# This should be equal to SaasInstanceNode.node_id.
|
|
612
|
+
# Corresponds to the JSON property `nodeId`
|
|
613
|
+
# @return [String]
|
|
614
|
+
attr_accessor :node_id
|
|
615
|
+
|
|
616
|
+
def initialize(**args)
|
|
617
|
+
update!(**args)
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
# Update properties of this object
|
|
621
|
+
def update!(**args)
|
|
622
|
+
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
|
623
|
+
@location = args[:location] if args.key?(:location)
|
|
624
|
+
@node_id = args[:node_id] if args.key?(:node_id)
|
|
625
|
+
end
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
# Describes provisioned dataplane resources.
|
|
629
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
|
630
|
+
include Google::Apis::Core::Hashable
|
|
631
|
+
|
|
632
|
+
# Type of the resource. This can be either a GCP resource or a custom one
|
|
633
|
+
# (e.g. another cloud provider's VM). For GCP compute resources use singular
|
|
634
|
+
# form of the names listed in GCP compute API documentation
|
|
635
|
+
# (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with
|
|
636
|
+
# 'compute-', for example: 'compute-instance', 'compute-disk',
|
|
637
|
+
# 'compute-autoscaler'.
|
|
638
|
+
# Corresponds to the JSON property `resourceType`
|
|
639
|
+
# @return [String]
|
|
640
|
+
attr_accessor :resource_type
|
|
641
|
+
|
|
642
|
+
# URL identifying the resource, e.g.
|
|
643
|
+
# "https://www.googleapis.com/compute/v1/projects/...)".
|
|
644
|
+
# Corresponds to the JSON property `resourceUrl`
|
|
645
|
+
# @return [String]
|
|
646
|
+
attr_accessor :resource_url
|
|
647
|
+
|
|
648
|
+
def initialize(**args)
|
|
649
|
+
update!(**args)
|
|
650
|
+
end
|
|
651
|
+
|
|
652
|
+
# Update properties of this object
|
|
653
|
+
def update!(**args)
|
|
654
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
655
|
+
@resource_url = args[:resource_url] if args.key?(:resource_url)
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# SloEligibility is a tuple containing eligibility value: true if an instance
|
|
660
|
+
# is eligible for SLO calculation or false if it should be excluded from all
|
|
661
|
+
# SLO-related calculations along with a user-defined reason.
|
|
662
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
|
663
|
+
include Google::Apis::Core::Hashable
|
|
664
|
+
|
|
665
|
+
# Whether an instance is eligible or ineligible.
|
|
666
|
+
# Corresponds to the JSON property `eligible`
|
|
667
|
+
# @return [Boolean]
|
|
668
|
+
attr_accessor :eligible
|
|
669
|
+
alias_method :eligible?, :eligible
|
|
670
|
+
|
|
671
|
+
# User-defined reason for the current value of instance eligibility. Usually,
|
|
672
|
+
# this can be directly mapped to the internal state. An empty reason is
|
|
673
|
+
# allowed.
|
|
674
|
+
# Corresponds to the JSON property `reason`
|
|
675
|
+
# @return [String]
|
|
676
|
+
attr_accessor :reason
|
|
677
|
+
|
|
678
|
+
def initialize(**args)
|
|
679
|
+
update!(**args)
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Update properties of this object
|
|
683
|
+
def update!(**args)
|
|
684
|
+
@eligible = args[:eligible] if args.key?(:eligible)
|
|
685
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
|
690
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
|
691
|
+
include Google::Apis::Core::Hashable
|
|
692
|
+
|
|
693
|
+
# Exclusion duration. No restrictions on the possible values.
|
|
694
|
+
# When an ongoing operation is taking longer than initially expected,
|
|
695
|
+
# an existing entry in the exclusion list can be updated by extending the
|
|
696
|
+
# duration. This is supported by the subsystem exporting eligibility data
|
|
697
|
+
# as long as such extension is committed at least 10 minutes before the
|
|
698
|
+
# original exclusion expiration - otherwise it is possible that there will
|
|
699
|
+
# be "gaps" in the exclusion application in the exported timeseries.
|
|
700
|
+
# Corresponds to the JSON property `duration`
|
|
701
|
+
# @return [String]
|
|
702
|
+
attr_accessor :duration
|
|
703
|
+
|
|
704
|
+
# Human-readable reason for the exclusion.
|
|
705
|
+
# This should be a static string (e.g. "Disruptive update in progress")
|
|
706
|
+
# and should not contain dynamically generated data (e.g. instance name).
|
|
707
|
+
# Can be left empty.
|
|
708
|
+
# Corresponds to the JSON property `reason`
|
|
709
|
+
# @return [String]
|
|
710
|
+
attr_accessor :reason
|
|
711
|
+
|
|
712
|
+
# Name of an SLI that this exclusion applies to. Can be left empty,
|
|
713
|
+
# signaling that the instance should be excluded from all SLIs defined
|
|
714
|
+
# in the service SLO configuration.
|
|
715
|
+
# Corresponds to the JSON property `sliName`
|
|
716
|
+
# @return [String]
|
|
717
|
+
attr_accessor :sli_name
|
|
718
|
+
|
|
719
|
+
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
|
720
|
+
# Corresponds to the JSON property `startTime`
|
|
721
|
+
# @return [String]
|
|
722
|
+
attr_accessor :start_time
|
|
723
|
+
|
|
724
|
+
def initialize(**args)
|
|
725
|
+
update!(**args)
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
# Update properties of this object
|
|
729
|
+
def update!(**args)
|
|
730
|
+
@duration = args[:duration] if args.key?(:duration)
|
|
731
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
732
|
+
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
|
733
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
# SloMetadata contains resources required for proper SLO classification of the
|
|
738
|
+
# instance.
|
|
739
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
|
740
|
+
include Google::Apis::Core::Hashable
|
|
741
|
+
|
|
742
|
+
# SloEligibility is a tuple containing eligibility value: true if an instance
|
|
743
|
+
# is eligible for SLO calculation or false if it should be excluded from all
|
|
744
|
+
# SLO-related calculations along with a user-defined reason.
|
|
745
|
+
# Corresponds to the JSON property `eligibility`
|
|
746
|
+
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
|
747
|
+
attr_accessor :eligibility
|
|
748
|
+
|
|
749
|
+
# List of SLO exclusion windows. When multiple entries in the list match
|
|
750
|
+
# (matching the exclusion time-window against current time point)
|
|
751
|
+
# the exclusion reason used in the first matching entry will be published.
|
|
752
|
+
# It is not needed to include expired exclusion in this list, as only the
|
|
753
|
+
# currently applicable exclusions are taken into account by the eligibility
|
|
754
|
+
# exporting subsystem (the historical state of exclusions will be reflected
|
|
755
|
+
# in the historically produced timeseries regardless of the current state).
|
|
756
|
+
# This field can be used to mark the instance as temporary ineligible
|
|
757
|
+
# for the purpose of SLO calculation. For permanent instance SLO exclusion,
|
|
758
|
+
# use of custom instance eligibility is recommended. See 'eligibility' field
|
|
759
|
+
# below.
|
|
760
|
+
# Corresponds to the JSON property `exclusions`
|
|
761
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
|
762
|
+
attr_accessor :exclusions
|
|
763
|
+
|
|
764
|
+
# Optional. List of nodes.
|
|
765
|
+
# Some producers need to use per-node metadata to calculate SLO.
|
|
766
|
+
# This field allows such producers to publish per-node SLO meta data,
|
|
767
|
+
# which will be consumed by SSA Eligibility Exporter and published in the
|
|
768
|
+
# form of per node metric to Monarch.
|
|
769
|
+
# Corresponds to the JSON property `nodes`
|
|
770
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
|
771
|
+
attr_accessor :nodes
|
|
772
|
+
|
|
773
|
+
# Name of the SLO tier the Instance belongs to. This name will be expected to
|
|
774
|
+
# match the tiers specified in the service SLO configuration.
|
|
775
|
+
# Field is mandatory and must not be empty.
|
|
776
|
+
# Corresponds to the JSON property `tier`
|
|
777
|
+
# @return [String]
|
|
778
|
+
attr_accessor :tier
|
|
779
|
+
|
|
780
|
+
def initialize(**args)
|
|
781
|
+
update!(**args)
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
# Update properties of this object
|
|
785
|
+
def update!(**args)
|
|
786
|
+
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
|
787
|
+
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
|
788
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
|
789
|
+
@tier = args[:tier] if args.key?(:tier)
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
#
|
|
794
|
+
class Instance
|
|
795
|
+
include Google::Apis::Core::Hashable
|
|
796
|
+
|
|
797
|
+
# Optional. The full name of the Google Compute Engine
|
|
798
|
+
# [network](/compute/docs/networks-and-firewalls#networks) to which the
|
|
799
|
+
# instance is connected. If left unspecified, the `default` network
|
|
800
|
+
# will be used.
|
|
801
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
|
802
|
+
# @return [String]
|
|
803
|
+
attr_accessor :authorized_network
|
|
804
|
+
|
|
805
|
+
# Output only. The time the instance was created.
|
|
806
|
+
# Corresponds to the JSON property `createTime`
|
|
807
|
+
# @return [String]
|
|
808
|
+
attr_accessor :create_time
|
|
809
|
+
|
|
810
|
+
# Output only. Endpoint for Discovery API
|
|
811
|
+
# Corresponds to the JSON property `discoveryEndpoint`
|
|
812
|
+
# @return [String]
|
|
813
|
+
attr_accessor :discovery_endpoint
|
|
814
|
+
|
|
815
|
+
# Optional. User provided name for the instance only used for display
|
|
816
|
+
# purposes. Cannot be more than 80 characters.
|
|
817
|
+
# Corresponds to the JSON property `displayName`
|
|
818
|
+
# @return [String]
|
|
819
|
+
attr_accessor :display_name
|
|
820
|
+
|
|
821
|
+
# List of messages that describe current statuses of memcached instance.
|
|
822
|
+
# Corresponds to the JSON property `instanceMessages`
|
|
823
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::InstanceMessage>]
|
|
824
|
+
attr_accessor :instance_messages
|
|
825
|
+
|
|
826
|
+
# Optional. Resource labels to represent user-provided metadata.
|
|
827
|
+
# Refer to cloud documentation on labels for more details.
|
|
828
|
+
# https://cloud.google.com/compute/docs/labeling-resources
|
|
829
|
+
# Corresponds to the JSON property `labels`
|
|
830
|
+
# @return [Hash<String,String>]
|
|
831
|
+
attr_accessor :labels
|
|
832
|
+
|
|
833
|
+
# Output only. The full version of memcached server running on this instance.
|
|
834
|
+
# System automatically determines the full memcached version for an instance
|
|
835
|
+
# based on the input MemcacheVersion.
|
|
836
|
+
# The full version format will be "memcached-1.5.16".
|
|
837
|
+
# Corresponds to the JSON property `memcacheFullVersion`
|
|
838
|
+
# @return [String]
|
|
839
|
+
attr_accessor :memcache_full_version
|
|
840
|
+
|
|
841
|
+
# Output only. List of Memcached nodes.
|
|
842
|
+
# Refer to [Node] message for more details.
|
|
843
|
+
# Corresponds to the JSON property `memcacheNodes`
|
|
844
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Node>]
|
|
845
|
+
attr_accessor :memcache_nodes
|
|
846
|
+
|
|
847
|
+
# Optional. The major version of Memcached software.
|
|
848
|
+
# If not provided, latest supported version will be used. Currently the
|
|
849
|
+
# latest supported major version is MEMCACHE_1_5.
|
|
850
|
+
# The minor version will be automatically determined by our system based on
|
|
851
|
+
# the latest supported minor version.
|
|
852
|
+
# Corresponds to the JSON property `memcacheVersion`
|
|
853
|
+
# @return [String]
|
|
854
|
+
attr_accessor :memcache_version
|
|
855
|
+
|
|
856
|
+
# Required. Unique name of the resource in this scope including project and
|
|
857
|
+
# location using the form:
|
|
858
|
+
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
|
859
|
+
# Note: Memcached instances are managed and addressed at regional level so
|
|
860
|
+
# location_id here refers to a GCP region; however, users may choose which
|
|
861
|
+
# zones Memcached nodes within an instances should be provisioned in.
|
|
862
|
+
# Refer to [zones] field for more details.
|
|
863
|
+
# Corresponds to the JSON property `name`
|
|
864
|
+
# @return [String]
|
|
865
|
+
attr_accessor :name
|
|
866
|
+
|
|
867
|
+
# Configuration for a Memcached Node.
|
|
868
|
+
# Corresponds to the JSON property `nodeConfig`
|
|
869
|
+
# @return [Google::Apis::MemcacheV1beta2::NodeConfig]
|
|
870
|
+
attr_accessor :node_config
|
|
871
|
+
|
|
872
|
+
# Required. Number of nodes in the Memcached instance.
|
|
873
|
+
# Corresponds to the JSON property `nodeCount`
|
|
874
|
+
# @return [Fixnum]
|
|
875
|
+
attr_accessor :node_count
|
|
876
|
+
|
|
877
|
+
# Optional: User defined parameters to apply to the memcached process
|
|
878
|
+
# on each node.
|
|
879
|
+
# Corresponds to the JSON property `parameters`
|
|
880
|
+
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
|
881
|
+
attr_accessor :parameters
|
|
882
|
+
|
|
883
|
+
# Output only. The state of this Memcached instance.
|
|
884
|
+
# Corresponds to the JSON property `state`
|
|
885
|
+
# @return [String]
|
|
886
|
+
attr_accessor :state
|
|
887
|
+
|
|
888
|
+
# Output only. The time the instance was updated.
|
|
889
|
+
# Corresponds to the JSON property `updateTime`
|
|
890
|
+
# @return [String]
|
|
891
|
+
attr_accessor :update_time
|
|
892
|
+
|
|
893
|
+
# Optional. Zones where Memcached nodes should be provisioned in.
|
|
894
|
+
# Memcached nodes will be equally distributed across these zones. If not
|
|
895
|
+
# provided, the service will by default create nodes in all zones in the
|
|
896
|
+
# region for the instance.
|
|
897
|
+
# Corresponds to the JSON property `zones`
|
|
898
|
+
# @return [Array<String>]
|
|
899
|
+
attr_accessor :zones
|
|
900
|
+
|
|
901
|
+
def initialize(**args)
|
|
902
|
+
update!(**args)
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
# Update properties of this object
|
|
906
|
+
def update!(**args)
|
|
907
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
|
908
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
909
|
+
@discovery_endpoint = args[:discovery_endpoint] if args.key?(:discovery_endpoint)
|
|
910
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
911
|
+
@instance_messages = args[:instance_messages] if args.key?(:instance_messages)
|
|
912
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
913
|
+
@memcache_full_version = args[:memcache_full_version] if args.key?(:memcache_full_version)
|
|
914
|
+
@memcache_nodes = args[:memcache_nodes] if args.key?(:memcache_nodes)
|
|
915
|
+
@memcache_version = args[:memcache_version] if args.key?(:memcache_version)
|
|
916
|
+
@name = args[:name] if args.key?(:name)
|
|
917
|
+
@node_config = args[:node_config] if args.key?(:node_config)
|
|
918
|
+
@node_count = args[:node_count] if args.key?(:node_count)
|
|
919
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
920
|
+
@state = args[:state] if args.key?(:state)
|
|
921
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
922
|
+
@zones = args[:zones] if args.key?(:zones)
|
|
923
|
+
end
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
#
|
|
927
|
+
class InstanceMessage
|
|
928
|
+
include Google::Apis::Core::Hashable
|
|
929
|
+
|
|
930
|
+
# A code that correspond to one type of user-facing message.
|
|
931
|
+
# Corresponds to the JSON property `code`
|
|
932
|
+
# @return [String]
|
|
933
|
+
attr_accessor :code
|
|
934
|
+
|
|
935
|
+
# Message on memcached instance which will be exposed to users.
|
|
936
|
+
# Corresponds to the JSON property `message`
|
|
937
|
+
# @return [String]
|
|
938
|
+
attr_accessor :message
|
|
939
|
+
|
|
940
|
+
def initialize(**args)
|
|
941
|
+
update!(**args)
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
# Update properties of this object
|
|
945
|
+
def update!(**args)
|
|
946
|
+
@code = args[:code] if args.key?(:code)
|
|
947
|
+
@message = args[:message] if args.key?(:message)
|
|
948
|
+
end
|
|
949
|
+
end
|
|
950
|
+
|
|
951
|
+
# Response for ListInstances.
|
|
952
|
+
class ListInstancesResponse
|
|
953
|
+
include Google::Apis::Core::Hashable
|
|
954
|
+
|
|
955
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
|
956
|
+
# results in the list.
|
|
957
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
958
|
+
# @return [String]
|
|
959
|
+
attr_accessor :next_page_token
|
|
960
|
+
|
|
961
|
+
# A list of Memcached instances in the project in the specified location,
|
|
962
|
+
# or across all locations.
|
|
963
|
+
# If the `location_id` in the parent field of the request is "-", all regions
|
|
964
|
+
# available to the project are queried, and the results aggregated.
|
|
965
|
+
# Corresponds to the JSON property `resources`
|
|
966
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Instance>]
|
|
967
|
+
attr_accessor :resources
|
|
968
|
+
|
|
969
|
+
# Locations that could not be reached.
|
|
970
|
+
# Corresponds to the JSON property `unreachable`
|
|
971
|
+
# @return [Array<String>]
|
|
972
|
+
attr_accessor :unreachable
|
|
973
|
+
|
|
974
|
+
def initialize(**args)
|
|
975
|
+
update!(**args)
|
|
976
|
+
end
|
|
977
|
+
|
|
978
|
+
# Update properties of this object
|
|
979
|
+
def update!(**args)
|
|
980
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
981
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
982
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
983
|
+
end
|
|
984
|
+
end
|
|
985
|
+
|
|
986
|
+
# The response message for Locations.ListLocations.
|
|
987
|
+
class ListLocationsResponse
|
|
988
|
+
include Google::Apis::Core::Hashable
|
|
989
|
+
|
|
990
|
+
# A list of locations that matches the specified filter in the request.
|
|
991
|
+
# Corresponds to the JSON property `locations`
|
|
992
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Location>]
|
|
993
|
+
attr_accessor :locations
|
|
994
|
+
|
|
995
|
+
# The standard List next-page token.
|
|
996
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
997
|
+
# @return [String]
|
|
998
|
+
attr_accessor :next_page_token
|
|
999
|
+
|
|
1000
|
+
def initialize(**args)
|
|
1001
|
+
update!(**args)
|
|
1002
|
+
end
|
|
1003
|
+
|
|
1004
|
+
# Update properties of this object
|
|
1005
|
+
def update!(**args)
|
|
1006
|
+
@locations = args[:locations] if args.key?(:locations)
|
|
1007
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1008
|
+
end
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
# The response message for Operations.ListOperations.
|
|
1012
|
+
class ListOperationsResponse
|
|
1013
|
+
include Google::Apis::Core::Hashable
|
|
1014
|
+
|
|
1015
|
+
# The standard List next-page token.
|
|
1016
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1017
|
+
# @return [String]
|
|
1018
|
+
attr_accessor :next_page_token
|
|
1019
|
+
|
|
1020
|
+
# A list of operations that matches the specified filter in the request.
|
|
1021
|
+
# Corresponds to the JSON property `operations`
|
|
1022
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Operation>]
|
|
1023
|
+
attr_accessor :operations
|
|
1024
|
+
|
|
1025
|
+
def initialize(**args)
|
|
1026
|
+
update!(**args)
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
# Update properties of this object
|
|
1030
|
+
def update!(**args)
|
|
1031
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1032
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1033
|
+
end
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
# A resource that represents Google Cloud Platform location.
|
|
1037
|
+
class Location
|
|
1038
|
+
include Google::Apis::Core::Hashable
|
|
1039
|
+
|
|
1040
|
+
# The friendly name for this location, typically a nearby city name.
|
|
1041
|
+
# For example, "Tokyo".
|
|
1042
|
+
# Corresponds to the JSON property `displayName`
|
|
1043
|
+
# @return [String]
|
|
1044
|
+
attr_accessor :display_name
|
|
1045
|
+
|
|
1046
|
+
# Cross-service attributes for the location. For example
|
|
1047
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
|
1048
|
+
# Corresponds to the JSON property `labels`
|
|
1049
|
+
# @return [Hash<String,String>]
|
|
1050
|
+
attr_accessor :labels
|
|
1051
|
+
|
|
1052
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
|
1053
|
+
# Corresponds to the JSON property `locationId`
|
|
1054
|
+
# @return [String]
|
|
1055
|
+
attr_accessor :location_id
|
|
1056
|
+
|
|
1057
|
+
# Service-specific metadata. For example the available capacity at the given
|
|
1058
|
+
# location.
|
|
1059
|
+
# Corresponds to the JSON property `metadata`
|
|
1060
|
+
# @return [Hash<String,Object>]
|
|
1061
|
+
attr_accessor :metadata
|
|
1062
|
+
|
|
1063
|
+
# Resource name for the location, which may vary between implementations.
|
|
1064
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
|
1065
|
+
# Corresponds to the JSON property `name`
|
|
1066
|
+
# @return [String]
|
|
1067
|
+
attr_accessor :name
|
|
1068
|
+
|
|
1069
|
+
def initialize(**args)
|
|
1070
|
+
update!(**args)
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
# Update properties of this object
|
|
1074
|
+
def update!(**args)
|
|
1075
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1076
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1077
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
1078
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1079
|
+
@name = args[:name] if args.key?(:name)
|
|
1080
|
+
end
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
#
|
|
1084
|
+
class MemcacheParameters
|
|
1085
|
+
include Google::Apis::Core::Hashable
|
|
1086
|
+
|
|
1087
|
+
# Output only. The unique ID associated with this set of parameters. Users
|
|
1088
|
+
# can use this id to determine if the parameters associated with the instance
|
|
1089
|
+
# differ from the parameters associated with the nodes and any action needs
|
|
1090
|
+
# to be taken to apply parameters on nodes.
|
|
1091
|
+
# Corresponds to the JSON property `id`
|
|
1092
|
+
# @return [String]
|
|
1093
|
+
attr_accessor :id
|
|
1094
|
+
|
|
1095
|
+
# User defined set of parameters to use in the memcached process.
|
|
1096
|
+
# Corresponds to the JSON property `params`
|
|
1097
|
+
# @return [Hash<String,String>]
|
|
1098
|
+
attr_accessor :params
|
|
1099
|
+
|
|
1100
|
+
def initialize(**args)
|
|
1101
|
+
update!(**args)
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
# Update properties of this object
|
|
1105
|
+
def update!(**args)
|
|
1106
|
+
@id = args[:id] if args.key?(:id)
|
|
1107
|
+
@params = args[:params] if args.key?(:params)
|
|
1108
|
+
end
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1111
|
+
#
|
|
1112
|
+
class Node
|
|
1113
|
+
include Google::Apis::Core::Hashable
|
|
1114
|
+
|
|
1115
|
+
# Output only. Hostname or IP address of the Memcached node used by the
|
|
1116
|
+
# clients to connect to the Memcached server on this node.
|
|
1117
|
+
# Corresponds to the JSON property `host`
|
|
1118
|
+
# @return [String]
|
|
1119
|
+
attr_accessor :host
|
|
1120
|
+
|
|
1121
|
+
# Output only. Identifier of the Memcached node. The node id does not
|
|
1122
|
+
# include project or location like the Memcached instance name.
|
|
1123
|
+
# Corresponds to the JSON property `nodeId`
|
|
1124
|
+
# @return [String]
|
|
1125
|
+
attr_accessor :node_id
|
|
1126
|
+
|
|
1127
|
+
# User defined parameters currently applied to the node.
|
|
1128
|
+
# Corresponds to the JSON property `parameters`
|
|
1129
|
+
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
|
1130
|
+
attr_accessor :parameters
|
|
1131
|
+
|
|
1132
|
+
# Output only. The port number of the Memcached server on this node.
|
|
1133
|
+
# Corresponds to the JSON property `port`
|
|
1134
|
+
# @return [Fixnum]
|
|
1135
|
+
attr_accessor :port
|
|
1136
|
+
|
|
1137
|
+
# Output only. Current state of the Memcached node.
|
|
1138
|
+
# Corresponds to the JSON property `state`
|
|
1139
|
+
# @return [String]
|
|
1140
|
+
attr_accessor :state
|
|
1141
|
+
|
|
1142
|
+
# Output only. Location (GCP Zone) for the Memcached node.
|
|
1143
|
+
# Corresponds to the JSON property `zone`
|
|
1144
|
+
# @return [String]
|
|
1145
|
+
attr_accessor :zone
|
|
1146
|
+
|
|
1147
|
+
def initialize(**args)
|
|
1148
|
+
update!(**args)
|
|
1149
|
+
end
|
|
1150
|
+
|
|
1151
|
+
# Update properties of this object
|
|
1152
|
+
def update!(**args)
|
|
1153
|
+
@host = args[:host] if args.key?(:host)
|
|
1154
|
+
@node_id = args[:node_id] if args.key?(:node_id)
|
|
1155
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
1156
|
+
@port = args[:port] if args.key?(:port)
|
|
1157
|
+
@state = args[:state] if args.key?(:state)
|
|
1158
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
1159
|
+
end
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
# Configuration for a Memcached Node.
|
|
1163
|
+
class NodeConfig
|
|
1164
|
+
include Google::Apis::Core::Hashable
|
|
1165
|
+
|
|
1166
|
+
# Required. Number of cpus per Memcached node.
|
|
1167
|
+
# Corresponds to the JSON property `cpuCount`
|
|
1168
|
+
# @return [Fixnum]
|
|
1169
|
+
attr_accessor :cpu_count
|
|
1170
|
+
|
|
1171
|
+
# Required. Memory size in MiB for each Memcached node.
|
|
1172
|
+
# Corresponds to the JSON property `memorySizeMb`
|
|
1173
|
+
# @return [Fixnum]
|
|
1174
|
+
attr_accessor :memory_size_mb
|
|
1175
|
+
|
|
1176
|
+
def initialize(**args)
|
|
1177
|
+
update!(**args)
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
# Update properties of this object
|
|
1181
|
+
def update!(**args)
|
|
1182
|
+
@cpu_count = args[:cpu_count] if args.key?(:cpu_count)
|
|
1183
|
+
@memory_size_mb = args[:memory_size_mb] if args.key?(:memory_size_mb)
|
|
1184
|
+
end
|
|
1185
|
+
end
|
|
1186
|
+
|
|
1187
|
+
# This resource represents a long-running operation that is the result of a
|
|
1188
|
+
# network API call.
|
|
1189
|
+
class Operation
|
|
1190
|
+
include Google::Apis::Core::Hashable
|
|
1191
|
+
|
|
1192
|
+
# If the value is `false`, it means the operation is still in progress.
|
|
1193
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
|
1194
|
+
# available.
|
|
1195
|
+
# Corresponds to the JSON property `done`
|
|
1196
|
+
# @return [Boolean]
|
|
1197
|
+
attr_accessor :done
|
|
1198
|
+
alias_method :done?, :done
|
|
1199
|
+
|
|
1200
|
+
# The `Status` type defines a logical error model that is suitable for
|
|
1201
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1202
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1203
|
+
# three pieces of data: error code, error message, and error details.
|
|
1204
|
+
# You can find out more about this error model and how to work with it in the
|
|
1205
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1206
|
+
# Corresponds to the JSON property `error`
|
|
1207
|
+
# @return [Google::Apis::MemcacheV1beta2::Status]
|
|
1208
|
+
attr_accessor :error
|
|
1209
|
+
|
|
1210
|
+
# Service-specific metadata associated with the operation. It typically
|
|
1211
|
+
# contains progress information and common metadata such as create time.
|
|
1212
|
+
# Some services might not provide such metadata. Any method that returns a
|
|
1213
|
+
# long-running operation should document the metadata type, if any.
|
|
1214
|
+
# Corresponds to the JSON property `metadata`
|
|
1215
|
+
# @return [Hash<String,Object>]
|
|
1216
|
+
attr_accessor :metadata
|
|
1217
|
+
|
|
1218
|
+
# The server-assigned name, which is only unique within the same service that
|
|
1219
|
+
# originally returns it. If you use the default HTTP mapping, the
|
|
1220
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
1221
|
+
# Corresponds to the JSON property `name`
|
|
1222
|
+
# @return [String]
|
|
1223
|
+
attr_accessor :name
|
|
1224
|
+
|
|
1225
|
+
# The normal response of the operation in case of success. If the original
|
|
1226
|
+
# method returns no data on success, such as `Delete`, the response is
|
|
1227
|
+
# `google.protobuf.Empty`. If the original method is standard
|
|
1228
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
1229
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
|
1230
|
+
# is the original method name. For example, if the original method name
|
|
1231
|
+
# is `TakeSnapshot()`, the inferred response type is
|
|
1232
|
+
# `TakeSnapshotResponse`.
|
|
1233
|
+
# Corresponds to the JSON property `response`
|
|
1234
|
+
# @return [Hash<String,Object>]
|
|
1235
|
+
attr_accessor :response
|
|
770
1236
|
|
|
771
1237
|
def initialize(**args)
|
|
772
1238
|
update!(**args)
|
|
@@ -774,9 +1240,11 @@ module Google
|
|
|
774
1240
|
|
|
775
1241
|
# Update properties of this object
|
|
776
1242
|
def update!(**args)
|
|
777
|
-
@
|
|
778
|
-
@
|
|
779
|
-
@
|
|
1243
|
+
@done = args[:done] if args.key?(:done)
|
|
1244
|
+
@error = args[:error] if args.key?(:error)
|
|
1245
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1246
|
+
@name = args[:name] if args.key?(:name)
|
|
1247
|
+
@response = args[:response] if args.key?(:response)
|
|
780
1248
|
end
|
|
781
1249
|
end
|
|
782
1250
|
|
|
@@ -836,19 +1304,19 @@ module Google
|
|
|
836
1304
|
# - version: 3
|
|
837
1305
|
# For a description of IAM and its features, see the
|
|
838
1306
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
839
|
-
class
|
|
1307
|
+
class Policy
|
|
840
1308
|
include Google::Apis::Core::Hashable
|
|
841
1309
|
|
|
842
1310
|
# Specifies cloud audit logging configuration for this policy.
|
|
843
1311
|
# Corresponds to the JSON property `auditConfigs`
|
|
844
|
-
# @return [Array<Google::Apis::
|
|
1312
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::AuditConfig>]
|
|
845
1313
|
attr_accessor :audit_configs
|
|
846
1314
|
|
|
847
1315
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
848
1316
|
# `condition` that determines how and when the `bindings` are applied. Each
|
|
849
1317
|
# of the `bindings` must contain at least one member.
|
|
850
1318
|
# Corresponds to the JSON property `bindings`
|
|
851
|
-
# @return [Array<Google::Apis::
|
|
1319
|
+
# @return [Array<Google::Apis::MemcacheV1beta2::Binding>]
|
|
852
1320
|
attr_accessor :bindings
|
|
853
1321
|
|
|
854
1322
|
# `etag` is used for optimistic concurrency control as a way to help
|
|
@@ -901,7 +1369,7 @@ module Google
|
|
|
901
1369
|
end
|
|
902
1370
|
|
|
903
1371
|
# Request message for `SetIamPolicy` method.
|
|
904
|
-
class
|
|
1372
|
+
class SetIamPolicyRequest
|
|
905
1373
|
include Google::Apis::Core::Hashable
|
|
906
1374
|
|
|
907
1375
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
@@ -961,7 +1429,7 @@ module Google
|
|
|
961
1429
|
# For a description of IAM and its features, see the
|
|
962
1430
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
963
1431
|
# Corresponds to the JSON property `policy`
|
|
964
|
-
# @return [Google::Apis::
|
|
1432
|
+
# @return [Google::Apis::MemcacheV1beta2::Policy]
|
|
965
1433
|
attr_accessor :policy
|
|
966
1434
|
|
|
967
1435
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
@@ -984,17 +1452,32 @@ module Google
|
|
|
984
1452
|
end
|
|
985
1453
|
end
|
|
986
1454
|
|
|
987
|
-
#
|
|
988
|
-
|
|
1455
|
+
# The `Status` type defines a logical error model that is suitable for
|
|
1456
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1457
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1458
|
+
# three pieces of data: error code, error message, and error details.
|
|
1459
|
+
# You can find out more about this error model and how to work with it in the
|
|
1460
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1461
|
+
class Status
|
|
989
1462
|
include Google::Apis::Core::Hashable
|
|
990
1463
|
|
|
991
|
-
# The
|
|
992
|
-
#
|
|
993
|
-
#
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
#
|
|
997
|
-
|
|
1464
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
1465
|
+
# Corresponds to the JSON property `code`
|
|
1466
|
+
# @return [Fixnum]
|
|
1467
|
+
attr_accessor :code
|
|
1468
|
+
|
|
1469
|
+
# A list of messages that carry the error details. There is a common set of
|
|
1470
|
+
# message types for APIs to use.
|
|
1471
|
+
# Corresponds to the JSON property `details`
|
|
1472
|
+
# @return [Array<Hash<String,Object>>]
|
|
1473
|
+
attr_accessor :details
|
|
1474
|
+
|
|
1475
|
+
# A developer-facing error message, which should be in English. Any
|
|
1476
|
+
# user-facing error message should be localized and sent in the
|
|
1477
|
+
# google.rpc.Status.details field, or localized by the client.
|
|
1478
|
+
# Corresponds to the JSON property `message`
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
attr_accessor :message
|
|
998
1481
|
|
|
999
1482
|
def initialize(**args)
|
|
1000
1483
|
update!(**args)
|
|
@@ -1002,16 +1485,20 @@ module Google
|
|
|
1002
1485
|
|
|
1003
1486
|
# Update properties of this object
|
|
1004
1487
|
def update!(**args)
|
|
1005
|
-
@
|
|
1488
|
+
@code = args[:code] if args.key?(:code)
|
|
1489
|
+
@details = args[:details] if args.key?(:details)
|
|
1490
|
+
@message = args[:message] if args.key?(:message)
|
|
1006
1491
|
end
|
|
1007
1492
|
end
|
|
1008
1493
|
|
|
1009
|
-
#
|
|
1010
|
-
class
|
|
1494
|
+
# Request message for `TestIamPermissions` method.
|
|
1495
|
+
class TestIamPermissionsRequest
|
|
1011
1496
|
include Google::Apis::Core::Hashable
|
|
1012
1497
|
|
|
1013
|
-
#
|
|
1014
|
-
# allowed.
|
|
1498
|
+
# The set of permissions to check for the `resource`. Permissions with
|
|
1499
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
|
1500
|
+
# information see
|
|
1501
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
1015
1502
|
# Corresponds to the JSON property `permissions`
|
|
1016
1503
|
# @return [Array<String>]
|
|
1017
1504
|
attr_accessor :permissions
|
|
@@ -1026,117 +1513,15 @@ module Google
|
|
|
1026
1513
|
end
|
|
1027
1514
|
end
|
|
1028
1515
|
|
|
1029
|
-
#
|
|
1030
|
-
class
|
|
1031
|
-
include Google::Apis::Core::Hashable
|
|
1032
|
-
|
|
1033
|
-
def initialize(**args)
|
|
1034
|
-
update!(**args)
|
|
1035
|
-
end
|
|
1036
|
-
|
|
1037
|
-
# Update properties of this object
|
|
1038
|
-
def update!(**args)
|
|
1039
|
-
end
|
|
1040
|
-
end
|
|
1041
|
-
|
|
1042
|
-
# The response message for Operations.ListOperations.
|
|
1043
|
-
class GoogleLongrunningListOperationsResponse
|
|
1044
|
-
include Google::Apis::Core::Hashable
|
|
1045
|
-
|
|
1046
|
-
# The standard List next-page token.
|
|
1047
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
1048
|
-
# @return [String]
|
|
1049
|
-
attr_accessor :next_page_token
|
|
1050
|
-
|
|
1051
|
-
# A list of operations that matches the specified filter in the request.
|
|
1052
|
-
# Corresponds to the JSON property `operations`
|
|
1053
|
-
# @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleLongrunningOperation>]
|
|
1054
|
-
attr_accessor :operations
|
|
1055
|
-
|
|
1056
|
-
def initialize(**args)
|
|
1057
|
-
update!(**args)
|
|
1058
|
-
end
|
|
1059
|
-
|
|
1060
|
-
# Update properties of this object
|
|
1061
|
-
def update!(**args)
|
|
1062
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1063
|
-
@operations = args[:operations] if args.key?(:operations)
|
|
1064
|
-
end
|
|
1065
|
-
end
|
|
1066
|
-
|
|
1067
|
-
# This resource represents a long-running operation that is the result of a
|
|
1068
|
-
# network API call.
|
|
1069
|
-
class GoogleLongrunningOperation
|
|
1516
|
+
# Response message for `TestIamPermissions` method.
|
|
1517
|
+
class TestIamPermissionsResponse
|
|
1070
1518
|
include Google::Apis::Core::Hashable
|
|
1071
1519
|
|
|
1072
|
-
#
|
|
1073
|
-
#
|
|
1074
|
-
#
|
|
1075
|
-
#
|
|
1076
|
-
|
|
1077
|
-
attr_accessor :done
|
|
1078
|
-
alias_method :done?, :done
|
|
1079
|
-
|
|
1080
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
1081
|
-
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1082
|
-
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1083
|
-
# three pieces of data: error code, error message, and error details.
|
|
1084
|
-
# You can find out more about this error model and how to work with it in the
|
|
1085
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1086
|
-
# Corresponds to the JSON property `error`
|
|
1087
|
-
# @return [Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleRpcStatus]
|
|
1088
|
-
attr_accessor :error
|
|
1089
|
-
|
|
1090
|
-
# Service-specific metadata associated with the operation. It typically
|
|
1091
|
-
# contains progress information and common metadata such as create time.
|
|
1092
|
-
# Some services might not provide such metadata. Any method that returns a
|
|
1093
|
-
# long-running operation should document the metadata type, if any.
|
|
1094
|
-
# Corresponds to the JSON property `metadata`
|
|
1095
|
-
# @return [Hash<String,Object>]
|
|
1096
|
-
attr_accessor :metadata
|
|
1097
|
-
|
|
1098
|
-
# The server-assigned name, which is only unique within the same service that
|
|
1099
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
1100
|
-
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
1101
|
-
# Corresponds to the JSON property `name`
|
|
1102
|
-
# @return [String]
|
|
1103
|
-
attr_accessor :name
|
|
1104
|
-
|
|
1105
|
-
# The normal response of the operation in case of success. If the original
|
|
1106
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
1107
|
-
# `google.protobuf.Empty`. If the original method is standard
|
|
1108
|
-
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
1109
|
-
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
|
1110
|
-
# is the original method name. For example, if the original method name
|
|
1111
|
-
# is `TakeSnapshot()`, the inferred response type is
|
|
1112
|
-
# `TakeSnapshotResponse`.
|
|
1113
|
-
# Corresponds to the JSON property `response`
|
|
1114
|
-
# @return [Hash<String,Object>]
|
|
1115
|
-
attr_accessor :response
|
|
1116
|
-
|
|
1117
|
-
def initialize(**args)
|
|
1118
|
-
update!(**args)
|
|
1119
|
-
end
|
|
1120
|
-
|
|
1121
|
-
# Update properties of this object
|
|
1122
|
-
def update!(**args)
|
|
1123
|
-
@done = args[:done] if args.key?(:done)
|
|
1124
|
-
@error = args[:error] if args.key?(:error)
|
|
1125
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1126
|
-
@name = args[:name] if args.key?(:name)
|
|
1127
|
-
@response = args[:response] if args.key?(:response)
|
|
1128
|
-
end
|
|
1129
|
-
end
|
|
1130
|
-
|
|
1131
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
1132
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
|
1133
|
-
# or the response type of an API method. For instance:
|
|
1134
|
-
# service Foo `
|
|
1135
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
1136
|
-
# `
|
|
1137
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
1138
|
-
class GoogleProtobufEmpty
|
|
1139
|
-
include Google::Apis::Core::Hashable
|
|
1520
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
1521
|
+
# allowed.
|
|
1522
|
+
# Corresponds to the JSON property `permissions`
|
|
1523
|
+
# @return [Array<String>]
|
|
1524
|
+
attr_accessor :permissions
|
|
1140
1525
|
|
|
1141
1526
|
def initialize(**args)
|
|
1142
1527
|
update!(**args)
|
|
@@ -1144,35 +1529,23 @@ module Google
|
|
|
1144
1529
|
|
|
1145
1530
|
# Update properties of this object
|
|
1146
1531
|
def update!(**args)
|
|
1532
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
1147
1533
|
end
|
|
1148
1534
|
end
|
|
1149
1535
|
|
|
1150
|
-
#
|
|
1151
|
-
|
|
1152
|
-
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1153
|
-
# three pieces of data: error code, error message, and error details.
|
|
1154
|
-
# You can find out more about this error model and how to work with it in the
|
|
1155
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1156
|
-
class GoogleRpcStatus
|
|
1536
|
+
# Request for UpdateParameters.
|
|
1537
|
+
class UpdateParametersRequest
|
|
1157
1538
|
include Google::Apis::Core::Hashable
|
|
1158
1539
|
|
|
1159
|
-
# The
|
|
1160
|
-
# Corresponds to the JSON property `
|
|
1161
|
-
# @return [
|
|
1162
|
-
attr_accessor :
|
|
1163
|
-
|
|
1164
|
-
# A list of messages that carry the error details. There is a common set of
|
|
1165
|
-
# message types for APIs to use.
|
|
1166
|
-
# Corresponds to the JSON property `details`
|
|
1167
|
-
# @return [Array<Hash<String,Object>>]
|
|
1168
|
-
attr_accessor :details
|
|
1540
|
+
# The parameters to apply to the instance.
|
|
1541
|
+
# Corresponds to the JSON property `parameters`
|
|
1542
|
+
# @return [Google::Apis::MemcacheV1beta2::MemcacheParameters]
|
|
1543
|
+
attr_accessor :parameters
|
|
1169
1544
|
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
# google.rpc.Status.details field, or localized by the client.
|
|
1173
|
-
# Corresponds to the JSON property `message`
|
|
1545
|
+
# Required. Mask of fields to update.
|
|
1546
|
+
# Corresponds to the JSON property `updateMask`
|
|
1174
1547
|
# @return [String]
|
|
1175
|
-
attr_accessor :
|
|
1548
|
+
attr_accessor :update_mask
|
|
1176
1549
|
|
|
1177
1550
|
def initialize(**args)
|
|
1178
1551
|
update!(**args)
|
|
@@ -1180,72 +1553,21 @@ module Google
|
|
|
1180
1553
|
|
|
1181
1554
|
# Update properties of this object
|
|
1182
1555
|
def update!(**args)
|
|
1183
|
-
@
|
|
1184
|
-
@
|
|
1185
|
-
@message = args[:message] if args.key?(:message)
|
|
1556
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
1557
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
|
1186
1558
|
end
|
|
1187
1559
|
end
|
|
1188
1560
|
|
|
1189
|
-
#
|
|
1190
|
-
|
|
1191
|
-
# are documented at https://github.com/google/cel-spec.
|
|
1192
|
-
# Example (Comparison):
|
|
1193
|
-
# title: "Summary size limit"
|
|
1194
|
-
# description: "Determines if a summary is less than 100 chars"
|
|
1195
|
-
# expression: "document.summary.size() < 100"
|
|
1196
|
-
# Example (Equality):
|
|
1197
|
-
# title: "Requestor is owner"
|
|
1198
|
-
# description: "Determines if requestor is the document owner"
|
|
1199
|
-
# expression: "document.owner == request.auth.claims.email"
|
|
1200
|
-
# Example (Logic):
|
|
1201
|
-
# title: "Public documents"
|
|
1202
|
-
# description: "Determine whether the document should be publicly visible"
|
|
1203
|
-
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
1204
|
-
# Example (Data Manipulation):
|
|
1205
|
-
# title: "Notification string"
|
|
1206
|
-
# description: "Create a notification string with a timestamp."
|
|
1207
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
1208
|
-
# The exact variables and functions that may be referenced within an expression
|
|
1209
|
-
# are determined by the service that evaluates it. See the service
|
|
1210
|
-
# documentation for additional information.
|
|
1211
|
-
class GoogleTypeExpr
|
|
1561
|
+
#
|
|
1562
|
+
class ZoneMetadata
|
|
1212
1563
|
include Google::Apis::Core::Hashable
|
|
1213
1564
|
|
|
1214
|
-
# Optional. Description of the expression. This is a longer text which
|
|
1215
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
1216
|
-
# Corresponds to the JSON property `description`
|
|
1217
|
-
# @return [String]
|
|
1218
|
-
attr_accessor :description
|
|
1219
|
-
|
|
1220
|
-
# Textual representation of an expression in Common Expression Language
|
|
1221
|
-
# syntax.
|
|
1222
|
-
# Corresponds to the JSON property `expression`
|
|
1223
|
-
# @return [String]
|
|
1224
|
-
attr_accessor :expression
|
|
1225
|
-
|
|
1226
|
-
# Optional. String indicating the location of the expression for error
|
|
1227
|
-
# reporting, e.g. a file name and a position in the file.
|
|
1228
|
-
# Corresponds to the JSON property `location`
|
|
1229
|
-
# @return [String]
|
|
1230
|
-
attr_accessor :location
|
|
1231
|
-
|
|
1232
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
1233
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
1234
|
-
# expression.
|
|
1235
|
-
# Corresponds to the JSON property `title`
|
|
1236
|
-
# @return [String]
|
|
1237
|
-
attr_accessor :title
|
|
1238
|
-
|
|
1239
1565
|
def initialize(**args)
|
|
1240
1566
|
update!(**args)
|
|
1241
1567
|
end
|
|
1242
1568
|
|
|
1243
1569
|
# Update properties of this object
|
|
1244
1570
|
def update!(**args)
|
|
1245
|
-
@description = args[:description] if args.key?(:description)
|
|
1246
|
-
@expression = args[:expression] if args.key?(:expression)
|
|
1247
|
-
@location = args[:location] if args.key?(:location)
|
|
1248
|
-
@title = args[:title] if args.key?(:title)
|
|
1249
1571
|
end
|
|
1250
1572
|
end
|
|
1251
1573
|
end
|